Skip to content

Commit

Permalink
fix: domains list has now a category "ministery"
Browse files Browse the repository at this point in the history
  • Loading branch information
sneko committed Mar 20, 2024
1 parent 6af2d6f commit 09bac75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/features/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export const CsvDomainTypeSchema = z.enum([
'Hôpital',
'APHP',
'Ajout Manuel Matthieu Faure',
'Ministère',
'Gouvernement',
'Préfécture',
'Santé',
Expand Down
1 change: 1 addition & 0 deletions src/models/mappers/raw-domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export function rawDomainTypeCsvToModel(csvType: CsvDomainTypeSchemaType): RawDo
case CsvDomainTypeSchema.Values['Hôpital']:
case CsvDomainTypeSchema.Values['APHP']:
return RawDomainTypeSchema.Values.HOSPITAL;
case CsvDomainTypeSchema.Values['Ministère']:
case CsvDomainTypeSchema.Values['Gouvernement']:
return RawDomainTypeSchema.Values.GOVERNMENT;
case CsvDomainTypeSchema.Values['Préfécture']:
Expand Down

0 comments on commit 09bac75

Please sign in to comment.