17 lines
259 B
TypeScript
17 lines
259 B
TypeScript
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;
|
|
};
|
|
}
|