@tricoteuses/senat 0.3.1 → 1.0.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.
Files changed (88) hide show
  1. package/README.md +52 -0
  2. package/lib/config.d.ts +2 -0
  3. package/lib/config.js +49 -0
  4. package/lib/config.mjs +16 -0
  5. package/lib/config.ts +26 -0
  6. package/lib/databases.d.ts +11 -0
  7. package/lib/databases.js +125 -0
  8. package/lib/databases.mjs +26 -0
  9. package/lib/databases.ts +32 -0
  10. package/lib/datasets.d.ts +27 -0
  11. package/lib/datasets.js +85 -0
  12. package/lib/datasets.mjs +68 -0
  13. package/lib/datasets.ts +107 -0
  14. package/lib/fields.d.ts +10 -0
  15. package/lib/fields.js +68 -0
  16. package/lib/fields.mjs +22 -0
  17. package/lib/fields.ts +29 -0
  18. package/lib/index.d.ts +6 -5
  19. package/lib/index.js +317 -86
  20. package/lib/index.mjs +6 -1
  21. package/lib/index.ts +59 -0
  22. package/lib/inserters.d.ts +1 -1
  23. package/lib/inserters.js +76 -182
  24. package/lib/inserters.ts +520 -0
  25. package/lib/raw_types/ameli.d.ts +416 -410
  26. package/lib/raw_types/ameli.js +28 -144
  27. package/lib/raw_types/ameli.ts +601 -0
  28. package/lib/raw_types/debats.d.ts +82 -80
  29. package/lib/raw_types/debats.js +10 -42
  30. package/lib/raw_types/debats.ts +145 -0
  31. package/lib/raw_types/dosleg.d.ts +936 -920
  32. package/lib/raw_types/dosleg.js +6 -344
  33. package/lib/raw_types/dosleg.ts +2193 -0
  34. package/lib/raw_types/questions.d.ts +2 -2
  35. package/lib/raw_types/questions.js +3 -3
  36. package/lib/raw_types/questions.mjs +2 -2
  37. package/lib/raw_types/questions.ts +9 -0
  38. package/lib/raw_types/sens.d.ts +1180 -1176
  39. package/lib/raw_types/sens.js +5 -397
  40. package/lib/raw_types/sens.ts +2907 -0
  41. package/lib/scripts/images/transparent_150x192.jpg +0 -0
  42. package/lib/scripts/images/transparent_155x225.jpg +0 -0
  43. package/lib/scripts/retrieve_open_data.d.ts +1 -0
  44. package/lib/scripts/retrieve_open_data.js +366 -0
  45. package/lib/scripts/retrieve_open_data.mjs +215 -0
  46. package/lib/scripts/retrieve_open_data.ts +254 -0
  47. package/lib/scripts/retrieve_senateurs_photos.d.ts +1 -0
  48. package/lib/scripts/retrieve_senateurs_photos.js +268 -0
  49. package/lib/scripts/retrieve_senateurs_photos.mjs +164 -0
  50. package/lib/scripts/retrieve_senateurs_photos.ts +200 -0
  51. package/lib/scripts/retrieve_textes.d.ts +1 -0
  52. package/lib/scripts/retrieve_textes.js +177 -0
  53. package/lib/scripts/retrieve_textes.mjs +75 -0
  54. package/lib/scripts/retrieve_textes.ts +93 -0
  55. package/lib/strings.d.ts +1 -0
  56. package/lib/strings.js +49 -0
  57. package/lib/strings.mjs +18 -0
  58. package/lib/strings.ts +26 -0
  59. package/lib/types/ameli.d.ts +5 -0
  60. package/lib/types/ameli.js +9 -2
  61. package/lib/types/ameli.mjs +13 -1
  62. package/lib/types/ameli.ts +21 -0
  63. package/lib/types/debats.d.ts +2 -0
  64. package/lib/types/debats.js +5 -2
  65. package/lib/types/debats.mjs +2 -1
  66. package/lib/types/debats.ts +6 -0
  67. package/lib/types/dosleg.d.ts +28 -0
  68. package/lib/types/dosleg.js +31 -2
  69. package/lib/types/dosleg.mjs +151 -1
  70. package/lib/types/dosleg.ts +284 -0
  71. package/lib/types/questions.js +1 -1
  72. package/lib/types/questions.ts +0 -0
  73. package/lib/types/sens.d.ts +2 -0
  74. package/lib/types/sens.js +5 -2
  75. package/lib/types/sens.mjs +23 -1
  76. package/lib/types/sens.ts +36 -0
  77. package/lib/typings/windows-1252.d.js +2 -0
  78. package/lib/typings/windows-1252.d.mjs +2 -0
  79. package/lib/typings/windows-1252.d.ts +11 -0
  80. package/lib/validators/config.d.ts +1 -0
  81. package/lib/validators/config.js +121 -0
  82. package/lib/validators/config.mjs +54 -0
  83. package/lib/validators/config.ts +79 -0
  84. package/lib/validators/senat.d.ts +0 -0
  85. package/lib/validators/senat.js +28 -0
  86. package/lib/validators/senat.mjs +24 -0
  87. package/lib/validators/senat.ts +26 -0
  88. package/package.json +36 -5
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * AUTO-GENERATED FILE - DO NOT EDIT!
3
3
  *
