메일관리 시스템 구현 완료

This commit is contained in:
leeheejin
2025-10-01 17:01:31 +09:00
parent 0209be8fd6
commit 6d1fe625e4
19 changed files with 2771 additions and 583077 deletions

View File

@@ -1,6 +1,25 @@
import fs from 'fs/promises';
import path from 'path';
import { MailComponent, QueryConfig } from './mailQueryService';
// MailComponent 인터페이스 정의
export interface MailComponent {
id: string;
type: "text" | "button" | "image" | "spacer";
content?: string;
text?: string;
url?: string;
src?: string;
height?: number;
styles?: Record<string, string>;
}
// QueryConfig 인터페이스 정의 (사용하지 않지만 타입 호환성 유지)
export interface QueryConfig {
id: string;
name: string;
sql: string;
parameters: any[];
}
export interface MailTemplate {
id: string;