@tricoteuses/assemblee 2.3.0 → 2.4.0
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-DcffXOt8.js → amendements-J6Sx61n8.js} +1 -1
- package/lib/cleaners.js +2 -2
- package/lib/index.d.ts +0 -1
- package/lib/index.js +16 -17
- package/lib/loaders.d.ts +1 -1
- package/lib/loaders.js +1424 -28
- package/lib/parsers/textes_lois.d.ts +1 -17
- package/lib/parsers.js +24 -19
- package/lib/schemas/agendas.json +3 -0
- package/lib/schemas/dossiers_legislatifs.json +3 -0
- package/lib/scrutins-DhX6h3KY.js +2819 -0
- package/lib/types/agendas.d.ts +1 -0
- package/package.json +1 -1
- package/lib/loaders-COCQTD-d.js +0 -4230
- package/lib/scripts/add_links_to_documents.d.ts +0 -1
|
@@ -52,7 +52,7 @@ function S(e) {
|
|
|
52
52
|
Array.isArray(o) ? i.cosignatairesRefs = o : (c(o), i.cosignatairesRefs = [o]), delete i.cosignataires;
|
|
53
53
|
}
|
|
54
54
|
let n = i.libelle;
|
|
55
|
-
n !== void 0 && (n = n.split(" ").filter(Boolean).join(" "), n ? i.libelle = n : delete i.libelle);
|
|
55
|
+
n !== void 0 && (n = n.replace(/ |\u00A0/g, " ").split(" ").filter(Boolean).join(" "), n ? i.libelle = n : delete i.libelle);
|
|
56
56
|
}
|
|
57
57
|
const t = e.pointeurFragmentTexte;
|
|
58
58
|
{
|
package/lib/cleaners.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "node:assert";
|
|
2
|
-
import { c as f, a as b, b as w } from "./amendements-
|
|
3
|
-
import { d as Z } from "./amendements-
|
|
2
|
+
import { c as f, a as b, b as w } from "./amendements-J6Sx61n8.js";
|
|
3
|
+
import { d as Z } from "./amendements-J6Sx61n8.js";
|
|
4
4
|
function B(e) {
|
|
5
5
|
f(e), t.strictEqual(e.uid["@xsi:type"], "IdActeur_type"), e.uid = e.uid["#text"], t(e.uid);
|
|
6
6
|
const s = e.etatCivil;
|
package/lib/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export { allFacets, allFollows, Facet, Follow, type SearchQuery, type ValidSearc
|
|
|
2
2
|
export { dateFromNullableDateOrIsoString, dateFromYearMonthDayTimezoneString, displayDateFromLocalIsoString, existingDateToJson, formatRelativeFrenchTime, frenchDateFormat, frenchDateSameYearShortFormat, frenchDateWithoutDayOfWeekFromDateOrString, frenchTimeFormat, frenchTimeFromDateOrString, localIso8601StringFromDate, patchedDateToJson, } from './dates';
|
|
3
3
|
export { commissionFondUidFromDossier, type DocumentFileInfos, type DocumentFilesIndex, FinalStatus, type State, stateFromActePath, stateFromActes, stateFromDossier, type Status, statusFromCodierLibelle, StatusOnly, walkActes, walkDocumentAndDivisions, } from './dossiers_legislatifs';
|
|
4
4
|
export { insertActeurReferences, insertAmendementReferences, insertDocumentReferences, insertDossierReferences, insertOrganeReferences, insertReunionReferences, insertScrutinReferences, type OutputData, } from './inserters';
|
|
5
|
-
export { pathFromDocumentUid } from './loaders';
|
|
6
5
|
export { shortNameFromOrgane } from './organes';
|
|
7
6
|
export { CodeTypeOrgane } from './shared_types/acteurs_et_organes';
|
|
8
7
|
export { CodeActe } from './shared_types/dossiers_legislatifs';
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as B, t as x, g as _, m as Q, a as s, b as X, d as V, e as z, f as J, h as Z, i as K, l as ee, j as te, k as ne, w as re, n as U, o as k, p as oe, q as C } from "./parse-Ccs6wcUg.js";
|
|
2
|
-
import { C as O } from "./
|
|
3
|
-
import { n as mt,
|
|
4
|
-
import { A as
|
|
2
|
+
import { C as O } from "./scrutins-DhX6h3KY.js";
|
|
3
|
+
import { n as mt, G as gt, b as pt, a as yt, c as ht, H as Rt, I as xt, D as Tt, o as Dt, p as wt, E as vt, F as bt, f as St, L as At, J as Et, K as Ot, O as Ct, U as Mt, M as _t, N as Pt, g as Lt, h as Nt, V as It, P as Bt, i as Ut, j as kt, q as Yt, r as Ft, Q as qt, R as jt, d as $t, k as Wt, S as Ht, s as Gt, t as Qt, u as Xt, v as Vt, w as zt, x as Jt, B as Zt, W as Kt, T as en, y as tn, e as nn, l as rn, A as on, m as an, z as sn } from "./scrutins-DhX6h3KY.js";
|
|
4
|
+
import { A as un, a as fn, C as dn, b as ln, c as mn, D as gn, E as pn, d as yn, S as hn, T as Rn, e as xn, f as Tn, g as Dn } from "./amendements-40Z7OJLT.js";
|
|
5
5
|
var Y = /* @__PURE__ */ ((e) => (e.Amendements = "amendements", e))(Y || {});
|
|
6
6
|
const Qe = Object.values(Y);
|
|
7
7
|
var F = /* @__PURE__ */ ((e) => (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))(F || {});
|
|
@@ -1511,26 +1511,26 @@ function b(e, t) {
|
|
|
1511
1511
|
};
|
|
1512
1512
|
}
|
|
1513
1513
|
export {
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1514
|
+
un as AccordGouvernementDepotHorsDelai,
|
|
1515
|
+
fn as Action,
|
|
1516
|
+
dn as AmendementsConvert,
|
|
1517
|
+
ln as AvantAApres,
|
|
1518
1518
|
mt as Cause,
|
|
1519
1519
|
gt as CausePositionVote,
|
|
1520
1520
|
pt as Civ,
|
|
1521
1521
|
yt as CodeActe,
|
|
1522
|
-
|
|
1522
|
+
mn as CodeEtat,
|
|
1523
1523
|
ht as CodeNatureDep,
|
|
1524
1524
|
Rt as CodeSortScrutin,
|
|
1525
1525
|
O as CodeTypeOrgane,
|
|
1526
1526
|
xt as CodeTypeVote,
|
|
1527
1527
|
Tt as Decision,
|
|
1528
|
-
|
|
1528
|
+
gn as DivisionType,
|
|
1529
1529
|
Dt as DocumentDenominationStructurelle,
|
|
1530
1530
|
je as DocumentUrlFormat,
|
|
1531
1531
|
wt as DossierParlementaireXsiType,
|
|
1532
|
-
|
|
1533
|
-
|
|
1532
|
+
pn as EtatAmendementCode,
|
|
1533
|
+
yn as EtatAmendementLibelle,
|
|
1534
1534
|
vt as EtatCycleDeVie,
|
|
1535
1535
|
Y as Facet,
|
|
1536
1536
|
bt as FamSocPro,
|
|
@@ -1556,12 +1556,12 @@ export {
|
|
|
1556
1556
|
jt as Regime,
|
|
1557
1557
|
$t as RegionType,
|
|
1558
1558
|
Wt as ReunionXsiType,
|
|
1559
|
-
|
|
1559
|
+
hn as SortAmendement,
|
|
1560
1560
|
Ue as StatusOnly,
|
|
1561
1561
|
Ht as StatutAdoption,
|
|
1562
1562
|
Gt as TexteExterneAssocieTypeDoc,
|
|
1563
1563
|
Qt as TypeActeLegislatif,
|
|
1564
|
-
|
|
1564
|
+
Rn as TypeAuteur,
|
|
1565
1565
|
Xt as TypeBudget,
|
|
1566
1566
|
Vt as TypeCorrection,
|
|
1567
1567
|
zt as TypeDocument,
|
|
@@ -1569,12 +1569,12 @@ export {
|
|
|
1569
1569
|
Zt as TypeJoQuestion,
|
|
1570
1570
|
Kt as TypeMajorite,
|
|
1571
1571
|
en as TypeMandat,
|
|
1572
|
-
|
|
1573
|
-
|
|
1572
|
+
xn as TypeMimeNom,
|
|
1573
|
+
Tn as TypeMimeType,
|
|
1574
1574
|
tn as TypeMission,
|
|
1575
1575
|
nn as TypeOrgane,
|
|
1576
1576
|
rn as TypePointOdj,
|
|
1577
|
-
|
|
1577
|
+
Dn as TypePosition,
|
|
1578
1578
|
on as TypeQuestion,
|
|
1579
1579
|
an as TypeReunion,
|
|
1580
1580
|
sn as TypeTexte,
|
|
@@ -1602,7 +1602,6 @@ export {
|
|
|
1602
1602
|
ct as iterDocumentOrDivisionUrls,
|
|
1603
1603
|
nt as localIso8601StringFromDate,
|
|
1604
1604
|
Le as patchedDateToJson,
|
|
1605
|
-
cn as pathFromDocumentUid,
|
|
1606
1605
|
st as shortNameFromOrgane,
|
|
1607
1606
|
ke as stateFromActePath,
|
|
1608
1607
|
j as stateFromActes,
|
package/lib/loaders.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { EnabledDatasets } from './datasets';
|
|
|
2
2
|
import { Acteur, Organe, Photo } from './types/acteurs_et_organes';
|
|
3
3
|
import { Reunion } from './types/agendas';
|
|
4
4
|
import { Amendement } from './types/amendements';
|
|
5
|
+
import { CompteRendu } from './types/debats';
|
|
5
6
|
import { Document, DossierParlementaire } from './types/dossiers_legislatifs';
|
|
6
7
|
import { Legislature } from './types/legislatures';
|
|
7
8
|
import { Scrutin } from './types/scrutins';
|
|
8
9
|
import { Question } from './types/questions';
|
|
9
|
-
import { CompteRendu } from './types/debats';
|
|
10
10
|
import { DocumentUrlFormat } from './urls';
|
|
11
11
|
export { EnabledDatasets } from './datasets';
|
|
12
12
|
export { walkDir } from './file_systems';
|