elk/service-worker/types.ts
2022-12-17 23:29:16 +00:00

10 lines
231 B
TypeScript

export interface PushPayload {
access_token: string
notification_id: string
notification_type: 'follow' | 'favourite' | 'reblog' | 'mention' | 'poll'
preferred_locale: string
title: string
body: string
icon: string
}