@tricoteuses/assemblee 3.0.8 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { A as k, n as Q, B as J, C as z, D as H, T as W, s as Y, k as K, m as Z, u as ee, o as ie, d as te, a as oe, b as ne, q as re, v as se, w as ae, e as ce, f as ue, c as fe, g as pe, h as de, i as le, j as me, l as ye, p as ge, x as Re, t as Se, y as ve, z as Ae, r as he } from "./amendements-CusGbzsz.js";
2
- import { W as Te, C as xe, S as _e, b as Pe, Y as Ce, e as Ee, _ as Ue, D as Be, E as De, F as be, q as Ie, L as Le, h as Ne, a0 as Me, a2 as je, a4 as $e, M as Ve, a6 as Xe, N as we, O as qe, aj as Fe, u as Ge, a8 as ke, P as Qe, w as Je, y as ze, Q as He, R as We, j as Ye, B as Ke, aa as Ze, T as ei, I as ii, U as ti, ak as oi, V as ni, c as ri, K as si, a as ai, X as ci, d as ui, Z as fi, ab as pi, ao as di, f as li, ac as mi, al as yi, am as gi, ad as Ri, ah as Si, k as vi, g as Ai, n as hi, l as Oi, $ as Ti, a1 as xi, a3 as _i, m as Pi, a5 as Ci, s as Ei, o as Ui, ai as Bi, t as Di, a7 as bi, p as Ii, v as Li, x as Ni, z as Mi, ae as ji, r as $i, i as Vi, af as Xi, A as wi, ag as qi, an as Fi, a9 as Gi, G as ki, H as Qi, J as Ji } from "./loaders-BnP5p7N2.js";
2
+ import { W as Te, C as xe, S as _e, b as Pe, Y as Ce, e as Ee, _ as Ue, D as Be, E as De, F as be, q as Ie, L as Le, h as Ne, a0 as Me, a2 as je, a4 as $e, M as Ve, a6 as Xe, N as we, O as qe, aj as Fe, u as Ge, a8 as ke, P as Qe, w as Je, y as ze, Q as He, R as We, j as Ye, B as Ke, aa as Ze, T as ei, I as ii, U as ti, ak as oi, V as ni, c as ri, K as si, a as ai, X as ci, d as ui, Z as fi, ab as pi, ao as di, f as li, ac as mi, al as yi, am as gi, ad as Ri, ah as Si, k as vi, g as Ai, n as hi, l as Oi, $ as Ti, a1 as xi, a3 as _i, m as Pi, a5 as Ci, s as Ei, o as Ui, ai as Bi, t as Di, a7 as bi, p as Ii, v as Li, x as Ni, z as Mi, ae as ji, r as $i, i as Vi, af as Xi, A as wi, ag as qi, an as Fi, a9 as Gi, G as ki, H as Qi, J as Ji } from "./loaders-xu4AcOqG.js";
3
3
  import { D as Hi, Q as Wi, T as Yi, d as Ki, q as Zi, t as et } from "./questions-BwsFy7G_.js";
4
4
  var R = /* @__PURE__ */ ((e) => (e.Amendements = "amendements", e))(R || {});
5
5
  const I = Object.values(R);
@@ -2614,7 +2614,9 @@ const se = {
2614
2614
  }),
2615
2615
  denomination: ke.meta({ description: "Dénomination." })
