- 일정 추가 로직 1차 구현 - 일정 목록 화면 구현 중
This commit is contained in:
22
src/data/form/schedule/listSchedule.schema.ts
Normal file
22
src/data/form/schedule/listSchedule.schema.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import * as z from "zod";
|
||||
|
||||
export const ListScheduleSchema = z.object({
|
||||
name: z
|
||||
.string()
|
||||
.optional()
|
||||
, startDate: z
|
||||
.date()
|
||||
.optional()
|
||||
, endDate: z
|
||||
.date()
|
||||
.optional()
|
||||
, status: z
|
||||
.string()
|
||||
.optional()
|
||||
, styleList: z
|
||||
.array(z.string())
|
||||
.optional()
|
||||
, typeList: z
|
||||
.array(z.string())
|
||||
.optional()
|
||||
});
|
||||
Reference in New Issue
Block a user