refactor: sync masto (#1121)
This commit is contained in:
parent
eb1f769e32
commit
4422a57f49
81 changed files with 397 additions and 367 deletions
|
@ -1,5 +1,4 @@
|
|||
import type { mastodon } from 'masto'
|
||||
import type { Ref } from 'vue'
|
||||
import type { MarkNonNullable, Mutable } from './utils'
|
||||
|
||||
export interface AppInfo {
|
||||
|
@ -20,11 +19,6 @@ export interface UserLogin {
|
|||
pushSubscription?: mastodon.v1.WebPushSubscription
|
||||
}
|
||||
|
||||
export interface ElkMasto extends mastodon.Client {
|
||||
loginTo (user?: Omit<UserLogin, 'account'> & { account?: mastodon.v1.AccountCredentials }): Promise<mastodon.Client>
|
||||
loggedIn: Ref<boolean>
|
||||
}
|
||||
|
||||
export type PaginatorState = 'idle' | 'loading' | 'done' | 'error'
|
||||
|
||||
export interface GroupedNotifications {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue