-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update: complète et utilise situationLayout * update: ajoute un type au générateur d'aide * update: ajoute un enum pour les types de vélos * update: utilise l'interface de générateur * update: remplace le type de vélos * update: typage des droits du store * update: utilise les nouvelles interfaces dans compute * update: ajoute un enum et le typage du patrimoine * trigger ci * chore: infère le type situation layout * update: renomme l'enum VeloType en VeloCategory * update: renomme l'interface IDataGenerator en BenefitCatalog * update: utilise l'interface résultats plutôt qu'un type inféré
- Loading branch information
Showing
16 changed files
with
98 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { InstitutionsMap } from "./institutions.d.js" | ||
import { StandardBenefit, BenefitsMap } from "./benefits.d.js" | ||
|
||
export interface BenefitCatalog { | ||
all: StandardBenefit[] | ||
institutionsMap: InstitutionsMap | ||
benefitsMap: BenefitsMap | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export enum PatrimoineTypes { | ||
valeur_patrimoine_loue = "valeur_patrimoine_loue", | ||
valeur_terrains_non_loues = "valeur_terrains_non_loues", | ||
valeur_locative_terrains_non_loues = "valeur_locative_terrains_non_loues", | ||
valeur_immo_non_loue = "valeur_immo_non_loue", | ||
valeur_locative_immo_non_loue = "valeur_locative_immo_non_loue", | ||
livret_a = "livret_a", | ||
epargne_revenus_non_imposables = "epargne_revenus_non_imposables", | ||
epargne_revenus_imposables = "epargne_revenus_imposables", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export enum VeloCategory { | ||
veloMecanique = "velo_mecanique", | ||
veloElectrique = "velo_electrique", | ||
veloCargo = "velo_cargo", | ||
veloCargoElectrique = "velo_cargo_electrique", | ||
veloPliant = "velo_pliant", | ||
veloMotorisation = "velo_motorisation", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters