Docker Build / build (push) Has been cancelled
Python Lint CI / ruff (push) Has been cancelled
Python Lint CI / ruff-format-check (push) Has been cancelled
Python Lint CI / ty (push) Has been cancelled
TS Lint / ESLint (push) Has been cancelled
TS Lint / Oxlint (push) Has been cancelled
TS Lint / TypeScript (push) Has been cancelled
54 lines
1.1 KiB
TypeScript
54 lines
1.1 KiB
TypeScript
export interface Comment {
|
|
id: string;
|
|
created_at: string;
|
|
updated_at: string;
|
|
content: string;
|
|
}
|
|
|
|
export interface RawTask {
|
|
id: string;
|
|
created_at: string;
|
|
updated_at: string;
|
|
list_name: string;
|
|
name: string;
|
|
reset_cron: string | null;
|
|
check_date: string | null;
|
|
previous_check_date: string | null;
|
|
}
|
|
|
|
export interface Task {
|
|
id: string;
|
|
name: string;
|
|
reset_cron: string | null;
|
|
created_at: Date;
|
|
updated_at: Date;
|
|
check_date: Date | null;
|
|
previous_check_date: Date | null;
|
|
}
|
|
|
|
export interface TaskCreateData {
|
|
name: string;
|
|
reset_cron: string | null;
|
|
check_date?: string | null;
|
|
previous_check_date?: string | null;
|
|
}
|
|
|
|
export interface TaskUpdateData {
|
|
name?: string;
|
|
reset_cron?: string | null;
|
|
check_date?: string | null;
|
|
previous_check_date?: string | null;
|
|
}
|
|
|
|
export interface Alert {
|
|
message: string;
|
|
type: "info" | "success" | "warning" | "error";
|
|
created: Date;
|
|
seconds: number;
|
|
}
|
|
|
|
export interface Metadata {
|
|
tasks: number;
|
|
lists: number;
|
|
}
|