26 lines
408 B
TypeScript
26 lines
408 B
TypeScript
export interface TodoDTO {
|
|
id: string;
|
|
title: string;
|
|
details: string | null;
|
|
completed: boolean;
|
|
order: number;
|
|
groupId: string;
|
|
}
|
|
|
|
export interface GroupDTO {
|
|
id: string;
|
|
title: string;
|
|
color: string;
|
|
order: number;
|
|
noteContent: string;
|
|
categoryId: string;
|
|
todos: TodoDTO[];
|
|
}
|
|
|
|
export interface CategoryDTO {
|
|
id: string;
|
|
name: string;
|
|
order: number;
|
|
groups: GroupDTO[];
|
|
}
|