import { DocumentConfig } from '../../types';

/**
 * 계약서 Config
 * - PDF iframe 렌더링
 */
export const contractDocumentConfig: DocumentConfig = {
  type: 'contract',
  title: '계약서',
  preset: 'construction',
  // component는 사용하지 않고 children으로 PDF iframe 전달
};

/**
 * 건설 문서 Config 맵
 */
export const CONSTRUCTION_DOCUMENT_CONFIGS = {
  'contract': contractDocumentConfig,
} as const;

export type ConstructionDocumentType = keyof typeof CONSTRUCTION_DOCUMENT_CONFIGS;
