@tricoteuses/senat 3.2.1 → 3.2.2

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.
Files changed (110) hide show
  1. package/LICENSE.md +32 -32
  2. package/README.md +326 -326
  3. package/lib/src/config.d.ts +43 -0
  4. package/lib/src/config.js +37 -0
  5. package/lib/src/conversion_textes.d.ts +11 -0
  6. package/lib/src/conversion_textes.js +320 -0
  7. package/lib/src/databases_postgres.d.ts +4 -0
  8. package/lib/src/databases_postgres.js +23 -0
  9. package/lib/src/datasets.d.ts +38 -0
  10. package/lib/src/datasets.js +247 -0
  11. package/lib/src/git.d.ts +27 -0
  12. package/lib/src/git.js +251 -0
  13. package/lib/src/index.d.ts +1 -1
  14. package/lib/src/loaders.d.ts +52 -0
  15. package/lib/src/loaders.js +260 -0
  16. package/lib/src/model/agenda.d.ts +6 -0
  17. package/lib/src/model/agenda.js +148 -0
  18. package/lib/src/model/ameli.d.ts +67 -0
  19. package/lib/src/model/ameli.js +150 -0
  20. package/lib/src/model/commission.d.ts +19 -0
  21. package/lib/src/model/commission.js +269 -0
  22. package/lib/src/model/debats.d.ts +39 -0
  23. package/lib/src/model/debats.js +112 -0
  24. package/lib/src/model/documents.d.ts +32 -0
  25. package/lib/src/model/documents.js +182 -0
  26. package/lib/src/model/dosleg.d.ts +144 -0
  27. package/lib/src/model/dosleg.js +468 -0
  28. package/lib/src/model/index.d.ts +7 -0
  29. package/lib/src/model/index.js +7 -0
  30. package/lib/src/model/questions.d.ts +54 -0
  31. package/lib/src/model/questions.js +91 -0
  32. package/lib/src/model/scrutins.d.ts +48 -0
  33. package/lib/src/model/scrutins.js +121 -0
  34. package/lib/src/model/seance.d.ts +3 -0
  35. package/lib/src/model/seance.js +267 -0
  36. package/lib/src/model/sens.d.ts +112 -0
  37. package/lib/src/model/sens.js +385 -0
  38. package/lib/src/model/util.d.ts +1 -0
  39. package/lib/src/model/util.js +15 -0
  40. package/lib/src/parsers/plf/amendement.d.ts +3 -0
  41. package/lib/src/parsers/plf/amendement.js +152 -0
  42. package/lib/src/raw_types/ameli.d.ts +1762 -0
  43. package/lib/src/raw_types/ameli.js +1074 -0
  44. package/lib/src/raw_types/debats.d.ts +380 -0
  45. package/lib/src/raw_types/debats.js +266 -0
  46. package/lib/src/raw_types/dosleg.d.ts +2954 -0
  47. package/lib/src/raw_types/dosleg.js +2005 -0
  48. package/lib/src/raw_types/questions.d.ts +699 -0
  49. package/lib/src/raw_types/questions.js +493 -0
  50. package/lib/src/raw_types/sens.d.ts +7843 -0
  51. package/lib/src/raw_types/sens.js +4691 -0
  52. package/lib/src/raw_types_schemats/ameli.d.ts +541 -0
  53. package/lib/src/raw_types_schemats/ameli.js +2 -0
  54. package/lib/src/raw_types_schemats/debats.d.ts +127 -0
  55. package/lib/src/raw_types_schemats/debats.js +2 -0
  56. package/lib/src/raw_types_schemats/dosleg.d.ts +977 -0
  57. package/lib/src/raw_types_schemats/dosleg.js +2 -0
  58. package/lib/src/raw_types_schemats/questions.d.ts +237 -0
  59. package/lib/src/raw_types_schemats/questions.js +2 -0
  60. package/lib/src/raw_types_schemats/sens.d.ts +2709 -0
  61. package/lib/src/raw_types_schemats/sens.js +2 -0
  62. package/lib/src/rich_types/ameli.d.ts +12 -0
  63. package/lib/src/scripts/debug_dosleg_query.d.ts +6 -0
  64. package/lib/src/scripts/debug_dosleg_query.js +50 -0
  65. package/lib/src/scripts/retrieve_open_data.js +2 -1
  66. package/lib/src/scripts/shared/incremental_import_sql.js +866 -866
  67. package/lib/src/scripts/shared/schema_version.js +85 -84
  68. package/lib/src/scripts/shared/staging_metadata_sql.js +214 -214
  69. package/lib/src/scripts/validate_prefixed_tables.js +12 -12
  70. package/lib/src/server/ameli.js +18 -11
  71. package/lib/src/server/conversion_textes.js +106 -106
  72. package/lib/src/server/datasets.js +1 -0
  73. package/lib/src/server/debats.js +10 -10
  74. package/lib/src/server/documents.js +22 -22
  75. package/lib/src/server/dosleg.js +33 -33
  76. package/lib/src/server/questions.js +10 -10
  77. package/lib/src/server/scrutins.js +3 -3
  78. package/lib/src/server/sens.js +19 -19
  79. package/lib/src/types/agenda.d.ts +45 -0
  80. package/lib/src/types/ameli.d.ts +5 -0
  81. package/lib/src/types/ameli.js +1 -0
  82. package/lib/src/types/compte_rendu.d.ts +83 -0
  83. package/lib/src/types/compte_rendu.js +1 -0
  84. package/lib/src/types/debats.d.ts +2 -0
  85. package/lib/src/types/debats.js +1 -0
  86. package/lib/src/types/dosleg.d.ts +70 -0
  87. package/lib/src/types/dosleg.js +1 -0
  88. package/lib/src/types/questions.d.ts +2 -0
  89. package/lib/src/types/questions.js +1 -0
  90. package/lib/src/types/sens.d.ts +8 -0
  91. package/lib/src/types/sens.js +1 -0
  92. package/lib/src/types/sessions.d.ts +6 -0
  93. package/lib/src/types/sessions.js +19 -0
  94. package/lib/src/types/texte.d.ts +72 -0
  95. package/lib/src/types/texte.js +15 -0
  96. package/lib/src/validators/config.d.ts +9 -0
  97. package/lib/src/validators/config.js +10 -0
  98. package/lib/src/videos/match.js +4 -4
  99. package/lib/tests/parsers/plf/amendement.test.d.ts +1 -0
  100. package/lib/tests/parsers/plf/amendement.test.js +153 -0
  101. package/lib/tests/parsers/plf/credits.test.js +72 -72
  102. package/lib/tests/parsers/plf/test_utils.js +13 -13
  103. package/lib/tests/parsers/texte.test_utils.js +22 -22
  104. package/package.json +123 -123
  105. package/lib/src/scripts/extract_plf_fixtures.d.ts +0 -1
  106. package/lib/src/scripts/extract_plf_fixtures.js +0 -101
  107. package/lib/tests/plf/credits.test.js +0 -458
  108. package/lib/tests/plf/test_utils.d.ts +0 -20
  109. package/lib/tests/plf/test_utils.js +0 -85
  110. /package/lib/{tests/plf/credits.test.d.ts → src/types/agenda.js} +0 -0