2616
2616
  }), Ga = e.object({
2617
- minAttrib: e.array(za).meta({ description: "Attributions ministérielles." })
2617
+ minAttrib: d(za).meta({
2618
+ description: "Attributions ministérielles."
2619
+ })
2618
2620
  }), An = e.object({
2619
2621
  infoJO: ue.meta({
2620
2622
  description: "Informations Journal Officiel."
@@ -3177,7 +3179,7 @@ const ae = {
3177
3179
  diffusion: e.string(),
3178
3180
  version: e.string(),
3179
3181
  environnement: e.string(),
3180
- heureGeneration: e.iso.datetime({ offset: !0 }),
3182
+ heureGeneration: e.iso.datetime({ offset: !0 }).optional(),
3181
3183
  sommaire: Ur
3182
3184
  }).meta({ description: "Données de la séance du débat." }), yn = e.object({
3183
3185
  schemaVersion: e.string().optional(),
package/lib/loaders.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "fs-extra";
2
2
  import "node:assert";
3
3
  import "node:path";
4
- import { aJ as i, ao as d, ap as l, ar as n, ax as A, as as p, at as b, aq as u, aw as D, au as F, av as L, ay as h, az as c, aA as U, aB as P, aC as R, aI as C, aD as S, aE as g, aH as w, aF as x, aG as B, aK as E } from "./loaders-BnP5p7N2.js";
4
+ import { aJ as i, ao as d, ap as l, ar as n, ax as A, as as p, at as b, aq as u, aw as D, au as F, av as L, ay as h, az as c, aA as U, aB as P, aC as R, aI as C, aD as S, aE as g, aH as w, aF as x, aG as B, aK as E } from "./loaders-xu4AcOqG.js";
5
5
  import "./git.js";
6
6
  import "./amendements-CusGbzsz.js";
7
7
  export {
@@ -158,7 +158,7 @@ export declare const MetadonneesCleanSchema: z.ZodObject<{
158
158
  diffusion: z.ZodString;
159
159
  version: z.ZodString;
160
160
  environnement: z.ZodString;
161
- heureGeneration: z.ZodISODateTime;
161
+ heureGeneration: z.ZodOptional<z.ZodISODateTime>;
162
162
  sommaire: z.ZodObject<{
163
163
  presidentSeance: z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>;
164
164
  sommaire1: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
@@ -191,7 +191,7 @@ export declare const CompteRenduCleanSchema: z.ZodObject<{
191
191
  diffusion: z.ZodString;
192
192
  version: z.ZodString;
193
193
  environnement: z.ZodString;
194
- heureGeneration: z.ZodISODateTime;
194
+ heureGeneration: z.ZodOptional<z.ZodISODateTime>;
195
195
  sommaire: z.ZodObject<{
196
196
  presidentSeance: z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>;
197
197
  sommaire1: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
@@ -239,7 +239,7 @@ export declare const ComptesRendusCleanSchema: z.ZodObject<{
239
239
  diffusion: z.ZodString;
240
240
  version: z.ZodString;
241
241
  environnement: z.ZodString;
242
- heureGeneration: z.ZodISODateTime;
242
+ heureGeneration: z.ZodOptional<z.ZodISODateTime>;
243
243
  sommaire: z.ZodObject<{
244
244
  presidentSeance: z.ZodType<TexteClean, unknown, z.core.$ZodTypeInternals<TexteClean, unknown>>;
245
245
  sommaire1: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodType<SommaireElementClean, unknown, z.core.$ZodTypeInternals<SommaireElementClean, unknown>>>>;
@@ -120,7 +120,7 @@ export type MinAttribElementClean = z.infer<typeof MinAttribElementCleanSchema>;
120
120
  * Note: Array unwrapped from wrapper object by cleaner
121
121
  */
122
122
  export declare const MinAttribsCleanSchema: z.ZodObject<{
123
- minAttrib: z.ZodArray<z.ZodObject<{
123
+ minAttrib: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodObject<{
124
124
  infoJO: z.ZodObject<{
125
125
  typeJO: z.ZodOptional<z.ZodEnum<{
126
126
  JO_LOI_DECRET: "JO_LOI_DECRET";
@@ -138,7 +138,7 @@ export declare const MinAttribsCleanSchema: z.ZodObject<{
138
138
  abrege: z.ZodString;
139
139
  developpe: z.ZodString;
140
140
  }, z.core.$strip>;
141
- }, z.core.$strip>>;
141
+ }, z.core.$strip>>>;
142
142
  }, z.core.$strip>;
143
143
  export type MinAttribsClean = z.infer<typeof MinAttribsCleanSchema>;
144
144
  /**
@@ -332,7 +332,7 @@ export declare const QuestionCleanSchema: z.ZodObject<{
332
332
  developpe: z.ZodString;
333
333
  }, z.core.$strip>;
334
334
  minAttribs: z.ZodObject<{
335
- minAttrib: z.ZodArray<z.ZodObject<{
335
+ minAttrib: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodObject<{
336
336
  infoJO: z.ZodObject<{
337
337
  typeJO: z.ZodOptional<z.ZodEnum<{
338
338
  JO_LOI_DECRET: "JO_LOI_DECRET";
@@ -350,7 +350,7 @@ export declare const QuestionCleanSchema: z.ZodObject<{
350
350
  abrege: z.ZodString;
351
351
  developpe: z.ZodString;
352
352
  }, z.core.$strip>;
353
- }, z.core.$strip>>;
353
+ }, z.core.$strip>>>;
354
354
  }, z.core.$strip>;
355
355
  textesQuestion: z.ZodOptional<z.ZodObject<{
356
356
  texteQuestion: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodObject<{
@@ -483,7 +483,7 @@ export declare const QuestionsCleanSchema: z.ZodObject<{
483
483
  developpe: z.ZodString;
484
484
  }, z.core.$strip>;
485
485
  minAttribs: z.ZodObject<{
486
- minAttrib: z.ZodArray<z.ZodObject<{
486
+ minAttrib: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodObject<{
487
487
  infoJO: z.ZodObject<{
488
488
  typeJO: z.ZodOptional<z.ZodEnum<{
489
489
  JO_LOI_DECRET: "JO_LOI_DECRET";
@@ -501,7 +501,7 @@ export declare const QuestionsCleanSchema: z.ZodObject<{
501
501
  abrege: z.ZodString;
502
502
  developpe: z.ZodString;
503
503
  }, z.core.$strip>;
504
- }, z.core.$strip>>;
504
+ }, z.core.$strip>>>;
505
505
  }, z.core.$strip>;
506
506
  textesQuestion: z.ZodOptional<z.ZodObject<{
507
507
  texteQuestion: z.ZodPipe<z.ZodTransform<unknown[], unknown>, z.ZodArray<z.ZodObject<{
@@ -166,7 +166,7 @@ export declare const MetadonneesEnrichedSchema: z.ZodObject<{
166
166
  diffusion: z.ZodString;
167
167
  version: z.ZodString;
168
168
  environnement: z.ZodString;
169
- heureGeneration: z.ZodISODateTime;
169
+ heureGeneration: z.ZodOptional<z.ZodISODateTime>;
170
170
  sommaire: z.ZodObject<{
171
171
  presidentSeance: z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>;
172
172
  sommaire1: z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>;
@@ -201,7 +201,7 @@ export declare const CompteRenduEnrichedSchema: z.ZodObject<{
201
201
  diffusion: z.ZodString;
202
202
  version: z.ZodString;
203
203
  environnement: z.ZodString;
204
- heureGeneration: z.ZodISODateTime;
204
+ heureGeneration: z.ZodOptional<z.ZodISODateTime>;
205
205
  sommaire: z.ZodObject<{
206
206
  presidentSeance: z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>;
207
207
  sommaire1: z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>;
@@ -249,7 +249,7 @@ export declare const ComptesRendusEnrichedSchema: z.ZodObject<{
249
249
  diffusion: z.ZodString;
250
250
  version: z.ZodString;
251
251
  environnement: z.ZodString;
252
- heureGeneration: z.ZodISODateTime;
252
+ heureGeneration: z.ZodOptional<z.ZodISODateTime>;
253
253
  sommaire: z.ZodObject<{
254
254
  presidentSeance: z.ZodType<TexteEnriched, unknown, z.core.$ZodTypeInternals<TexteEnriched, unknown>>;
255
255
  sommaire1: z.ZodArray<z.ZodType<SommaireElementEnriched, unknown, z.core.$ZodTypeInternals<SommaireElementEnriched, unknown>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tricoteuses/assemblee",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "description": "Retrieve, clean up & handle French Assemblée nationale's open data",
5
5
  "keywords": [
6
6
  "Assemblée nationale",