@tricoteuses/assemblee 0.29.1 → 0.29.4
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
CHANGED
|
@@ -77,6 +77,8 @@ Edit `src/raw_types/acteurs_et_organes.ts` to:
|
|
|
77
77
|
|
|
78
78
|
- Replace `r("Secretaire02")` with `""`.
|
|
79
79
|
- Remove 2 definitions of `Secretaire02` and replace it with `string` elsewhere.
|
|
80
|
+
- Replace regular expression `r\("PaysNaisEnum"\)` with `""`.
|
|
81
|
+
- Remove definitions of regular expression `[^ ]PaysNaisEnum` and replace it with `string`.
|
|
80
82
|
|
|
81
83
|
```bash
|
|
82
84
|
npx quicktype --acronym-style=camel -o src/raw_types/agendas.ts ../assemblee-data/Agenda_{XIV,XV}.json
|
|
@@ -44,7 +44,7 @@ export interface PurpleInfoNaissance {
|
|
|
44
44
|
dateNais: UriHatvpClass | Date | null;
|
|
45
45
|
villeNais: UriHatvpClass | null | string;
|
|
46
46
|
depNais: UriHatvpClass | DepNais | null;
|
|
47
|
-
paysNais: UriHatvpClass |
|
|
47
|
+
paysNais: UriHatvpClass | null | string;
|
|
48
48
|
}
|
|
49
49
|
export declare enum DepNais {
|
|
50
50
|
Ain = "Ain",
|
|
@@ -160,51 +160,6 @@ export declare enum DepNais {
|
|
|
160
160
|
Yonne = "Yonne",
|
|
161
161
|
Yvelines = "Yvelines"
|
|
162
162
|
}
|
|
163
|
-
export declare enum PaysNaisEnum {
|
|
164
|
-
Algérie = "Alg\u00E9rie",
|
|
165
|
-
Allemagne = "Allemagne",
|
|
166
|
-
Belgique = "Belgique",
|
|
167
|
-
Brésil = "Br\u00E9sil",
|
|
168
|
-
BurkinaFaso = "Burkina Faso",
|
|
169
|
-
Cambodge = "Cambodge",
|
|
170
|
-
Canada = "Canada",
|
|
171
|
-
Centrafrique = "Centrafrique",
|
|
172
|
-
Chili = "Chili",
|
|
173
|
-
CoréeDuSud = "Cor\u00E9e du Sud",
|
|
174
|
-
Cuba = "Cuba",
|
|
175
|
-
CôteDIvoire = "C\u00F4te d'Ivoire",
|
|
176
|
-
Espagne = "Espagne",
|
|
177
|
-
EtatsUnisDAmérique = "Etats-Unis d'Am\u00E9rique",
|
|
178
|
-
Fr = "FR",
|
|
179
|
-
France = "France",
|
|
180
|
-
Gabon = "Gabon",
|
|
181
|
-
GrandeBretagne = "Grande Bretagne",
|
|
182
|
-
Grèce = "Gr\u00E8ce",
|
|
183
|
-
Iran = "Iran",
|
|
184
|
-
Liban = "Liban",
|
|
185
|
-
Madagascar = "Madagascar",
|
|
186
|
-
Maroc = "Maroc",
|
|
187
|
-
MarylandUsa = "Maryland (USA)",
|
|
188
|
-
PaysNaisAllemagne = "ALLEMAGNE",
|
|
189
|
-
PaysNaisFrance = "FRANCE",
|
|
190
|
-
PolynésieFrancaise = "Polyn\u00E9sie Francaise",
|
|
191
|
-
PolynésieFrançaise = "Polyn\u00E9sie fran\u00E7aise",
|
|
192
|
-
PurpleFrance = "france",
|
|
193
|
-
Rwanda = "Rwanda",
|
|
194
|
-
SaintMartin = "Saint-Martin",
|
|
195
|
-
Senegal = "Senegal",
|
|
196
|
-
Serbie = "Serbie",
|
|
197
|
-
SerbieMajuscule = "SERBIE",
|
|
198
|
-
Seychelles = "Seychelles",
|
|
199
|
-
Suisse = "Suisse",
|
|
200
|
-
Sénégal = "S\u00E9n\u00E9gal",
|
|
201
|
-
Thaïlande = "Tha\u00EFlande",
|
|
202
|
-
Togo = "Togo",
|
|
203
|
-
Tunisie = "Tunisie",
|
|
204
|
-
Turquie = "Turquie",
|
|
205
|
-
Ukraine = "Ukraine",
|
|
206
|
-
Vietnam = "Vietnam"
|
|
207
|
-
}
|
|
208
163
|
export interface PurpleMandats {
|
|
209
164
|
mandat: PurpleMandat[] | FluffyMandat;
|
|
210
165
|
}
|
|
@@ -360,7 +315,7 @@ export interface FluffyMandat {
|
|
|
360
315
|
dateDebut: Date;
|
|
361
316
|
datePublication: null;
|
|
362
317
|
dateFin: Date | null;
|
|
363
|
-
preseance: string;
|
|
318
|
+
preseance: null | string;
|
|
364
319
|
nominPrincipale: string;
|
|
365
320
|
infosQualite: InfosQualite;
|
|
366
321
|
organes: FluffyOrganes;
|
|
@@ -368,7 +323,7 @@ export interface FluffyMandat {
|
|
|
368
323
|
chambre: null;
|
|
369
324
|
election: PurpleElection;
|
|
370
325
|
mandature: Mandature;
|
|
371
|
-
collaborateurs
|
|
326
|
+
collaborateurs?: null[] | Collaborateurs | null;
|
|
372
327
|
}
|
|
373
328
|
export interface FluffyOrganes {
|
|
374
329
|
organeRef: string;
|
|
@@ -556,7 +511,7 @@ export interface TentacledMandat {
|
|
|
556
511
|
chambre?: null;
|
|
557
512
|
election?: PurpleElection;
|
|
558
513
|
mandature?: Mandature;
|
|
559
|
-
collaborateurs?: Collaborateurs | null;
|
|
514
|
+
collaborateurs?: null[] | Collaborateurs | null;
|
|
560
515
|
libelle?: null | string;
|
|
561
516
|
missionSuivanteRef?: null | string;
|
|
562
517
|
missionPrecedenteRef?: null | string;
|
|
@@ -594,7 +549,7 @@ export interface FluffyInfoNaissance {
|
|
|
594
549
|
dateNais: Date;
|
|
595
550
|
villeNais: null | string;
|
|
596
551
|
depNais: DepNais | null;
|
|
597
|
-
paysNais:
|
|
552
|
+
paysNais: null | string;
|
|
598
553
|
}
|
|
599
554
|
export interface FluffyMandats {
|
|
600
555
|
mandat: StickyMandat[] | IndigoMandat;
|
|
@@ -632,7 +587,7 @@ export interface IndigoMandat {
|
|
|
632
587
|
dateDebut: Date;
|
|
633
588
|
datePublication: null;
|
|
634
589
|
dateFin: Date;
|
|
635
|
-
preseance: string;
|
|
590
|
+
preseance: null | string;
|
|
636
591
|
nominPrincipale: string;
|
|
637
592
|
infosQualite: InfosQualite;
|
|
638
593
|
organes: FluffyOrganes;
|