@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,207 +1,350 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* AUTO-GENERATED FILE - DO NOT EDIT!
|
|
3
|
+
*
|
|
4
|
+
* This file was automatically generated by pg-to-ts v.4.1.1
|
|
5
|
+
* $ pg-to-ts generate -c postgres://username:password@localhost:5433/debats -t debats -t intdivers -t intpjl -t lecassdeb -t secdis -t secdivers -t syndeb -t typsec -s public
|
|
6
|
+
*
|
|
4
7
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
|
|
8
|
-
export type Timestamp = ColumnType<Date, Date | string, Date | string>;
|
|
8
|
+
export type Json = unknown;
|
|
9
|
+
/** Débats en séance publique */
|
|
9
10
|
export interface Debats {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
autinc: string | null;
|
|
14
|
-
cpterr: Generated<Int8>;
|
|
15
|
-
/**
|
|
16
|
-
* Date de la séance (clé)
|
|
17
|
-
*/
|
|
18
|
-
datsea: Timestamp;
|
|
19
|
-
/**
|
|
20
|
-
* Clé étrangère vers syndeb (état de synchronisation des données)
|
|
21
|
-
*/
|
|
11
|
+
/** Date de la séance (clé) */
|
|
12
|
+
datsea: Date;
|
|
13
|
+
/** Clé étrangère vers syndeb (état de synchronisation des données) */
|
|
22
14
|
debsyn: string | null;
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
/** à O pour signaler la présence d'intervenants non reconnnus */
|
|
16
|
+
autinc: string | null;
|
|
17
|
+
/** URL du compte rendu */
|
|
26
18
|
deburl: string | null;
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
estcongres:
|
|
31
|
-
/**
|
|
32
|
-
* Code de l'état d'envoi à la vidéo C=CRI, A=Archive
|
|
33
|
-
*/
|
|
34
|
-
etavidcod: string | null;
|
|
35
|
-
/**
|
|
36
|
-
* Libellé pour un débat spécial
|
|
37
|
-
*/
|
|
19
|
+
/** numéro de la séance */
|
|
20
|
+
numero: number | null;
|
|
21
|
+
/** à oui pour un CR de congrès */
|
|
22
|
+
estcongres: string | null;
|
|
23
|
+
/** Libellé pour un débat spécial */
|
|
38
24
|
libspec: string | null;
|
|
39
|
-
/**
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
25
|
+
/** Code de l'état d'envoi à la vidéo C=CRI, A=Archive */
|
|
26
|
+
etavidcod: string | null;
|
|
27
|
+
cpterr: number;
|
|
28
|
+
}
|
|
29
|
+
/** Débats en séance publique */
|
|
30
|
+
export interface DebatsInput {
|
|
31
|
+
/** Date de la séance (clé) */
|
|
32
|
+
datsea: Date;
|
|
33
|
+
/** Clé étrangère vers syndeb (état de synchronisation des données) */
|
|
34
|
+
debsyn?: string | null;
|
|
35
|
+
/** à O pour signaler la présence d'intervenants non reconnnus */
|
|
36
|
+
autinc?: string | null;
|
|
37
|
+
/** URL du compte rendu */
|
|
38
|
+
deburl?: string | null;
|
|
39
|
+
/** numéro de la séance */
|
|
40
|
+
numero?: number | null;
|
|
41
|
+
/** à oui pour un CR de congrès */
|
|
42
|
+
estcongres?: string | null;
|
|
43
|
+
/** Libellé pour un débat spécial */
|
|
44
|
+
libspec?: string | null;
|
|
45
|
+
/** Code de l'état d'envoi à la vidéo C=CRI, A=Archive */
|
|
46
|
+
etavidcod?: string | null;
|
|
47
|
+
cpterr?: number;
|
|
43
48
|
}
|
|
49
|
+
/** Interventions non-législatives */
|
|
44
50
|
export interface Intdivers {
|
|
45
|
-
/**
|
|
46
|
-
|
|
47
|
-
|
|
51
|
+
/** Clé */
|
|
52
|
+
intdiverscle: number;
|
|
53
|
+
/** Clé étrangère vers dosleg.auteur (intervenant) */
|
|
48
54
|
autcod: string;
|
|
49
|
-
/**
|
|
50
|
-
|
|
51
|
-
|
|
55
|
+
/** Clé étrangère vers secdivers (section de discussion) */
|
|
56
|
+
secdiverscle: number;
|
|
57
|
+
/** Analyse */
|
|
52
58
|
intana: string | null;
|
|
53
|
-
/**
|
|
54
|
-
* Clé
|
|
55
|
-
*/
|
|
56
|
-
intdiverscle: Int8;
|
|
57
|
-
/**
|
|
58
|
-
* Identifiant de l'intervention (chronologiquement ordonné)
|
|
59
|
-
*/
|
|
60
|
-
intdiversordid: Int8 | null;
|
|
61
|
-
/**
|
|
62
|
-
* Fonction de l'intervenant
|
|
63
|
-
*/
|
|
59
|
+
/** Fonction de l'intervenant */
|
|
64
60
|
intfon: string | null;
|
|
65
|
-
/**
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
/** Identifiant de l'intervention (chronologiquement ordonné) */
|
|
62
|
+
intdiversordid: number | null;
|
|
63
|
+
/** URL de l'intervention */
|
|
68
64
|
inturl: string | null;
|
|
69
|
-
/**
|
|
70
|
-
* Clé étrangère vers secdivers (section de discussion)
|
|
71
|
-
*/
|
|
72
|
-
secdiverscle: Int8;
|
|
73
65
|
}
|
|
66
|
+
/** Interventions non-législatives */
|
|
67
|
+
export interface IntdiversInput {
|
|
68
|
+
/** Clé */
|
|
69
|
+
intdiverscle: number;
|
|
70
|
+
/** Clé étrangère vers dosleg.auteur (intervenant) */
|
|
71
|
+
autcod: string;
|
|
72
|
+
/** Clé étrangère vers secdivers (section de discussion) */
|
|
73
|
+
secdiverscle: number;
|
|
74
|
+
/** Analyse */
|
|
75
|
+
intana?: string | null;
|
|
76
|
+
/** Fonction de l'intervenant */
|
|
77
|
+
intfon?: string | null;
|
|
78
|
+
/** Identifiant de l'intervention (chronologiquement ordonné) */
|
|
79
|
+
intdiversordid?: number | null;
|
|
80
|
+
/** URL de l'intervention */
|
|
81
|
+
inturl?: string | null;
|
|
82
|
+
}
|
|
83
|
+
/** Interventions législatives */
|
|
74
84
|
export interface Intpjl {
|
|
75
|
-
/**
|
|
76
|
-
|
|
77
|
-
|
|
85
|
+
/** Clé */
|
|
86
|
+
intpjlcle: number;
|
|
87
|
+
/** Clé étrangère vers dosleg.auteur (intervenant) */
|
|
78
88
|
autcod: string;
|
|
79
|
-
/**
|
|
80
|
-
|
|
81
|
-
|
|
89
|
+
/** Clé éntrangère vers secdis (section de discussion) */
|
|
90
|
+
secdiscle: number;
|
|
91
|
+
/** Analyse */
|
|
82
92
|
intana: string | null;
|
|
83
|
-
/**
|
|
84
|
-
* Fonction de l'intervenant
|
|
85
|
-
*/
|
|
93
|
+
/** Fonction de l'intervenant */
|
|
86
94
|
intfon: string | null;
|
|
87
|
-
/**
|
|
88
|
-
* Identifiant de l'intervention (chronologiquement ordonné)
|
|
89
|
-
*/
|
|
90
|
-
intordid: Int8 | null;
|
|
91
|
-
/**
|
|
92
|
-
* Clé
|
|
93
|
-
*/
|
|
94
|
-
intpjlcle: Int8;
|
|
95
|
-
/**
|
|
96
|
-
* URL de l'intervention
|
|
97
|
-
*/
|
|
95
|
+
/** URL de l'intervention */
|
|
98
96
|
inturl: string | null;
|
|
99
|
-
/**
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
/** Identifiant de l'intervention (chronologiquement ordonné) */
|
|
98
|
+
intordid: number | null;
|
|
99
|
+
}
|
|
100
|
+
/** Interventions législatives */
|
|
101
|
+
export interface IntpjlInput {
|
|
102
|
+
/** Clé */
|
|
103
|
+
intpjlcle: number;
|
|
104
|
+
/** Clé étrangère vers dosleg.auteur (intervenant) */
|
|
105
|
+
autcod: string;
|
|
106
|
+
/** Clé éntrangère vers secdis (section de discussion) */
|
|
107
|
+
secdiscle: number;
|
|
108
|
+
/** Analyse */
|
|
109
|
+
intana?: string | null;
|
|
110
|
+
/** Fonction de l'intervenant */
|
|
111
|
+
intfon?: string | null;
|
|
112
|
+
/** URL de l'intervention */
|
|
113
|
+
inturl?: string | null;
|
|
114
|
+
/** Identifiant de l'intervention (chronologiquement ordonné) */
|
|
115
|
+
intordid?: number | null;
|
|
103
116
|
}
|
|
117
|
+
/** Liaison entre lectures et débats */
|
|
104
118
|
export interface Lecassdeb {
|
|
105
|
-
/**
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
datsea:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
119
|
+
/** Clé étrangère vers dosleg.lecass (lecture) */
|
|
120
|
+
lecassidt: string;
|
|
121
|
+
/** Clé étrangère vers débats */
|
|
122
|
+
datsea: Date;
|
|
123
|
+
}
|
|
124
|
+
/** Liaison entre lectures et débats */
|
|
125
|
+
export interface LecassdebInput {
|
|
126
|
+
/** Clé étrangère vers dosleg.lecass (lecture) */
|
|
112
127
|
lecassidt: string;
|
|
128
|
+
/** Clé étrangère vers débats */
|
|
129
|
+
datsea: Date;
|
|
113
130
|
}
|
|
131
|
+
/** Sections de discussion législative */
|
|
114
132
|
export interface Secdis {
|
|
115
|
-
/**
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
datsea: Timestamp;
|
|
119
|
-
/**
|
|
120
|
-
* Clé étrangère vers dosleg.lecass (lecture)
|
|
121
|
-
*/
|
|
133
|
+
/** Clé */
|
|
134
|
+
secdiscle: number;
|
|
135
|
+
/** Clé étrangère vers dosleg.lecass (lecture) */
|
|
122
136
|
lecassidt: string;
|
|
123
|
-
/**
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Numérotation de la section
|
|
129
|
-
*/
|
|
137
|
+
/** Clé étrangère vers typsec (type de section) */
|
|
138
|
+
typseccod: string;
|
|
139
|
+
/** Clé étrangère vers débats */
|
|
140
|
+
datsea: Date;
|
|
141
|
+
/** Numérotation de la section */
|
|
130
142
|
secdisnum: string | null;
|
|
131
|
-
/**
|
|
132
|
-
* Objet de la section
|
|
133
|
-
*/
|
|
143
|
+
/** Objet de la section */
|
|
134
144
|
secdisobj: string | null;
|
|
135
|
-
/**
|
|
136
|
-
* Ordre dans la fratrie
|
|
137
|
-
*/
|
|
138
|
-
secdisordid: Int8 | null;
|
|
139
|
-
/**
|
|
140
|
-
* Section mère
|
|
141
|
-
*/
|
|
142
|
-
secdispere: Int8 | null;
|
|
143
|
-
/**
|
|
144
|
-
* URL de la section
|
|
145
|
-
*/
|
|
145
|
+
/** URL de la section */
|
|
146
146
|
secdisurl: string | null;
|
|
147
|
-
/**
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
/** Ordre dans la fratrie */
|
|
148
|
+
secdisordid: number | null;
|
|
149
|
+
/** Section mère */
|
|
150
|
+
secdispere: number | null;
|
|
151
|
+
}
|
|
152
|
+
/** Sections de discussion législative */
|
|
153
|
+
export interface SecdisInput {
|
|
154
|
+
/** Clé */
|
|
155
|
+
secdiscle: number;
|
|
156
|
+
/** Clé étrangère vers dosleg.lecass (lecture) */
|
|
157
|
+
lecassidt: string;
|
|
158
|
+
/** Clé étrangère vers typsec (type de section) */
|
|
150
159
|
typseccod: string;
|
|
160
|
+
/** Clé étrangère vers débats */
|
|
161
|
+
datsea: Date;
|
|
162
|
+
/** Numérotation de la section */
|
|
163
|
+
secdisnum?: string | null;
|
|
164
|
+
/** Objet de la section */
|
|
165
|
+
secdisobj?: string | null;
|
|
166
|
+
/** URL de la section */
|
|
167
|
+
secdisurl?: string | null;
|
|
168
|
+
/** Ordre dans la fratrie */
|
|
169
|
+
secdisordid?: number | null;
|
|
170
|
+
/** Section mère */
|
|
171
|
+
secdispere?: number | null;
|
|
151
172
|
}
|
|
173
|
+
/** Sections de discussion non-législative */
|
|
152
174
|
export interface Secdivers {
|
|
153
|
-
/**
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
secdiverscle: Int8;
|
|
161
|
-
/**
|
|
162
|
-
* Libellé associé à la section
|
|
163
|
-
*/
|
|
175
|
+
/** Clé */
|
|
176
|
+
secdiverscle: number;
|
|
177
|
+
/** Clé étrangère vers typsec (type de section) */
|
|
178
|
+
typseccod: string;
|
|
179
|
+
/** Clé étrangère vers débats */
|
|
180
|
+
datsea: Date;
|
|
181
|
+
/** Libellé associé à la section */
|
|
164
182
|
secdiverslibelle: string | null;
|
|
165
|
-
/**
|
|
166
|
-
* Objet de la section
|
|
167
|
-
*/
|
|
183
|
+
/** Objet de la section */
|
|
168
184
|
secdiversobj: string | null;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
185
|
+
}
|
|
186
|
+
/** Sections de discussion non-législative */
|
|
187
|
+
export interface SecdiversInput {
|
|
188
|
+
/** Clé */
|
|
189
|
+
secdiverscle: number;
|
|
190
|
+
/** Clé étrangère vers typsec (type de section) */
|
|
172
191
|
typseccod: string;
|
|
192
|
+
/** Clé étrangère vers débats */
|
|
193
|
+
datsea: Date;
|
|
194
|
+
/** Libellé associé à la section */
|
|
195
|
+
secdiverslibelle?: string | null;
|
|
196
|
+
/** Objet de la section */
|
|
197
|
+
secdiversobj?: string | null;
|
|
173
198
|
}
|
|
199
|
+
/** État de synchronisation des données */
|
|
174
200
|
export interface Syndeb {
|
|
175
|
-
/**
|
|
176
|
-
* Clé
|
|
177
|
-
*/
|
|
201
|
+
/** Clé */
|
|
178
202
|
debsyn: string;
|
|
179
|
-
/**
|
|
180
|
-
* Libellé
|
|
181
|
-
*/
|
|
203
|
+
/** Libellé */
|
|
182
204
|
syndeblib: string;
|
|
183
205
|
}
|
|
206
|
+
/** État de synchronisation des données */
|
|
207
|
+
export interface SyndebInput {
|
|
208
|
+
/** Clé */
|
|
209
|
+
debsyn: string;
|
|
210
|
+
/** Libellé */
|
|
211
|
+
syndeblib: string;
|
|
212
|
+
}
|
|
213
|
+
/** Types de section */
|
|
184
214
|
export interface Typsec {
|
|
185
|
-
/**
|
|
186
|
-
|
|
187
|
-
|
|
215
|
+
/** Clé */
|
|
216
|
+
typseccod: string;
|
|
217
|
+
/** Libellé */
|
|
218
|
+
typseclib: string;
|
|
219
|
+
/** Catégorie liée au type */
|
|
188
220
|
typseccat: string | null;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
221
|
+
}
|
|
222
|
+
/** Types de section */
|
|
223
|
+
export interface TypsecInput {
|
|
224
|
+
/** Clé */
|
|
192
225
|
typseccod: string;
|
|
193
|
-
/**
|
|
194
|
-
* Libellé
|
|
195
|
-
*/
|
|
226
|
+
/** Libellé */
|
|
196
227
|
typseclib: string;
|
|
228
|
+
/** Catégorie liée au type */
|
|
229
|
+
typseccat?: string | null;
|
|
197
230
|
}
|
|
198
|
-
export interface
|
|
199
|
-
debats:
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
231
|
+
export interface TableTypes {
|
|
232
|
+
debats: {
|
|
233
|
+
select: Debats;
|
|
234
|
+
input: DebatsInput;
|
|
235
|
+
};
|
|
236
|
+
intdivers: {
|
|
237
|
+
select: Intdivers;
|
|
238
|
+
input: IntdiversInput;
|
|
239
|
+
};
|
|
240
|
+
intpjl: {
|
|
241
|
+
select: Intpjl;
|
|
242
|
+
input: IntpjlInput;
|
|
243
|
+
};
|
|
244
|
+
lecassdeb: {
|
|
245
|
+
select: Lecassdeb;
|
|
246
|
+
input: LecassdebInput;
|
|
247
|
+
};
|
|
248
|
+
secdis: {
|
|
249
|
+
select: Secdis;
|
|
250
|
+
input: SecdisInput;
|
|
251
|
+
};
|
|
252
|
+
secdivers: {
|
|
253
|
+
select: Secdivers;
|
|
254
|
+
input: SecdiversInput;
|
|
255
|
+
};
|
|
256
|
+
syndeb: {
|
|
257
|
+
select: Syndeb;
|
|
258
|
+
input: SyndebInput;
|
|
259
|
+
};
|
|
260
|
+
typsec: {
|
|
261
|
+
select: Typsec;
|
|
262
|
+
input: TypsecInput;
|
|
263
|
+
};
|
|
207
264
|
}
|
|
265
|
+
export declare const tables: {
|
|
266
|
+
debats: {
|
|
267
|
+
readonly tableName: "debats";
|
|
268
|
+
readonly columns: readonly ["datsea", "debsyn", "autinc", "deburl", "numero", "estcongres", "libspec", "etavidcod", "cpterr"];
|
|
269
|
+
readonly requiredForInsert: readonly ["datsea"];
|
|
270
|
+
readonly primaryKey: "datsea";
|
|
271
|
+
readonly foreignKeys: {};
|
|
272
|
+
readonly $type: Debats;
|
|
273
|
+
readonly $input: DebatsInput;
|
|
274
|
+
};
|
|
275
|
+
intdivers: {
|
|
276
|
+
readonly tableName: "intdivers";
|
|
277
|
+
readonly columns: readonly ["intdiverscle", "autcod", "secdiverscle", "intana", "intfon", "intdiversordid", "inturl"];
|
|
278
|
+
readonly requiredForInsert: readonly ["intdiverscle", "autcod", "secdiverscle"];
|
|
279
|
+
readonly primaryKey: "intdiverscle";
|
|
280
|
+
readonly foreignKeys: {};
|
|
281
|
+
readonly $type: Intdivers;
|
|
282
|
+
readonly $input: IntdiversInput;
|
|
283
|
+
};
|
|
284
|
+
intpjl: {
|
|
285
|
+
readonly tableName: "intpjl";
|
|
286
|
+
readonly columns: readonly ["intpjlcle", "autcod", "secdiscle", "intana", "intfon", "inturl", "intordid"];
|
|
287
|
+
readonly requiredForInsert: readonly ["intpjlcle", "autcod", "secdiscle"];
|
|
288
|
+
readonly primaryKey: "intpjlcle";
|
|
289
|
+
readonly foreignKeys: {};
|
|
290
|
+
readonly $type: Intpjl;
|
|
291
|
+
readonly $input: IntpjlInput;
|
|
292
|
+
};
|
|
293
|
+
lecassdeb: {
|
|
294
|
+
readonly tableName: "lecassdeb";
|
|
295
|
+
readonly columns: readonly ["lecassidt", "datsea"];
|
|
296
|
+
readonly requiredForInsert: readonly ["lecassidt", "datsea"];
|
|
297
|
+
readonly primaryKey: "lecassidt";
|
|
298
|
+
readonly foreignKeys: {};
|
|
299
|
+
readonly $type: Lecassdeb;
|
|
300
|
+
readonly $input: LecassdebInput;
|
|
301
|
+
};
|
|
302
|
+
secdis: {
|
|
303
|
+
readonly tableName: "secdis";
|
|
304
|
+
readonly columns: readonly ["secdiscle", "lecassidt", "typseccod", "datsea", "secdisnum", "secdisobj", "secdisurl", "secdisordid", "secdispere"];
|
|
305
|
+
readonly requiredForInsert: readonly ["secdiscle", "lecassidt", "typseccod", "datsea"];
|
|
306
|
+
readonly primaryKey: "secdiscle";
|
|
307
|
+
readonly foreignKeys: {
|
|
308
|
+
readonly typseccod: {
|
|
309
|
+
readonly table: "typsec";
|
|
310
|
+
readonly column: "typseccod";
|
|
311
|
+
readonly $type: Typsec;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
readonly $type: Secdis;
|
|
315
|
+
readonly $input: SecdisInput;
|
|
316
|
+
};
|
|
317
|
+
secdivers: {
|
|
318
|
+
readonly tableName: "secdivers";
|
|
319
|
+
readonly columns: readonly ["secdiverscle", "typseccod", "datsea", "secdiverslibelle", "secdiversobj"];
|
|
320
|
+
readonly requiredForInsert: readonly ["secdiverscle", "typseccod", "datsea"];
|
|
321
|
+
readonly primaryKey: "secdiverscle";
|
|
322
|
+
readonly foreignKeys: {
|
|
323
|
+
readonly typseccod: {
|
|
324
|
+
readonly table: "typsec";
|
|
325
|
+
readonly column: "typseccod";
|
|
326
|
+
readonly $type: Typsec;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
readonly $type: Secdivers;
|
|
330
|
+
readonly $input: SecdiversInput;
|
|
331
|
+
};
|
|
332
|
+
syndeb: {
|
|
333
|
+
readonly tableName: "syndeb";
|
|
334
|
+
readonly columns: readonly ["debsyn", "syndeblib"];
|
|
335
|
+
readonly requiredForInsert: readonly ["debsyn", "syndeblib"];
|
|
336
|
+
readonly primaryKey: "debsyn";
|
|
337
|
+
readonly foreignKeys: {};
|
|
338
|
+
readonly $type: Syndeb;
|
|
339
|
+
readonly $input: SyndebInput;
|
|
340
|
+
};
|
|
341
|
+
typsec: {
|
|
342
|
+
readonly tableName: "typsec";
|
|
343
|
+
readonly columns: readonly ["typseccod", "typseclib", "typseccat"];
|
|
344
|
+
readonly requiredForInsert: readonly ["typseccod", "typseclib"];
|
|
345
|
+
readonly primaryKey: "typseccod";
|
|
346
|
+
readonly foreignKeys: {};
|
|
347
|
+
readonly $type: Typsec;
|
|
348
|
+
readonly $input: TypsecInput;
|
|
349
|
+
};
|
|
350
|
+
};
|
package/lib/raw_types/debats.js
CHANGED
|
@@ -1,5 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
const debats = {
|
|
4
|
+
tableName: 'debats',
|
|
5
|
+
columns: ['datsea', 'debsyn', 'autinc', 'deburl', 'numero', 'estcongres', 'libspec', 'etavidcod', 'cpterr'],
|
|
6
|
+
requiredForInsert: ['datsea'],
|
|
7
|
+
primaryKey: 'datsea',
|
|
8
|
+
foreignKeys: {},
|
|
9
|
+
$type: null,
|
|
10
|
+
$input: null
|
|
11
|
+
};
|
|
12
|
+
const intdivers = {
|
|
13
|
+
tableName: 'intdivers',
|
|
14
|
+
columns: ['intdiverscle', 'autcod', 'secdiverscle', 'intana', 'intfon', 'intdiversordid', 'inturl'],
|
|
15
|
+
requiredForInsert: ['intdiverscle', 'autcod', 'secdiverscle'],
|
|
16
|
+
primaryKey: 'intdiverscle',
|
|
17
|
+
foreignKeys: {},
|
|
18
|
+
$type: null,
|
|
19
|
+
$input: null
|
|
20
|
+
};
|
|
21
|
+
const intpjl = {
|
|
22
|
+
tableName: 'intpjl',
|
|
23
|
+
columns: ['intpjlcle', 'autcod', 'secdiscle', 'intana', 'intfon', 'inturl', 'intordid'],
|
|
24
|
+
requiredForInsert: ['intpjlcle', 'autcod', 'secdiscle'],
|
|
25
|
+
primaryKey: 'intpjlcle',
|
|
26
|
+
foreignKeys: {},
|
|
27
|
+
$type: null,
|
|
28
|
+
$input: null
|
|
29
|
+
};
|
|
30
|
+
const lecassdeb = {
|
|
31
|
+
tableName: 'lecassdeb',
|
|
32
|
+
columns: ['lecassidt', 'datsea'],
|
|
33
|
+
requiredForInsert: ['lecassidt', 'datsea'],
|
|
34
|
+
primaryKey: 'lecassidt',
|
|
35
|
+
foreignKeys: {},
|
|
36
|
+
$type: null,
|
|
37
|
+
$input: null
|
|
38
|
+
};
|
|
39
|
+
const secdis = {
|
|
40
|
+
tableName: 'secdis',
|
|
41
|
+
columns: ['secdiscle', 'lecassidt', 'typseccod', 'datsea', 'secdisnum', 'secdisobj', 'secdisurl', 'secdisordid', 'secdispere'],
|
|
42
|
+
requiredForInsert: ['secdiscle', 'lecassidt', 'typseccod', 'datsea'],
|
|
43
|
+
primaryKey: 'secdiscle',
|
|
44
|
+
foreignKeys: { typseccod: { table: 'typsec', column: 'typseccod', $type: null }, },
|
|
45
|
+
$type: null,
|
|
46
|
+
$input: null
|
|
47
|
+
};
|
|
48
|
+
const secdivers = {
|
|
49
|
+
tableName: 'secdivers',
|
|
50
|
+
columns: ['secdiverscle', 'typseccod', 'datsea', 'secdiverslibelle', 'secdiversobj'],
|
|
51
|
+
requiredForInsert: ['secdiverscle', 'typseccod', 'datsea'],
|
|
52
|
+
primaryKey: 'secdiverscle',
|
|
53
|
+
foreignKeys: { typseccod: { table: 'typsec', column: 'typseccod', $type: null }, },
|
|
54
|
+
$type: null,
|
|
55
|
+
$input: null
|
|
56
|
+
};
|
|
57
|
+
const syndeb = {
|
|
58
|
+
tableName: 'syndeb',
|
|
59
|
+
columns: ['debsyn', 'syndeblib'],
|
|
60
|
+
requiredForInsert: ['debsyn', 'syndeblib'],
|
|
61
|
+
primaryKey: 'debsyn',
|
|
62
|
+
foreignKeys: {},
|
|
63
|
+
$type: null,
|
|
64
|
+
$input: null
|
|
65
|
+
};
|
|
66
|
+
const typsec = {
|
|
67
|
+
tableName: 'typsec',
|
|
68
|
+
columns: ['typseccod', 'typseclib', 'typseccat'],
|
|
69
|
+
requiredForInsert: ['typseccod', 'typseclib'],
|
|
70
|
+
primaryKey: 'typseccod',
|
|
71
|
+
foreignKeys: {},
|
|
72
|
+
$type: null,
|
|
73
|
+
$input: null
|
|
74
|
+
};
|
|
75
|
+
export const tables = {
|
|
76
|
+
debats,
|
|
77
|
+
intdivers,
|
|
78
|
+
intpjl,
|
|
79
|
+
lecassdeb,
|
|
80
|
+
secdis,
|
|
81
|
+
secdivers,
|
|
82
|
+
syndeb,
|
|
83
|
+
typsec,
|
|
84
|
+
};
|