@tricoteuses/senat 2.9.8 → 2.9.10
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 +27 -10
- package/lib/databases.js +21 -22
- package/lib/datasets.d.ts +0 -1
- package/lib/datasets.js +1 -6
- package/lib/loaders.d.ts +4 -4
- package/lib/loaders.js +4 -4
- package/lib/model/ameli.d.ts +44 -22
- package/lib/model/ameli.js +11 -0
- package/lib/model/debats.d.ts +18 -9
- package/lib/model/dosleg.d.ts +48 -178
- package/lib/model/dosleg.js +4 -4
- package/lib/model/questions.d.ts +6 -6
- package/lib/model/sens.d.ts +44 -44
- package/lib/raw_types/ameli.d.ts +1521 -778
- package/lib/raw_types/ameli.js +345 -5
- package/lib/raw_types/debats.d.ts +306 -163
- package/lib/raw_types/debats.js +84 -5
- package/lib/raw_types/dosleg.d.ts +2297 -1353
- package/lib/raw_types/dosleg.js +550 -5
- package/lib/raw_types/kysely-table-types.d.ts +5 -0
- package/lib/raw_types/kysely-table-types.js +1 -0
- package/lib/raw_types/questions.d.ts +519 -374
- package/lib/raw_types/questions.js +84 -5
- package/lib/raw_types/sens.d.ts +12562 -6720
- package/lib/raw_types/sens.js +2944 -5
- package/lib/raw_types_schemats/ameli.d.ts +1 -1
- package/lib/raw_types_schemats/debats.d.ts +1 -1
- package/lib/raw_types_schemats/dosleg.d.ts +1 -1
- package/lib/raw_types_schemats/questions.d.ts +1 -1
- package/lib/raw_types_schemats/sens.d.ts +1 -1
- package/lib/scripts/convert_data.js +3 -3
- package/lib/scripts/retrieve_open_data.js +77 -26
- package/package.json +3 -2
|
@@ -1,5 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
const etatquestion = {
|
|
4
|
+
tableName: 'etatquestion',
|
|
5
|
+
columns: ['etaquecod', 'etaquelib', 'etaquenumtri'],
|
|
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
|
+
};
|