Task
type Task = {
addedAt: null | string;
addedByUid: null | string;
assignedByUid: null | string;
checked: boolean;
childOrder: number;
completedAt: null | string;
content: string;
dayOrder: number;
deadline: | null
| {
date: string;
lang: string;
};
description: string;
due: | null
| {
date: string;
datetime?: null | string;
isRecurring: boolean;
lang?: null | string;
string: string;
timezone?: null | string;
};
duration: | null
| {
amount: number;
unit: "minute" | "day";
};
id: string;
isCollapsed: boolean;
isDeleted: boolean;
labels: string[];
noteCount: number;
parentId: null | string;
priority: number;
projectId: string;
responsibleUid: null | string;
sectionId: null | string;
updatedAt: null | string;
url: string;
userId: string;
};
Represents a task in Todoist.