summaryrefslogtreecommitdiff
path: root/packages/megalodon/src/entities/push_subscription.ts
blob: fe7464e8e2c094387a2df0b80662562ee28bd2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Entity {
  export type Alerts = {
    follow: boolean
    favourite: boolean
    mention: boolean
    reblog: boolean
    poll: boolean
  }

  export type PushSubscription = {
    id: string
    endpoint: string
    server_key: string
    alerts: Alerts
  }
}