2020-11-21 00:40:55 +01:00
|
|
|
declare namespace App {
|
2020-11-05 00:47:31 +01:00
|
|
|
type Pages =
|
2020-10-31 21:04:46 +01:00
|
|
|
| 'Following'
|
|
|
|
| 'Local'
|
|
|
|
| 'LocalPublic'
|
|
|
|
| 'RemotePublic'
|
|
|
|
| 'Notifications'
|
|
|
|
| 'Hashtag'
|
|
|
|
| 'List'
|
|
|
|
| 'Toot'
|
|
|
|
| 'Account_Default'
|
|
|
|
| 'Account_All'
|
|
|
|
| 'Account_Media'
|
2020-11-22 00:46:23 +01:00
|
|
|
| 'Conversations'
|
|
|
|
| 'Bookmarks'
|
|
|
|
| 'Favourites'
|
2020-10-31 21:04:46 +01:00
|
|
|
|
2020-11-05 00:47:31 +01:00
|
|
|
type QueryKey = [
|
|
|
|
Pages,
|
|
|
|
{
|
|
|
|
page: Pages
|
2020-12-12 12:49:29 +01:00
|
|
|
hashtag?: Mastodon.Tag['name']
|
|
|
|
list?: Mastodon.List['id']
|
|
|
|
toot?: Mastodon.Status
|
|
|
|
account?: Mastodon.Account['id']
|
2020-11-05 00:47:31 +01:00
|
|
|
}
|
|
|
|
]
|
2020-10-31 21:04:46 +01:00
|
|
|
}
|