4
- * This file was automatically generated by schemats v.3.0.3
5
- * $ schemats generate -c postgresql://username:password@localhost:5432/questions -s public
4
+ * This file was automatically generated by schemats v.0.3.2
5
+ * $ schemats generate -c postgres://username:password@localhost:5432/questions -s public
6
6
  *
7
7
  */
@@ -3,9 +3,9 @@
3
3
  /**
4
4
  * AUTO-GENERATED FILE - DO NOT EDIT!
5
5
  *
6
- * This file was automatically generated by schemats v.3.0.3
7
- * $ schemats generate -c postgresql://username:password@localhost:5432/questions -s public
6
+ * This file was automatically generated by schemats v.0.3.2
7
+ * $ schemats generate -c postgres://username:password@localhost:5432/questions -s public
8
8
  *
9
9
  */
10
10
  "use strict";
11
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yYXdfdHlwZXMvcXVlc3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlc0NvbnRlbnQiOlsiLyogdHNsaW50OmRpc2FibGUgKi9cblxuXG4vKipcbiAqIEFVVE8tR0VORVJBVEVEIEZJTEUgLSBETyBOT1QgRURJVCFcbiAqXG4gKiBUaGlzIGZpbGUgd2FzIGF1dG9tYXRpY2FsbHkgZ2VuZXJhdGVkIGJ5IHNjaGVtYXRzIHYuMy4wLjNcbiAqICQgc2NoZW1hdHMgZ2VuZXJhdGUgLWMgcG9zdGdyZXNxbDovL3VzZXJuYW1lOnBhc3N3b3JkQGxvY2FsaG9zdDo1NDMyL3F1ZXN0aW9ucyAtcyBwdWJsaWNcbiAqXG4gKi9cblxuIl19
11
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vc3JjL3Jhd190eXBlcy9xdWVzdGlvbnMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyogdHNsaW50OmRpc2FibGUgKi9cblxuLyoqXG4gKiBBVVRPLUdFTkVSQVRFRCBGSUxFIC0gRE8gTk9UIEVESVQhXG4gKlxuICogVGhpcyBmaWxlIHdhcyBhdXRvbWF0aWNhbGx5IGdlbmVyYXRlZCBieSBzY2hlbWF0cyB2LjAuMy4yXG4gKiAkIHNjaGVtYXRzIGdlbmVyYXRlIC1jIHBvc3RncmVzOi8vdXNlcm5hbWU6cGFzc3dvcmRAbG9jYWxob3N0OjU0MzIvcXVlc3Rpb25zIC1zIHB1YmxpY1xuICpcbiAqL1xuIl0sIm1hcHBpbmdzIjoiQUFBQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQU5BIiwiaWdub3JlTGlzdCI6W119
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * AUTO-GENERATED FILE - DO NOT EDIT!
5
5
  *
6
- * This file was automatically generated by schemats v.3.0.3
7
- * $ schemats generate -c postgresql://username:password@localhost:5432/questions -s public
6
+ * This file was automatically generated by schemats v.0.3.2
7
+ * $ schemats generate -c postgres://username:password@localhost:5432/questions -s public
8
8
  *
9
9
  */
@@ -0,0 +1,9 @@
1
+ /* tslint:disable */
2
+
3
+ /**
4
+ * AUTO-GENERATED FILE - DO NOT EDIT!
5
+ *
6
+ * This file was automatically generated by schemats v.0.3.2
7
+ * $ schemats generate -c postgres://username:password@localhost:5432/questions -s public
8
+ *
9
+ */