iceshrimp/packages/backend/src/server/api/mastodon/entities/notification.ts
2023-10-04 22:01:16 +02:00

23 lines
500 B
TypeScript

/// <reference path="account.ts" />
/// <reference path="status.ts" />
namespace MastodonEntity {
export type Notification = {
account: Account;
created_at: string;
id: string;
status?: Status;
reaction?: Reaction;
type: NotificationType;
};
export type NotificationType =
'follow'
| 'favourite'
| 'reblog'
| 'mention'
| 'reaction'
| 'follow_request'
| 'status'
| 'poll';
}