@tricoteuses/assemblee 0.29.2 → 0.29.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/lib/raw_types/acteurs_et_organes.d.ts +4 -4
- package/lib/raw_types/acteurs_et_organes.js +5 -5
- package/lib/raw_types/acteurs_et_organes.mjs +5 -5
- package/lib/raw_types/agendas.d.ts +2 -25
- package/lib/raw_types/agendas.js +4 -32
- package/lib/raw_types/agendas.mjs +3 -30
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -84,6 +84,11 @@ Edit `src/raw_types/acteurs_et_organes.ts` to:
|
|
|
84
84
|
npx quicktype --acronym-style=camel -o src/raw_types/agendas.ts ../assemblee-data/Agenda_{XIV,XV}.json
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
+
Edit `src/raw_types/agendas.ts` to:
|
|
88
|
+
|
|
89
|
+
- Replace `r("SessionRef")` with `""`.
|
|
90
|
+
- Remove 2 definitions of `SessionRef` and replace it with `string` elsewhere.
|
|
91
|
+
|
|
87
92
|
```bash
|
|
88
93
|
npx babel-node --extensions ".ts" --max-old-space-size=8192 -- src/scripts/raw_types_from_amendements.ts ../assemblee-data/
|
|
89
94
|
```
|
|
@@ -315,7 +315,7 @@ export interface FluffyMandat {
|
|
|
315
315
|
dateDebut: Date;
|
|
316
316
|
datePublication: null;
|
|
317
317
|
dateFin: Date | null;
|
|
318
|
-
preseance: string;
|
|
318
|
+
preseance: null | string;
|
|
319
319
|
nominPrincipale: string;
|
|
320
320
|
infosQualite: InfosQualite;
|
|
321
321
|
organes: FluffyOrganes;
|
|
@@ -323,7 +323,7 @@ export interface FluffyMandat {
|
|
|
323
323
|
chambre: null;
|
|
324
324
|
election: PurpleElection;
|
|
325
325
|
mandature: Mandature;
|
|
326
|
-
collaborateurs
|
|
326
|
+
collaborateurs?: null[] | Collaborateurs | null;
|
|
327
327
|
}
|
|
328
328
|
export interface FluffyOrganes {
|
|
329
329
|
organeRef: string;
|
|
@@ -511,7 +511,7 @@ export interface TentacledMandat {
|
|
|
511
511
|
chambre?: null;
|
|
512
512
|
election?: PurpleElection;
|
|
513
513
|
mandature?: Mandature;
|
|
514
|
-
collaborateurs?: Collaborateurs | null;
|
|
514
|
+
collaborateurs?: null[] | Collaborateurs | null;
|
|
515
515
|
libelle?: null | string;
|
|
516
516
|
missionSuivanteRef?: null | string;
|
|
517
517
|
missionPrecedenteRef?: null | string;
|
|
@@ -587,7 +587,7 @@ export interface IndigoMandat {
|
|
|
587
587
|
dateDebut: Date;
|
|
588
588
|
datePublication: null;
|
|
589
589
|
dateFin: Date;
|
|
590
|
-
preseance: string;
|
|
590
|
+
preseance: null | string;
|
|
591
591
|
nominPrincipale: string;
|
|
592
592
|
infosQualite: InfosQualite;
|
|
593
593
|
organes: FluffyOrganes;
|