package/LICENSE.md CHANGED
@@ -1,32 +1,32 @@
1
- # Tricoteuses-Senat
2
-
3
- ## _Handle French Sénat's open data_
4
-
5
- By:
6
-
7
- - Henry Boisgibault <mailto:henry.boisgibault@proton.me>
8
- - Pierre Drege <mailto:dregop@proton.me>
9
- - Hélène Jonin <mailto:helene.jonin@gmail.com>
10
- - Paul-Henry Ngounou <mailto:ngpaulhenry@gmail.com>
11
- - Emmanuel Raviart <mailto:emmanuel@raviart.com>
12
-
13
- Copyright:
14
-
15
- - © 2019, 2021, 2022 Emmanuel Raviart
16
- - © 2024 Logora
17
- - © 2025, 2026 Logora & Emmanuel Raviart
18
-
19
- https://git.tricoteuses.fr/logiciels/tricoteuses-senat
20
-
21
- > Tricoteuses-Senat is free software; you can redistribute it and/or modify
22
- > it under the terms of the GNU Affero General Public License as
23
- > published by the Free Software Foundation, either version 3 of the
24
- > License, or (at your option) any later version.
25
- >
26
- > Tricoteuses-Senat is distributed in the hope that it will be useful,
27
- > but WITHOUT ANY WARRANTY; without even the implied warranty of
28
- > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
- > GNU Affero General Public License for more details.
30
- >
31
- > You should have received a copy of the GNU Affero General Public License
32
- > along with this program. If not, see <http://www.gnu.org/licenses/>.
1
+ # Tricoteuses-Senat
2
+
3
+ ## _Handle French Sénat's open data_
4
+
5
+ By:
6
+
7
+ - Henry Boisgibault <mailto:henry.boisgibault@proton.me>
8
+ - Pierre Drege <mailto:dregop@proton.me>
9
+ - Hélène Jonin <mailto:helene.jonin@gmail.com>
10
+ - Paul-Henry Ngounou <mailto:ngpaulhenry@gmail.com>
11
+ - Emmanuel Raviart <mailto:emmanuel@raviart.com>
12
+
13
+ Copyright:
14
+
15
+ - © 2019, 2021, 2022 Emmanuel Raviart
16
+ - © 2024 Logora
17
+ - © 2025, 2026 Logora & Emmanuel Raviart
18
+
19
+ https://git.tricoteuses.fr/logiciels/tricoteuses-senat
20
+
21
+ > Tricoteuses-Senat is free software; you can redistribute it and/or modify
22
+ > it under the terms of the GNU Affero General Public License as
23
+ > published by the Free Software Foundation, either version 3 of the
24
+ > License, or (at your option) any later version.
25
+ >
26
+ > Tricoteuses-Senat is distributed in the hope that it will be useful,
27
+ > but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
+ > GNU Affero General Public License for more details.
30
+ >
31
+ > You should have received a copy of the GNU Affero General Public License
32
+ > along with this program. If not, see <http://www.gnu.org/licenses/>.