@tricoteuses/assemblee 3.2.8 → 3.2.9
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/lib/{amendements-CudMDSl9.js → amendements-DFejZtrB.js} +1 -1
- package/lib/{amendements-NUU1Ei_X.js → amendements-Xaw7TqV2.js} +4 -4
- package/lib/cleaners.js +3 -3
- package/lib/index.js +115 -115
- package/lib/{loaders-Do7OTkWb.js → loaders-CXywwmAa.js} +2 -2
- package/lib/loaders.js +1 -1
- package/lib/parsers.js +8 -8
- package/lib/{scrutins-vscL0izO.js → scrutins-98SJXpIE.js} +391 -390
- package/lib/{registries.d.ts → src/registries.d.ts} +8 -8
- package/lib/{schemas → src/schemas}/clean/acteurs_et_organes.d.ts +37 -37
- package/lib/{schemas → src/schemas}/clean/amendements.d.ts +12 -12
- package/lib/{schemas → src/schemas}/clean/debats.d.ts +26 -26
- package/lib/{schemas → src/schemas}/clean/dossiers_legislatifs.d.ts +16 -16
- package/lib/{schemas → src/schemas}/clean/questions.d.ts +122 -122
- package/lib/{schemas → src/schemas}/clean/scrutins.d.ts +2 -2
- package/lib/{schemas → src/schemas}/enriched/acteurs_et_organes.d.ts +2 -2
- package/lib/{schemas → src/schemas}/enriched/amendements.d.ts +9 -9
- package/lib/{schemas → src/schemas}/enriched/dossiers_legislatifs.d.ts +12 -12
- package/lib/{schemas → src/schemas}/enriched/questions.d.ts +108 -108
- package/lib/{schemas → src/schemas}/enriched/scrutins.d.ts +2 -2
- package/lib/{schemas → src/schemas}/raw/acteurs_et_organes.d.ts +132 -132
- package/lib/{schemas → src/schemas}/raw/agendas.d.ts +97 -97
- package/lib/{schemas → src/schemas}/raw/amendements.d.ts +83 -83
- package/lib/{schemas → src/schemas}/raw/debats.d.ts +51 -51
- package/lib/{schemas → src/schemas}/raw/dossiers_legislatifs.d.ts +187 -182
- package/lib/src/schemas/raw/questions.d.ts +983 -0
- package/lib/{schemas → src/schemas}/raw/scrutins.d.ts +164 -164
- package/lib/src/urls.test.d.ts +1 -0
- package/package.json +19 -19
- package/lib/schemas/raw/questions.d.ts +0 -983
- /package/lib/{api.d.ts → src/api.d.ts} +0 -0
- /package/lib/{cleaners → src/cleaners}/actes_legislatifs.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/acteurs.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/amendements.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/debats.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/documents.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/dossiers_legislatifs.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/index.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/organes.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/questions.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/reunions.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/scrutins.d.ts +0 -0
- /package/lib/{cleaners → src/cleaners}/xml.d.ts +0 -0
- /package/lib/{datasets.d.ts → src/datasets.d.ts} +0 -0
- /package/lib/{dates.d.ts → src/dates.d.ts} +0 -0
- /package/lib/{dossiers_legislatifs.d.ts → src/dossiers_legislatifs.d.ts} +0 -0
- /package/lib/{file_systems.d.ts → src/file_systems.d.ts} +0 -0
- /package/lib/{git.d.ts → src/git.d.ts} +0 -0
- /package/lib/{index.d.ts → src/index.d.ts} +0 -0
- /package/lib/{inserters.d.ts → src/inserters.d.ts} +0 -0
- /package/lib/{legislatures.d.ts → src/legislatures.d.ts} +0 -0
- /package/lib/{loaders.d.ts → src/loaders.d.ts} +0 -0
- /package/lib/{logger.d.ts → src/logger.d.ts} +0 -0
- /package/lib/{numbers.d.ts → src/numbers.d.ts} +0 -0
- /package/lib/{organes.d.ts → src/organes.d.ts} +0 -0
- /package/lib/{parsers → src/parsers}/compte_rendu_commission.d.ts +0 -0
- /package/lib/{parsers → src/parsers}/index.d.ts +0 -0
- /package/lib/{parsers → src/parsers}/recherche_amendements.d.ts +0 -0
- /package/lib/{parsers → src/parsers}/textes_lois.d.ts +0 -0
- /package/lib/{parsers → src/parsers}/videos.d.ts +0 -0
- /package/lib/{schemas → src/schemas}/clean/agendas.d.ts +0 -0
- /package/lib/{schemas → src/schemas}/enriched/agendas.d.ts +0 -0
- /package/lib/{schemas → src/schemas}/enriched/debats.d.ts +0 -0
- /package/lib/{scripts/clean_reorganized_data.d.ts → src/schemas/raw/dossiers_legislatifs.test.d.ts} +0 -0
- /package/lib/{schemas → src/schemas}/zod_errors.d.ts +0 -0
- /package/lib/{scripts/data-download.d.ts → src/scripts/clean_reorganized_data.d.ts} +0 -0
- /package/lib/{scripts/diff_amendements.d.ts → src/scripts/data-download.d.ts} +0 -0
- /package/lib/{scripts/document_dossiers_legislatifs.d.ts → src/scripts/diff_amendements.d.ts} +0 -0
- /package/lib/{scripts/get_today_reunions.d.ts → src/scripts/document_dossiers_legislatifs.d.ts} +0 -0
- /package/lib/{scripts/merge_scrutins.d.ts → src/scripts/get_today_reunions.d.ts} +0 -0
- /package/lib/{scripts/reorganize_data.d.ts → src/scripts/merge_scrutins.d.ts} +0 -0
- /package/lib/{scripts → src/scripts}/raw_types_from_amendements.d.ts +0 -0
- /package/lib/{scripts/retrieve_pending_amendments.d.ts → src/scripts/reorganize_data.d.ts} +0 -0
- /package/lib/{scripts → src/scripts}/retrieve_deputes_photos.d.ts +0 -0
- /package/lib/{scripts → src/scripts}/retrieve_documents.d.ts +0 -0
- /package/lib/{scripts → src/scripts}/retrieve_open_data.d.ts +0 -0
- /package/lib/{scripts/retrieve_senateurs_photos.d.ts → src/scripts/retrieve_pending_amendments.d.ts} +0 -0
- /package/lib/{scripts/test_iter_load.d.ts → src/scripts/retrieve_senateurs_photos.d.ts} +0 -0
- /package/lib/{scripts → src/scripts}/retrieve_videos.d.ts +0 -0
- /package/lib/{scripts → src/scripts}/shared/cli_helpers.d.ts +0 -0
- /package/lib/{scripts → src/scripts}/shared/photos.d.ts +0 -0
- /package/lib/{scripts → src/scripts}/shared/utils.d.ts +0 -0
- /package/lib/{scripts/validate_json.d.ts → src/scripts/test_iter_load.d.ts} +0 -0
- /package/lib/{scripts → src/scripts}/test_load.d.ts +0 -0
- /package/lib/{scripts → src/scripts}/test_load_big_files.d.ts +0 -0
- /package/lib/{urls.test.d.ts → src/scripts/validate_json.d.ts} +0 -0
- /package/lib/{strings.d.ts → src/strings.d.ts} +0 -0
- /package/lib/{uids.d.ts → src/uids.d.ts} +0 -0
- /package/lib/{urls.d.ts → src/urls.d.ts} +0 -0
package/lib/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as ee, L as te, M as ne, N as re, O as ie, P as ae, R as oe, S as se, T as ce, U as le, V as ue, W as de, _ as fe, a as pe, at as me, b as he, c as ge, ct as _e, d as ve, dt as ye, f as
|
|
2
|
-
import { $ as
|
|
1
|
+
import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as ee, L as te, M as ne, N as re, O as ie, P as ae, R as oe, S as se, T as ce, U as le, V as ue, W as de, _ as fe, a as pe, at as me, b as he, c as ge, ct as _e, d as ve, dt as ye, f as u, ft as d, g as f, h as p, ht as m, i as h, it as g, j as _, k as v, l as y, lt as b, m as x, mt as S, n as C, o as w, ot as T, p as E, pt as D, q as O, r as k, s as A, st as j, t as M, u as N, ut as P, v as be, w as xe, x as Se, y as Ce, z as we } from "./amendements-Xaw7TqV2.js";
|
|
2
|
+
import { $ as Te, $n as Ee, $t as De, A as Oe, An as ke, Ar as Ae, At as je, B as Me, Bn as Ne, Br as Pe, Bt as Fe, C as Ie, Cn as Le, Cr as Re, Ct as ze, D as Be, Dn as Ve, Dr as He, E as Ue, En as We, Er as Ge, Et as Ke, F as qe, Fn as Je, Fr as Ye, Ft as Xe, G as Ze, Gn as Qe, Gr as $e, Gt as et, H as tt, Hn as nt, Hr as rt, Ht as it, I as at, In as ot, Ir as st, It as ct, J as lt, Jn as ut, Jr as dt, Jt as ft, K as pt, Kn as mt, Kr as ht, Kt as gt, L as _t, Ln as vt, Lr as yt, Lt as bt, M as xt, Mn as St, Mr as Ct, Mt as wt, N as Tt, Nn as Et, Nr as Dt, Nt as Ot, On as kt, Or as At, Ot as jt, P as Mt, Pn as Nt, Pr as Pt, Pt as Ft, Qn as It, Qt as Lt, R as Rt, Rn as zt, Rr as Bt, S as Vt, Sn as Ht, Sr as Ut, St as Wt, T as Gt, Tn as Kt, Tr as qt, Tt as Jt, U as Yt, Un as Xt, Ur as Zt, Ut as Qt, V as $t, Vn as en, Vr as tn, Vt as nn, W as rn, Wn as an, Wr as on, Wt as sn, X as cn, Xt as ln, Y as un, Yn as dn, Yr as fn, Yt as pn, Z as mn, Zn as hn, Zr as gn, Zt as _n, _ as vn, _n as yn, _r as bn, _t as xn, a as F, an as Sn, ar as Cn, at as wn, b as Tn, bn as En, br as Dn, bt as On, c as kn, cn as An, cr as jn, ct as Mn, d as Nn, dn as Pn, dr as Fn, dt as In, en as Ln, er as Rn, et as zn, f as Bn, fn as Vn, fr as Hn, ft as Un, g as Wn, gn as Gn, gr as Kn, gt as qn, h as Jn, hn as Yn, hr as Xn, ht as Zn, i as Qn, ir as $n, it as er, j as tr, jn as nr, jr as rr, jt as ir, k as ar, kn as or, kr as sr, kt as cr, ln as lr, lr as ur, lt as dr, m as fr, mn as pr, mr, mt as hr, n as gr, nn as _r, nr as vr, nt as yr, o as br, on as xr, or as Sr, ot as Cr, p as wr, pn as Tr, pr as Er, pt as Dr, q as Or, qn as kr, qr as Ar, qt as jr, r as Mr, rn as Nr, rt as Pr, s as Fr, sn as Ir, sr as Lr, st as Rr, t as zr, tn as Br, tr as Vr, tt as Hr, u as Ur, un as Wr, ur as Gr, ut as Kr, v as qr, vn as Jr, vr as Yr, vt as Xr, w as Zr, wn as Qr, wr as $r, wt as ei, x as ti, xn as ni, xr as ri, xt as ii, y as ai, yn as oi, yr as si, yt as ci, z as li, zn as ui, zr as di, zt as fi } from "./scrutins-98SJXpIE.js";
|
|
3
3
|
//#region src/api.ts
|
|
4
|
-
var
|
|
4
|
+
var I = /* @__PURE__ */ function(e) {
|
|
5
5
|
return e.Amendements = "amendements", e;
|
|
6
|
-
}({}),
|
|
6
|
+
}({}), pi = Object.values(I), L = /* @__PURE__ */ function(e) {
|
|
7
7
|
return e.Acte_organe = "acte.organe", e.Acte_provenance = "acte.provenance", e.Acte_rapporteurs_acteur = "acte.rapporteurs.acteur", e.Acte_reunion = "acte.reunion", e.Acte_texteAdopte = "acte.texteAdopte", e.Acte_texteAssocie = "acte.texteAssocie", e.Acte_textesAssocies_texteAssocie = "acte.textesAssocies.texteAssocie", e.Acte_votes = "acte.votes", e.Acteur_mandats_organes = "acteur.mandats.organes", e.Amendement_signataires_auteur_acteur = "amendement.signataires.auteur.acteur", e.Amendement_signataires_auteur_auteurRapporteurOrgane = "amendement.signataires.auteur.auteurRapporteurOrgane", e.Amendement_signataires_auteur_gouvernement = "amendement.signataires.auteur.gouvernement", e.Amendement_signataires_auteur_groupePolitique = "amendement.signataires.auteur.groupePolitique", e.Amendement_signataires_cosignataires = "amendement.signataires.cosignataires", e.Amendement_texteLegislatif = "amendement.texteLegislatif", e.Document_auteurs_acteur_acteur = "document.auteurs.acteur.acteur", e.Document_auteurs_organe = "document.auteurs.organe", e.Document_dossier = "document.dossier", e.Dossier_initiateur_acteurs_acteur = "dossier.initiateur.acteurs.acteur", e.Dossier_initiateur_organe = "dossier.initiateur.organe", e.Organe_organeParent = "organe.organeParent", e.Organe_organePrecedent = "organe.organePrecedent", e.Reunion_demandeurs_acteurs_acteur = "reunion.demandeurs.acteurs.acteur", e.Reunion_demandeurs_organe_organe = "reunion.demandeurs.organe.organe", e.Reunion_organeReuni = "reunion.organeReuni", e.Reunion_participants_participantsInternes_acteur = "reunion.participants.participantsInternes.acteur", e.Scrutin_miseAuPoint = "scrutin.miseAuPoint", e.Scrutin_organe = "scrutin.organe", e.Scrutin_ventilationVotes_groupes_organe = "scrutin.ventilationVotes.groupes.organe", e;
|
|
8
|
-
}({}),
|
|
8
|
+
}({}), mi = Object.values(L);
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/strings.ts
|
|
11
|
-
function
|
|
11
|
+
function hi(e) {
|
|
12
12
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function R(e) {
|
|
15
15
|
return e.charAt(0).toLowerCase() + e.slice(1);
|
|
16
16
|
}
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/dossiers_legislatifs.ts
|
|
19
|
-
var
|
|
19
|
+
var gi = /* @__PURE__ */ function(e) {
|
|
20
20
|
return e.Failure = "FAILURE", e.Success = "SUCCESS", e;
|
|
21
|
-
}({}),
|
|
21
|
+
}({}), _i = /* @__PURE__ */ function(e) {
|
|
22
22
|
return e.Failure = "FAILURE", e.InProgress = "IN_PROGRESS", e.Success = "SUCCESS", e;
|
|
23
23
|
}({});
|
|
24
|
-
function
|
|
24
|
+
function vi(e) {
|
|
25
25
|
if (e.actesLegislatifs !== void 0) {
|
|
26
|
-
for (let t of
|
|
26
|
+
for (let t of H(e.actesLegislatifs)) if (t.codeActe.match(/^AN.*-COM-FOND-SAISIE$/) !== null && t.organeRef !== void 0 && t.organeRef !== "PO211494") return t.organeRef;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function z(e) {
|
|
30
30
|
switch (e) {
|
|
31
31
|
case "Accord":
|
|
32
32
|
case "adopté":
|
|
@@ -37,76 +37,76 @@ function R(e) {
|
|
|
37
37
|
case "Conforme":
|
|
38
38
|
case "considérée comme définitive en application de l'article 151-7 du Règlement":
|
|
39
39
|
case "considérée comme définitive en application de l'article 151-9 du Règlement":
|
|
40
|
-
case "Motion adopté(e)": return
|
|
40
|
+
case "Motion adopté(e)": return "SUCCESS";
|
|
41
41
|
case "Désaccord":
|
|
42
42
|
case "Motion rejeté(e)":
|
|
43
43
|
case "rejeté":
|
|
44
|
-
case "rejetée": return
|
|
44
|
+
case "rejetée": return "FAILURE";
|
|
45
45
|
case "adopté avec modifications":
|
|
46
46
|
case "adoptée avec modifications":
|
|
47
47
|
case "De droit (article 61 alinéa 1 de la Constitution)":
|
|
48
48
|
case "modifié":
|
|
49
49
|
case "modifiée":
|
|
50
50
|
case "Motion de censure 49-2":
|
|
51
|
-
case "Partiellement conforme": return
|
|
51
|
+
case "Partiellement conforme": return "IN_PROGRESS";
|
|
52
52
|
case "Soixante députés au moins":
|
|
53
53
|
case "Soixante sénateurs au moins": return "CONSTITU";
|
|
54
|
-
default: return
|
|
54
|
+
default: return "IN_PROGRESS";
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function B(e, t) {
|
|
58
58
|
let n = t[t.length - 1], r;
|
|
59
59
|
switch (n.xsiType) {
|
|
60
60
|
case "Adoption_Europe_Type": {
|
|
61
61
|
let e = n.statutAdoption.libelle;
|
|
62
62
|
return e === void 0 ? null : {
|
|
63
|
-
currentStatus:
|
|
64
|
-
label:
|
|
63
|
+
currentStatus: z(e),
|
|
64
|
+
label: R(e)
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
case "ConclusionEtapeCC_Type": {
|
|
68
68
|
let e = n.statutConclusion.libelle;
|
|
69
69
|
return e === void 0 ? null : {
|
|
70
|
-
currentStatus:
|
|
71
|
-
label:
|
|
70
|
+
currentStatus: z(e),
|
|
71
|
+
label: R(e)
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
case "Decision_Type": {
|
|
75
75
|
let t = n.statutConclusion.libelle;
|
|
76
76
|
if (t === void 0) return null;
|
|
77
|
-
let r =
|
|
77
|
+
let r = z(t), i;
|
|
78
78
|
switch (e.procedureParlementaire.code) {
|
|
79
79
|
case "PROCEDURE_PARLEMENTAIRE_2":
|
|
80
|
-
["rejeté", "rejetée"].includes(t) && e.actesLegislatifs !== void 0 && e.actesLegislatifs.length === 1 && (i =
|
|
80
|
+
["rejeté", "rejetée"].includes(t) && e.actesLegislatifs !== void 0 && e.actesLegislatifs.length === 1 && (i = "FAILURE");
|
|
81
81
|
break;
|
|
82
82
|
case "PROCEDURE_PARLEMENTAIRE_8":
|
|
83
83
|
case "PROCEDURE_PARLEMENTAIRE_22":
|
|
84
|
-
r ===
|
|
84
|
+
r === "SUCCESS" ? i = "SUCCESS" : r === "FAILURE" && (i = "FAILURE");
|
|
85
85
|
break;
|
|
86
86
|
default: break;
|
|
87
87
|
}
|
|
88
88
|
return {
|
|
89
89
|
currentStatus: r,
|
|
90
90
|
finalStatus: i,
|
|
91
|
-
label:
|
|
91
|
+
label: R(t)
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
case "DecisionMotionCensure_Type": return r = n.decision.libelle, r === void 0 ? null : {
|
|
95
|
-
currentStatus:
|
|
96
|
-
finalStatus: e.procedureParlementaire.code === "PROCEDURE_PARLEMENTAIRE_13" && r === "Motion rejeté(e)" ?
|
|
97
|
-
label:
|
|
95
|
+
currentStatus: z(r),
|
|
96
|
+
finalStatus: e.procedureParlementaire.code === "PROCEDURE_PARLEMENTAIRE_13" && r === "Motion rejeté(e)" ? "FAILURE" : "SUCCESS",
|
|
97
|
+
label: R(r)
|
|
98
98
|
};
|
|
99
99
|
case "DecisionRecevabiliteBureau_Type": return r = n.decision.libelle, r === void 0 ? null : {
|
|
100
|
-
currentStatus:
|
|
101
|
-
label:
|
|
100
|
+
currentStatus: z(r),
|
|
101
|
+
label: R(r)
|
|
102
102
|
};
|
|
103
103
|
case "DeclarationGouvernement_Type": return r = n.typeDeclaration.libelle, r === void 0 ? null : {
|
|
104
|
-
currentStatus:
|
|
105
|
-
label:
|
|
104
|
+
currentStatus: z(r),
|
|
105
|
+
label: R(r)
|
|
106
106
|
};
|
|
107
107
|
case "DepotMotionCensure_Type": return r = n.typeMotionCensure.libelle, r === void 0 ? null : {
|
|
108
|
-
currentStatus:
|
|
109
|
-
label:
|
|
108
|
+
currentStatus: z(r),
|
|
109
|
+
label: R(r)
|
|
110
110
|
};
|
|
111
111
|
case "DepotRapport_Type": return [
|
|
112
112
|
"DossierCommissionEnquete_Type",
|
|
@@ -114,74 +114,74 @@ function z(e, t) {
|
|
|
114
114
|
"DossierMissionInformation_Type"
|
|
115
115
|
].includes(e.xsiType) ? {
|
|
116
116
|
currentStatus: t[0].organe.codeType,
|
|
117
|
-
finalStatus:
|
|
117
|
+
finalStatus: "SUCCESS",
|
|
118
118
|
label: "rapport déposé"
|
|
119
119
|
} : null;
|
|
120
120
|
case "MotionProcedure_Type": return r = n.typeMotion.libelle, r === void 0 ? null : {
|
|
121
|
-
currentStatus:
|
|
122
|
-
label:
|
|
121
|
+
currentStatus: z(r),
|
|
122
|
+
label: R(r)
|
|
123
123
|
};
|
|
124
124
|
case "Promulgation_Type": return {
|
|
125
|
-
currentStatus:
|
|
126
|
-
finalStatus:
|
|
125
|
+
currentStatus: "SUCCESS",
|
|
126
|
+
finalStatus: "SUCCESS",
|
|
127
127
|
label: "promulgué"
|
|
128
128
|
};
|
|
129
129
|
case "RetraitInitiative_Type": return {
|
|
130
|
-
currentStatus:
|
|
131
|
-
finalStatus:
|
|
130
|
+
currentStatus: "FAILURE",
|
|
131
|
+
finalStatus: "FAILURE",
|
|
132
132
|
label: "retiré"
|
|
133
133
|
};
|
|
134
134
|
case "SaisineConseilConstit_Type": return r = n.casSaisine.libelle, r === void 0 ? null : {
|
|
135
|
-
currentStatus:
|
|
136
|
-
label:
|
|
135
|
+
currentStatus: z(r),
|
|
136
|
+
label: R(r)
|
|
137
137
|
};
|
|
138
138
|
default: return null;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function V(e, t, n) {
|
|
142
142
|
if (n !== void 0) for (let r of [...n].reverse()) {
|
|
143
|
-
let n = r.actesLegislatifs ?
|
|
143
|
+
let n = r.actesLegislatifs ? V(e, [...t, r], r.actesLegislatifs) : B(e, [...t, r]);
|
|
144
144
|
if (n !== null) return n;
|
|
145
145
|
}
|
|
146
146
|
return null;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
let t =
|
|
148
|
+
function yi(e) {
|
|
149
|
+
let t = V(e, [], e.actesLegislatifs);
|
|
150
150
|
return t === null ? {
|
|
151
|
-
currentStatus:
|
|
151
|
+
currentStatus: "IN_PROGRESS",
|
|
152
152
|
label: "en cours"
|
|
153
153
|
} : t;
|
|
154
154
|
}
|
|
155
|
-
function* V(e) {
|
|
156
|
-
for (let t of e) yield t, t.actesLegislatifs !== void 0 && (yield* V(t.actesLegislatifs));
|
|
157
|
-
}
|
|
158
155
|
function* H(e) {
|
|
156
|
+
for (let t of e) yield t, t.actesLegislatifs !== void 0 && (yield* H(t.actesLegislatifs));
|
|
157
|
+
}
|
|
158
|
+
function* U(e) {
|
|
159
159
|
yield e;
|
|
160
|
-
for (let t of e.divisions ?? []) yield*
|
|
160
|
+
for (let t of e.divisions ?? []) yield* U(t);
|
|
161
161
|
}
|
|
162
162
|
//#endregion
|
|
163
163
|
//#region src/inserters.ts
|
|
164
|
-
function
|
|
164
|
+
function W(e, t, n) {
|
|
165
165
|
if (!n.has(e.uid)) {
|
|
166
166
|
if (n.add(e.uid), t.documentByUid !== void 0 && e.depotInitialLectureDefinitiveRef !== void 0) {
|
|
167
167
|
let r = t.documentByUid[e.depotInitialLectureDefinitiveRef];
|
|
168
|
-
r !== void 0 && (e.depotInitialLectureDefinitive = r,
|
|
168
|
+
r !== void 0 && (e.depotInitialLectureDefinitive = r, q(r, t, n));
|
|
169
169
|
}
|
|
170
170
|
if (t.organeByUid !== void 0 && e.organeRef !== void 0) {
|
|
171
171
|
let r = t.organeByUid[e.organeRef];
|
|
172
|
-
r !== void 0 && (e.organe = r,
|
|
172
|
+
r !== void 0 && (e.organe = r, Y(r, t, n));
|
|
173
173
|
}
|
|
174
174
|
if (t.organeByUid !== void 0 && e.provenanceRef !== void 0) {
|
|
175
175
|
let r = t.organeByUid[e.provenanceRef];
|
|
176
|
-
r !== void 0 && (e.provenance = r,
|
|
176
|
+
r !== void 0 && (e.provenance = r, Y(r, t, n));
|
|
177
177
|
}
|
|
178
178
|
if (t.acteurByUid !== void 0 && e.rapporteurs !== void 0) for (let r of e.rapporteurs) {
|
|
179
179
|
let e = t.acteurByUid[r.acteurRef];
|
|
180
|
-
e !== void 0 && (r.acteur = e,
|
|
180
|
+
e !== void 0 && (r.acteur = e, G(e, t, n));
|
|
181
181
|
}
|
|
182
182
|
if (t.reunionByUid !== void 0 && e.reunionRef !== void 0) {
|
|
183
183
|
let r = t.reunionByUid[e.reunionRef];
|
|
184
|
-
if (r !== void 0 && (e.reunion = r,
|
|
184
|
+
if (r !== void 0 && (e.reunion = r, X(r, t, n), e.odjRef !== void 0)) {
|
|
185
185
|
let t = r.odj;
|
|
186
186
|
if (t !== void 0 && t.pointsOdj !== void 0) {
|
|
187
187
|
for (let n of t.pointsOdj) if (n.uid === e.odjRef) {
|
|
@@ -193,120 +193,120 @@ function U(e, t, n) {
|
|
|
193
193
|
}
|
|
194
194
|
if (t.documentByUid !== void 0 && e.texteAdopteRef !== void 0) {
|
|
195
195
|
let r = t.documentByUid[e.texteAdopteRef];
|
|
196
|
-
r !== void 0 && (e.texteAdopte = r,
|
|
196
|
+
r !== void 0 && (e.texteAdopte = r, q(r, t, n));
|
|
197
197
|
}
|
|
198
198
|
if (t.documentByUid !== void 0 && e.texteAssocieRef !== void 0) {
|
|
199
199
|
let r = t.documentByUid[e.texteAssocieRef];
|
|
200
|
-
r !== void 0 && (e.texteAssocie = r,
|
|
200
|
+
r !== void 0 && (e.texteAssocie = r, q(r, t, n));
|
|
201
201
|
}
|
|
202
202
|
if (t.documentByUid !== void 0 && e.textesAssocies !== void 0) for (let r of e.textesAssocies) {
|
|
203
203
|
let e = t.documentByUid[r.texteAssocieRef];
|
|
204
|
-
e !== void 0 && (r.texteAssocie = e,
|
|
204
|
+
e !== void 0 && (r.texteAssocie = e, q(e, t, n));
|
|
205
205
|
}
|
|
206
206
|
if (t.scrutinByUid !== void 0 && e.voteRefs !== void 0) {
|
|
207
207
|
let r = [];
|
|
208
208
|
for (let i of e.voteRefs) {
|
|
209
209
|
let e = t.scrutinByUid[i];
|
|
210
|
-
e !== void 0 && (r.push(e),
|
|
210
|
+
e !== void 0 && (r.push(e), Z(e, t, n));
|
|
211
211
|
}
|
|
212
212
|
e.votes = r;
|
|
213
213
|
}
|
|
214
|
-
for (let r of e.actesLegislatifs || [])
|
|
214
|
+
for (let r of e.actesLegislatifs || []) W(r, t, n);
|
|
215
215
|
}
|
|
216
216
|
return e;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function G(e, t, n) {
|
|
219
219
|
if (!n.has(e.uid) && (n.add(e.uid), t.organeByUid !== void 0)) for (let r of e.mandats || []) {
|
|
220
220
|
let e = [];
|
|
221
221
|
for (let i of r.organesRefs) {
|
|
222
222
|
let r = t.organeByUid[i];
|
|
223
|
-
r !== void 0 && (e.push(r),
|
|
223
|
+
r !== void 0 && (e.push(r), Y(r, t, n));
|
|
224
224
|
}
|
|
225
225
|
r.organes = e;
|
|
226
226
|
}
|
|
227
227
|
return e;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function bi(e, t, n) {
|
|
230
230
|
if (!n.has(e.uid)) {
|
|
231
231
|
n.add(e.uid);
|
|
232
232
|
let r = e.signataires, i = r.auteur;
|
|
233
233
|
if (t.acteurByUid !== void 0 && i.acteurRef !== void 0) {
|
|
234
234
|
let e = t.acteurByUid[i.acteurRef];
|
|
235
|
-
e !== void 0 && (i.acteur = e,
|
|
235
|
+
e !== void 0 && (i.acteur = e, G(e, t, n));
|
|
236
236
|
}
|
|
237
237
|
if (t.organeByUid !== void 0 && i.auteurRapporteurOrganeRef !== void 0) {
|
|
238
238
|
let e = t.organeByUid[i.auteurRapporteurOrganeRef];
|
|
239
|
-
e !== void 0 && (i.auteurRapporteurOrgane = e,
|
|
239
|
+
e !== void 0 && (i.auteurRapporteurOrgane = e, Y(e, t, n));
|
|
240
240
|
}
|
|
241
241
|
if (t.organeByUid !== void 0 && i.gouvernementRef !== void 0) {
|
|
242
242
|
let e = t.organeByUid[i.gouvernementRef];
|
|
243
|
-
e !== void 0 && (i.gouvernement = e,
|
|
243
|
+
e !== void 0 && (i.gouvernement = e, Y(e, t, n));
|
|
244
244
|
}
|
|
245
245
|
if (t.organeByUid !== void 0 && i.groupePolitiqueRef !== void 0) {
|
|
246
246
|
let e = t.organeByUid[i.groupePolitiqueRef];
|
|
247
|
-
e !== void 0 && (i.groupePolitique = e,
|
|
247
|
+
e !== void 0 && (i.groupePolitique = e, Y(e, t, n));
|
|
248
248
|
}
|
|
249
249
|
if (t.acteurByUid !== void 0 && r.cosignatairesRefs !== void 0) {
|
|
250
250
|
let e = [];
|
|
251
251
|
for (let i of r.cosignatairesRefs || []) {
|
|
252
252
|
let r = t.acteurByUid[i];
|
|
253
|
-
r !== void 0 && (e.push(r),
|
|
253
|
+
r !== void 0 && (e.push(r), G(r, t, n));
|
|
254
254
|
}
|
|
255
255
|
r.cosignataires = e;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
return e;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function K(e, t, n) {
|
|
261
261
|
for (let r of e.auteurs) {
|
|
262
262
|
let e = r.acteur;
|
|
263
263
|
if (t.acteurByUid !== void 0 && e !== void 0) {
|
|
264
264
|
let r = t.acteurByUid[e.acteurRef];
|
|
265
|
-
r !== void 0 && (e.acteur = r,
|
|
265
|
+
r !== void 0 && (e.acteur = r, G(r, t, n));
|
|
266
266
|
}
|
|
267
267
|
if (t.organeByUid !== void 0 && r.organeRef !== void 0) {
|
|
268
268
|
let e = t.organeByUid[r.organeRef];
|
|
269
|
-
e !== void 0 && (r.organe = e,
|
|
269
|
+
e !== void 0 && (r.organe = e, Y(e, t, n));
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
if (t.dossierByUid !== void 0) {
|
|
273
273
|
let r = t.dossierByUid[e.dossierRef];
|
|
274
|
-
r !== void 0 && (e.dossier = r,
|
|
274
|
+
r !== void 0 && (e.dossier = r, J(r, t, n));
|
|
275
275
|
}
|
|
276
|
-
for (let r of e.divisions || [])
|
|
276
|
+
for (let r of e.divisions || []) K(r, t, n);
|
|
277
277
|
return e;
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function q(e, t, n) {
|
|
280
280
|
if (!n.has(e.uid)) {
|
|
281
281
|
n.add(e.uid);
|
|
282
282
|
for (let r of e.auteurs) {
|
|
283
283
|
let e = r.acteur;
|
|
284
284
|
if (t.acteurByUid !== void 0 && e !== void 0) {
|
|
285
285
|
let r = t.acteurByUid[e.acteurRef];
|
|
286
|
-
r !== void 0 && (e.acteur = r,
|
|
286
|
+
r !== void 0 && (e.acteur = r, G(r, t, n));
|
|
287
287
|
}
|
|
288
288
|
if (t.organeByUid !== void 0 && r.organeRef !== void 0) {
|
|
289
289
|
let e = t.organeByUid[r.organeRef];
|
|
290
|
-
e !== void 0 && (r.organe = e,
|
|
290
|
+
e !== void 0 && (r.organe = e, Y(e, t, n));
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
if (t.dossierByUid !== void 0) {
|
|
294
294
|
let r = t.dossierByUid[e.dossierRef];
|
|
295
|
-
r !== void 0 && (e.dossier = r,
|
|
295
|
+
r !== void 0 && (e.dossier = r, J(r, t, n));
|
|
296
296
|
}
|
|
297
|
-
for (let r of e.divisions || [])
|
|
297
|
+
for (let r of e.divisions || []) K(r, t, n);
|
|
298
298
|
}
|
|
299
299
|
return e;
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function J(e, t, n) {
|
|
302
302
|
if (!n.has(e.uid)) {
|
|
303
303
|
n.add(e.uid);
|
|
304
|
-
for (let r of e.actesLegislatifs ?? [])
|
|
304
|
+
for (let r of e.actesLegislatifs ?? []) W(r, t, n);
|
|
305
305
|
let r = e.initiateur;
|
|
306
306
|
if (r !== void 0) {
|
|
307
307
|
if (t.acteurByUid !== void 0) for (let e of r.acteurs || []) {
|
|
308
308
|
let r = t.acteurByUid[e.acteurRef];
|
|
309
|
-
if (r !== void 0 && (e.acteur = r,
|
|
309
|
+
if (r !== void 0 && (e.acteur = r, G(r, t, n)), r !== void 0 && e.mandatRef !== void 0) {
|
|
310
310
|
for (let t of r.mandats || []) if (t.uid === e.mandatRef) {
|
|
311
311
|
e.mandat = t;
|
|
312
312
|
break;
|
|
@@ -315,62 +315,62 @@ function q(e, t, n) {
|
|
|
315
315
|
}
|
|
316
316
|
if (t.organeByUid !== void 0 && r.organeRef !== void 0) {
|
|
317
317
|
let e = t.organeByUid[r.organeRef];
|
|
318
|
-
e !== void 0 && (r.organe = e,
|
|
318
|
+
e !== void 0 && (r.organe = e, Y(e, t, n));
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
return e;
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function Y(e, t, n) {
|
|
325
325
|
if (!n.has(e.uid)) {
|
|
326
326
|
if (n.add(e.uid), t.organeByUid !== void 0 && e.organeParentRef !== void 0) {
|
|
327
327
|
let r = t.organeByUid[e.organeParentRef];
|
|
328
|
-
r !== void 0 && (e.organeParent = r,
|
|
328
|
+
r !== void 0 && (e.organeParent = r, Y(r, t, n));
|
|
329
329
|
}
|
|
330
330
|
if (t.organeByUid !== void 0 && e.organePrecedentRef !== void 0) {
|
|
331
331
|
let r = t.organeByUid[e.organePrecedentRef];
|
|
332
|
-
r !== void 0 && (e.organePrecedent = r,
|
|
332
|
+
r !== void 0 && (e.organePrecedent = r, Y(r, t, n));
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
return e;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function X(e, t, n) {
|
|
338
338
|
if (!n.has(e.uid)) {
|
|
339
339
|
n.add(e.uid);
|
|
340
340
|
let r = e.demandeurs;
|
|
341
341
|
if (r !== void 0) {
|
|
342
342
|
if (t.acteurByUid !== void 0) for (let e of r.acteurs || []) {
|
|
343
343
|
let r = t.acteurByUid[e.acteurRef];
|
|
344
|
-
r !== void 0 && (e.acteur = r,
|
|
344
|
+
r !== void 0 && (e.acteur = r, G(r, t, n));
|
|
345
345
|
}
|
|
346
346
|
if (t.organeByUid !== void 0) {
|
|
347
347
|
let e = r.organe;
|
|
348
348
|
if (e !== void 0) {
|
|
349
349
|
let r = t.organeByUid[e.organeRef];
|
|
350
|
-
r !== void 0 && (e.organe = r,
|
|
350
|
+
r !== void 0 && (e.organe = r, Y(r, t, n));
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
if (t.organeByUid !== void 0 && e.organeReuniRef !== void 0) {
|
|
355
355
|
let r = t.organeByUid[e.organeReuniRef];
|
|
356
|
-
r !== void 0 && (e.organeReuni = r,
|
|
356
|
+
r !== void 0 && (e.organeReuni = r, Y(r, t, n));
|
|
357
357
|
}
|
|
358
358
|
if (t.acteurByUid !== void 0) {
|
|
359
359
|
let r = e.participants;
|
|
360
360
|
if (r !== void 0) for (let e of r.participantsInternes || []) {
|
|
361
361
|
let r = t.acteurByUid[e.acteurRef];
|
|
362
|
-
r !== void 0 && (e.acteur = r,
|
|
362
|
+
r !== void 0 && (e.acteur = r, G(r, t, n));
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
return e;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Z(e, t, n) {
|
|
369
369
|
return n.has(e.uid) || n.add(e.uid), e;
|
|
370
370
|
}
|
|
371
371
|
//#endregion
|
|
372
372
|
//#region src/organes.ts
|
|
373
|
-
function
|
|
373
|
+
function xi(e) {
|
|
374
374
|
if (e == null) return "Organe inconnu";
|
|
375
375
|
switch (e.codeType) {
|
|
376
376
|
case "CMP": return "Commission mixte paritaire";
|
|
@@ -380,7 +380,7 @@ function Si(e) {
|
|
|
380
380
|
}
|
|
381
381
|
//#endregion
|
|
382
382
|
//#region src/urls.ts
|
|
383
|
-
var
|
|
383
|
+
var Si = /* @__PURE__ */ function(e) {
|
|
384
384
|
return e.Html = "html", e.Pdf = "pdf", e.RawHtml = "raw-html", e;
|
|
385
385
|
}({}), Q = /^AMANR\d+L(?<legislature>\d+)PO\d+[A-Z]+(?<texteNumero>\d+)P\d+D\d+N(?<numero>\d+)$/, Ci = {
|
|
386
386
|
ACIN: {
|
|
@@ -496,50 +496,50 @@ var Z = /* @__PURE__ */ function(e) {
|
|
|
496
496
|
};
|
|
497
497
|
function wi(e) {
|
|
498
498
|
switch (e) {
|
|
499
|
-
case
|
|
500
|
-
case
|
|
501
|
-
case
|
|
499
|
+
case "html": return ".asp";
|
|
500
|
+
case "pdf": return ".pdf";
|
|
501
|
+
case "raw-html": return ".asp";
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
function* Ti(e, t = void 0, n = !1) {
|
|
505
|
-
if (t === void 0 || t ===
|
|
505
|
+
if (t === void 0 || t === "raw-html") {
|
|
506
506
|
yield {
|
|
507
|
-
format:
|
|
507
|
+
format: "raw-html",
|
|
508
508
|
type: "dyn-opendata",
|
|
509
509
|
url: `https://www.assemblee-nationale.fr/dyn/opendata/${e.uid}.html`
|
|
510
510
|
}, yield {
|
|
511
|
-
format:
|
|
511
|
+
format: "raw-html",
|
|
512
512
|
type: "dyn-docs",
|
|
513
513
|
url: `https://www.assemblee-nationale.fr/dyn/docs/${e.uid}.raw`
|
|
514
514
|
};
|
|
515
|
-
let t = $(e,
|
|
515
|
+
let t = $(e, "raw-html", n);
|
|
516
516
|
t !== null && (yield {
|
|
517
|
-
format:
|
|
517
|
+
format: "raw-html",
|
|
518
518
|
type: t.directory.replaceAll("/", "-"),
|
|
519
519
|
url: t.url
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
|
-
if (t === void 0 || t ===
|
|
523
|
-
let t = $(e,
|
|
522
|
+
if (t === void 0 || t === "html") {
|
|
523
|
+
let t = $(e, "html", n);
|
|
524
524
|
t !== null && (yield {
|
|
525
|
-
format:
|
|
525
|
+
format: "html",
|
|
526
526
|
type: t.directory.replaceAll("/", "-"),
|
|
527
527
|
url: t.url
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
if (t === void 0 || t ===
|
|
530
|
+
if (t === void 0 || t === "pdf") {
|
|
531
531
|
yield {
|
|
532
|
-
format:
|
|
532
|
+
format: "raw-html",
|
|
533
533
|
type: "dyn-opendata",
|
|
534
534
|
url: `https://www.assemblee-nationale.fr/dyn/opendata/${e.uid}.html`
|
|
535
535
|
}, yield {
|
|
536
|
-
format:
|
|
536
|
+
format: "pdf",
|
|
537
537
|
type: "dyn-docs",
|
|
538
538
|
url: `https://www.assemblee-nationale.fr/dyn/docs/${e.uid}.pdf`
|
|
539
539
|
};
|
|
540
|
-
let t = $(e,
|
|
540
|
+
let t = $(e, "pdf");
|
|
541
541
|
t !== null && (yield {
|
|
542
|
-
format:
|
|
542
|
+
format: "pdf",
|
|
543
543
|
type: t.directory.replaceAll("/", "-"),
|
|
544
544
|
url: t.url
|
|
545
545
|
});
|
|
@@ -569,7 +569,7 @@ function $(e, t, n = !1) {
|
|
|
569
569
|
if (i === null) return n && console.log(`Unable to generate URL from document or division with unexpected UID: "${e.uid}"`), null;
|
|
570
570
|
if (i[2] === "SN") return n && console.log(`Unable to generate URL for document or division in Sénat. UID: "${e.uid}"`), null;
|
|
571
571
|
let a = i[5], o = i[7];
|
|
572
|
-
if (t ===
|
|
572
|
+
if (t === "raw-html") return {
|
|
573
573
|
directory: "textes",
|
|
574
574
|
url: `https://www.assemblee-nationale.fr/${a}/textes/${o}${r}`
|
|
575
575
|
};
|
|
@@ -581,11 +581,11 @@ function $(e, t, n = !1) {
|
|
|
581
581
|
e.classification !== void 0 && e.classification.sousType !== void 0 && e.classification.sousType.code === "COMPA" && (o = o.replace(/-COMPA/, "-aCOMPA")), s == "AVCE" && (s = `AVCE${e.classification.famille?.classe.code}`);
|
|
582
582
|
let c = Ci[s];
|
|
583
583
|
if (c === void 0) return n && console.log(`Unable to generate URL from document or division of UID "${e.uid}" and type "${s}"`), null;
|
|
584
|
-
let l = t ===
|
|
584
|
+
let l = t === "pdf" ? `pdf/${c.directory}` : c.directory;
|
|
585
585
|
return {
|
|
586
586
|
directory: l,
|
|
587
587
|
url: `https://www.assemblee-nationale.fr/${a}/${l}/${c.prefix}${o}${c.suffix}${r}`
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
590
|
//#endregion
|
|
591
|
-
export { te as AccordGouvernementDepotHorsDelaiSchema,
|
|
591
|
+
export { te as AccordGouvernementDepotHorsDelaiSchema, at as ActeLegislatifSchema, Nr as ActeurSchema, oe as ActionSchema, Sn as AdresseSchema, M as AlineaSchema, C as AmendementSchema, _t as AmendementsCommissionSchema, k as AmendementsConvert, h as AmendementsSchema, Rt as AmendementsSeanceSchema, vn as AnalyseSchema, li as AuteurActeurSchema, pe as AuteurAmendementSchema, qr as AuteurQuestionSchema, Me as AuteurSchema, w as AvantAppelSchema, St as CausePositionVoteSchema, $t as ChronoDocumentSchema, fi as ChronoSchema, xr as CibleSchema, At as CivSchema, tt as ClassificationSchema, ai as ClotureSchema, Yt as CoSignataireElementSchema, rn as CoSignataireOrganeSchema, Vr as CodeActeSchema, we as CodeEtatSchema, sr as CodeNatureDepSchema, Et as CodeSortScrutinSchema, Ae as CodeTypeOrganeSchema, Nt as CodeTypeVoteSchema, Ir as CollaborateurSchema, Jt as CompteRenduSchema, A as ContenuAmendementSchema, ge as ContenuAuteurSchema, Ke as ContenuSchema, Ze as ContributionInternauteSchema, y as CorpsAmendementSchema, pt as CorrectionSchema, Or as CycleDeVieDocumentSchema, Fe as CycleDeVieReunionSchema, N as CycleDeVieSchema, $n as DecisionSchema, zr as DecompteNominatifSchema, gr as DecompteVoixSchema, nn as DemandeurActeurSchema, it as DemandeurOrganeSchema, Mr as DemandeurSchema, Qt as DemandeursSchema, rr as DepNaisSchema, An as DepartementSchema, lr as DeportSchema, lt as DepotAmendementsSchema, ve as DiscussionSchema, E as DispositifAmdtCreditPLFRSchema, u as DispositifAmdtCreditPLFSchema, un as DivisionSchema, t as DivisionTypeSchema, cn as DocumentSchema, Si as DocumentUrlFormat, Qn as DossierLegislatifObjetSchema, mn as DossierParlementaireSchema, F as DysfonctionnementSchema, Wr as ElectionSchema, p as EtatAmendementSchema, Pn as EtatCivilSchema, f as EtatDesTraitementsSchema, Sr as EtatSchema, Te as EtudePlfSchema, I as Facet, zn as FamCodeEtLibelleSchema, Ct as FamSocProEnumSchema, Hr as FamilleSchema, jt as FinSeanceSchema, gi as FinalStatus, L as Follow, Lr as FormatReunionSchema, yr as FusionDossierSchema, Tn as GroupeSchema, sn as IdentPersonneAuditionneeSchema, Vn as IdentSchema, ti as IdentifiantSchema, et as IdentifiantsSchema, fe as IdentificationSchema, Vt as IdentiteAuteurQuestionSchema, Pr as ImprimerieSchema, Ie as IndexationAnSchema, er as IndexationSchema, Zr as InfoJoQuestionSchema, wn as InfoJoSchema, Cr as InfoJoceSchema, Tr as InfoNaissanceSchema, pr as InfosQualiteSchema, gt as InfosReunionsInternationaleSchema, Rr as InitiateurActeurSchema, Mn as InitiateurSchema, dr as LibelleActeSchema, Dt as LibelleSchema, Je as LibelleSortScrutinSchema, ot as LibelleTypeVoteSchema, jr as LieuReunionSchema, vt as LieuVoteSchema, Ce as LigneCreditPLFRSchema, be as LigneCreditPLFSchema, he as LoiReferenceSchema, Yn as MandatSchema, Pt as MandatXsiTypeSchema, Gn as MandatureSchema, cr as MetadonneesSchema, Gt as MinAttribElementSchema, Ue as MinAttribsSchema, br as MiseAuPointSchema, Kr as MissionMinefiSchema, Se as MissionViseeSchema, zt as ModePublicationDesVotesSchema, jn as NatureTravauxOdjSchema, In as NoticeSchema, Fr as ObjetVoteSchema, ft as OdjSchema, je as OrateurElementSchema, ir as OrateursSchema, Jr as OrganeLieuSchema, yn as OrganeSchema, Ye as OrganeXsiTypeSchema, pn as ParticipantInterneSchema, ln as ParticipantsSchema, _n as PersonneAuditionneeSchema, Lt as PersonneAuditionneeXsiTypeSchema, oi as PhotoSchema, De as PointOdjSchema, ur as PointOdjXsiTypeSchema, wt as PointSchema, x as PointeurFragmentTexteDivisionSchema, se as PointeurFragmentTexteSchema, ui as PositionMajoritaireSchema, st as PositionPolitiqueSchema, Gr as PresenceSchema, Un as ProcedureParlementaireSchema, Fn as ProcedureSchema, En as ProfessionSchema, n as ProgrammePlfSchema, Hn as QuantiemeSchema, Ot as QuantiemesSchema, Be as QuestionSchema, hn as QuestionXsiTypeSchema, Dr as RapporteurSchema, yt as RegimeSchema, ni as RegionSchema, Bt as RegionTypeSchema, ar as RenouvellementSchema, Oe as RenouvellementsSchema, xe as RepresentationSchema, Ln as ReunionSchema, Er as ReunionXsiTypeSchema, kn as ScrutinSchema, Ht as SecretariatSchema, tr as SignalementSchema, ce as SignatairesSchema, Le as SocProcInseeSchema, Xe as SommaireElementSchema, Ft as SommaireSchema, Ur as SortScrutinSchema, i as SousEtatAmendementSchema, hr as SousTypeSchema, _i as StatusOnly, r as StatutRepresentationSchema, Qr as SuppleantSchema, Nn as SyntheseVoteSchema, Zn as TexteAssocieSchema, qn as TexteEuropeenSchema, xn as TexteExterneAssocieSchema, ie as TexteLegislatifSchema, xt as TexteQuestionSchema, ct as TexteSchema, Tt as TextesQuestionSchema, Mt as TextesReponseSchema, Xr as ThemeSchema, ci as ThemesSchema, On as TitreDossierSchema, bt as TitreStructSchema, ii as TitresSchema, v as TotalSchema, ue as TypeAuteurSchema, Ne as TypeMajoriteSchema, e as TypeMimeSchema, mr as TypePointOdjSchema, s as TypePositionSchema, It as TypeQuestionSchema, Xn as TypeReunionSchema, Bn as TypeVoteSchema, Kn as UidXsiTypeSchema, fr as VentilationVotesGroupeSchema, wr as VentilationVotesSchema, Kt as ViMoDeSchema, Jn as VotantSchema, Wn as VoteSchema, le as accordGouvernementDepotHorsDelaiOptions, Wt as acteLegislatifXsiTypeOptions, de as actionOptions, pi as allFacets, mi as allFollows, _ as avantAApresOptions, hi as capitalizeFirstLetter, en as causePositionVoteOptions, di as civOptions, vr as codeActeOptions, o as codeEtatOptions, Pe as codeNatureDepOptions, nt as codeSortScrutinOptions, tn as codeTypeOrganeOptions, Xt as codeTypeVoteOptions, vi as commissionFondUidFromDossier, We as compteRenduUidRegex, g as dateFromNullableDateOrIsoString, me as dateFromYearMonthDayTimezoneString, Cn as decisionOptions, rt as depNaisOptions, T as displayDateFromLocalIsoString, ee as divisionTypeOptions, Ve as documentUidRegex, ze as documentXsiTypeOptions, ei as dossierParlementaireXsiTypeOptions, kt as dossierUidRegex, ne as etatAmendementCodeOptions, re as etatAmendementLibelleOptions, Br as etatCycleDeVieOptions, bn as etatOptions, j as existingDateToJson, Zt as famSocProEnumOptions, _e as formatRelativeFrenchTime, Yr as formatReunionOptions, b as frenchDateFormat, P as frenchDateSameYearShortFormat, ye as frenchDateWithoutDayOfWeekFromDateOrString, d as frenchTimeFormat, D as frenchTimeFromDateOrString, G as insertActeurReferences, bi as insertAmendementReferences, q as insertDocumentReferences, J as insertDossierReferences, Y as insertOrganeReferences, X as insertReunionReferences, Z as insertScrutinReferences, Ti as iterDocumentOrDivisionUrls, gn as legislatureOptions, on as libelleOptions, an as libelleSortScrutinOptions, Qe as libelleTypeVoteOptions, mt as lieuVoteOptions, S as localIso8601StringFromDate, $e as mandatXsiTypeOptions, kr as modePublicationDesVotesOptions, si as natureTravauxOdjOptions, ht as organeXsiTypeOptions, m as patchedDateToJson, _r as personneAuditionneeXsiTypeOptions, Dn as pointOdjXsiTypeOptions, ut as positionMajoritaireOptions, Ar as positionPolitiqueOptions, ri as presenceOptions, Ut as procedureOptions, Re as quantiemeOptions, or as questionUidRegex, Ee as questionXsiTypeOptions, dt as regimeOptions, fn as regionTypeOptions, ke as reunionUidRegex, $r as reunionXsiTypeOptions, nr as scrutinUidRegex, xi as shortNameFromOrgane, ae as sortAmendementOptions, B as stateFromActePath, V as stateFromActes, yi as stateFromDossier, z as statusFromCodierLibelle, O as typeAuteurOptions, qe as typeJoQuestionOptions, dn as typeMajoriteOptions, a as typeMimeNomOptions, c as typeMimeTypeOptions, qt as typePointOdjOptions, l as typePositionOptions, Rn as typeQuestionOptions, Ge as typeReunionOptions, He as uidXsiTypeOptions, R as uncapitalizeFirstLetter, Di as urlFromAmendementUid, Ei as urlFromDocument, Oi as urlFromScrutin, H as walkActes, U as walkDocumentAndDivisions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "./amendements-
|
|
2
|
-
import { An as t, Dn as n, Dt as r, En as i, O as a, On as o, Q as s, Rt as c, Xr as l, in as u, jn as d, kn as f, l as p } from "./scrutins-
|
|
1
|
+
import { r as e } from "./amendements-Xaw7TqV2.js";
|
|
2
|
+
import { An as t, Dn as n, Dt as r, En as i, O as a, On as o, Q as s, Rt as c, Xr as l, in as u, jn as d, kn as f, l as p } from "./scrutins-98SJXpIE.js";
|
|
3
3
|
import { getChangedFilesSinceCommit as m } from "./git.js";
|
|
4
4
|
import h from "node:assert";
|
|
5
5
|
import g from "fs-extra";
|
package/lib/loaders.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, S as t, _ as n, a as r, b as i, c as a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, x, y as S } from "./loaders-
|
|
1
|
+
import { C as e, S as t, _ as n, a as r, b as i, c as a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, x, y as S } from "./loaders-CXywwmAa.js";
|
|
2
2
|
export { e as EnabledDatasets, v as datasets, p as iterLoadAssembleeActeurs, g as iterLoadAssembleeAmendements, u as iterLoadAssembleeComptesRendus, r as iterLoadAssembleeDocuments, m as iterLoadAssembleeDossiersParlementaires, _ as iterLoadAssembleeOrganes, a as iterLoadAssembleeQuestions, d as iterLoadAssembleeReunions, y as iterLoadAssembleeScrutins, o as loadAssembleeData, s as loadAssembleeDataFromBigFiles, h as loadAssembleeDocumentFile, f as loadAssembleePhotosDeputes, l as loadAssembleePhotosSenateurs, c as pathFromCompteRenduUid, n as pathFromDocumentUid, b as pathFromDossierParlementaireUid, S as pathFromQuestionUid, i as pathFromReunionUid, x as pathFromScrutinUid, t as walkDir };
|