api/client/types/notification.ts

16 lines
373 B
TypeScript
Raw Normal View History

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;