feat: 약관관리 페이지 작업

This commit is contained in:
2025-04-11 15:15:12 +09:00
parent 0ef244a5b2
commit b9a5938761
21 changed files with 514 additions and 26 deletions
@@ -32,9 +32,11 @@ export const templateFormSchema = z.object({
export type TemplateList = PageableList<Template>;
export type TemplateFormData = z.infer<typeof templateFormSchema>;
export interface TemplateService {
getTemplateList(params: TemplateParams): Promise<TemplateList>;
getTemplateInfo(tmpltSn: string): Promise<Template>;
createTemplate(data: TemplateFormData): Promise<void>;
updateTemplate(tmpltSn: string, data: TemplateFormData): Promise<void>;
deleteTemplate(tmpltSn: string): Promise<void>;
}