[cs] WIP: 알림톡템플릿관리

This commit is contained in:
2026-04-13 10:58:41 +09:00
parent 207268b7fc
commit 9d18ef7527
23 changed files with 1751 additions and 18 deletions
@@ -44,7 +44,6 @@ export const LwpoCodeFormSchema = z.object({
prntLwpoCd: z.string().max(10).nullish(),
useYn: z.string(),
sortSeq: z.number(),
delYn: z.string(),
});
export type LwpoCodeFormData = z.infer<typeof LwpoCodeFormSchema>;
@@ -32,8 +32,11 @@ export interface UpCodeDetail extends UpCodeFormData {
}
export const upCodeFormSchema = z.object({
upCd: z.string().max(10).nonempty(),
upCdNm: z.string().max(100).nonempty(),
upCd: z
.string()
.max(30, "최대 30자까지 입력할 수 있습니다.")
.nonempty("최소 1자 이상 입력해주세요."),
upCdNm: z.string().max(100).nonempty("최소 1자 이상 입력해주세요."),
upCdExpln: z.string().max(1000).nullish(),
cdSe: z.string().max(10).nonempty(),
siteId: z.string().max(2).nullish(),