1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
This commit is contained in:
xmflsct
2023-07-13 21:55:26 +02:00
parent f7729f33db
commit 6e5b06f3a7
8 changed files with 175 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ type Features =
| 'account_follow_notify'
| 'notification_type_status'
| 'account_return_suspended'
| 'mute_duration'
| 'edit_post'
| 'deprecate_auth_follow'
| 'notification_type_update'
@@ -20,6 +21,7 @@ const features: { feature: Features; version: number }[] = [
{ feature: 'account_follow_notify', version: 3.3 },
{ feature: 'notification_type_status', version: 3.3 },
{ feature: 'account_return_suspended', version: 3.3 },
{ feature: 'mute_duration', version: 3.3 },
{ feature: 'edit_post', version: 3.5 },
{ feature: 'deprecate_auth_follow', version: 3.5 },
{ feature: 'notification_type_update', version: 3.5 },

View File

@@ -104,6 +104,9 @@ export type TabSharedStackParamList = {
| { source: 'hashtag'; tag_name: Mastodon.Tag['name'] }
'Tab-Shared-Hashtag': { tag_name: Mastodon.Tag['name']; queryKey?: QueryKeyTimeline }
'Tab-Shared-History': { status: Mastodon.Status; detectedLanguage: string }
'Tab-Shared-Mute': {
account: Pick<Mastodon.Account, 'id' | 'acct' | 'username' | 'url'>
}
'Tab-Shared-Report': {
account: Pick<Mastodon.Account, 'id' | 'acct' | 'username' | 'url'>
status?: Pick<Mastodon.Status, 'id' | '_remote' | 'uri'>