@tricoteuses/assemblee 2.1.2 → 2.2.0

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.
@@ -228,7 +228,7 @@ export interface Division {
228
228
  export interface Imprimerie {
229
229
  DIAN?: null | string;
230
230
  ISBN?: null | string;
231
- ISSN?: null;
231
+ ISSN?: null | string;
232
232
  nbPage?: null | string;
233
233
  prix: null | string;
234
234
  }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "CompteRenduCommission",
4
+ "description": "Compte-rendu d'une réunion en commission d'examen d'un texte de loi",
5
+ "type": "object",
6
+ "properties": {
7
+ "reunionRef": {
8
+ "description": "Référence vers la réunion",
9
+ "type": "string"
10
+ },
11
+ "interventions": {
12
+ "type": "array",
13
+ "items": {
14
+ "type": "object",
15
+ "description": "Prise de parole d'un orateur",
16
+ "properties": {
17
+ "acteurRef": {
18
+ "description": "Référence à l'acteur",
19
+ "type": "string"
20
+ },
21
+ "nomActeur": {
22
+ "description": "Nom de l'orateur",
23
+ "type": "string"
24
+ },
25
+ "groupe": {
26
+ "description": "Groupe parlementaire de l'orateur",
27
+ "type": "string"
28
+ },
29
+ "amendementRef": {
30
+ "description": "Amendement relatif à la prise de parole",
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "nomActeur"
36
+ ]
37
+ }
38
+ },
39
+ "scrutins": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "object",
43
+ "description": "Prise de parole d'un orateur",
44
+ "properties": {
45
+ "amendementRef": {
46
+ "description": "Référence à l'amendement",
47
+ "type": "string"
48
+ },
49
+ "resultat": {
50
+ "description": "Résultat du scrutin",
51
+ "type": "string"
52
+ }
53
+ },
54
+ "required": [
55
+ "amendementRef"
56
+ ]
57
+ }
58
+ }
59
+ },
60
+ "required": [
61
+ "interventions"
62
+ ]
63
+ }
@@ -37,6 +37,12 @@
37
37
  },
38
38
  "contenu": {
39
39
  "$ref": "#/definitions/Contenu"
40
+ },
41
+ "videoUrl": {
42
+ "type": "string"
43
+ },
44
+ "videoTimecode": {
45
+ "type": "number"
40
46
  }
41
47
  },
42
48
  "required": [
@@ -3502,7 +3502,11 @@
3502
3502
  },
3503
3503
  "isbn": {
3504
3504
  "type": "string",
3505
- "description": "Le numéro ISBN du document imprimé (habituellement null)."
3505
+ "description": "Le numéro ISBN (International Standard Book Number) du document imprimé (habituellement null)."
3506
+ },
3507
+ "issn": {
3508
+ "type": "string",
3509
+ "description": "Le numéro ISSN (International Standard Serial Number) du document imprimé (habituellement null)."
3506
3510
  },
3507
3511
  "nbPage": {
3508
3512
  "type": "string",
@@ -1,2 +1,11 @@
1
1
  import { Document } from '../types/dossiers_legislatifs';
2
+ import { Reunion } from '../types/agendas';
2
3
  export declare function downloadAndParse(document: Document, documentsDir: string, options: any): Promise<void>;
4
+ export declare function toRomanLegislature(num: number): string;
5
+ export declare function downloadAndParseReunionCompteRenduCommissions(reunion: Reunion, _notUsedParam: unknown, options: {
6
+ dataDir?: string;
7
+ parseDocuments?: boolean;
8
+ legislature: number;
9
+ fetchDocuments?: boolean;
10
+ fullCompteRenduCommissions?: boolean;
11
+ }): Promise<void>;
@@ -51,6 +51,7 @@ export declare const documentFormatOption: {
51
51
  alias: string;
52
52
  help: string;
53
53
  name: string;
54
+ multiple: boolean;
54
55
  type: StringConstructor;
55
56
  };
56
57
  export declare const notFoundOption: {
@@ -16,6 +16,8 @@ export interface CompteRendu {
16
16
  sessionRef: string;
17
17
  metadonnees: Metadonnees;
18
18
  contenu: Contenu;
19
+ videoUrl?: string;
20
+ videoTimecode?: number;
19
21
  }
20
22
  /**
21
23
  * Contenu de la séance du débat.
@@ -764,9 +764,13 @@ export interface Imprimerie {
764
764
  */
765
765
  dian?: string;
766
766
  /**
767
- * Le numéro ISBN du document imprimé (habituellement null).
767
+ * Le numéro ISBN (International Standard Book Number) du document imprimé (habituellement null).
768
768
  */
769
769
  isbn?: string;
770
+ /**
771
+ * Le numéro ISSN (International Standard Serial Number) du document imprimé (habituellement null).
772
+ */
773
+ issn?: string;
770
774
  /**
771
775
  * Nombre de pages du document imprimé.
772
776
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tricoteuses/assemblee",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "description": "Retrieve, clean up & handle French Assemblée nationale's open data",
5
5
  "keywords": [
6
6
  "Assemblée nationale",
@@ -14,13 +14,13 @@
14
14
  "Loïc Dachary <loic@dachary.org>"
15
15
  ],
16
16
  "bugs": {
17
- "url": "https://git.en-root.org/tricoteuses/tricoteuses-assemblee/issues"
17
+ "url": "https://git.tricoteuses.fr/logiciels/tricoteuses-assemblee/issues"
18
18
  },
19
19
  "homepage": "https://tricoteuses.fr/",
20
20
  "license": "AGPL-3.0-or-later",
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "https://git.en-root.org/tricoteuses/tricoteuses-assemblee.git"
23
+ "url": "https://git.tricoteuses.fr/logiciels/tricoteuses-assemblee.git"
24
24
  },
25
25
  "type": "module",
26
26
  "engines": {
@@ -56,7 +56,7 @@
56
56
  "access": "public"
57
57
  },
58
58
  "scripts": {
59
- "build": "vite build && npm run build:doc:api && npm run build:json-schemas",
59
+ "build": "vite build && npm run build:doc:api && npm run build:json-schemas && npm run prettier",
60
60
  "build:doc:api": "typedoc --plugin typedoc-plugin-markdown --out ./doc/api --readme none",
61
61
  "build:json-schemas": "tsx src/scripts/generate-json-schemas.ts && tsx src/scripts/copy-schemas.ts",
62
62
  "clean": "rimraf lib",
@@ -113,7 +113,7 @@
113
113
  "typedoc-plugin-markdown": "^4.6.4",
114
114
  "typescript": "^5.8.3",
115
115
  "typescript-eslint": "^8.32.1",
116
- "vite": "^6.3.5",
116
+ "vite": "^7.0.4",
117
117
  "vite-plugin-dts": "^4.5.4"
118
118
  }
119
119
  }