Add support for database
This commit is contained in:
9
src/types/notification.ts
Normal file
9
src/types/notification.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import dayjs, { Dayjs } from "dayjs"
|
||||
|
||||
export type Notification = {
|
||||
time?: string;
|
||||
title: string;
|
||||
text: string;
|
||||
};
|
||||
|
||||
export type NotificationDatabase = Record<string, Notification[]>;
|
||||
Reference in New Issue
Block a user