moderate avatars and embeds in composer reply to (#2665)

* moderate avatars and embeds in composer reply to

* oops

* dont need moderation in the quote opts
This commit is contained in:
Hailey 2024-01-30 18:11:23 -08:00 committed by GitHub
parent 28455f49dc
commit 59aacf4126
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 18 additions and 6 deletions

View file

@ -1,5 +1,9 @@
import React from 'react'
import {AppBskyEmbedRecord, AppBskyRichtextFacet} from '@atproto/api'
import {
AppBskyEmbedRecord,
AppBskyRichtextFacet,
PostModeration,
} from '@atproto/api'
import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback'
export interface ComposerOptsPostRef {
@ -12,6 +16,7 @@ export interface ComposerOptsPostRef {
avatar?: string
}
embed?: AppBskyEmbedRecord.ViewRecord['embed']
moderation?: PostModeration
}
export interface ComposerOptsQuote {
uri: string