mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Partially fixed #113
This commit is contained in:
4
src/@types/mastodon.d.ts
vendored
4
src/@types/mastodon.d.ts
vendored
@@ -28,7 +28,7 @@ declare namespace Mastodon {
|
||||
moved?: Account
|
||||
fields: Field[]
|
||||
bot: boolean
|
||||
source: Source
|
||||
source?: Source
|
||||
}
|
||||
|
||||
type Announcement = {
|
||||
@@ -258,7 +258,7 @@ declare namespace Mastodon {
|
||||
type Field = {
|
||||
name: string
|
||||
value: string
|
||||
verified_at?: string
|
||||
verified_at: string | null
|
||||
}
|
||||
|
||||
type List = {
|
||||
|
||||
16
src/@types/react-navigation.d.ts
vendored
16
src/@types/react-navigation.d.ts
vendored
@@ -132,9 +132,23 @@ declare namespace Nav {
|
||||
list: Mastodon.List['id']
|
||||
title: Mastodon.List['title']
|
||||
}
|
||||
'Tab-Me-Profile': undefined
|
||||
'Tab-Me-Push': undefined
|
||||
'Tab-Me-Settings': undefined
|
||||
'Tab-Me-Settings-Fontsize': undefined
|
||||
'Tab-Me-Settings-Push': undefined
|
||||
'Tab-Me-Switch': undefined
|
||||
} & TabSharedStackParamList
|
||||
|
||||
type TabMeProfileStackParamList = {
|
||||
'Tab-Me-Profile-Root': undefined
|
||||
'Tab-Me-Profile-Name': {
|
||||
display_name: Mastodon.Account['display_name']
|
||||
}
|
||||
'Tab-Me-Profile-Note': {
|
||||
note: Mastodon.Source['note']
|
||||
}
|
||||
'Tab-Me-Profile-Fields': {
|
||||
fields?: Mastodon.Source['fields']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user