feat: cache for publish widget
This commit is contained in:
parent
5d5cdebb56
commit
193d1cf5c5
9 changed files with 149 additions and 43 deletions
|
@ -1,4 +1,4 @@
|
|||
import type { AccountCredentials } from 'masto'
|
||||
import type { AccountCredentials, Emoji, Instance } from 'masto'
|
||||
|
||||
export interface AppInfo {
|
||||
id: string
|
||||
|
@ -17,3 +17,9 @@ export interface UserLogin {
|
|||
}
|
||||
|
||||
export type PaginatorState = 'idle' | 'loading' | 'done' | 'error'
|
||||
|
||||
export interface ServerInfo extends Instance {
|
||||
server: string
|
||||
timeUpdated: number
|
||||
customEmojis?: Record<string, Emoji>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue