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
|
|
|
}
|