tooot/src/@types/app.d.ts

26 lines
396 B
TypeScript

declare namespace App {
type Pages =
| 'Following'
| 'Local'
| 'LocalPublic'
| 'RemotePublic'
| 'Notifications'
| 'Hashtag'
| 'List'
| 'Toot'
| 'Account_Default'
| 'Account_All'
| 'Account_Media'
type QueryKey = [
Pages,
{
page: Pages
hashtag?: string
list?: string
toot?: string
account?: string
}
]
}