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

17 lines
259 B
TypeScript
Raw Normal View History

2023-09-23 19:49:47 +03:00
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;
};
}