feat(publish): support visibility

This commit is contained in:
三咲智子 2022-11-24 17:15:58 +08:00
parent dbf4362d8b
commit ad3d5efb11
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
5 changed files with 86 additions and 4 deletions

View file

@ -1,8 +1,9 @@
import type { Attachment, CreateStatusParamsWithStatus } from 'masto'
import { STORAGE_KEY_DRAFTS } from '~/constants'
import type { Mutable } from '~/types/utils'
export type DraftMap = Record<string, {
params: CreateStatusParamsWithStatus
params: Mutable<CreateStatusParamsWithStatus>
attachments: Attachment[]
}>