export enum OutputFormat {
  EXCEL = 'EXCEL',
  PDF = 'PDF',
  CSV = 'CSV',
  JSON = 'JSON',
}

export const OutputFormatMimeTypes: Record<OutputFormat, string> = {
  [OutputFormat.EXCEL]:
    'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
  [OutputFormat.PDF]: 'application/pdf',
  [OutputFormat.CSV]: 'text/csv',
  [OutputFormat.JSON]: 'application/json',
};

export const OutputFormatExtensions: Record<OutputFormat, string> = {
  [OutputFormat.EXCEL]: 'xlsx',
  [OutputFormat.PDF]: 'pdf',
  [OutputFormat.CSV]: 'csv',
  [OutputFormat.JSON]: 'json',
};
