@tricoteuses/senat 3.1.17 → 3.1.19
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/src/config.d.ts +0 -22
- package/lib/src/config.js +7 -17
- package/lib/src/conversion_textes.js +1 -5
- package/lib/src/databases.d.ts +2 -0
- package/lib/src/databases.js +26 -0
- package/lib/src/datasets.d.ts +0 -4
- package/lib/src/datasets.js +2 -16
- package/lib/src/git.d.ts +0 -1
- package/lib/src/git.js +11 -45
- package/lib/src/loaders.d.ts +12 -12
- package/lib/src/loaders.js +8 -14
- package/lib/src/model/agenda.d.ts +1 -1
- package/lib/src/model/agenda.js +3 -3
- package/lib/src/model/ameli.d.ts +52 -64
- package/lib/src/model/ameli.js +145 -147
- package/lib/src/model/commission.d.ts +4 -5
- package/lib/src/model/commission.js +6 -6
- package/lib/src/model/debats.d.ts +66 -38
- package/lib/src/model/debats.js +93 -110
- package/lib/src/model/documents.d.ts +12 -32
- package/lib/src/model/documents.js +130 -171
- package/lib/src/model/dosleg.d.ts +5 -142
- package/lib/src/model/dosleg.js +156 -298
- package/lib/src/model/index.d.ts +7 -7
- package/lib/src/model/index.js +7 -7
- package/lib/src/model/questions.d.ts +45 -54
- package/lib/src/model/questions.js +87 -89
- package/lib/src/model/scrutins.d.ts +13 -48
- package/lib/src/model/scrutins.js +111 -118
- package/lib/src/model/seance.d.ts +1 -1
- package/lib/src/model/seance.js +7 -7
- package/lib/src/model/sens.d.ts +179 -109
- package/lib/src/model/sens.js +484 -384
- package/lib/src/model/util.d.ts +8 -0
- package/lib/src/model/util.js +23 -0
- package/lib/src/raw_types/ameli.d.ts +800 -1648
- package/lib/src/raw_types/ameli.js +5 -1074
- package/lib/src/raw_types/debats.d.ts +180 -353
- package/lib/src/raw_types/debats.js +5 -266
- package/lib/src/raw_types/dosleg.d.ts +1523 -2858
- package/lib/src/raw_types/dosleg.js +5 -2005
- package/lib/src/raw_types/questions.d.ts +395 -671
- package/lib/src/raw_types/questions.js +5 -493
- package/lib/src/raw_types/senat.d.ts +11372 -0
- package/lib/src/raw_types/senat.js +5 -0
- package/lib/src/raw_types/sens.d.ts +8148 -7743
- package/lib/src/raw_types/sens.js +5 -4691
- package/lib/src/raw_types_schemats/ameli.d.ts +2 -4
- package/lib/src/raw_types_schemats/debats.d.ts +2 -2
- package/lib/src/raw_types_schemats/dosleg.d.ts +2 -2
- package/lib/src/raw_types_schemats/questions.d.ts +2 -2
- package/lib/src/raw_types_schemats/sens.d.ts +4235 -29
- package/lib/src/rich_types/dosleg.js +1 -1
- package/lib/src/scripts/test_iter_load.d.ts +1 -0
- package/lib/src/scripts/test_iter_load.js +12 -0
- package/lib/src/server/dosleg.js +20 -0
- package/lib/src/types/ameli.d.ts +4 -4
- package/lib/src/types/dosleg.d.ts +39 -39
- package/lib/src/types/questions.d.ts +2 -2
- package/lib/src/types/sens.d.ts +2 -0
- package/lib/src/types/texte.d.ts +2 -2
- package/lib/src/utils/reunion_odj_building.js +27 -11
- package/package.json +1 -1
- package/lib/src/databases_postgres.d.ts +0 -4
- package/lib/src/databases_postgres.js +0 -23
- package/lib/src/scripts/debug_dosleg_query.d.ts +0 -6
- package/lib/src/scripts/debug_dosleg_query.js +0 -50
package/lib/src/model/sens.d.ts
CHANGED
|
@@ -1,112 +1,182 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
1
|
+
import { InferResult } from "kysely";
|
|
2
|
+
export type SenateurResult = InferResult<typeof findAllQuery>[0];
|
|
3
|
+
export type CirconscriptionResult = InferResult<typeof findAllCirconscriptionsQuery>[0];
|
|
4
|
+
export type OrganismeResult = InferResult<typeof findAllOrganismesQuery>[0];
|
|
5
|
+
declare const findAllQuery: import("kysely").SelectQueryBuilder<{
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
[x: number]: any;
|
|
8
|
+
[x: symbol]: any;
|
|
9
|
+
}, "sen" | "etasen" | "pcs" | "pcs42" | "pcs24" | "pcs8" | "grppol" | "com", {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
date_naissance: string;
|
|
12
|
+
date_deces: string;
|
|
13
|
+
urls: {
|
|
14
|
+
code_url: any;
|
|
15
|
+
url: any;
|
|
16
|
+
}[];
|
|
17
|
+
mandats_senateur: {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
date_debut: string;
|
|
20
|
+
date_fin: string;
|
|
21
|
+
}[];
|
|
22
|
+
commissions: {
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
date_debut: string;
|
|
25
|
+
date_fin: string;
|
|
26
|
+
fonctions: {
|
|
27
|
+
date_debut: string;
|
|
28
|
+
date_fin: string;
|
|
29
|
+
libelle: unknown;
|
|
30
|
+
}[];
|
|
31
|
+
}[];
|
|
32
|
+
delegations: {
|
|
33
|
+
[x: string]: any;
|
|
34
|
+
date_debut: string;
|
|
35
|
+
date_fin: string;
|
|
36
|
+
fonctions: {
|
|
37
|
+
date_debut: string;
|
|
38
|
+
date_fin: string;
|
|
39
|
+
libelle: unknown;
|
|
40
|
+
}[];
|
|
41
|
+
}[];
|
|
42
|
+
groupes: {
|
|
43
|
+
[x: string]: any;
|
|
44
|
+
date_debut: string;
|
|
45
|
+
date_fin: string;
|
|
46
|
+
fonctions: {
|
|
47
|
+
date_debut: string;
|
|
48
|
+
date_fin: string;
|
|
49
|
+
libelle: unknown;
|
|
50
|
+
}[];
|
|
51
|
+
}[];
|
|
52
|
+
fonctions_bureau: {
|
|
53
|
+
date_debut: string;
|
|
54
|
+
date_fin: string;
|
|
55
|
+
libelle: unknown;
|
|
56
|
+
}[];
|
|
57
|
+
points_contact: {
|
|
58
|
+
[x: string]: any;
|
|
59
|
+
adresses: {
|
|
60
|
+
numero_voie: any;
|
|
61
|
+
nom_voie: any;
|
|
62
|
+
complement: any;
|
|
63
|
+
complement2: any;
|
|
64
|
+
code_postal: any;
|
|
65
|
+
commune: any;
|
|
66
|
+
code_cedex: any;
|
|
67
|
+
libelle_cedex: any;
|
|
68
|
+
bureau_distributeur: any;
|
|
69
|
+
}[];
|
|
70
|
+
telephones: {
|
|
71
|
+
type: any;
|
|
72
|
+
numero: any;
|
|
73
|
+
}[];
|
|
74
|
+
}[];
|
|
75
|
+
}>;
|
|
76
|
+
declare const findAllCirconscriptionsQuery: import("kysely").SelectQueryBuilder<{
|
|
77
|
+
[x: string]: any;
|
|
78
|
+
[x: number]: any;
|
|
79
|
+
[x: symbol]: any;
|
|
80
|
+
}, "dpt" | "reg", {
|
|
81
|
+
[x: string]: any;
|
|
82
|
+
date_debut: string;
|
|
83
|
+
date_fin: string;
|
|
84
|
+
}>;
|
|
85
|
+
declare const findAllOrganismesQuery: import("kysely").SelectQueryBuilder<{
|
|
86
|
+
[x: string]: any;
|
|
87
|
+
[x: number]: any;
|
|
88
|
+
[x: symbol]: any;
|
|
89
|
+
}, "typorg" | "all_organismes", {
|
|
90
|
+
[x: string]: any;
|
|
48
91
|
url: string;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
92
|
+
date_debut: string;
|
|
93
|
+
date_fin: string;
|
|
94
|
+
libelle_long: string;
|
|
95
|
+
type_libelle: string;
|
|
96
|
+
}>;
|
|
97
|
+
export declare function findAll(): AsyncIterableIterator<{
|
|
98
|
+
[x: string]: any;
|
|
99
|
+
date_naissance: string;
|
|
100
|
+
date_deces: string;
|
|
101
|
+
urls: {
|
|
102
|
+
code_url: any;
|
|
103
|
+
url: any;
|
|
104
|
+
}[];
|
|
105
|
+
mandats_senateur: {
|
|
106
|
+
[x: string]: any;
|
|
107
|
+
date_debut: string;
|
|
108
|
+
date_fin: string;
|
|
109
|
+
}[];
|
|
110
|
+
commissions: {
|
|
111
|
+
[x: string]: any;
|
|
112
|
+
date_debut: string;
|
|
113
|
+
date_fin: string;
|
|
114
|
+
fonctions: {
|
|
115
|
+
date_debut: string;
|
|
116
|
+
date_fin: string;
|
|
117
|
+
libelle: unknown;
|
|
118
|
+
}[];
|
|
119
|
+
}[];
|
|
120
|
+
delegations: {
|
|
121
|
+
[x: string]: any;
|
|
122
|
+
date_debut: string;
|
|
123
|
+
date_fin: string;
|
|
124
|
+
fonctions: {
|
|
125
|
+
date_debut: string;
|
|
126
|
+
date_fin: string;
|
|
127
|
+
libelle: unknown;
|
|
128
|
+
}[];
|
|
129
|
+
}[];
|
|
130
|
+
groupes: {
|
|
131
|
+
[x: string]: any;
|
|
132
|
+
date_debut: string;
|
|
133
|
+
date_fin: string;
|
|
134
|
+
fonctions: {
|
|
135
|
+
date_debut: string;
|
|
136
|
+
date_fin: string;
|
|
137
|
+
libelle: unknown;
|
|
138
|
+
}[];
|
|
139
|
+
}[];
|
|
140
|
+
fonctions_bureau: {
|
|
141
|
+
date_debut: string;
|
|
142
|
+
date_fin: string;
|
|
143
|
+
libelle: unknown;
|
|
144
|
+
}[];
|
|
145
|
+
points_contact: {
|
|
146
|
+
[x: string]: any;
|
|
147
|
+
adresses: {
|
|
148
|
+
numero_voie: any;
|
|
149
|
+
nom_voie: any;
|
|
150
|
+
complement: any;
|
|
151
|
+
complement2: any;
|
|
152
|
+
code_postal: any;
|
|
153
|
+
commune: any;
|
|
154
|
+
code_cedex: any;
|
|
155
|
+
libelle_cedex: any;
|
|
156
|
+
bureau_distributeur: any;
|
|
157
|
+
}[];
|
|
158
|
+
telephones: {
|
|
159
|
+
type: any;
|
|
160
|
+
numero: any;
|
|
161
|
+
}[];
|
|
162
|
+
}[];
|
|
163
|
+
}>;
|
|
164
|
+
export declare function findAllCirconscriptions(): AsyncIterableIterator<{
|
|
165
|
+
[x: string]: any;
|
|
166
|
+
date_debut: string;
|
|
167
|
+
date_fin: string;
|
|
168
|
+
}>;
|
|
169
|
+
export declare function findAllOrganismes(): AsyncIterableIterator<{
|
|
170
|
+
[x: string]: any;
|
|
171
|
+
url: string;
|
|
172
|
+
date_debut: string;
|
|
173
|
+
date_fin: string;
|
|
174
|
+
libelle_long: string;
|
|
175
|
+
type_libelle: string;
|
|
176
|
+
}>;
|
|
177
|
+
export declare function findActif(): AsyncIterableIterator<{
|
|
109
178
|
senmat: string;
|
|
110
|
-
sennomuse: string
|
|
179
|
+
sennomuse: string;
|
|
111
180
|
senprenomuse: string;
|
|
112
|
-
}
|
|
181
|
+
}>;
|
|
182
|
+
export {};
|