feat: compose editor as a page (#804)

This commit is contained in:
Anthony Fu 2023-01-05 16:42:36 +01:00 committed by GitHub
parent 9d5269e0c0
commit 272fb4a13d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 100 additions and 17 deletions

View file

@ -61,6 +61,7 @@ export interface Draft {
initialText?: string
params: MarkNonNullable<Mutable<CreateStatusParams>, 'status' | 'language' | 'sensitive' | 'spoilerText' | 'visibility'>
attachments: Attachment[]
lastUpdated: number
}
export type DraftMap = Record<string, Draft>