Merge branch 'worktree-agent-a90e1bc2'

This commit is contained in:
2026-04-09 14:19:18 +02:00
5 changed files with 158 additions and 11 deletions
@@ -6,7 +6,7 @@ export const CreateAllocationBaseSchema = z.object({
projectId: z.string(),
startDate: z.coerce.date(),
endDate: z.coerce.date(),
hoursPerDay: z.number().min(0).max(24),
hoursPerDay: z.number().positive().max(24),
percentage: z.number().min(0).max(100),
role: z.string().max(200).optional(),
roleId: z.string().optional(),
@@ -20,7 +20,7 @@ export const CreateDemandRequirementBaseSchema = z.object({
projectId: z.string(),
startDate: z.coerce.date(),
endDate: z.coerce.date(),
hoursPerDay: z.number().min(0).max(24),
hoursPerDay: z.number().positive().max(24),
percentage: z.number().min(0).max(100),
role: z.string().max(200).optional(),
roleId: z.string().optional(),
@@ -36,7 +36,7 @@ export const CreateAssignmentBaseSchema = z.object({
projectId: z.string(),
startDate: z.coerce.date(),
endDate: z.coerce.date(),
hoursPerDay: z.number().min(0).max(24),
hoursPerDay: z.number().positive().max(24),
percentage: z.number().min(0).max(100),
role: z.string().max(200).optional(),
roleId: z.string().optional(),