261029_01_ENH: 이메일·문자·알림톡 템플릿 삭제 기능 추가 및 삭제

This commit is contained in:
2026-11-02 12:07:06 +09:00
parent 07e70d1f44
commit 50a0cb1ef5
5 changed files with 150 additions and 38 deletions

View File

@@ -3,13 +3,22 @@ import type {
SendCancelBulkRequest,
SendCancelSingleRequest,
Template,
TemplateKko,
TemplatePurpose,
TemplateSummary,
} from '@kri/common/noti-hub';
import type { ListFilter } from './list';
export type KkoSenderProfile = {
senderKey: string;
name: string;
uuid: string;
};
export type KkoTemplateWithProfile = TemplateKko & { senderKey?: string };
// 서버 조회 응답은 모든 채널의 템플릿에 tmplatPurpose를 내려준다. 화면 상태에서는 필수로 다룬다.
export type TemplateWithPurpose = Template & {
export type TemplateWithPurpose = (Exclude<Template, TemplateKko> | KkoTemplateWithProfile) & {
tmplatPurpose: TemplatePurpose;
};