This commit is contained in:
Julian Freeman
2026-03-26 12:10:39 -04:00
parent 6793a2070e
commit 1e1307b8d4
10 changed files with 773 additions and 849 deletions

28
src/types/index.ts Normal file
View File

@@ -0,0 +1,28 @@
export interface Tag {
id: number;
name: string;
parent_id: number | null;
color: string;
}
export interface DBEvent {
id: number;
date: string;
start_minute: number;
end_minute: number;
main_tag_id: number;
sub_tag_id: number | null;
content: string;
}
export interface TimelineItem {
time: string;
path: string;
isNextDay?: boolean;
}
export interface Toast {
message: string;
type: "success" | "error";
visible: boolean;
}