tududi/frontend/entities/Task.ts
Chris 03f38f05dc
Setup intelligence (#84)
* Add next suggestions and remove console logs

* Add pomodoro timer

* Add pomodoro switch in settings

* Fix pomodoro setting

* Add timezones to settings

* Fix an issue with password reset

* Cleanup

* Sort tags alphabetically

* Clean up today's view

* Add an indicator for repeatedly added to today

* Refactor tags

* Add due date today item

* Move recurrence to the subtitle area

* Fix today layout

* Add a badge to Inbox items

* Move inbox badge to sidebar

* Add quotes and progress bar

* Add translations for quotes

* Fix test issues

* Add helper script for docker local

* Set up overdue tasks

* Add  linux/arm/v7 build to deploy script

* Add  linux/arm/v7 build to deploy script pt2

* Fix an issue with helmet and SSL

* Add volume db persistence

* Fix cog icon issues
2025-06-27 14:02:18 +03:00

32 lines
932 B
TypeScript

import { Tag } from "./Tag";
import { Project } from "./Project";
export interface Task {
id?: number;
uuid?: string;
name: string;
status: StatusType | number;
priority?: PriorityType | number;
due_date?: string;
note?: string;
today?: boolean;
today_move_count?: number;
tags?: Tag[];
project_id?: number;
Project?: Project;
created_at?: string;
updated_at?: string;
recurrence_type?: RecurrenceType;
recurrence_interval?: number;
recurrence_end_date?: string;
recurrence_weekday?: number;
recurrence_month_day?: number;
recurrence_week_of_month?: number;
completion_based?: boolean;
recurring_parent_id?: number;
completed_at?: string;
}
export type StatusType = 'not_started' | 'in_progress' | 'done' | 'archived';
export type PriorityType = 'low' | 'medium' | 'high';
export type RecurrenceType = 'none' | 'daily' | 'weekly' | 'monthly' | 'monthly_weekday' | 'monthly_last_day';