@tricoteuses/senat 3.0.2 → 3.1.1
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/src/documents.d.ts +30 -0
- package/lib/src/index.d.ts +41 -24
- package/lib/src/index.js +27 -6
- package/lib/src/kanel_types/ameli.d.ts +1762 -0
- package/lib/src/kanel_types/ameli.js +1074 -0
- package/lib/src/kanel_types/debats.d.ts +380 -0
- package/lib/src/kanel_types/debats.js +266 -0
- package/lib/src/kanel_types/dosleg.d.ts +2954 -0
- package/lib/src/kanel_types/dosleg.js +2005 -0
- package/lib/src/kanel_types/questions.d.ts +699 -0
- package/lib/src/kanel_types/questions.js +493 -0
- package/lib/src/kanel_types/sens.d.ts +7843 -0
- package/lib/src/kanel_types/sens.js +4691 -0
- package/lib/src/kysely/index.d.ts +216 -0
- package/lib/src/kysely/index.js +11 -0
- package/lib/src/kysely_types/ameli/Amd.d.ts +91 -0
- package/lib/src/kysely_types/ameli/Amd.js +3 -0
- package/lib/src/kysely_types/ameli/Amdsen.d.ts +24 -0
- package/lib/src/kysely_types/ameli/Amdsen.js +3 -0
- package/lib/src/kysely_types/ameli/Avicom.d.ts +14 -0
- package/lib/src/kysely_types/ameli/Avicom.js +3 -0
- package/lib/src/kysely_types/ameli/Avigvt.d.ts +14 -0
- package/lib/src/kysely_types/ameli/Avigvt.js +3 -0
- package/lib/src/kysely_types/ameli/Cab.d.ts +14 -0
- package/lib/src/kysely_types/ameli/Cab.js +3 -0
- package/lib/src/kysely_types/ameli/ComAmeli.d.ts +22 -0
- package/lib/src/kysely_types/ameli/ComAmeli.js +3 -0
- package/lib/src/kysely_types/ameli/Database.d.ts +3 -0
- package/lib/src/kysely_types/ameli/Database.js +3 -0
- package/lib/src/kysely_types/ameli/Ent.d.ts +14 -0
- package/lib/src/kysely_types/ameli/Ent.js +3 -0
- package/lib/src/kysely_types/ameli/Etatxt.d.ts +15 -0
- package/lib/src/kysely_types/ameli/Etatxt.js +3 -0
- package/lib/src/kysely_types/ameli/Fbu.d.ts +17 -0
- package/lib/src/kysely_types/ameli/Fbu.js +3 -0
- package/lib/src/kysely_types/ameli/GrppolAmeli.d.ts +20 -0
- package/lib/src/kysely_types/ameli/GrppolAmeli.js +3 -0
- package/lib/src/kysely_types/ameli/Gvt.d.ts +18 -0
- package/lib/src/kysely_types/ameli/Gvt.js +3 -0
- package/lib/src/kysely_types/ameli/Intora.d.ts +33 -0
- package/lib/src/kysely_types/ameli/Intora.js +3 -0
- package/lib/src/kysely_types/ameli/Irr.d.ts +21 -0
- package/lib/src/kysely_types/ameli/Irr.js +3 -0
- package/lib/src/kysely_types/ameli/LecAmeli.d.ts +14 -0
- package/lib/src/kysely_types/ameli/LecAmeli.js +3 -0
- package/lib/src/kysely_types/ameli/Mot.d.ts +20 -0
- package/lib/src/kysely_types/ameli/Mot.js +3 -0
- package/lib/src/kysely_types/ameli/Nat.d.ts +13 -0
- package/lib/src/kysely_types/ameli/Nat.js +3 -0
- package/lib/src/kysely_types/ameli/Orarol.d.ts +14 -0
- package/lib/src/kysely_types/ameli/Orarol.js +3 -0
- package/lib/src/kysely_types/ameli/Sai.d.ts +25 -0
- package/lib/src/kysely_types/ameli/Sai.js +3 -0
- package/lib/src/kysely_types/ameli/Saisen.d.ts +15 -0
- package/lib/src/kysely_types/ameli/Saisen.js +3 -0
- package/lib/src/kysely_types/ameli/Sea.d.ts +17 -0
- package/lib/src/kysely_types/ameli/Sea.js +3 -0
- package/lib/src/kysely_types/ameli/SenAmeli.d.ts +36 -0
- package/lib/src/kysely_types/ameli/SenAmeli.js +3 -0
- package/lib/src/kysely_types/ameli/SenatSchema.d.ts +60 -0
- package/lib/src/kysely_types/ameli/SenatSchema.js +3 -0
- package/lib/src/kysely_types/ameli/Ses.d.ts +17 -0
- package/lib/src/kysely_types/ameli/Ses.js +3 -0
- package/lib/src/kysely_types/ameli/Sor.d.ts +16 -0
- package/lib/src/kysely_types/ameli/Sor.js +3 -0
- package/lib/src/kysely_types/ameli/Sub.d.ts +44 -0
- package/lib/src/kysely_types/ameli/Sub.js +3 -0
- package/lib/src/kysely_types/ameli/TxtAmeli.d.ts +77 -0
- package/lib/src/kysely_types/ameli/TxtAmeli.js +3 -0
- package/lib/src/kysely_types/ameli/Typrect.d.ts +14 -0
- package/lib/src/kysely_types/ameli/Typrect.js +3 -0
- package/lib/src/kysely_types/ameli/Typses.d.ts +12 -0
- package/lib/src/kysely_types/ameli/Typses.js +3 -0
- package/lib/src/kysely_types/ameli/Typsub.d.ts +12 -0
- package/lib/src/kysely_types/ameli/Typsub.js +3 -0
- package/lib/src/kysely_types/ameli/WNivrec.d.ts +12 -0
- package/lib/src/kysely_types/ameli/WNivrec.js +3 -0
- package/lib/src/kysely_types/debats/Database.d.ts +3 -0
- package/lib/src/kysely_types/debats/Database.js +3 -0
- package/lib/src/kysely_types/debats/Debats.d.ts +25 -0
- package/lib/src/kysely_types/debats/Debats.js +3 -0
- package/lib/src/kysely_types/debats/Intdivers.d.ts +22 -0
- package/lib/src/kysely_types/debats/Intdivers.js +3 -0
- package/lib/src/kysely_types/debats/Intpjl.d.ts +22 -0
- package/lib/src/kysely_types/debats/Intpjl.js +3 -0
- package/lib/src/kysely_types/debats/Lecassdeb.d.ts +13 -0
- package/lib/src/kysely_types/debats/Lecassdeb.js +3 -0
- package/lib/src/kysely_types/debats/Secdis.d.ts +27 -0
- package/lib/src/kysely_types/debats/Secdis.js +3 -0
- package/lib/src/kysely_types/debats/Secdivers.d.ts +19 -0
- package/lib/src/kysely_types/debats/Secdivers.js +3 -0
- package/lib/src/kysely_types/debats/SenatSchema.d.ts +18 -0
- package/lib/src/kysely_types/debats/SenatSchema.js +3 -0
- package/lib/src/kysely_types/debats/Syndeb.d.ts +12 -0
- package/lib/src/kysely_types/debats/Syndeb.js +3 -0
- package/lib/src/kysely_types/debats/Typsec.d.ts +14 -0
- package/lib/src/kysely_types/debats/Typsec.js +3 -0
- package/lib/src/kysely_types/dosleg/Amescr.d.ts +13 -0
- package/lib/src/kysely_types/dosleg/Amescr.js +3 -0
- package/lib/src/kysely_types/dosleg/Ass.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Ass.js +3 -0
- package/lib/src/kysely_types/dosleg/Aud.d.ts +19 -0
- package/lib/src/kysely_types/dosleg/Aud.js +3 -0
- package/lib/src/kysely_types/dosleg/Auteur.d.ts +34 -0
- package/lib/src/kysely_types/dosleg/Auteur.js +3 -0
- package/lib/src/kysely_types/dosleg/Ble.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Ble.js +3 -0
- package/lib/src/kysely_types/dosleg/Catrap.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Catrap.js +3 -0
- package/lib/src/kysely_types/dosleg/Corscr.d.ts +17 -0
- package/lib/src/kysely_types/dosleg/Corscr.js +3 -0
- package/lib/src/kysely_types/dosleg/Database.d.ts +3 -0
- package/lib/src/kysely_types/dosleg/Database.js +3 -0
- package/lib/src/kysely_types/dosleg/DateSeance.d.ts +16 -0
- package/lib/src/kysely_types/dosleg/DateSeance.js +3 -0
- package/lib/src/kysely_types/dosleg/Deccoc.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Deccoc.js +3 -0
- package/lib/src/kysely_types/dosleg/Denrap.d.ts +26 -0
- package/lib/src/kysely_types/dosleg/Denrap.js +3 -0
- package/lib/src/kysely_types/dosleg/Doc.d.ts +33 -0
- package/lib/src/kysely_types/dosleg/Doc.js +3 -0
- package/lib/src/kysely_types/dosleg/Docatt.d.ts +16 -0
- package/lib/src/kysely_types/dosleg/Docatt.js +3 -0
- package/lib/src/kysely_types/dosleg/Docsea.d.ts +19 -0
- package/lib/src/kysely_types/dosleg/Docsea.js +3 -0
- package/lib/src/kysely_types/dosleg/Ecr.d.ts +26 -0
- package/lib/src/kysely_types/dosleg/Ecr.js +3 -0
- package/lib/src/kysely_types/dosleg/Etaloi.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Etaloi.js +3 -0
- package/lib/src/kysely_types/dosleg/Evtsea.d.ts +18 -0
- package/lib/src/kysely_types/dosleg/Evtsea.js +3 -0
- package/lib/src/kysely_types/dosleg/Forpub.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Forpub.js +3 -0
- package/lib/src/kysely_types/dosleg/Gen.d.ts +11 -0
- package/lib/src/kysely_types/dosleg/Gen.js +3 -0
- package/lib/src/kysely_types/dosleg/Lecass.d.ts +84 -0
- package/lib/src/kysely_types/dosleg/Lecass.js +3 -0
- package/lib/src/kysely_types/dosleg/Lecassrap.d.ts +15 -0
- package/lib/src/kysely_types/dosleg/Lecassrap.js +3 -0
- package/lib/src/kysely_types/dosleg/Lecture.d.ts +16 -0
- package/lib/src/kysely_types/dosleg/Lecture.js +3 -0
- package/lib/src/kysely_types/dosleg/Lnkrap.d.ts +16 -0
- package/lib/src/kysely_types/dosleg/Lnkrap.js +3 -0
- package/lib/src/kysely_types/dosleg/Loi.d.ts +93 -0
- package/lib/src/kysely_types/dosleg/Loi.js +3 -0
- package/lib/src/kysely_types/dosleg/Loithe.d.ts +13 -0
- package/lib/src/kysely_types/dosleg/Loithe.js +3 -0
- package/lib/src/kysely_types/dosleg/Natloi.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Natloi.js +3 -0
- package/lib/src/kysely_types/dosleg/Org.d.ts +48 -0
- package/lib/src/kysely_types/dosleg/Org.js +3 -0
- package/lib/src/kysely_types/dosleg/Orgnomhis.d.ts +28 -0
- package/lib/src/kysely_types/dosleg/Orgnomhis.js +3 -0
- package/lib/src/kysely_types/dosleg/Orippr.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Orippr.js +3 -0
- package/lib/src/kysely_types/dosleg/Oritxt.d.ts +25 -0
- package/lib/src/kysely_types/dosleg/Oritxt.js +3 -0
- package/lib/src/kysely_types/dosleg/Posvot.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Posvot.js +3 -0
- package/lib/src/kysely_types/dosleg/Qua.d.ts +16 -0
- package/lib/src/kysely_types/dosleg/Qua.js +3 -0
- package/lib/src/kysely_types/dosleg/Rap.d.ts +64 -0
- package/lib/src/kysely_types/dosleg/Rap.js +3 -0
- package/lib/src/kysely_types/dosleg/Raporg.d.ts +13 -0
- package/lib/src/kysely_types/dosleg/Raporg.js +3 -0
- package/lib/src/kysely_types/dosleg/Rapthe.d.ts +13 -0
- package/lib/src/kysely_types/dosleg/Rapthe.js +3 -0
- package/lib/src/kysely_types/dosleg/Rolsig.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Rolsig.js +3 -0
- package/lib/src/kysely_types/dosleg/Scr.d.ts +46 -0
- package/lib/src/kysely_types/dosleg/Scr.js +3 -0
- package/lib/src/kysely_types/dosleg/SenatSchema.d.ts +108 -0
- package/lib/src/kysely_types/dosleg/SenatSchema.js +3 -0
- package/lib/src/kysely_types/dosleg/Ses.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Ses.js +3 -0
- package/lib/src/kysely_types/dosleg/Stavot.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Stavot.js +3 -0
- package/lib/src/kysely_types/dosleg/Texte.d.ts +54 -0
- package/lib/src/kysely_types/dosleg/Texte.js +3 -0
- package/lib/src/kysely_types/dosleg/TexteAncien.d.ts +20 -0
- package/lib/src/kysely_types/dosleg/TexteAncien.js +3 -0
- package/lib/src/kysely_types/dosleg/The.d.ts +14 -0
- package/lib/src/kysely_types/dosleg/The.js +3 -0
- package/lib/src/kysely_types/dosleg/Titsen.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Titsen.js +3 -0
- package/lib/src/kysely_types/dosleg/Typatt.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Typatt.js +3 -0
- package/lib/src/kysely_types/dosleg/Typaut.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Typaut.js +3 -0
- package/lib/src/kysely_types/dosleg/Typdoc.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Typdoc.js +3 -0
- package/lib/src/kysely_types/dosleg/Typevtsea.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Typevtsea.js +3 -0
- package/lib/src/kysely_types/dosleg/Typlec.d.ts +14 -0
- package/lib/src/kysely_types/dosleg/Typlec.js +3 -0
- package/lib/src/kysely_types/dosleg/Typloi.d.ts +26 -0
- package/lib/src/kysely_types/dosleg/Typloi.js +3 -0
- package/lib/src/kysely_types/dosleg/Typorg.d.ts +20 -0
- package/lib/src/kysely_types/dosleg/Typorg.js +3 -0
- package/lib/src/kysely_types/dosleg/Typrap.d.ts +26 -0
- package/lib/src/kysely_types/dosleg/Typrap.js +3 -0
- package/lib/src/kysely_types/dosleg/Typtxt.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Typtxt.js +3 -0
- package/lib/src/kysely_types/dosleg/Typurl.d.ts +12 -0
- package/lib/src/kysely_types/dosleg/Typurl.js +3 -0
- package/lib/src/kysely_types/dosleg/Votsen.d.ts +25 -0
- package/lib/src/kysely_types/dosleg/Votsen.js +3 -0
- package/lib/src/kysely_types/questions/Database.d.ts +3 -0
- package/lib/src/kysely_types/questions/Database.js +3 -0
- package/lib/src/kysely_types/questions/Etatquestion.d.ts +14 -0
- package/lib/src/kysely_types/questions/Etatquestion.js +3 -0
- package/lib/src/kysely_types/questions/Legquestion.d.ts +18 -0
- package/lib/src/kysely_types/questions/Legquestion.js +3 -0
- package/lib/src/kysely_types/questions/Naturequestion.d.ts +15 -0
- package/lib/src/kysely_types/questions/Naturequestion.js +3 -0
- package/lib/src/kysely_types/questions/SenatSchema.d.ts +18 -0
- package/lib/src/kysely_types/questions/SenatSchema.js +3 -0
- package/lib/src/kysely_types/questions/Sortquestion.d.ts +14 -0
- package/lib/src/kysely_types/questions/Sortquestion.js +3 -0
- package/lib/src/kysely_types/questions/TamMinisteres.d.ts +28 -0
- package/lib/src/kysely_types/questions/TamMinisteres.js +3 -0
- package/lib/src/kysely_types/questions/TamQuestions.d.ts +124 -0
- package/lib/src/kysely_types/questions/TamQuestions.js +3 -0
- package/lib/src/kysely_types/questions/TamReponses.d.ts +32 -0
- package/lib/src/kysely_types/questions/TamReponses.js +3 -0
- package/lib/src/kysely_types/questions/The.d.ts +16 -0
- package/lib/src/kysely_types/questions/The.js +3 -0
- package/lib/src/kysely_types/sens/Activite.d.ts +34 -0
- package/lib/src/kysely_types/sens/Activite.js +3 -0
- package/lib/src/kysely_types/sens/ActiviteDelegation.d.ts +15 -0
- package/lib/src/kysely_types/sens/ActiviteDelegation.js +3 -0
- package/lib/src/kysely_types/sens/ActiviteLoi.d.ts +13 -0
- package/lib/src/kysely_types/sens/ActiviteLoi.js +3 -0
- package/lib/src/kysely_types/sens/ActiviteParticipant.d.ts +25 -0
- package/lib/src/kysely_types/sens/ActiviteParticipant.js +3 -0
- package/lib/src/kysely_types/sens/ActiviteSenateur.d.ts +21 -0
- package/lib/src/kysely_types/sens/ActiviteSenateur.js +3 -0
- package/lib/src/kysely_types/sens/ActivitesLiees.d.ts +10 -0
- package/lib/src/kysely_types/sens/ActivitesLiees.js +3 -0
- package/lib/src/kysely_types/sens/Actpro.d.ts +16 -0
- package/lib/src/kysely_types/sens/Actpro.js +3 -0
- package/lib/src/kysely_types/sens/Adresse.d.ts +39 -0
- package/lib/src/kysely_types/sens/Adresse.js +3 -0
- package/lib/src/kysely_types/sens/Asster.d.ts +18 -0
- package/lib/src/kysely_types/sens/Asster.js +3 -0
- package/lib/src/kysely_types/sens/Bur.d.ts +46 -0
- package/lib/src/kysely_types/sens/Bur.js +3 -0
- package/lib/src/kysely_types/sens/CategorieActivite.d.ts +13 -0
- package/lib/src/kysely_types/sens/CategorieActivite.js +3 -0
- package/lib/src/kysely_types/sens/Com.d.ts +48 -0
- package/lib/src/kysely_types/sens/Com.js +3 -0
- package/lib/src/kysely_types/sens/Csp.d.ts +22 -0
- package/lib/src/kysely_types/sens/Csp.js +3 -0
- package/lib/src/kysely_types/sens/Database.d.ts +3 -0
- package/lib/src/kysely_types/sens/Database.js +3 -0
- package/lib/src/kysely_types/sens/Delega.d.ts +46 -0
- package/lib/src/kysely_types/sens/Delega.js +3 -0
- package/lib/src/kysely_types/sens/Design.d.ts +33 -0
- package/lib/src/kysely_types/sens/Design.js +3 -0
- package/lib/src/kysely_types/sens/Designoep.d.ts +36 -0
- package/lib/src/kysely_types/sens/Designoep.js +3 -0
- package/lib/src/kysely_types/sens/Designorg.d.ts +39 -0
- package/lib/src/kysely_types/sens/Designorg.js +3 -0
- package/lib/src/kysely_types/sens/Dpt.d.ts +54 -0
- package/lib/src/kysely_types/sens/Dpt.js +3 -0
- package/lib/src/kysely_types/sens/Dptele.d.ts +35 -0
- package/lib/src/kysely_types/sens/Dptele.js +3 -0
- package/lib/src/kysely_types/sens/Dpttypman.d.ts +14 -0
- package/lib/src/kysely_types/sens/Dpttypman.js +3 -0
- package/lib/src/kysely_types/sens/Ele.d.ts +35 -0
- package/lib/src/kysely_types/sens/Ele.js +3 -0
- package/lib/src/kysely_types/sens/Elucan.d.ts +50 -0
- package/lib/src/kysely_types/sens/Elucan.js +3 -0
- package/lib/src/kysely_types/sens/Eludep.d.ts +49 -0
- package/lib/src/kysely_types/sens/Eludep.js +3 -0
- package/lib/src/kysely_types/sens/Eludiv.d.ts +47 -0
- package/lib/src/kysely_types/sens/Eludiv.js +3 -0
- package/lib/src/kysely_types/sens/Elueur.d.ts +47 -0
- package/lib/src/kysely_types/sens/Elueur.js +3 -0
- package/lib/src/kysely_types/sens/Elureg.d.ts +48 -0
- package/lib/src/kysely_types/sens/Elureg.js +3 -0
- package/lib/src/kysely_types/sens/Elusen.d.ts +52 -0
- package/lib/src/kysely_types/sens/Elusen.js +3 -0
- package/lib/src/kysely_types/sens/Eluter.d.ts +47 -0
- package/lib/src/kysely_types/sens/Eluter.js +3 -0
- package/lib/src/kysely_types/sens/Elutit.d.ts +38 -0
- package/lib/src/kysely_types/sens/Elutit.js +3 -0
- package/lib/src/kysely_types/sens/Eluvil.d.ts +48 -0
- package/lib/src/kysely_types/sens/Eluvil.js +3 -0
- package/lib/src/kysely_types/sens/Etadebman.d.ts +34 -0
- package/lib/src/kysely_types/sens/Etadebman.js +3 -0
- package/lib/src/kysely_types/sens/Etafinman.d.ts +34 -0
- package/lib/src/kysely_types/sens/Etafinman.js +3 -0
- package/lib/src/kysely_types/sens/Etasen.d.ts +34 -0
- package/lib/src/kysely_types/sens/Etasen.js +3 -0
- package/lib/src/kysely_types/sens/FonactParticipant.d.ts +16 -0
- package/lib/src/kysely_types/sens/FonactParticipant.js +3 -0
- package/lib/src/kysely_types/sens/Foncom.d.ts +40 -0
- package/lib/src/kysely_types/sens/Foncom.js +3 -0
- package/lib/src/kysely_types/sens/Fondelega.d.ts +40 -0
- package/lib/src/kysely_types/sens/Fondelega.js +3 -0
- package/lib/src/kysely_types/sens/Fongrppol.d.ts +40 -0
- package/lib/src/kysely_types/sens/Fongrppol.js +3 -0
- package/lib/src/kysely_types/sens/Fongrpsen.d.ts +27 -0
- package/lib/src/kysely_types/sens/Fongrpsen.js +3 -0
- package/lib/src/kysely_types/sens/Fonmemcom.d.ts +37 -0
- package/lib/src/kysely_types/sens/Fonmemcom.js +3 -0
- package/lib/src/kysely_types/sens/Fonmemdelega.d.ts +37 -0
- package/lib/src/kysely_types/sens/Fonmemdelega.js +3 -0
- package/lib/src/kysely_types/sens/Fonmemgrppol.d.ts +35 -0
- package/lib/src/kysely_types/sens/Fonmemgrppol.js +3 -0
- package/lib/src/kysely_types/sens/Fonmemgrpsen.d.ts +32 -0
- package/lib/src/kysely_types/sens/Fonmemgrpsen.js +3 -0
- package/lib/src/kysely_types/sens/Fonmemorg.d.ts +41 -0
- package/lib/src/kysely_types/sens/Fonmemorg.js +3 -0
- package/lib/src/kysely_types/sens/Fonorg.d.ts +40 -0
- package/lib/src/kysely_types/sens/Fonorg.js +3 -0
- package/lib/src/kysely_types/sens/Grppol.d.ts +46 -0
- package/lib/src/kysely_types/sens/Grppol.js +3 -0
- package/lib/src/kysely_types/sens/Grpsenami.d.ts +55 -0
- package/lib/src/kysely_types/sens/Grpsenami.js +3 -0
- package/lib/src/kysely_types/sens/Libcom.d.ts +36 -0
- package/lib/src/kysely_types/sens/Libcom.js +3 -0
- package/lib/src/kysely_types/sens/Libdelega.d.ts +34 -0
- package/lib/src/kysely_types/sens/Libdelega.js +3 -0
- package/lib/src/kysely_types/sens/Libgrppol.d.ts +36 -0
- package/lib/src/kysely_types/sens/Libgrppol.js +3 -0
- package/lib/src/kysely_types/sens/Libgrpsen.d.ts +28 -0
- package/lib/src/kysely_types/sens/Libgrpsen.js +3 -0
- package/lib/src/kysely_types/sens/Liborg.d.ts +34 -0
- package/lib/src/kysely_types/sens/Liborg.js +3 -0
- package/lib/src/kysely_types/sens/Mel.d.ts +19 -0
- package/lib/src/kysely_types/sens/Mel.js +3 -0
- package/lib/src/kysely_types/sens/Memcom.d.ts +37 -0
- package/lib/src/kysely_types/sens/Memcom.js +3 -0
- package/lib/src/kysely_types/sens/Memdelega.d.ts +38 -0
- package/lib/src/kysely_types/sens/Memdelega.js +3 -0
- package/lib/src/kysely_types/sens/Memextpar.d.ts +56 -0
- package/lib/src/kysely_types/sens/Memextpar.js +3 -0
- package/lib/src/kysely_types/sens/Memgrppol.d.ts +38 -0
- package/lib/src/kysely_types/sens/Memgrppol.js +3 -0
- package/lib/src/kysely_types/sens/Memgrpsen.d.ts +30 -0
- package/lib/src/kysely_types/sens/Memgrpsen.js +3 -0
- package/lib/src/kysely_types/sens/Memorg.d.ts +42 -0
- package/lib/src/kysely_types/sens/Memorg.js +3 -0
- package/lib/src/kysely_types/sens/Minind.d.ts +46 -0
- package/lib/src/kysely_types/sens/Minind.js +3 -0
- package/lib/src/kysely_types/sens/Mismin.d.ts +17 -0
- package/lib/src/kysely_types/sens/Mismin.js +3 -0
- package/lib/src/kysely_types/sens/Missen.d.ts +17 -0
- package/lib/src/kysely_types/sens/Missen.js +3 -0
- package/lib/src/kysely_types/sens/Moddes.d.ts +30 -0
- package/lib/src/kysely_types/sens/Moddes.js +3 -0
- package/lib/src/kysely_types/sens/Nation.d.ts +26 -0
- package/lib/src/kysely_types/sens/Nation.js +3 -0
- package/lib/src/kysely_types/sens/Nationgrpsen.d.ts +31 -0
- package/lib/src/kysely_types/sens/Nationgrpsen.js +3 -0
- package/lib/src/kysely_types/sens/Org.d.ts +46 -0
- package/lib/src/kysely_types/sens/Org.js +3 -0
- package/lib/src/kysely_types/sens/Orgext.d.ts +72 -0
- package/lib/src/kysely_types/sens/Orgext.js +3 -0
- package/lib/src/kysely_types/sens/Orgthe.d.ts +12 -0
- package/lib/src/kysely_types/sens/Orgthe.js +3 -0
- package/lib/src/kysely_types/sens/Pcs.d.ts +15 -0
- package/lib/src/kysely_types/sens/Pcs.js +3 -0
- package/lib/src/kysely_types/sens/Pcs24.d.ts +15 -0
- package/lib/src/kysely_types/sens/Pcs24.js +3 -0
- package/lib/src/kysely_types/sens/Pcs42.d.ts +15 -0
- package/lib/src/kysely_types/sens/Pcs42.js +3 -0
- package/lib/src/kysely_types/sens/Pcs8.d.ts +12 -0
- package/lib/src/kysely_types/sens/Pcs8.js +3 -0
- package/lib/src/kysely_types/sens/Pcscatpro.d.ts +15 -0
- package/lib/src/kysely_types/sens/Pcscatpro.js +3 -0
- package/lib/src/kysely_types/sens/Poicon.d.ts +20 -0
- package/lib/src/kysely_types/sens/Poicon.js +3 -0
- package/lib/src/kysely_types/sens/Qua.d.ts +30 -0
- package/lib/src/kysely_types/sens/Qua.js +3 -0
- package/lib/src/kysely_types/sens/Reg.d.ts +38 -0
- package/lib/src/kysely_types/sens/Reg.js +3 -0
- package/lib/src/kysely_types/sens/Sen.d.ts +66 -0
- package/lib/src/kysely_types/sens/Sen.js +3 -0
- package/lib/src/kysely_types/sens/SenatSchema.d.ts +198 -0
- package/lib/src/kysely_types/sens/SenatSchema.js +3 -0
- package/lib/src/kysely_types/sens/Senbur.d.ts +41 -0
- package/lib/src/kysely_types/sens/Senbur.js +3 -0
- package/lib/src/kysely_types/sens/Sennom.d.ts +32 -0
- package/lib/src/kysely_types/sens/Sennom.js +3 -0
- package/lib/src/kysely_types/sens/Senurl.d.ts +35 -0
- package/lib/src/kysely_types/sens/Senurl.js +3 -0
- package/lib/src/kysely_types/sens/Stajur.d.ts +19 -0
- package/lib/src/kysely_types/sens/Stajur.js +3 -0
- package/lib/src/kysely_types/sens/Telephone.d.ts +21 -0
- package/lib/src/kysely_types/sens/Telephone.js +3 -0
- package/lib/src/kysely_types/sens/Temval.d.ts +14 -0
- package/lib/src/kysely_types/sens/Temval.js +3 -0
- package/lib/src/kysely_types/sens/Territ.d.ts +25 -0
- package/lib/src/kysely_types/sens/Territ.js +3 -0
- package/lib/src/kysely_types/sens/Titele.d.ts +32 -0
- package/lib/src/kysely_types/sens/Titele.js +3 -0
- package/lib/src/kysely_types/sens/Typadr.d.ts +20 -0
- package/lib/src/kysely_types/sens/Typadr.js +3 -0
- package/lib/src/kysely_types/sens/Typapppol.d.ts +34 -0
- package/lib/src/kysely_types/sens/Typapppol.js +3 -0
- package/lib/src/kysely_types/sens/Typbister.d.ts +16 -0
- package/lib/src/kysely_types/sens/Typbister.js +3 -0
- package/lib/src/kysely_types/sens/TypeActivite.d.ts +11 -0
- package/lib/src/kysely_types/sens/TypeActivite.js +3 -0
- package/lib/src/kysely_types/sens/TypeActiviteParticipant.d.ts +10 -0
- package/lib/src/kysely_types/sens/TypeActiviteParticipant.js +3 -0
- package/lib/src/kysely_types/sens/TypeActiviteSenateur.d.ts +11 -0
- package/lib/src/kysely_types/sens/TypeActiviteSenateur.js +3 -0
- package/lib/src/kysely_types/sens/TypeCategorie.d.ts +11 -0
- package/lib/src/kysely_types/sens/TypeCategorie.js +3 -0
- package/lib/src/kysely_types/sens/Typele.d.ts +22 -0
- package/lib/src/kysely_types/sens/Typele.js +3 -0
- package/lib/src/kysely_types/sens/Typgrpsen.d.ts +23 -0
- package/lib/src/kysely_types/sens/Typgrpsen.js +3 -0
- package/lib/src/kysely_types/sens/Typman.d.ts +20 -0
- package/lib/src/kysely_types/sens/Typman.js +3 -0
- package/lib/src/kysely_types/sens/Typorg.d.ts +26 -0
- package/lib/src/kysely_types/sens/Typorg.js +3 -0
- package/lib/src/kysely_types/sens/Typurl.d.ts +31 -0
- package/lib/src/kysely_types/sens/Typurl.js +3 -0
- package/lib/src/kysely_types/sens/Typvoi.d.ts +16 -0
- package/lib/src/kysely_types/sens/Typvoi.js +3 -0
- package/lib/src/kysely_types/sens/Zongeo.d.ts +22 -0
- package/lib/src/kysely_types/sens/Zongeo.js +3 -0
- package/lib/{types → src/other_types}/agenda.d.ts +1 -0
- package/lib/{types → src/other_types}/sens.d.ts +0 -2
- package/lib/src/other_types/sessions.d.ts +6 -0
- package/lib/src/other_types/sessions.js +19 -0
- package/lib/{types → src/other_types}/texte.d.ts +11 -13
- package/lib/{types → src/other_types}/texte.js +0 -1
- package/lib/src/parsers/texte.d.ts +1 -1
- package/lib/src/parsers/texte.js +1 -1
- package/lib/src/{model/ameli_postgres.d.ts → rich_types/ameli.d.ts} +5 -2
- package/lib/src/rich_types/debats.d.ts +38 -0
- package/lib/src/rich_types/dosleg.d.ts +212 -0
- package/lib/src/rich_types/dosleg.js +193 -0
- package/lib/src/rich_types/questions.d.ts +55 -0
- package/lib/src/rich_types/sens.d.ts +104 -0
- package/lib/src/scripts/convert_data.js +6 -6
- package/lib/src/scripts/convert_xml_to_html.js +1 -1
- package/lib/src/scripts/datautil.d.ts +1 -1
- package/lib/src/scripts/retrieve_agenda.js +4 -4
- package/lib/src/scripts/retrieve_cr_commission.js +6 -6
- package/lib/src/scripts/retrieve_cr_seance.d.ts +1 -1
- package/lib/src/scripts/retrieve_cr_seance.js +4 -4
- package/lib/src/scripts/retrieve_documents.d.ts +1 -1
- package/lib/src/scripts/retrieve_documents.js +4 -4
- package/lib/src/scripts/retrieve_open_data.js +72 -8
- package/lib/src/scripts/retrieve_senateurs_photos.js +2 -2
- package/lib/src/scripts/retrieve_videos.js +3 -3
- package/lib/src/scripts/shared/incremental_import_sql.js +22 -7
- package/lib/src/scripts/shared/prefixed_tables.d.ts +2 -1
- package/lib/src/scripts/shared/prefixed_tables.js +4 -3
- package/lib/src/scripts/shared/staging_import.d.ts +1 -1
- package/lib/src/scripts/validate_prefixed_tables.js +12 -11
- package/lib/src/scrutins.d.ts +47 -0
- package/lib/{model → src/server}/agenda.d.ts +1 -1
- package/lib/{model → src/server}/agenda.js +3 -3
- package/lib/src/server/ameli.d.ts +2 -0
- package/lib/src/server/ameli.js +153 -0
- package/lib/{model → src/server}/commission.d.ts +5 -4
- package/lib/{model → src/server}/commission.js +6 -6
- package/lib/src/server/config.d.ts +43 -0
- package/lib/src/server/config.js +37 -0
- package/lib/src/server/conversion_textes.d.ts +11 -0
- package/lib/src/server/conversion_textes.js +320 -0
- package/lib/src/server/databases_postgres.d.ts +32 -0
- package/lib/src/server/databases_postgres.js +50 -0
- package/lib/{datasets.d.ts → src/server/datasets.d.ts} +4 -0
- package/lib/{datasets.js → src/server/datasets.js} +16 -2
- package/lib/src/server/debats.d.ts +2 -0
- package/lib/src/server/debats.js +98 -0
- package/lib/src/server/documents.d.ts +3 -0
- package/lib/src/server/documents.js +132 -0
- package/lib/src/server/dosleg.d.ts +2 -0
- package/lib/src/server/dosleg.js +228 -0
- package/lib/{git.d.ts → src/server/git.d.ts} +1 -0
- package/lib/{git.js → src/server/git.js} +96 -12
- package/lib/src/server/index.d.ts +18 -0
- package/lib/src/server/index.js +16 -0
- package/lib/{loaders.d.ts → src/server/loaders.d.ts} +17 -23
- package/lib/{loaders.js → src/server/loaders.js} +36 -62
- package/lib/src/server/questions.d.ts +2 -0
- package/lib/src/server/questions.js +89 -0
- package/lib/src/server/scrutins.d.ts +2 -0
- package/lib/src/server/scrutins.js +114 -0
- package/lib/{model → src/server}/seance.d.ts +1 -1
- package/lib/{model → src/server}/seance.js +7 -7
- package/lib/src/server/sens.d.ts +9 -0
- package/lib/src/server/sens.js +353 -0
- package/lib/src/types/debats.d.ts +2 -2
- package/lib/src/util.d.ts +1 -0
- package/lib/src/util.js +15 -0
- package/lib/src/utils/cr_spliting.d.ts +1 -1
- package/lib/src/utils/cr_spliting.js +2 -2
- package/lib/src/utils/nvs-parsing.d.ts +1 -1
- package/lib/src/utils/nvs-parsing.js +9 -1
- package/lib/src/utils/reunion_odj_building.d.ts +2 -2
- package/lib/src/utils/reunion_odj_building.js +2 -2
- package/lib/src/utils/reunion_parsing.d.ts +2 -2
- package/lib/src/utils/scoring.d.ts +1 -1
- package/lib/src/videos/match.d.ts +1 -1
- package/lib/src/videos/pipeline.d.ts +4 -4
- package/lib/src/videos/pipeline.js +3 -3
- package/lib/src/videos/search.d.ts +1 -1
- package/lib/tests/test_iter_load.test.js +1 -1
- package/lib/tests/validatePrefixedTables.test.js +1 -1
- package/package.json +11 -4
- package/lib/add-js-extensions-v2.js +0 -23
- package/lib/add-js-extensions.js +0 -17
- package/lib/aggregates.d.ts +0 -52
- package/lib/aggregates.js +0 -930
- package/lib/aggregates.mjs +0 -713
- package/lib/aggregates.ts +0 -833
- package/lib/config.d.ts +0 -10
- package/lib/config.js +0 -16
- package/lib/config.mjs +0 -16
- package/lib/config.ts +0 -26
- package/lib/databases.d.ts +0 -2
- package/lib/databases.js +0 -26
- package/lib/databases.mjs +0 -57
- package/lib/databases.ts +0 -71
- package/lib/datasets.mjs +0 -78
- package/lib/datasets.ts +0 -118
- package/lib/fields.d.ts +0 -10
- package/lib/fields.js +0 -68
- package/lib/fields.mjs +0 -22
- package/lib/fields.ts +0 -29
- package/lib/index.d.ts +0 -13
- package/lib/index.js +0 -1
- package/lib/index.mjs +0 -7
- package/lib/index.ts +0 -64
- package/lib/inserters.d.ts +0 -98
- package/lib/inserters.js +0 -500
- package/lib/inserters.mjs +0 -360
- package/lib/inserters.ts +0 -521
- package/lib/legislatures.json +0 -38
- package/lib/loaders.mjs +0 -158
- package/lib/loaders.ts +0 -271
- package/lib/model/ameli.d.ts +0 -51
- package/lib/model/ameli.js +0 -149
- package/lib/model/ameli.mjs +0 -84
- package/lib/model/ameli.ts +0 -100
- package/lib/model/debats.d.ts +0 -67
- package/lib/model/debats.js +0 -95
- package/lib/model/debats.mjs +0 -43
- package/lib/model/debats.ts +0 -68
- package/lib/model/documents.d.ts +0 -12
- package/lib/model/documents.js +0 -151
- package/lib/model/dosleg.d.ts +0 -7
- package/lib/model/dosleg.js +0 -326
- package/lib/model/dosleg.mjs +0 -196
- package/lib/model/dosleg.ts +0 -240
- package/lib/model/index.d.ts +0 -7
- package/lib/model/index.js +0 -7
- package/lib/model/index.mjs +0 -5
- package/lib/model/index.ts +0 -15
- package/lib/model/questions.d.ts +0 -45
- package/lib/model/questions.js +0 -89
- package/lib/model/questions.mjs +0 -71
- package/lib/model/questions.ts +0 -93
- package/lib/model/scrutins.d.ts +0 -13
- package/lib/model/scrutins.js +0 -114
- package/lib/model/sens.d.ts +0 -146
- package/lib/model/sens.js +0 -454
- package/lib/model/sens.mjs +0 -415
- package/lib/model/sens.ts +0 -516
- package/lib/model/texte.d.ts +0 -7
- package/lib/model/texte.js +0 -256
- package/lib/model/texte.mjs +0 -208
- package/lib/model/texte.ts +0 -229
- package/lib/model/util.d.ts +0 -9
- package/lib/model/util.js +0 -38
- package/lib/model/util.mjs +0 -19
- package/lib/model/util.ts +0 -32
- package/lib/parsers/texte.d.ts +0 -7
- package/lib/parsers/texte.js +0 -228
- package/lib/raw_types/ameli.d.ts +0 -914
- package/lib/raw_types/ameli.js +0 -5
- package/lib/raw_types/ameli.mjs +0 -163
- package/lib/raw_types/debats.d.ts +0 -207
- package/lib/raw_types/debats.js +0 -5
- package/lib/raw_types/debats.mjs +0 -58
- package/lib/raw_types/dosleg.d.ts +0 -1619
- package/lib/raw_types/dosleg.js +0 -5
- package/lib/raw_types/dosleg.mjs +0 -438
- package/lib/raw_types/questions.d.ts +0 -419
- package/lib/raw_types/questions.js +0 -5
- package/lib/raw_types/questions.mjs +0 -11
- package/lib/raw_types/senat.d.ts +0 -11368
- package/lib/raw_types/senat.js +0 -5
- package/lib/raw_types/sens.d.ts +0 -8248
- package/lib/raw_types/sens.js +0 -5
- package/lib/raw_types/sens.mjs +0 -508
- package/lib/raw_types_kysely/ameli.d.ts +0 -915
- package/lib/raw_types_kysely/ameli.js +0 -7
- package/lib/raw_types_kysely/ameli.mjs +0 -5
- package/lib/raw_types_kysely/ameli.ts +0 -951
- package/lib/raw_types_kysely/debats.d.ts +0 -207
- package/lib/raw_types_kysely/debats.js +0 -7
- package/lib/raw_types_kysely/debats.mjs +0 -5
- package/lib/raw_types_kysely/debats.ts +0 -222
- package/lib/raw_types_kysely/dosleg.d.ts +0 -3532
- package/lib/raw_types_kysely/dosleg.js +0 -7
- package/lib/raw_types_kysely/dosleg.mjs +0 -5
- package/lib/raw_types_kysely/dosleg.ts +0 -3621
- package/lib/raw_types_kysely/questions.d.ts +0 -414
- package/lib/raw_types_kysely/questions.js +0 -7
- package/lib/raw_types_kysely/questions.mjs +0 -5
- package/lib/raw_types_kysely/questions.ts +0 -426
- package/lib/raw_types_kysely/sens.d.ts +0 -4394
- package/lib/raw_types_kysely/sens.js +0 -7
- package/lib/raw_types_kysely/sens.mjs +0 -5
- package/lib/raw_types_kysely/sens.ts +0 -4499
- package/lib/raw_types_schemats/ameli.d.ts +0 -539
- package/lib/raw_types_schemats/ameli.js +0 -2
- package/lib/raw_types_schemats/ameli.mjs +0 -2
- package/lib/raw_types_schemats/ameli.ts +0 -601
- package/lib/raw_types_schemats/debats.d.ts +0 -127
- package/lib/raw_types_schemats/debats.js +0 -2
- package/lib/raw_types_schemats/debats.mjs +0 -2
- package/lib/raw_types_schemats/debats.ts +0 -145
- package/lib/raw_types_schemats/dosleg.d.ts +0 -977
- package/lib/raw_types_schemats/dosleg.js +0 -2
- package/lib/raw_types_schemats/dosleg.mjs +0 -2
- package/lib/raw_types_schemats/dosleg.ts +0 -2193
- package/lib/raw_types_schemats/questions.d.ts +0 -235
- package/lib/raw_types_schemats/questions.js +0 -2
- package/lib/raw_types_schemats/questions.mjs +0 -2
- package/lib/raw_types_schemats/questions.ts +0 -249
- package/lib/raw_types_schemats/sens.d.ts +0 -6915
- package/lib/raw_types_schemats/sens.js +0 -2
- package/lib/raw_types_schemats/sens.mjs +0 -2
- package/lib/raw_types_schemats/sens.ts +0 -2907
- package/lib/scripts/convert_data.js +0 -354
- package/lib/scripts/convert_data.mjs +0 -181
- package/lib/scripts/convert_data.ts +0 -243
- package/lib/scripts/data-download.d.ts +0 -1
- package/lib/scripts/data-download.js +0 -12
- package/lib/scripts/datautil.d.ts +0 -8
- package/lib/scripts/datautil.js +0 -34
- package/lib/scripts/datautil.mjs +0 -16
- package/lib/scripts/datautil.ts +0 -19
- package/lib/scripts/images/transparent_150x192.jpg +0 -0
- package/lib/scripts/images/transparent_155x225.jpg +0 -0
- package/lib/scripts/parse_textes.d.ts +0 -1
- package/lib/scripts/parse_textes.js +0 -44
- package/lib/scripts/parse_textes.mjs +0 -46
- package/lib/scripts/parse_textes.ts +0 -65
- package/lib/scripts/retrieve_agenda.d.ts +0 -1
- package/lib/scripts/retrieve_agenda.js +0 -132
- package/lib/scripts/retrieve_cr_commission.d.ts +0 -1
- package/lib/scripts/retrieve_cr_commission.js +0 -364
- package/lib/scripts/retrieve_cr_seance.d.ts +0 -6
- package/lib/scripts/retrieve_cr_seance.js +0 -347
- package/lib/scripts/retrieve_documents.d.ts +0 -3
- package/lib/scripts/retrieve_documents.js +0 -219
- package/lib/scripts/retrieve_documents.mjs +0 -249
- package/lib/scripts/retrieve_documents.ts +0 -298
- package/lib/scripts/retrieve_open_data.d.ts +0 -1
- package/lib/scripts/retrieve_open_data.js +0 -315
- package/lib/scripts/retrieve_open_data.mjs +0 -217
- package/lib/scripts/retrieve_open_data.ts +0 -268
- package/lib/scripts/retrieve_senateurs_photos.d.ts +0 -1
- package/lib/scripts/retrieve_senateurs_photos.js +0 -147
- package/lib/scripts/retrieve_senateurs_photos.mjs +0 -147
- package/lib/scripts/retrieve_senateurs_photos.ts +0 -177
- package/lib/scripts/retrieve_videos.d.ts +0 -1
- package/lib/scripts/retrieve_videos.js +0 -461
- package/lib/scripts/shared/cli_helpers.d.ts +0 -95
- package/lib/scripts/shared/cli_helpers.js +0 -91
- package/lib/scripts/shared/cli_helpers.ts +0 -36
- package/lib/scripts/shared/util.d.ts +0 -4
- package/lib/scripts/shared/util.js +0 -35
- package/lib/scripts/shared/util.ts +0 -33
- package/lib/scripts/test_iter_load.d.ts +0 -1
- package/lib/scripts/test_iter_load.js +0 -12
- package/lib/src/databases.d.ts +0 -3
- package/lib/src/databases.js +0 -26
- package/lib/src/model/ameli_postgres.js +0 -150
- package/lib/src/raw_types/senat.d.ts +0 -11372
- package/lib/src/raw_types/senat.js +0 -5
- package/lib/src/scripts/test_iter_load.d.ts +0 -1
- package/lib/src/scripts/test_iter_load.js +0 -12
- package/lib/strings.d.ts +0 -1
- package/lib/strings.js +0 -18
- package/lib/strings.mjs +0 -18
- package/lib/strings.ts +0 -26
- package/lib/types/ameli.d.ts +0 -5
- package/lib/types/ameli.mjs +0 -13
- package/lib/types/ameli.ts +0 -21
- package/lib/types/debats.d.ts +0 -2
- package/lib/types/debats.mjs +0 -2
- package/lib/types/debats.ts +0 -6
- package/lib/types/dosleg.d.ts +0 -70
- package/lib/types/dosleg.js +0 -1
- package/lib/types/dosleg.mjs +0 -151
- package/lib/types/dosleg.ts +0 -284
- package/lib/types/questions.d.ts +0 -2
- package/lib/types/questions.mjs +0 -1
- package/lib/types/questions.ts +0 -3
- package/lib/types/sens.mjs +0 -1
- package/lib/types/sens.ts +0 -12
- package/lib/types/sessions.d.ts +0 -5
- package/lib/types/sessions.js +0 -84
- package/lib/types/sessions.mjs +0 -43
- package/lib/types/sessions.ts +0 -42
- package/lib/types/texte.mjs +0 -16
- package/lib/types/texte.ts +0 -76
- package/lib/typings/windows-1252.d.js +0 -2
- package/lib/typings/windows-1252.d.mjs +0 -2
- package/lib/typings/windows-1252.d.ts +0 -11
- package/lib/utils/cr_spliting.d.ts +0 -28
- package/lib/utils/cr_spliting.js +0 -265
- package/lib/utils/date.d.ts +0 -10
- package/lib/utils/date.js +0 -100
- package/lib/utils/nvs-timecode.d.ts +0 -7
- package/lib/utils/nvs-timecode.js +0 -79
- package/lib/utils/reunion_grouping.d.ts +0 -9
- package/lib/utils/reunion_grouping.js +0 -361
- package/lib/utils/reunion_odj_building.d.ts +0 -5
- package/lib/utils/reunion_odj_building.js +0 -154
- package/lib/utils/reunion_parsing.d.ts +0 -23
- package/lib/utils/reunion_parsing.js +0 -209
- package/lib/utils/scoring.d.ts +0 -14
- package/lib/utils/scoring.js +0 -147
- package/lib/utils/string_cleaning.d.ts +0 -7
- package/lib/utils/string_cleaning.js +0 -57
- package/lib/validators/config.mjs +0 -54
- package/lib/validators/config.ts +0 -79
- package/lib/validators/senat.d.ts +0 -0
- package/lib/validators/senat.js +0 -28
- package/lib/validators/senat.mjs +0 -24
- package/lib/validators/senat.ts +0 -26
- /package/lib/{add-js-extensions-v2.d.ts → src/documents.js} +0 -0
- /package/lib/{types → src/other_types}/agenda.js +0 -0
- /package/lib/{types → src/other_types}/compte_rendu.d.ts +0 -0
- /package/lib/{types → src/other_types}/compte_rendu.js +0 -0
- /package/lib/{types → src/other_types}/sens.js +0 -0
- /package/lib/{types → src/rich_types}/ameli.js +0 -0
- /package/lib/{types → src/rich_types}/debats.js +0 -0
- /package/lib/{types → src/rich_types}/questions.js +0 -0
- /package/lib/{add-js-extensions.d.ts → src/rich_types/sens.js} +0 -0
- /package/lib/{validators → src/schemas}/config.d.ts +0 -0
- /package/lib/{validators → src/schemas}/config.js +0 -0
- /package/lib/{scripts/convert_data.d.ts → src/scrutins.js} +0 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { sql } from "kysely";
|
|
2
|
+
import { jsonArrayFrom } from "kysely/helpers/postgres";
|
|
3
|
+
import { db, streamRawQuery } from "./databases_postgres.js";
|
|
4
|
+
export async function* findAllTextes() {
|
|
5
|
+
const compiledQuery = db
|
|
6
|
+
.withSchema("senat")
|
|
7
|
+
.selectFrom("dosleg_texte as texte")
|
|
8
|
+
.leftJoin("dosleg_oritxt as oritxt", "oritxt.oritxtcod", "texte.oritxtcod")
|
|
9
|
+
.leftJoin("dosleg_typtxt as typtxt", "typtxt.typtxtcod", "texte.typtxtcod")
|
|
10
|
+
.leftJoin("dosleg_lecass as lecass", "lecass.lecassidt", "texte.lecassidt")
|
|
11
|
+
.leftJoin("dosleg_lecture as lecture", "lecture.lecidt", "lecass.lecidt")
|
|
12
|
+
.leftJoin("dosleg_loi as loi", "loi.loicod", "lecture.loicod")
|
|
13
|
+
.select((eb) => [
|
|
14
|
+
"loi.signet as signet_dossier",
|
|
15
|
+
"texte.texnum as numero",
|
|
16
|
+
"texte.orgcod as code_organisme",
|
|
17
|
+
sql `
|
|
18
|
+
case
|
|
19
|
+
when ${eb.ref("texte.texurl")} is not null then
|
|
20
|
+
regexp_replace(regexp_replace(trim(${eb.ref("texte.texurl")}), '#+$', ''), '^(.*/)?(.*?)(\.html)?$', '\2')
|
|
21
|
+
else null
|
|
22
|
+
end
|
|
23
|
+
`.as("id"),
|
|
24
|
+
sql `
|
|
25
|
+
case
|
|
26
|
+
when ${eb.ref("texte.typurl")} = 'I' then regexp_replace('https://www.senat.fr/leg/' || rtrim(${eb.ref("texte.texurl")}), '#+$', '')
|
|
27
|
+
else regexp_replace(rtrim(${eb.ref("texte.texurl")}), '#+$', '')
|
|
28
|
+
end
|
|
29
|
+
`.as("url"),
|
|
30
|
+
sql `rtrim(${eb.ref("oritxt.oritxtlib")})`.as("origine"),
|
|
31
|
+
"oritxt.oriordre as ordre_origine",
|
|
32
|
+
"oritxt.oritxtado as code_adoption",
|
|
33
|
+
"oritxt.oritxtmod as modification",
|
|
34
|
+
sql `rtrim(${eb.ref("typtxt.typtxtlib")})`.as("type"),
|
|
35
|
+
sql `to_char(${eb.ref("texte.txtoritxtdat")}, 'YYYY-MM-DD')`.as("date"),
|
|
36
|
+
sql `${eb.ref("texte.sesann")}::int`.as("session"),
|
|
37
|
+
// Auteurs
|
|
38
|
+
jsonArrayFrom(eb
|
|
39
|
+
.withSchema("senat")
|
|
40
|
+
.selectFrom("dosleg_auteur as auteur")
|
|
41
|
+
.leftJoin("dosleg_ecr as ecr", "ecr.autcod", "auteur.autcod")
|
|
42
|
+
.leftJoin("dosleg_rolsig as rolsig", "rolsig.signataire", "ecr.signataire")
|
|
43
|
+
.select([
|
|
44
|
+
"auteur.prenom as prenom",
|
|
45
|
+
"auteur.nomuse as nom_usuel",
|
|
46
|
+
"auteur.autmat as matricule",
|
|
47
|
+
sql `ecr.ecrnumtri::text`.as("ordre"),
|
|
48
|
+
"ecr.ecrnumtri as ordre_num",
|
|
49
|
+
"rolsig.rolsiglib as role",
|
|
50
|
+
"ecr.ecrqua as qualite",
|
|
51
|
+
])
|
|
52
|
+
.whereRef("ecr.texcod", "=", "texte.texcod")).as("auteurs"),
|
|
53
|
+
sql `null::text`.as("titre"),
|
|
54
|
+
])
|
|
55
|
+
.orderBy(sql `array_position(array['0','2','1'], oritxt.oriordre)`)
|
|
56
|
+
.compile();
|
|
57
|
+
for await (const row of streamRawQuery(compiledQuery)) {
|
|
58
|
+
yield {
|
|
59
|
+
...row,
|
|
60
|
+
auteurs: row.auteurs ?? [],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export async function* findAllRapports() {
|
|
65
|
+
const compiledQuery = db
|
|
66
|
+
.withSchema("senat")
|
|
67
|
+
.selectFrom("dosleg_rap as rap")
|
|
68
|
+
.leftJoin("dosleg_raporg as raporg", "raporg.rapcod", "rap.rapcod")
|
|
69
|
+
.leftJoin("dosleg_denrap as denrap", "denrap.coddenrap", "rap.coddenrap")
|
|
70
|
+
.leftJoin("dosleg_lecassrap as lecassrap", "lecassrap.rapcod", "rap.rapcod")
|
|
71
|
+
.leftJoin("dosleg_lecass as lecass", "lecass.lecassidt", "lecassrap.lecassidt")
|
|
72
|
+
.leftJoin("dosleg_lecture as lecture", "lecture.lecidt", "lecass.lecidt")
|
|
73
|
+
.leftJoin("dosleg_loi as loi", "loi.loicod", "lecture.loicod")
|
|
74
|
+
.select((eb) => [
|
|
75
|
+
"loi.signet as signet_dossier",
|
|
76
|
+
"rap.rapnum as numero",
|
|
77
|
+
"raporg.orgcod as code_organisme",
|
|
78
|
+
sql `
|
|
79
|
+
case
|
|
80
|
+
when ${eb.ref("rap.rapurl")} is not null then
|
|
81
|
+
regexp_replace(regexp_replace(trim(${eb.ref("rap.rapurl")}), '#+$', ''), '^(.*/)?(.*?)(\.html)?$', '\2')
|
|
82
|
+
else null
|
|
83
|
+
end
|
|
84
|
+
`.as("id"),
|
|
85
|
+
sql `
|
|
86
|
+
case
|
|
87
|
+
when ${eb.ref("rap.typurl")} = 'I' then regexp_replace('https://www.senat.fr/rap/' || rtrim(${eb.ref("rap.rapurl")}), '#+$', '')
|
|
88
|
+
else regexp_replace(rtrim(${eb.ref("rap.rapurl")}), '#+$', '')
|
|
89
|
+
end
|
|
90
|
+
`.as("url"),
|
|
91
|
+
sql `rtrim(${eb.ref("denrap.libdenrap")})`.as("type"),
|
|
92
|
+
sql `rtrim(rtrim(${eb.ref("rap.raptil")}))`.as("titre"),
|
|
93
|
+
sql `rtrim(rtrim(${eb.ref("rap.rapsoustit")}))`.as("sous_titre"),
|
|
94
|
+
sql `to_char(${eb.ref("rap.date_depot")}, 'YYYY-MM-DD')`.as("date"),
|
|
95
|
+
sql `${eb.ref("rap.sesann")}::int`.as("session"),
|
|
96
|
+
// Auteurs
|
|
97
|
+
jsonArrayFrom(eb
|
|
98
|
+
.withSchema("senat")
|
|
99
|
+
.selectFrom("dosleg_auteur as auteur")
|
|
100
|
+
.leftJoin("dosleg_ecr as ecr", "ecr.autcod", "auteur.autcod")
|
|
101
|
+
.leftJoin("dosleg_rolsig as rolsig", "rolsig.signataire", "ecr.signataire")
|
|
102
|
+
.select([
|
|
103
|
+
"auteur.prenom as prenom",
|
|
104
|
+
"auteur.nomuse as nom_usuel",
|
|
105
|
+
"auteur.autmat as matricule",
|
|
106
|
+
sql `ecr.ecrnumtri::text`.as("ordre"),
|
|
107
|
+
"ecr.ecrnumtri as ordre_num",
|
|
108
|
+
"rolsig.rolsiglib as role",
|
|
109
|
+
"ecr.ecrqua as qualite",
|
|
110
|
+
])
|
|
111
|
+
.whereRef("ecr.rapcod", "=", "rap.rapcod")).as("auteurs"),
|
|
112
|
+
// Documents annexes
|
|
113
|
+
jsonArrayFrom(eb
|
|
114
|
+
.withSchema("senat")
|
|
115
|
+
.selectFrom("dosleg_docatt as docatt")
|
|
116
|
+
.leftJoin("dosleg_typatt as typatt", "typatt.typattcod", "docatt.typattcod")
|
|
117
|
+
.select(["docatt.docatturl as url", "typatt.typattlib as type_document"])
|
|
118
|
+
.whereRef("docatt.rapcod", "=", "rap.rapcod")).as("documents_annexes"),
|
|
119
|
+
sql `null::text`.as("origine"),
|
|
120
|
+
sql `null::text`.as("ordre_origine"),
|
|
121
|
+
sql `null::text`.as("code_adoption"),
|
|
122
|
+
sql `null::text`.as("modification"),
|
|
123
|
+
])
|
|
124
|
+
.compile();
|
|
125
|
+
for await (const row of streamRawQuery(compiledQuery)) {
|
|
126
|
+
yield {
|
|
127
|
+
...row,
|
|
128
|
+
auteurs: row.auteurs ?? [],
|
|
129
|
+
documents_annexes: row.documents_annexes ?? [],
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { sql } from "kysely";
|
|
2
|
+
import { jsonArrayFrom } from "kysely/helpers/postgres";
|
|
3
|
+
import { db, streamRawQuery } from "./databases_postgres.js";
|
|
4
|
+
export async function* findAllDossiers() {
|
|
5
|
+
const compiledQuery = db
|
|
6
|
+
.withSchema("senat")
|
|
7
|
+
.selectFrom("dosleg_loi as loi")
|
|
8
|
+
.leftJoin("dosleg_typloi as typloi", "typloi.typloicod", "loi.typloicod")
|
|
9
|
+
.leftJoin("dosleg_etaloi as etaloi", "etaloi.etaloicod", "loi.etaloicod")
|
|
10
|
+
.leftJoin("dosleg_deccoc as deccoc", "deccoc.deccoccod", "loi.deccoccod")
|
|
11
|
+
.select((eb) => [
|
|
12
|
+
sql `rtrim(${eb.ref("loi.loicod")})`.as("code"),
|
|
13
|
+
"loi.numero as numero",
|
|
14
|
+
"loi.signet as signet",
|
|
15
|
+
sql `nullif(regexp_replace(${eb.ref("loi.url_an")}, '^.*\\/(DL[^\\/]+)\\.asp$', '\\1'), '')`.as("code_dossier_an"),
|
|
16
|
+
"loi.signetalt as signet_alternatif",
|
|
17
|
+
sql `rtrim(${eb.ref("loi.motclef")})`.as("mot_cle"),
|
|
18
|
+
sql `rtrim(${eb.ref("loi.loient")})`.as("titre_court"),
|
|
19
|
+
sql `rtrim(${eb.ref("typloi.typloiden")}) || ' ' || rtrim(${eb.ref("loi.loitit")})`.as("titre"),
|
|
20
|
+
sql `rtrim(${eb.ref("typloi.typloiden")}) || ' ' || rtrim(${eb.ref("loi.loiint")})`.as("titre_long"),
|
|
21
|
+
sql `rtrim(${eb.ref("typloi.typloiden")}) || ' ' || rtrim(${eb.ref("loi.loiintori")})`.as("titre_long_original"),
|
|
22
|
+
sql `'https://www.senat.fr/dossier-legislatif/' || ${eb.ref("loi.signet")} || '.html'`.as("url"),
|
|
23
|
+
"loi.urgence as urgence",
|
|
24
|
+
sql `rtrim(${eb.ref("typloi.groupe")})`.as("code_nature_dossier"),
|
|
25
|
+
sql `rtrim(${eb.ref("typloi.typloilib")})`.as("libelle_type_dossier"),
|
|
26
|
+
sql `rtrim(${eb.ref("etaloi.etaloilib")})`.as("etat_dossier"),
|
|
27
|
+
"loi.url_an as url_dossier_assemblee_nationale",
|
|
28
|
+
"loi.url_presart as url_presentation_articles",
|
|
29
|
+
"loi.url_ordonnance as url_ordonnance",
|
|
30
|
+
"loi.orgcod as code_organisme_resolution",
|
|
31
|
+
"deccoc.deccoclib as libelle_decision_CoC",
|
|
32
|
+
sql `to_char(${eb.ref("loi.date_decision")}, 'YYYY-MM-DD')`.as("date_decision_CoC"),
|
|
33
|
+
"loi.num_decision as num_decision_CoC",
|
|
34
|
+
"loi.deccocurl as url_decision_CoC",
|
|
35
|
+
"loi.doscocurl as url_dossier_CoC",
|
|
36
|
+
sql `to_char(${eb.ref("loi.saisine_date")}, 'YYYY-MM-DD')`.as("date_saisine_CoC"),
|
|
37
|
+
"loi.saisine_par as condition_saisine_CoC",
|
|
38
|
+
sql `to_char(${eb.ref("loi.proaccdat")}, 'YYYY-MM-DD')`.as("date_procedure_acceleree"),
|
|
39
|
+
sql `to_char(${eb.ref("loi.proaccoppdat")}, 'YYYY-MM-DD')`.as("date_opposition_procedure_acceleree"),
|
|
40
|
+
sql `to_char(${eb.ref("loi.retproaccdat")}, 'YYYY-MM-DD')`.as("date_retrait_procedure_acceleree"),
|
|
41
|
+
sql `to_char(${eb.ref("loi.date_loi")}, 'YYYY-MM-DD')`.as("date_promulgation"),
|
|
42
|
+
sql `
|
|
43
|
+
case
|
|
44
|
+
when ${eb.ref("loi.loititjo")} is not null
|
|
45
|
+
then rtrim(${eb.ref("typloi.typloiden")})
|
|
46
|
+
|| ' ' || rtrim(${eb.ref("loi.loititjo")})
|
|
47
|
+
else ''
|
|
48
|
+
end
|
|
49
|
+
`.as("titre_JO"),
|
|
50
|
+
sql `to_char(${eb.ref("loi.loidatjo")}, 'YYYY-MM-DD')`.as("date_publication_JO"),
|
|
51
|
+
"loi.loinumjo as numero_JO",
|
|
52
|
+
"loi.url_jo as url_JO",
|
|
53
|
+
sql `to_char(${eb.ref("loi.loidatjo2")}, 'YYYY-MM-DD')`.as("date_publication_JO_correctif_1"),
|
|
54
|
+
"loi.loinumjo2 as numero_JO_correctif_1",
|
|
55
|
+
"loi.url_jo2 as url_JO_correctif_1",
|
|
56
|
+
sql `to_char(${eb.ref("loi.loidatjo3")}, 'YYYY-MM-DD')`.as("date_publication_JO_correctif_2"),
|
|
57
|
+
"loi.loinumjo3 as numero_JO_correctif_2",
|
|
58
|
+
"loi.url_jo3 as url_JO_correctif_2",
|
|
59
|
+
// Lectures
|
|
60
|
+
jsonArrayFrom(eb
|
|
61
|
+
.withSchema("senat")
|
|
62
|
+
.selectFrom("dosleg_lecture as lecture")
|
|
63
|
+
.leftJoin("dosleg_typlec as typlec", "typlec.typleccod", "lecture.typleccod")
|
|
64
|
+
.select((eb2) => [
|
|
65
|
+
sql `rtrim(typlec.typleclib)`.as("type_lecture"),
|
|
66
|
+
sql `rtrim(lecture.leccom)`.as("libelle"),
|
|
67
|
+
sql `typlec.typlecord::text`.as("ordre_lecture"),
|
|
68
|
+
"typlec.typlecord as ordre_lecture_num",
|
|
69
|
+
// Lectures par assemblée
|
|
70
|
+
jsonArrayFrom(eb2
|
|
71
|
+
.withSchema("senat")
|
|
72
|
+
.selectFrom("dosleg_lecass as lecass")
|
|
73
|
+
.leftJoin("dosleg_ass as ass", "ass.codass", "lecass.codass")
|
|
74
|
+
.leftJoin("dosleg_org as org", "org.orgcod", "lecass.orgcod")
|
|
75
|
+
.leftJoin("dosleg_orippr as orippr", "orippr.oripprcod", "lecass.orippr")
|
|
76
|
+
.select((eb3) => [
|
|
77
|
+
sql `rtrim(ass.libass)`.as("assemblee"),
|
|
78
|
+
"org.orgnom as libelle_organisme",
|
|
79
|
+
"org.senorgcod as code_organisme",
|
|
80
|
+
sql `lecass.ordreass::text`.as("ordre_lecture_assemblee"),
|
|
81
|
+
"lecass.ordreass as ordre_lecture_assemblee_num",
|
|
82
|
+
sql `lecass.sesann::int`.as("session"),
|
|
83
|
+
"orippr.oripprlib as origine_proposition",
|
|
84
|
+
"lecass.ptlnum as numero_petite_loi",
|
|
85
|
+
"lecass.ptlurl as url_petite_loi",
|
|
86
|
+
"lecass.loiintmod as loi_intitule_modifie",
|
|
87
|
+
"lecass.debatsurl as url_cr_debats",
|
|
88
|
+
sql `to_char(lecass.lecassamecomdat, 'YYYY-MM-DD')`.as("date_publication_amendements_commission"),
|
|
89
|
+
sql `to_char(lecass.lecassamedat, 'YYYY-MM-DD')`.as("date_publication_amendements_seance"),
|
|
90
|
+
// Textes
|
|
91
|
+
jsonArrayFrom(eb3
|
|
92
|
+
.withSchema("senat")
|
|
93
|
+
.selectFrom("dosleg_texte as texte")
|
|
94
|
+
.leftJoin("dosleg_oritxt as oritxt", "oritxt.oritxtcod", "texte.oritxtcod")
|
|
95
|
+
.leftJoin("dosleg_typtxt as typtxt", "typtxt.typtxtcod", "texte.typtxtcod")
|
|
96
|
+
.select((eb4) => [
|
|
97
|
+
"texte.texnum as numero",
|
|
98
|
+
"texte.orgcod as code_organisme",
|
|
99
|
+
sql `
|
|
100
|
+
case
|
|
101
|
+
when texte.texurl is not null then
|
|
102
|
+
regexp_replace(
|
|
103
|
+
regexp_replace(trim(texte.texurl), '#+$', ''),
|
|
104
|
+
'^(.*/)?(.*?)(\.html)?$', '\2')
|
|
105
|
+
else null
|
|
106
|
+
end
|
|
107
|
+
`.as("id"),
|
|
108
|
+
sql `
|
|
109
|
+
case
|
|
110
|
+
when texte.typurl = 'I' then regexp_replace('https://www.senat.fr/leg/' || rtrim(texte.texurl), '#+$', '')
|
|
111
|
+
else regexp_replace(rtrim(texte.texurl), '#+$', '')
|
|
112
|
+
end
|
|
113
|
+
`.as("url"),
|
|
114
|
+
sql `rtrim(oritxt.oritxtlib)`.as("origine"),
|
|
115
|
+
"oritxt.oriordre as ordre_origine",
|
|
116
|
+
"oritxt.oritxtado as code_adoption",
|
|
117
|
+
"oritxt.oritxtmod as modification",
|
|
118
|
+
sql `rtrim(typtxt.typtxtlib)`.as("type"),
|
|
119
|
+
sql `to_char(texte.txtoritxtdat, 'YYYY-MM-DD')`.as("date"),
|
|
120
|
+
sql `texte.sesann::int`.as("session"),
|
|
121
|
+
// Auteurs du texte
|
|
122
|
+
jsonArrayFrom(eb4
|
|
123
|
+
.withSchema("senat")
|
|
124
|
+
.selectFrom("dosleg_auteur as auteur")
|
|
125
|
+
.leftJoin("dosleg_ecr as ecr", "ecr.autcod", "auteur.autcod")
|
|
126
|
+
.leftJoin("dosleg_rolsig as rolsig", "rolsig.signataire", "ecr.signataire")
|
|
127
|
+
.select([
|
|
128
|
+
"auteur.prenom as prenom",
|
|
129
|
+
"auteur.nomuse as nom_usuel",
|
|
130
|
+
"auteur.autmat as matricule",
|
|
131
|
+
sql `ecr.ecrnumtri::text`.as("ordre"),
|
|
132
|
+
"ecr.ecrnumtri as ordre_num",
|
|
133
|
+
"rolsig.rolsiglib as role",
|
|
134
|
+
"ecr.ecrqua as qualite",
|
|
135
|
+
])
|
|
136
|
+
.whereRef("ecr.texcod", "=", "texte.texcod")).as("auteurs"),
|
|
137
|
+
sql `array_position(array['0','2','1'], oritxt.oriordre)`.as("ordre_tri"),
|
|
138
|
+
])
|
|
139
|
+
.whereRef("texte.lecassidt", "=", "lecass.lecassidt")
|
|
140
|
+
.orderBy(sql `array_position(array['0','2','1'], oritxt.oriordre)`)).as("textes"),
|
|
141
|
+
// Rapports
|
|
142
|
+
jsonArrayFrom(eb3
|
|
143
|
+
.withSchema("senat")
|
|
144
|
+
.selectFrom("dosleg_rap as rap")
|
|
145
|
+
.leftJoin("dosleg_raporg as raporg", "raporg.rapcod", "rap.rapcod")
|
|
146
|
+
.leftJoin("dosleg_denrap as denrap", "denrap.coddenrap", "rap.coddenrap")
|
|
147
|
+
.leftJoin("dosleg_lecassrap as lecassrap", "lecassrap.rapcod", "rap.rapcod")
|
|
148
|
+
.select((eb4) => [
|
|
149
|
+
"rap.rapnum as numero",
|
|
150
|
+
"raporg.orgcod as code_organisme",
|
|
151
|
+
sql `
|
|
152
|
+
case
|
|
153
|
+
when rap.rapurl is not null then
|
|
154
|
+
regexp_replace(
|
|
155
|
+
regexp_replace(trim(rap.rapurl), '#+$', ''),
|
|
156
|
+
'^(.*/)?(.*?)(\.html)?$', '\2')
|
|
157
|
+
else null
|
|
158
|
+
end
|
|
159
|
+
`.as("id"),
|
|
160
|
+
sql `
|
|
161
|
+
case
|
|
162
|
+
when rap.typurl = 'I' then regexp_replace('https://www.senat.fr/rap/' || rtrim(rap.rapurl), '#+$', '')
|
|
163
|
+
else regexp_replace(rtrim(rap.rapurl), '#+$', '')
|
|
164
|
+
end
|
|
165
|
+
`.as("url"),
|
|
166
|
+
sql `rtrim(denrap.libdenrap)`.as("type"),
|
|
167
|
+
sql `rtrim(rtrim(rap.raptil))`.as("titre"),
|
|
168
|
+
sql `rtrim(rtrim(rap.rapsoustit))`.as("sous_titre"),
|
|
169
|
+
sql `to_char(rap.date_depot, 'YYYY-MM-DD')`.as("date"),
|
|
170
|
+
sql `rap.sesann::int`.as("session"),
|
|
171
|
+
// Auteurs du rapport
|
|
172
|
+
jsonArrayFrom(eb4
|
|
173
|
+
.withSchema("senat")
|
|
174
|
+
.selectFrom("dosleg_auteur as auteur")
|
|
175
|
+
.leftJoin("dosleg_ecr as ecr", "ecr.autcod", "auteur.autcod")
|
|
176
|
+
.leftJoin("dosleg_rolsig as rolsig", "rolsig.signataire", "ecr.signataire")
|
|
177
|
+
.select([
|
|
178
|
+
"auteur.prenom as prenom",
|
|
179
|
+
"auteur.nomuse as nom_usuel",
|
|
180
|
+
"auteur.autmat as matricule",
|
|
181
|
+
sql `ecr.ecrnumtri::text`.as("ordre"),
|
|
182
|
+
"ecr.ecrnumtri as ordre_num",
|
|
183
|
+
"rolsig.rolsiglib as role",
|
|
184
|
+
"ecr.ecrqua as qualite",
|
|
185
|
+
])
|
|
186
|
+
.whereRef("ecr.rapcod", "=", "rap.rapcod")).as("auteurs"),
|
|
187
|
+
// Documents annexes
|
|
188
|
+
jsonArrayFrom(eb4
|
|
189
|
+
.withSchema("senat")
|
|
190
|
+
.selectFrom("dosleg_docatt as docatt")
|
|
191
|
+
.leftJoin("dosleg_typatt as typatt", "typatt.typattcod", "docatt.typattcod")
|
|
192
|
+
.select(["docatt.docatturl as url", "typatt.typattlib as type_document"])
|
|
193
|
+
.whereRef("docatt.rapcod", "=", "rap.rapcod")).as("documents_annexes"),
|
|
194
|
+
])
|
|
195
|
+
.whereRef("lecassrap.lecassidt", "=", "lecass.lecassidt")).as("rapports"),
|
|
196
|
+
// Dates de séances
|
|
197
|
+
jsonArrayFrom(eb3
|
|
198
|
+
.withSchema("senat")
|
|
199
|
+
.selectFrom("dosleg_date_seance as date_seance")
|
|
200
|
+
.select([sql `to_char(date_seance.date_s, 'YYYY-MM-DD')`.as("date")])
|
|
201
|
+
.whereRef("date_seance.lecidt", "=", "lecass.lecassidt")).as("dates_seances"),
|
|
202
|
+
])
|
|
203
|
+
.whereRef("lecass.lecidt", "=", "lecture.lecidt")
|
|
204
|
+
.orderBy("lecass.ordreass", "asc")).as("lectures_assemblee"),
|
|
205
|
+
])
|
|
206
|
+
.whereRef("lecture.loicod", "=", "loi.loicod")
|
|
207
|
+
.orderBy("typlec.typlecord", "asc")).as("lectures"),
|
|
208
|
+
// Thèmes
|
|
209
|
+
jsonArrayFrom(eb
|
|
210
|
+
.withSchema("senat")
|
|
211
|
+
.selectFrom("dosleg_the as the")
|
|
212
|
+
.leftJoin("dosleg_loithe as loithe", "loithe.thecle", "the.thecle")
|
|
213
|
+
.select(["the.thelib as libelle"])
|
|
214
|
+
.whereRef("loithe.loicod", "=", "loi.loicod")).as("themes"),
|
|
215
|
+
])
|
|
216
|
+
.compile();
|
|
217
|
+
for await (const row of streamRawQuery(compiledQuery)) {
|
|
218
|
+
if (!row.signet) {
|
|
219
|
+
continue;
|
|
220
|
+
}
|
|
221
|
+
yield {
|
|
222
|
+
...row,
|
|
223
|
+
signet: row.signet,
|
|
224
|
+
lectures: row.lectures ?? [],
|
|
225
|
+
themes: row.themes ?? [],
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare function initRepo(repositoryDir: string): void;
|
|
2
2
|
export declare function commit(repositoryDir: string, message: string): boolean;
|
|
3
3
|
export declare function commitAndPush(repositoryDir: string, message: string, remotes?: string[]): number;
|
|
4
|
+
export declare function pull(repositoryDir: string, remote?: string, branch?: string): boolean;
|
|
4
5
|
export declare function resetAndPull(gitDir: string): boolean;
|
|
5
6
|
export declare function clone(gitGroupUrl: string | undefined, gitName: string, workingDir: string): void;
|
|
6
7
|
export declare function run(repositoryDir: string, args: string, verbose?: boolean): string;
|
|
@@ -2,6 +2,66 @@ import { execSync } from "node:child_process";
|
|
|
2
2
|
import fs from "fs-extra";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
const MAXBUFFER = 50 * 1024 * 1024;
|
|
5
|
+
const GIT_LOCK_RETRY_DELAY_MS = 1000;
|
|
6
|
+
const GIT_LOCK_RETRY_COUNT = 5;
|
|
7
|
+
const GIT_LOCK_STALE_AFTER_MS = 2 * 60 * 1000;
|
|
8
|
+
function asExecSyncError(error) {
|
|
9
|
+
return error;
|
|
10
|
+
}
|
|
11
|
+
function outputToString(output) {
|
|
12
|
+
if (output == null) {
|
|
13
|
+
return "";
|
|
14
|
+
}
|
|
15
|
+
return Buffer.isBuffer(output) ? output.toString("utf-8") : output;
|
|
16
|
+
}
|
|
17
|
+
function sleep(ms) {
|
|
18
|
+
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
|
|
19
|
+
}
|
|
20
|
+
function getIndexLockPath(repositoryDir) {
|
|
21
|
+
return path.join(repositoryDir, ".git", "index.lock");
|
|
22
|
+
}
|
|
23
|
+
function isIndexLockError(error) {
|
|
24
|
+
const stderr = error instanceof Error ? outputToString(asExecSyncError(error).stderr) : "";
|
|
25
|
+
return /index\.lock': File exists\./.test(stderr);
|
|
26
|
+
}
|
|
27
|
+
function removeStaleIndexLock(repositoryDir) {
|
|
28
|
+
const lockPath = getIndexLockPath(repositoryDir);
|
|
29
|
+
if (!fs.existsSync(lockPath)) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
const stats = fs.statSync(lockPath);
|
|
33
|
+
const ageMs = Date.now() - stats.mtimeMs;
|
|
34
|
+
if (ageMs < GIT_LOCK_STALE_AFTER_MS) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
fs.removeSync(lockPath);
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function execGitWithIndexLockRecovery(command, repositoryDir, options) {
|
|
41
|
+
let lockRemoved = false;
|
|
42
|
+
for (let attempt = 1; attempt <= GIT_LOCK_RETRY_COUNT; attempt++) {
|
|
43
|
+
try {
|
|
44
|
+
execSync(command, {
|
|
45
|
+
cwd: repositoryDir,
|
|
46
|
+
...options,
|
|
47
|
+
});
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
catch (error) {
|
|
51
|
+
if (!isIndexLockError(error)) {
|
|
52
|
+
throw error;
|
|
53
|
+
}
|
|
54
|
+
if (!lockRemoved && removeStaleIndexLock(repositoryDir)) {
|
|
55
|
+
lockRemoved = true;
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
if (attempt === GIT_LOCK_RETRY_COUNT) {
|
|
59
|
+
throw error;
|
|
60
|
+
}
|
|
61
|
+
sleep(GIT_LOCK_RETRY_DELAY_MS);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
5
65
|
export function initRepo(repositoryDir) {
|
|
6
66
|
if (!fs.existsSync(path.join(repositoryDir, ".git"))) {
|
|
7
67
|
fs.ensureDirSync(repositoryDir);
|
|
@@ -15,8 +75,7 @@ export function initRepo(repositoryDir) {
|
|
|
15
75
|
}
|
|
16
76
|
export function commit(repositoryDir, message) {
|
|
17
77
|
initRepo(repositoryDir);
|
|
18
|
-
|
|
19
|
-
cwd: repositoryDir,
|
|
78
|
+
execGitWithIndexLockRecovery("git add .", repositoryDir, {
|
|
20
79
|
env: process.env,
|
|
21
80
|
encoding: "utf-8",
|
|
22
81
|
stdio: ["ignore", "ignore", "pipe"],
|
|
@@ -31,9 +90,9 @@ export function commit(repositoryDir, message) {
|
|
|
31
90
|
});
|
|
32
91
|
return true;
|
|
33
92
|
}
|
|
34
|
-
catch (
|
|
35
|
-
|
|
36
|
-
|
|
93
|
+
catch (error) {
|
|
94
|
+
const childProcess = asExecSyncError(error);
|
|
95
|
+
if (childProcess.stdout === null || !/nothing to commit|rien à valider/.test(outputToString(childProcess.stdout))) {
|
|
37
96
|
console.error(childProcess.output);
|
|
38
97
|
throw childProcess;
|
|
39
98
|
}
|
|
@@ -52,10 +111,11 @@ export function commitAndPush(repositoryDir, message, remotes) {
|
|
|
52
111
|
stdio: ["ignore", "ignore", "pipe"],
|
|
53
112
|
});
|
|
54
113
|
}
|
|
55
|
-
catch (
|
|
114
|
+
catch (error) {
|
|
115
|
+
const childProcess = asExecSyncError(error);
|
|
56
116
|
// Don't stop when push fails.
|
|
57
117
|
console.error(childProcess.output);
|
|
58
|
-
exitCode = childProcess.status;
|
|
118
|
+
exitCode = childProcess.status ?? 1;
|
|
59
119
|
}
|
|
60
120
|
}
|
|
61
121
|
}
|
|
@@ -65,6 +125,27 @@ export function commitAndPush(repositoryDir, message, remotes) {
|
|
|
65
125
|
}
|
|
66
126
|
return exitCode;
|
|
67
127
|
}
|
|
128
|
+
export function pull(repositoryDir, remote = "origin", branch = "master") {
|
|
129
|
+
initRepo(repositoryDir);
|
|
130
|
+
const statusOutput = execSync("git status --porcelain", {
|
|
131
|
+
cwd: repositoryDir,
|
|
132
|
+
env: process.env,
|
|
133
|
+
encoding: "utf-8",
|
|
134
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
135
|
+
maxBuffer: MAXBUFFER,
|
|
136
|
+
}).trim();
|
|
137
|
+
if (statusOutput.length > 0) {
|
|
138
|
+
return false;
|
|
139
|
+
}
|
|
140
|
+
execSync(`git pull --rebase ${remote} ${branch}`, {
|
|
141
|
+
cwd: repositoryDir,
|
|
142
|
+
env: process.env,
|
|
143
|
+
encoding: "utf-8",
|
|
144
|
+
stdio: ["ignore", "ignore", "pipe"],
|
|
145
|
+
maxBuffer: MAXBUFFER,
|
|
146
|
+
});
|
|
147
|
+
return true;
|
|
148
|
+
}
|
|
68
149
|
export function resetAndPull(gitDir) {
|
|
69
150
|
execSync("git reset --hard origin/master", {
|
|
70
151
|
cwd: gitDir,
|
|
@@ -104,9 +185,11 @@ export function run(repositoryDir, args, verbose) {
|
|
|
104
185
|
console.log(output);
|
|
105
186
|
return output;
|
|
106
187
|
}
|
|
107
|
-
catch (
|
|
108
|
-
|
|
109
|
-
|
|
188
|
+
catch (error) {
|
|
189
|
+
const childProcess = asExecSyncError(error);
|
|
190
|
+
for (const output of ["stdout", "stderr"]) {
|
|
191
|
+
console.error(`${output}: ${outputToString(childProcess[output])}`);
|
|
192
|
+
}
|
|
110
193
|
throw childProcess;
|
|
111
194
|
}
|
|
112
195
|
}
|
|
@@ -125,8 +208,9 @@ export function test(repositoryDir, args, verbose) {
|
|
|
125
208
|
console.log(output);
|
|
126
209
|
return true;
|
|
127
210
|
}
|
|
128
|
-
catch (
|
|
129
|
-
|
|
211
|
+
catch (error) {
|
|
212
|
+
const childProcess = asExecSyncError(error);
|
|
213
|
+
if (childProcess.status !== 0)
|
|
130
214
|
return false;
|
|
131
215
|
throw childProcess;
|
|
132
216
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { AGENDA_FOLDER, COMPTES_RENDUS_FOLDER, COMMISSION_FOLDER, DOSLEG_DOSSIERS_FOLDER, ENRICHED_TEXTE_FOLDER, SCRUTINS_FOLDER, SENS_CIRCONSCRIPTIONS_FOLDER, SENS_ORGANISMES_FOLDER, SENS_SENATEURS_FOLDER, TEXTE_FOLDER, RAPPORT_FOLDER, DATA_ORIGINAL_FOLDER, DATA_TRANSFORMED_FOLDER, DOCUMENT_METADATA_FILE, iterFilePaths, iterLoadSenatAmendements, iterLoadSenatDebats, iterLoadSenatComptesRendusSeances, iterLoadSenatComptesRendusCommissions, iterLoadSenatDossiersLegislatifs, iterLoadSenatRapportUrls, iterLoadSenatTexteUrls, iterLoadSenatRapports, iterLoadSenatTextes, loadSenatTexteContent, loadSenatCompteRenduContent, iterLoadSenatAgendas, iterLoadSenatCirconscriptions, iterLoadSenatOrganismes, iterLoadSenatSenateurs, iterLoadSenatQuestions, iterLoadSenatScrutins, type DocumentResult, type IterItem, } from "./loaders.js";
|
|
2
|
+
export { datasets, getChosenDatasets, getEnabledDatasets, EnabledDatasets } from "./datasets.js";
|
|
3
|
+
export { default as config, configSchema, dbSchema } from "./config.js";
|
|
4
|
+
export type { DbConfig } from "./config.js";
|
|
5
|
+
export { db, sql, streamRawQuery } from "./databases_postgres.js";
|
|
6
|
+
export type { SenatDatabase } from "./databases_postgres.js";
|
|
7
|
+
export { commit, commitAndPush, clone, getChangedFilesSinceCommit, initRepo, pull, resetAndPull, run } from "./git.js";
|
|
8
|
+
export { convertSenatXmlToHtml, extractMetadata } from "./conversion_textes.js";
|
|
9
|
+
export { parseAgendaFromFile, getStartAndEndTimes } from "./agenda.js";
|
|
10
|
+
export { cleanTitle, extractDayH3Sections, getRemainingTextAfterSpeakerHeader, parseCommissionCRSectionFromDom, } from "./commission.js";
|
|
11
|
+
export { findAllAmendements } from "./ameli.js";
|
|
12
|
+
export { findAll as findAllDebats } from "./debats.js";
|
|
13
|
+
export { findAllDossiers } from "./dosleg.js";
|
|
14
|
+
export { findAllTextes, findAllRapports } from "./documents.js";
|
|
15
|
+
export { findAll as findAllQuestions } from "./questions.js";
|
|
16
|
+
export { findAllScrutins } from "./scrutins.js";
|
|
17
|
+
export { parseCompteRenduIntervalFromFile, sessionStartYearFromDate } from "./seance.js";
|
|
18
|
+
export { findAll as findAllSens, findAllCirconscriptions, findAllOrganismes, findActif } from "./sens.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { AGENDA_FOLDER, COMPTES_RENDUS_FOLDER, COMMISSION_FOLDER, DOSLEG_DOSSIERS_FOLDER, ENRICHED_TEXTE_FOLDER, SCRUTINS_FOLDER, SENS_CIRCONSCRIPTIONS_FOLDER, SENS_ORGANISMES_FOLDER, SENS_SENATEURS_FOLDER, TEXTE_FOLDER, RAPPORT_FOLDER, DATA_ORIGINAL_FOLDER, DATA_TRANSFORMED_FOLDER, DOCUMENT_METADATA_FILE, iterFilePaths, iterLoadSenatAmendements, iterLoadSenatDebats, iterLoadSenatComptesRendusSeances, iterLoadSenatComptesRendusCommissions, iterLoadSenatDossiersLegislatifs, iterLoadSenatRapportUrls, iterLoadSenatTexteUrls, iterLoadSenatRapports, iterLoadSenatTextes, loadSenatTexteContent, loadSenatCompteRenduContent, iterLoadSenatAgendas, iterLoadSenatCirconscriptions, iterLoadSenatOrganismes, iterLoadSenatSenateurs, iterLoadSenatQuestions, iterLoadSenatScrutins, } from "./loaders.js";
|
|
2
|
+
export { datasets, getChosenDatasets, getEnabledDatasets, EnabledDatasets } from "./datasets.js";
|
|
3
|
+
export { default as config, configSchema, dbSchema } from "./config.js";
|
|
4
|
+
export { db, sql, streamRawQuery } from "./databases_postgres.js";
|
|
5
|
+
export { commit, commitAndPush, clone, getChangedFilesSinceCommit, initRepo, pull, resetAndPull, run } from "./git.js";
|
|
6
|
+
export { convertSenatXmlToHtml, extractMetadata } from "./conversion_textes.js";
|
|
7
|
+
export { parseAgendaFromFile, getStartAndEndTimes } from "./agenda.js";
|
|
8
|
+
export { cleanTitle, extractDayH3Sections, getRemainingTextAfterSpeakerHeader, parseCommissionCRSectionFromDom, } from "./commission.js";
|
|
9
|
+
export { findAllAmendements } from "./ameli.js";
|
|
10
|
+
export { findAll as findAllDebats } from "./debats.js";
|
|
11
|
+
export { findAllDossiers } from "./dosleg.js";
|
|
12
|
+
export { findAllTextes, findAllRapports } from "./documents.js";
|
|
13
|
+
export { findAll as findAllQuestions } from "./questions.js";
|
|
14
|
+
export { findAllScrutins } from "./scrutins.js";
|
|
15
|
+
export { parseCompteRenduIntervalFromFile, sessionStartYearFromDate } from "./seance.js";
|
|
16
|
+
export { findAll as findAllSens, findAllCirconscriptions, findAllOrganismes, findActif } from "./sens.js";
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { AmendementResult } from "
|
|
2
|
-
import { DebatResult } from "
|
|
3
|
-
import { DossierLegislatifResult } from "
|
|
4
|
-
import { QuestionResult } from "
|
|
5
|
-
import { ScrutinResult } from "
|
|
6
|
-
import { CirconscriptionResult, OrganismeResult, SenateurResult } from "
|
|
7
|
-
import { Reunion } from "
|
|
8
|
-
import { FlatTexte, DocumentMetadata } from "
|
|
9
|
-
import { CompteRendu } from "
|
|
10
|
-
import { DocumentResult } from "
|
|
11
|
-
export { EnabledDatasets } from "./datasets";
|
|
12
|
-
export type { DocumentResult } from "
|
|
1
|
+
import { AmendementResult } from "../rich_types/ameli.js";
|
|
2
|
+
import { DebatResult } from "../rich_types/debats.js";
|
|
3
|
+
import { DossierLegislatifResult } from "../rich_types/dosleg.js";
|
|
4
|
+
import { QuestionResult } from "../rich_types/questions.js";
|
|
5
|
+
import { ScrutinResult } from "../scrutins.js";
|
|
6
|
+
import { CirconscriptionResult, OrganismeResult, SenateurResult } from "../rich_types/sens.js";
|
|
7
|
+
import { Reunion } from "../other_types/agenda.js";
|
|
8
|
+
import { FlatTexte, DocumentMetadata } from "../other_types/texte.js";
|
|
9
|
+
import { CompteRendu } from "../other_types/compte_rendu.js";
|
|
10
|
+
import { DocumentResult } from "../documents.js";
|
|
11
|
+
export { EnabledDatasets } from "./datasets.js";
|
|
12
|
+
export type { DocumentResult } from "../documents.js";
|
|
13
13
|
export declare const AGENDA_FOLDER = "agenda";
|
|
14
14
|
export declare const COMPTES_RENDUS_FOLDER = "seances";
|
|
15
15
|
export declare const COMMISSION_FOLDER = "commissions";
|
|
16
16
|
export declare const DOSLEG_DOSSIERS_FOLDER = "dossiers";
|
|
17
|
+
export declare const ENRICHED_TEXTE_FOLDER = "leg_enrichi";
|
|
17
18
|
export declare const SCRUTINS_FOLDER = "scrutins";
|
|
18
19
|
export declare const SENS_CIRCONSCRIPTIONS_FOLDER = "circonscriptions";
|
|
19
20
|
export declare const SENS_ORGANISMES_FOLDER = "organismes";
|
|
@@ -32,21 +33,14 @@ export type IterItem<T> = {
|
|
|
32
33
|
export declare function iterFilePaths(dirPath: string): Generator<string>;
|
|
33
34
|
export declare function iterLoadSenatAmendements(dataDir: string, session: number | undefined, options?: {}): Generator<IterItem<AmendementResult>>;
|
|
34
35
|
export declare function iterLoadSenatDebats(dataDir: string, session: number | undefined, options?: {}): Generator<IterItem<DebatResult>>;
|
|
35
|
-
export declare function iterLoadSenatComptesRendusSeances(dataDir: string, session: number): Generator<
|
|
36
|
-
|
|
37
|
-
session: number;
|
|
38
|
-
}>;
|
|
39
|
-
export declare function iterLoadSenatComptesRendusCommissions(dataDir: string, session: number): Generator<{
|
|
40
|
-
compteRendu: CompteRendu;
|
|
41
|
-
session: number;
|
|
42
|
-
}>;
|
|
36
|
+
export declare function iterLoadSenatComptesRendusSeances(dataDir: string, session: number | undefined, options?: {}): Generator<IterItem<CompteRendu>>;
|
|
37
|
+
export declare function iterLoadSenatComptesRendusCommissions(dataDir: string, session: number, options?: {}): Generator<IterItem<CompteRendu>>;
|
|
43
38
|
export declare function iterLoadSenatDossiersLegislatifs(dataDir: string, session: number | undefined, options?: {}): Generator<IterItem<DossierLegislatifResult>>;
|
|
44
39
|
export declare function iterLoadSenatRapportUrls(dataDir: string, session: number | undefined): Generator<IterItem<DocumentMetadata>>;
|
|
45
40
|
export declare function iterLoadSenatTexteUrls(dataDir: string, session: number | undefined): Generator<IterItem<DocumentMetadata>>;
|
|
46
|
-
export declare function iterLoadSenatDocuments(dataDir: string, session: number | undefined, documentType: "textes" | "rapports", options?: {}): Generator<IterItem<DocumentResult>>;
|
|
47
41
|
export declare function iterLoadSenatRapports(dataDir: string, session: number | undefined, options?: {}): Generator<IterItem<DocumentResult>>;
|
|
48
|
-
export declare function iterLoadSenatTextes(dataDir: string, session: number | undefined, options?: {}): Generator<IterItem<DocumentResult
|
|
49
|
-
export declare function loadSenatTexteContent(dataDir: string,
|
|
42
|
+
export declare function iterLoadSenatTextes(dataDir: string, session: number | undefined, options?: {}): Generator<IterItem<DocumentResult & Partial<FlatTexte>>>;
|
|
43
|
+
export declare function loadSenatTexteContent(dataDir: string, session: number | string | null | undefined, texteId: string): IterItem<FlatTexte | null>;
|
|
50
44
|
export declare function loadSenatCompteRenduContent(dataDir: string, session: number, debatId: string | number): {
|
|
51
45
|
item: CompteRendu | null;
|
|
52
46
|
};
|