* 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
19 lines
No EOL
437 B
TypeScript
19 lines
No EOL
437 B
TypeScript
import { Task } from "./Task";
|
|
|
|
export interface WeeklyCompletion {
|
|
date: string;
|
|
count: number;
|
|
dayName: string;
|
|
}
|
|
|
|
export interface Metrics {
|
|
total_open_tasks: number;
|
|
tasks_pending_over_month: number;
|
|
tasks_in_progress_count: number;
|
|
tasks_in_progress: Task[];
|
|
tasks_due_today: Task[];
|
|
today_plan_tasks?: Task[];
|
|
suggested_tasks: Task[];
|
|
tasks_completed_today: Task[];
|
|
weekly_completions: WeeklyCompletion[];
|
|
} |