Skip to content

Commit 5892df7

Browse files
authored
chore: description length (#193)
1 parent 328638d commit 5892df7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/web-app/shared/services

apps/web-app/shared/services/task.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export type Resolution = typeof resolutionSchema.infer
55

66
export const createTaskSchema = type({
77
name: type('2 <= string <= 150').describe('error.length.invalid'),
8-
description: type('string <= 500 | undefined').describe('error.length.invalid').optional(),
8+
description: type('string <= 2000 | undefined').describe('error.length.invalid').optional(),
99
performerId: type('string | undefined | null').describe('error.length.invalid').optional(),
1010
date: type('string | undefined | null').describe('error.length.invalid').optional(),
1111
listId: type('string').describe('error.length.invalid'),
@@ -14,7 +14,7 @@ export type CreateTask = typeof createTaskSchema.infer
1414

1515
export const updateTaskSchema = type({
1616
name: type('2 <= string <= 150').describe('error.length.invalid').optional(),
17-
description: type('string <= 500 | undefined').describe('error.length.invalid').optional(),
17+
description: type('string <= 2000 | undefined').describe('error.length.invalid').optional(),
1818
performerId: type('string | undefined | null').describe('error.length.invalid').optional(),
1919
date: type('string | undefined | null').describe('error.length.invalid').optional(),
2020
listId: type('string | undefined').describe('error.length.invalid').optional(),

0 commit comments

Comments
 (0)