refacotr: déplace Académie et Departements

suppression-manon-adrien
Sebastien Arod 2024-06-18 10:11:39 +02:00
parent d8be973b82
commit 4a2a3e257b
3 changed files with 73 additions and 73 deletions

22
src/Academie.ts Normal file
View File

@ -0,0 +1,22 @@
export type Academie =
| "Aix-Marseille"
| "Amiens"
| "Besançon"
| "Bordeaux"
| "Clermont-Ferrand"
| "Corse"
| "Créteil"
| "Dijon"
| "Grenoble"
| "Limoges"
| "Lyon"
| "Montpellier"
| "Nancy-Metz"
| "Nantes"
| "Orléans-Tours"
| "Poitiers"
| "Rennes"
| "Normandie"
| "Strasbourg"
| "Toulouse"
| "Versailles";

49
src/Departement.ts Normal file
View File

@ -0,0 +1,49 @@
export type Departement =
| "Ardèche"
| "Ariège"
| "Aude"
| "Aveyron"
| "Bouches-du-Rhône"
| "Charente-Maritime"
| "Cher"
| "Corse"
| "Creuse"
| "Côtes-d'Armor"
| "Côte-d'Or"
| "Deux-Sèvres"
| "Dordogne"
| "Drôme"
| "Doubs"
| "Eure"
| "Finistère"
| "Haut-Rhin"
| "Haute-Garonne"
| "Haute-Savoie"
| "Haute-Vienne"
| "Hautes-Alpes"
| "Ille-et-Vilaine"
| "Isère"
| "Jura"
| "Landes"
| "Loire"
| "Loire-Atlantique"
| "Lot"
| "Maine-et-Loire"
| "Mayenne"
| "Meurthe-et-Moselle"
| "Meuse"
| "Morbihan"
| "Moselle"
| "Oise"
| "Puy-de-Dôme"
| "Rhône"
| "Seine-et-Marne"
| "Seine-Maritime"
| "Seine-Saint-Denis"
| "Tarn"
| "Tarn-et-Garonne"
| "Val-de-Marne"
| "Vaucluse"
| "Vendée"
| "Vosges"
| "Yvelines";

View File

@ -1,78 +1,7 @@
import { formatWithOptions, isAfter, parse } from "date-fns/fp";
import { fr } from "date-fns/locale";
export type Departement =
| "Ardèche"
| "Ariège"
| "Aude"
| "Aveyron"
| "Bouches-du-Rhône"
| "Charente-Maritime"
| "Cher"
| "Corse"
| "Creuse"
| "Côtes-d'Armor"
| "Côte-d'Or"
| "Deux-Sèvres"
| "Dordogne"
| "Drôme"
| "Doubs"
| "Eure"
| "Finistère"
| "Haut-Rhin"
| "Haute-Garonne"
| "Haute-Savoie"
| "Haute-Vienne"
| "Hautes-Alpes"
| "Ille-et-Vilaine"
| "Isère"
| "Jura"
| "Landes"
| "Loire"
| "Loire-Atlantique"
| "Lot"
| "Maine-et-Loire"
| "Mayenne"
| "Meurthe-et-Moselle"
| "Meuse"
| "Morbihan"
| "Moselle"
| "Oise"
| "Puy-de-Dôme"
| "Rhône"
| "Seine-et-Marne"
| "Seine-Maritime"
| "Seine-Saint-Denis"
| "Tarn"
| "Tarn-et-Garonne"
| "Val-de-Marne"
| "Vaucluse"
| "Vendée"
| "Vosges"
| "Yvelines";
export type Academie =
| "Aix-Marseille"
| "Amiens"
| "Besançon"
| "Bordeaux"
| "Clermont-Ferrand"
| "Corse"
| "Créteil"
| "Dijon"
| "Grenoble"
| "Limoges"
| "Lyon"
| "Montpellier"
| "Nancy-Metz"
| "Nantes"
| "Orléans-Tours"
| "Poitiers"
| "Rennes"
| "Normandie"
| "Strasbourg"
| "Toulouse"
| "Versailles";
import { Academie } from "./Academie";
import { Departement } from "./Departement";
export interface Resistant {
id: string;