chore: implement requested changes

This commit is contained in:
Ralph Khreish
2025-10-02 11:54:19 +02:00
parent 0aaa105021
commit 7660a29a1a
5 changed files with 213 additions and 15 deletions

View File

@@ -1,8 +1,8 @@
import { z } from 'zod';
import { BaseTaskSchema } from './base-schemas.js';
import { BaseTaskSchema, SubtaskSchema } from './base-schemas.js';
export const UpdatedTaskSchema = BaseTaskSchema.extend({
subtasks: z.array(z.any()).nullable().default(null)
subtasks: z.array(SubtaskSchema).nullable().default(null)
});
export const UpdateTasksResponseSchema = z.object({