hippofish/packages/megalodon/src/entities/push_subscription.ts

17 lines
270 B
TypeScript
Raw Normal View History

2023-09-23 18:49:47 +02:00
namespace Entity {
2023-09-24 01:44:53 +02:00
export type Alerts = {
follow: boolean
favourite: boolean
mention: boolean
reblog: boolean
poll: boolean
}
2023-09-23 18:49:47 +02:00
2023-09-24 01:44:53 +02:00
export type PushSubscription = {
id: string
endpoint: string
server_key: string
alerts: Alerts
}
2023-09-23 18:49:47 +02:00
}