Created
September 18, 2018 23:16
-
-
Save Asone/a1c010dd807890ea409aa2ade1df32ae to your computer and use it in GitHub Desktop.
Extraction d'interfaces typescript sur la base d'un échantillon issu du dérouleur de l'assemblée nationale
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
export interface Welcome { | |
racine: Racine; | |
} | |
export interface Racine { | |
jaune: Jaune; | |
contenu: Contenu; | |
} | |
export interface Contenu { | |
phase: Phase[]; | |
} | |
export interface Phase { | |
phase_libelle: string; | |
phase_type: string; | |
ligne: Ligne[]; | |
} | |
export interface Ligne { | |
id: string; | |
ligne_type: string; | |
texte_bibard: string; | |
ligne_libelle_1: string; | |
ligne_video_highlighted?: string; | |
ligne_amendement_derouleur_division_ancre?: LigneAmendementDerouleurDivisionAncre; | |
depute_tribun_id?: string; | |
ligne_amendement_uid?: string; | |
ligne_dc_amdts?: LigneAmdtsIdentiquesEnum; | |
ligne_amdts_identiques?: LigneAmdtsIdentiquesEnum; | |
} | |
export enum LigneAmdtsIdentiquesEnum { | |
Debut = "debut", | |
Fin = "fin", | |
Milieu = "milieu", | |
} | |
export enum LigneAmendementDerouleurDivisionAncre { | |
DArticle13 = "D_Article_13", | |
DArticle14 = "D_Article_14", | |
DArticle15 = "D_Article_15", | |
} | |
export interface Jaune { | |
id: string; | |
jaune_date_time: string; | |
extract_date_time: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment