Add support for tags and priorities + make default query and mapper

This commit is contained in:
2025-01-17 16:54:47 +01:00
parent 298efc3345
commit 8490e073f6
6 changed files with 50 additions and 21 deletions

View File

@@ -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[]>;