export const DossierAttributeConfigTypes = {
    DATE: 'DATE',
    IMAGE: 'IMAGE',
    NUMBER: 'NUMBER',
    TEXT: 'TEXT',
} as const;

export type DossierAttributeConfigType = keyof typeof DossierAttributeConfigTypes;

export type DossierAttributeWithValue = IDossierAttributeConfig & { value: string };

export interface IDossierAttributeConfig {
    readonly id: string;
    readonly editable: boolean;
    readonly label: string;
    readonly placeholder: string;
    readonly dossierTemplateId?: string;
    readonly type: DossierAttributeConfigType;
}
