mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 16:38:20 +01:00
16 lines
373 B
TypeScript
16 lines
373 B
TypeScript
import type { Account } from "./account.ts";
|
|
import type { Reaction } from "./reaction.ts";
|
|
import type { Status } from "./status.ts";
|
|
|
|
export type Notification = {
|
|
account: Account | null;
|
|
created_at: string;
|
|
id: string;
|
|
status?: Status;
|
|
reaction?: Reaction;
|
|
type: NotificationType;
|
|
target?: Account;
|
|
};
|
|
|
|
export type NotificationType = string;
|