summaryrefslogtreecommitdiff
path: root/lib/items-tech/validations.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-07-24 11:06:32 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-07-24 11:06:32 +0000
commit1dc24d48e52f2e490f5603ceb02842586ecae533 (patch)
tree8fca2c5b5b52cc10557b5ba6e55b937ae3c57cf6 /lib/items-tech/validations.ts
parented0d6fcc98f671280c2ccde797b50693da88152e (diff)
(대표님) 정기평가 피드백 반영, 설계 피드백 반영, (최겸) 기술영업 피드백 반영
Diffstat (limited to 'lib/items-tech/validations.ts')
-rw-r--r--lib/items-tech/validations.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/items-tech/validations.ts b/lib/items-tech/validations.ts
index 95a34b58..ec662320 100644
--- a/lib/items-tech/validations.ts
+++ b/lib/items-tech/validations.ts
@@ -107,7 +107,7 @@ export type TypedItemCreateData = ShipbuildingItemCreateData
// 해양 TOP 아이템 스키마
export const createOffshoreTopItemSchema = z.object({
itemCode: z.string(),
- workType: z.enum(["TM", "TS", "TE", "TP"]),
+ workType: z.enum(["TM", "TS", "TE", "TP", "TA"]),
itemList: z.string().optional(),
subItemList: z.string().optional(),
})
@@ -126,7 +126,7 @@ export type CreateOffshoreHullItemSchema = z.infer<typeof createOffshoreHullItem
// 해양 TOP 아이템 업데이트 스키마
export const updateOffshoreTopItemSchema = z.object({
itemCode: z.string(),
- workType: z.enum(["TM", "TS", "TE", "TP"]).optional(),
+ workType: z.enum(["TM", "TS", "TE", "TP", "TA"]).optional(),
itemList: z.string().optional(),
subItemList: z.string().optional(),
})
@@ -145,7 +145,7 @@ export type UpdateOffshoreHullItemSchema = z.infer<typeof updateOffshoreHullItem
// 해양 TOP 아이템 생성 데이터 타입
export interface OffshoreTopItemCreateData {
itemCode: string
- workType: "TM" | "TS" | "TE" | "TP"
+ workType: "TM" | "TS" | "TE" | "TP" | "TA"
itemList?: string | null
subItemList?: string | null
}