Add support for tags and priorities + make default query and mapper
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import dayjs, { Dayjs } from "dayjs"
|
||||
import { TaskPriority } from "./task";
|
||||
|
||||
export type Notification = {
|
||||
time?: string;
|
||||
title: string;
|
||||
text: string;
|
||||
time?: string;
|
||||
title?: string;
|
||||
priority?: TaskPriority;
|
||||
tags?: string[];
|
||||
};
|
||||
|
||||
export type NotificationDatabase = Record<string, Notification[]>;
|
||||
Reference in New Issue
Block a user