@tricoteuses/senat 2.9.6 → 2.9.7

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.
@@ -1,9 +1,9 @@
1
1
  export interface CompteRendu {
2
- uid?: string;
3
- seanceRef?: string;
4
- sessionRef?: string;
5
- metadonnees?: Metadonnees;
6
- contenu?: Contenu;
2
+ uid: string;
3
+ seanceRef: string;
4
+ sessionRef: string;
5
+ metadonnees: Metadonnees;
6
+ contenu: Contenu;
7
7
  }
8
8
  export interface Metadonnees {
9
9
  dateSeance: string;
@@ -23,11 +23,18 @@ export interface Metadonnees {
23
23
  sommaire: Sommaire;
24
24
  }
25
25
  export interface Contenu {
26
- quantiemes: {
27
- journee: string;
28
- session: string;
29
- };
30
- point: Point[];
26
+ quantiemes: Quantiemes;
27
+ ouvertureSeance?: Point[] | Point;
28
+ point: Point[] | Point;
29
+ finSeance?: FinSeance;
30
+ paragraphe?: Point[];
31
+ }
32
+ export interface FinSeance {
33
+ point: Point;
34
+ }
35
+ export interface Quantiemes {
36
+ journee: string;
37
+ session: string;
31
38
  }
32
39
  export interface Point {
33
40
  ordre_absolu_seance: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tricoteuses/senat",
3
- "version": "2.9.6",
3
+ "version": "2.9.7",
4
4
  "description": "Handle French Sénat's open data",
5
5
  "keywords": [
6
6
  "France",