feat: pwa with push notifications (#337)
This commit is contained in:
parent
a18e5e2332
commit
f0c91a3974
48 changed files with 2903 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
import type { Account, AccountCredentials, Attachment, CreateStatusParams, Emoji, Instance, MastoClient, Notification, Status } from 'masto'
|
||||
import type { Account, AccountCredentials, Attachment, CreateStatusParams, Emoji, Instance, MastoClient, Notification, PushSubscription, Status } from 'masto'
|
||||
import type { Ref } from 'vue'
|
||||
import type { Mutable } from './utils'
|
||||
|
||||
|
@ -16,6 +16,8 @@ export interface UserLogin {
|
|||
server: string
|
||||
token?: string
|
||||
account: AccountCredentials
|
||||
vapidKey?: string
|
||||
pushSubscription?: PushSubscription
|
||||
}
|
||||
|
||||
export interface ElkMasto extends MastoClient {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue