@tricoteuses/senat 2.10.5 → 2.11.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.
- package/lib/databases.d.ts +1 -28
- package/lib/databases.js +0 -6
- package/lib/datasets.d.ts +6 -0
- package/lib/datasets.js +233 -0
- package/lib/loaders.d.ts +5 -0
- package/lib/loaders.js +14 -9
- package/lib/model/ameli.d.ts +31 -143
- package/lib/model/ameli.js +102 -95
- package/lib/model/commission.d.ts +5 -0
- package/lib/model/commission.js +263 -0
- package/lib/model/debats.d.ts +13 -51
- package/lib/model/documents.d.ts +2 -0
- package/lib/model/documents.js +37 -0
- package/lib/model/dosleg.d.ts +9 -104
- package/lib/model/dosleg.js +76 -108
- package/lib/model/index.d.ts +4 -2
- package/lib/model/index.js +4 -2
- package/lib/model/questions.d.ts +10 -458
- package/lib/model/scrutins.d.ts +3 -0
- package/lib/model/scrutins.js +74 -0
- package/lib/model/{compte_rendu.js → seance.js} +47 -28
- package/lib/model/sens.d.ts +28 -1002
- package/lib/model/sens.js +65 -33
- package/lib/model/util.d.ts +1 -0
- package/lib/model/util.js +19 -1
- package/lib/raw_types/ameli.d.ts +778 -1521
- package/lib/raw_types/ameli.js +5 -345
- package/lib/raw_types/debats.d.ts +163 -306
- package/lib/raw_types/debats.js +5 -84
- package/lib/raw_types/dosleg.d.ts +1349 -2293
- package/lib/raw_types/dosleg.js +5 -550
- package/lib/raw_types/questions.d.ts +374 -519
- package/lib/raw_types/questions.js +5 -84
- package/lib/raw_types/senat.d.ts +11389 -0
- package/lib/raw_types/senat.js +5 -0
- package/lib/raw_types/sens.d.ts +6729 -12571
- package/lib/raw_types/sens.js +5 -2944
- package/lib/raw_types_schemats/ameli.d.ts +2 -2
- package/lib/raw_types_schemats/debats.d.ts +2 -2
- package/lib/raw_types_schemats/dosleg.d.ts +2 -2
- package/lib/raw_types_schemats/questions.d.ts +2 -2
- package/lib/raw_types_schemats/sens.d.ts +2 -2
- package/lib/scripts/convert_data.js +37 -31
- package/lib/scripts/retrieve_cr_commission.d.ts +1 -0
- package/lib/scripts/retrieve_cr_commission.js +291 -0
- package/lib/scripts/{retrieve_comptes_rendus.js → retrieve_cr_seance.js} +1 -1
- package/lib/scripts/retrieve_open_data.js +35 -1
- package/lib/utils/cr_spliting.d.ts +22 -1
- package/lib/utils/cr_spliting.js +273 -12
- package/lib/utils/reunion_grouping.d.ts +3 -0
- package/lib/utils/reunion_grouping.js +1 -1
- package/package.json +12 -11
- /package/lib/model/{compte_rendu.d.ts → seance.d.ts} +0 -0
- /package/lib/scripts/{retrieve_comptes_rendus.d.ts → retrieve_cr_seance.d.ts} +0 -0
|
@@ -1,84 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
requiredForInsert: ['etaquecod'],
|
|
7
|
-
primaryKey: 'etaquecod',
|
|
8
|
-
foreignKeys: {},
|
|
9
|
-
$type: null,
|
|
10
|
-
$input: null
|
|
11
|
-
};
|
|
12
|
-
const legquestion = {
|
|
13
|
-
tableName: 'legquestion',
|
|
14
|
-
columns: ['legislature', 'republique', 'leglib', 'legdatdeb', 'legdatfin'],
|
|
15
|
-
requiredForInsert: ['legislature'],
|
|
16
|
-
primaryKey: 'legislature',
|
|
17
|
-
foreignKeys: {},
|
|
18
|
-
$type: null,
|
|
19
|
-
$input: null
|
|
20
|
-
};
|
|
21
|
-
const naturequestion = {
|
|
22
|
-
tableName: 'naturequestion',
|
|
23
|
-
columns: ['natquecod', 'natquelib', 'natquenumtri', 'natquelibcousin'],
|
|
24
|
-
requiredForInsert: ['natquecod'],
|
|
25
|
-
primaryKey: 'natquecod',
|
|
26
|
-
foreignKeys: {},
|
|
27
|
-
$type: null,
|
|
28
|
-
$input: null
|
|
29
|
-
};
|
|
30
|
-
const sortquestion = {
|
|
31
|
-
tableName: 'sortquestion',
|
|
32
|
-
columns: ['sorquecod', 'sorquelib', 'sorquenumtri'],
|
|
33
|
-
requiredForInsert: ['sorquecod'],
|
|
34
|
-
primaryKey: 'sorquecod',
|
|
35
|
-
foreignKeys: {},
|
|
36
|
-
$type: null,
|
|
37
|
-
$input: null
|
|
38
|
-
};
|
|
39
|
-
const tam_ministeres = {
|
|
40
|
-
tableName: 'tam_ministeres',
|
|
41
|
-
columns: ['minid', 'minidremp', 'datedebut', 'datefin', 'ordreprotocolaire', 'libelle', 'libellelong', 'titreministre', 'intitulejo', 'nomministre'],
|
|
42
|
-
requiredForInsert: ['minid'],
|
|
43
|
-
primaryKey: 'minid',
|
|
44
|
-
foreignKeys: {},
|
|
45
|
-
$type: null,
|
|
46
|
-
$input: null
|
|
47
|
-
};
|
|
48
|
-
const tam_questions = {
|
|
49
|
-
tableName: 'tam_questions',
|
|
50
|
-
columns: ['id', 'sorquecod', 'matricule', 'natquecod', 'legislature', 'etaquecod', 'uuid', 'numero', 'reference', 'titre', 'version', 'datecloture', 'delaijours', 'nom', 'prenom', 'nomtechnique', 'codequalite', 'cirnum', 'circonscription', 'groupe', 'rubrique', 'datejodepot', 'mindepotid', 'mindepotlib', 'datejotran', 'mintranid', 'mintranlib', 'minreplib1', 'minrepid1', 'delaijoursrep1', 'datejorep1', 'datesynctam', 'natqueord', 'repub', 'uuidtransori', 'dattransori', 'uuidtrans', 'dattrans', 'uuidquerappelee', 'refquerappelee', 'daterappel', 'txtque', 'themes', 'renvoi1', 'renvoi2', 'renvoi3', 'datesignal', 'pagejodepot', 'pageerr', 'dateerr', 'ratgrp', 'thecrible', 'txterrque', 'tranisreattr', 'compub', 'dateseance', 'rang'],
|
|
51
|
-
requiredForInsert: ['id', 'matricule'],
|
|
52
|
-
primaryKey: 'id',
|
|
53
|
-
foreignKeys: { mindepotid: { table: 'tam_ministeres', column: 'minid', $type: null }, },
|
|
54
|
-
$type: null,
|
|
55
|
-
$input: null
|
|
56
|
-
};
|
|
57
|
-
const tam_reponses = {
|
|
58
|
-
tableName: 'tam_reponses',
|
|
59
|
-
columns: ['idque', 'datejorep', 'txtrep', 'delaijoursrep', 'minrepid', 'minreplib', 'pagejorep', 'urlrep', 'errpage', 'errdate', 'idrepunique', 'txterrrep'],
|
|
60
|
-
requiredForInsert: ['idque'],
|
|
61
|
-
primaryKey: null,
|
|
62
|
-
foreignKeys: { idque: { table: 'tam_questions', column: 'id', $type: null }, },
|
|
63
|
-
$type: null,
|
|
64
|
-
$input: null
|
|
65
|
-
};
|
|
66
|
-
const the = {
|
|
67
|
-
tableName: 'the',
|
|
68
|
-
columns: ['thecle', 'thelib', 'theali', 'thenouidt'],
|
|
69
|
-
requiredForInsert: ['thecle', 'thelib'],
|
|
70
|
-
primaryKey: 'thecle',
|
|
71
|
-
foreignKeys: {},
|
|
72
|
-
$type: null,
|
|
73
|
-
$input: null
|
|
74
|
-
};
|
|
75
|
-
export const tables = {
|
|
76
|
-
etatquestion,
|
|
77
|
-
legquestion,
|
|
78
|
-
naturequestion,
|
|
79
|
-
sortquestion,
|
|
80
|
-
tam_ministeres,
|
|
81
|
-
tam_questions,
|
|
82
|
-
tam_reponses,
|
|
83
|
-
the,
|
|
84
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by kysely-codegen.
|
|
3
|
+
* Please do not edit it manually.
|
|
4
|
+
*/
|
|
5
|
+
export {};
|