2023-09-24 01:49:47 +09:00
|
|
|
namespace Entity {
|
2023-09-25 08:20:03 +09:00
|
|
|
export type Alerts = {
|
|
|
|
follow: boolean;
|
|
|
|
favourite: boolean;
|
|
|
|
mention: boolean;
|
|
|
|
reblog: boolean;
|
|
|
|
poll: boolean;
|
|
|
|
};
|
2023-09-24 01:49:47 +09:00
|
|
|
|
2023-09-25 08:20:03 +09:00
|
|
|
export type PushSubscription = {
|
|
|
|
id: string;
|
|
|
|
endpoint: string;
|
|
|
|
server_key: string;
|
|
|
|
alerts: Alerts;
|
|
|
|
};
|
2023-09-24 01:49:47 +09:00
|
|
|
}
|