feat(note): 予約投稿 (MisskeyIO#890)

This commit is contained in:
あわわわとーにゅ 2025-01-16 22:35:27 +09:00 committed by GitHub
parent 509f385402
commit cbe80fdd26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
56 changed files with 1633 additions and 166 deletions

View file

@ -5,6 +5,7 @@
import { MiUser } from './User.js';
import { MiNote } from './Note.js';
import { MiScheduledNote } from './ScheduledNote.js';
import { MiAccessToken } from './AccessToken.js';
import { MiRole } from './Role.js';
@ -77,6 +78,21 @@ export type MiNotification = {
id: string;
createdAt: string;
achievement: string;
} | {
type: 'noteScheduled';
id: string;
createdAt: string;
draftId: MiScheduledNote['id'];
} | {
type: 'scheduledNotePosted';
id: string;
createdAt: string;
noteId: MiNote['id'];
} | {
type: 'scheduledNoteError';
id: string;
createdAt: string;
draftId: MiScheduledNote['id'];
} | {
type: 'app';
id: string;