Skip to content

anothertodo API


anothertodo API / TaskSchema

Variable: TaskSchema

const TaskSchema: ZodObject<{ due: ZodOptional<ZodString>; end: ZodOptional<ZodString>; entry: ZodDefault<ZodString>; id: ZodString; modified: ZodDefault<ZodString>; notes: ZodDefault<ZodString>; parent: ZodOptional<ZodString>; priority: ZodOptional<ZodString>; project: ZodOptional<ZodString>; recur: ZodOptional<ZodObject<{ interval: ZodDefault<ZodNumber>; kind: ZodEnum<["daily", "weekly", "monthly", "yearly", "weekdays"]>; weekday: ZodOptional<ZodNumber>; }, "strip", ZodTypeAny, { interval: number; kind: "daily" | "weekly" | "monthly" | "yearly" | "weekdays"; weekday?: number; }, { interval?: number; kind: "daily" | "weekly" | "monthly" | "yearly" | "weekdays"; weekday?: number; }>>; reminders: ZodDefault<ZodArray<ZodObject<{ at: ZodString; attempts: ZodOptional<ZodNumber>; dead: ZodDefault<ZodBoolean>; fired: ZodDefault<ZodBoolean>; hooks: ZodDefault<ZodArray<ZodString, "many">>; id: ZodOptional<ZodString>; leaseOwner: ZodOptional<ZodString>; leaseUntil: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { at: string; attempts?: number; dead: boolean; fired: boolean; hooks: string[]; id?: string; leaseOwner?: string; leaseUntil?: string; }, { at: string; attempts?: number; dead?: boolean; fired?: boolean; hooks?: string[]; id?: string; leaseOwner?: string; leaseUntil?: string; }>, "many">>; status: ZodDefault<ZodString>; tags: ZodDefault<ZodArray<ZodString, "many">>; title: ZodDefault<ZodString>; wait: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { due?: string; end?: string; entry: string; id: string; modified: string; notes: string; parent?: string; priority?: string; project?: string; recur?: { interval: number; kind: "daily" | "weekly" | "monthly" | "yearly" | "weekdays"; weekday?: number; }; reminders: object[]; status: string; tags: string[]; title: string; wait?: string; }, { due?: string; end?: string; entry?: string; id: string; modified?: string; notes?: string; parent?: string; priority?: string; project?: string; recur?: { interval?: number; kind: "daily" | "weekly" | "monthly" | "yearly" | "weekdays"; weekday?: number; }; reminders?: object[]; status?: string; tags?: string[]; title?: string; wait?: string; }>

最后更新:

anothertodo — 轻量命令行 TODO 工具