All checks were successful
Test CI / build (push) Successful in 17s
- 일정 추가 로직 1차 구현 - 일정 목록 화면 구현 중
22 lines
358 B
TypeScript
22 lines
358 B
TypeScript
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()
|
|
}); |