워터마크 기능 추가

This commit is contained in:
dohyeons
2025-12-22 15:40:31 +09:00
parent 002c71f9e8
commit d90e68905e
6 changed files with 929 additions and 2 deletions

View File

@@ -81,6 +81,22 @@ export interface ExternalConnection {
is_active: string;
}
// 워터마크 설정
export interface WatermarkConfig {
enabled: boolean;
type: "text" | "image";
// 텍스트 워터마크
text?: string;
fontSize?: number;
fontColor?: string;
// 이미지 워터마크
imageUrl?: string;
// 공통 설정
opacity: number; // 0~1
style: "diagonal" | "center" | "tile";
rotation?: number; // 대각선일 때 각도 (기본 -45)
}
// 페이지 설정
export interface ReportPage {
page_id: string;
@@ -97,6 +113,7 @@ export interface ReportPage {
};
background_color: string;
components: ComponentConfig[];
watermark?: WatermarkConfig;
}
// 레이아웃 설정 (페이지 기반)