Skip to content

An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.

315 B
Raw Blame
import { z } from 'zod';
import { BaseTaskSchema, SubtaskSchema } from './base-schemas.js';

export const UpdatedTaskSchema = BaseTaskSchema.extend({
	subtasks: z.array(SubtaskSchema).nullable()
}).strict();

export const UpdateTasksResponseSchema = z
	.object({
		tasks: z.array(UpdatedTaskSchema)
	})
	.strict();