@tricoteuses/senat 2.10.4 → 2.11.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.
- 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/index.d.ts +1 -1
- package/lib/model/ameli.d.ts +31 -143
- package/lib/model/ameli.js +102 -95
- 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/sens.d.ts +28 -1002
- package/lib/model/sens.js +65 -33
- package/lib/raw_types/ameli.d.ts +778 -1521
- package/lib/raw_types/ameli.js +5 -345
- package/lib/raw_types/db.d.ts +11389 -0
- package/lib/raw_types/db.js +5 -0
- 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_open_data.js +35 -1
- package/package.json +10 -10
|
@@ -1,350 +1,207 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
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
|
-
*
|
|
2
|
+
* This file was generated by kysely-codegen.
|
|
3
|
+
* Please do not edit it manually.
|
|
7
4
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import type { ColumnType } from "kysely";
|
|
6
|
+
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
7
|
+
export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
|
|
8
|
+
export type Timestamp = ColumnType<Date, Date | string, Date | string>;
|
|
10
9
|
export interface Debats {
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
debsyn: string | null;
|
|
15
|
-
/** à O pour signaler la présence d'intervenants non reconnnus */
|
|
10
|
+
/**
|
|
11
|
+
* à O pour signaler la présence d'intervenants non reconnnus
|
|
12
|
+
*/
|
|
16
13
|
autinc: string | null;
|
|
17
|
-
|
|
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
|
+
*/
|
|
22
|
+
debsyn: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* URL du compte rendu
|
|
25
|
+
*/
|
|
18
26
|
deburl: string | null;
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
estcongres: string | null
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
/**
|
|
28
|
+
* à oui pour un CR de congrès
|
|
29
|
+
*/
|
|
30
|
+
estcongres: Generated<string | null>;
|
|
31
|
+
/**
|
|
32
|
+
* Code de l'état d'envoi à la vidéo C=CRI, A=Archive
|
|
33
|
+
*/
|
|
26
34
|
etavidcod: string | null;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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;
|
|
35
|
+
/**
|
|
36
|
+
* Libellé pour un débat spécial
|
|
37
|
+
*/
|
|
38
|
+
libspec: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* numéro de la séance
|
|
41
|
+
*/
|
|
42
|
+
numero: Int8 | null;
|
|
48
43
|
}
|
|
49
|
-
/** Interventions non-législatives */
|
|
50
44
|
export interface Intdivers {
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Clé étrangère vers dosleg.auteur (intervenant)
|
|
47
|
+
*/
|
|
54
48
|
autcod: string;
|
|
55
|
-
/**
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
/**
|
|
50
|
+
* Analyse
|
|
51
|
+
*/
|
|
58
52
|
intana: string | null;
|
|
59
|
-
/**
|
|
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
|
+
*/
|
|
60
64
|
intfon: string | null;
|
|
61
|
-
/**
|
|
62
|
-
|
|
63
|
-
|
|
65
|
+
/**
|
|
66
|
+
* URL de l'intervention
|
|
67
|
+
*/
|
|
64
68
|
inturl: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* Clé étrangère vers secdivers (section de discussion)
|
|
71
|
+
*/
|
|
72
|
+
secdiverscle: Int8;
|
|
65
73
|
}
|
|
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 */
|
|
84
74
|
export interface Intpjl {
|
|
85
|
-
/**
|
|
86
|
-
|
|
87
|
-
|
|
75
|
+
/**
|
|
76
|
+
* Clé étrangère vers dosleg.auteur (intervenant)
|
|
77
|
+
*/
|
|
88
78
|
autcod: string;
|
|
89
|
-
/**
|
|
90
|
-
|
|
91
|
-
|
|
79
|
+
/**
|
|
80
|
+
* Analyse
|
|
81
|
+
*/
|
|
92
82
|
intana: string | null;
|
|
93
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Fonction de l'intervenant
|
|
85
|
+
*/
|
|
94
86
|
intfon: string | null;
|
|
95
|
-
/**
|
|
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
|
+
*/
|
|
96
98
|
inturl: string | null;
|
|
97
|
-
/**
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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;
|
|
99
|
+
/**
|
|
100
|
+
* Clé éntrangère vers secdis (section de discussion)
|
|
101
|
+
*/
|
|
102
|
+
secdiscle: Int8;
|
|
116
103
|
}
|
|
117
|
-
/** Liaison entre lectures et débats */
|
|
118
104
|
export interface Lecassdeb {
|
|
119
|
-
/**
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
datsea:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
/** Clé étrangère vers dosleg.lecass (lecture) */
|
|
105
|
+
/**
|
|
106
|
+
* Clé étrangère vers débats
|
|
107
|
+
*/
|
|
108
|
+
datsea: Timestamp;
|
|
109
|
+
/**
|
|
110
|
+
* Clé étrangère vers dosleg.lecass (lecture)
|
|
111
|
+
*/
|
|
127
112
|
lecassidt: string;
|
|
128
|
-
/** Clé étrangère vers débats */
|
|
129
|
-
datsea: Date;
|
|
130
113
|
}
|
|
131
|
-
/** Sections de discussion législative */
|
|
132
114
|
export interface Secdis {
|
|
133
|
-
/**
|
|
134
|
-
|
|
135
|
-
|
|
115
|
+
/**
|
|
116
|
+
* Clé étrangère vers débats
|
|
117
|
+
*/
|
|
118
|
+
datsea: Timestamp;
|
|
119
|
+
/**
|
|
120
|
+
* Clé étrangère vers dosleg.lecass (lecture)
|
|
121
|
+
*/
|
|
136
122
|
lecassidt: string;
|
|
137
|
-
/**
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Clé
|
|
125
|
+
*/
|
|
126
|
+
secdiscle: Int8;
|
|
127
|
+
/**
|
|
128
|
+
* Numérotation de la section
|
|
129
|
+
*/
|
|
142
130
|
secdisnum: string | null;
|
|
143
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* Objet de la section
|
|
133
|
+
*/
|
|
144
134
|
secdisobj: string | null;
|
|
145
|
-
/**
|
|
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
|
+
*/
|
|
146
146
|
secdisurl: string | null;
|
|
147
|
-
/**
|
|
148
|
-
|
|
149
|
-
|
|
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) */
|
|
147
|
+
/**
|
|
148
|
+
* Clé étrangère vers typsec (type de section)
|
|
149
|
+
*/
|
|
159
150
|
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;
|
|
172
151
|
}
|
|
173
|
-
/** Sections de discussion non-législative */
|
|
174
152
|
export interface Secdivers {
|
|
175
|
-
/**
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
|
|
181
|
-
|
|
153
|
+
/**
|
|
154
|
+
* Clé étrangère vers débats
|
|
155
|
+
*/
|
|
156
|
+
datsea: Timestamp;
|
|
157
|
+
/**
|
|
158
|
+
* Clé
|
|
159
|
+
*/
|
|
160
|
+
secdiverscle: Int8;
|
|
161
|
+
/**
|
|
162
|
+
* Libellé associé à la section
|
|
163
|
+
*/
|
|
182
164
|
secdiverslibelle: string | null;
|
|
183
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Objet de la section
|
|
167
|
+
*/
|
|
184
168
|
secdiversobj: string | null;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
/** Clé */
|
|
189
|
-
secdiverscle: number;
|
|
190
|
-
/** Clé étrangère vers typsec (type de section) */
|
|
169
|
+
/**
|
|
170
|
+
* Clé étrangère vers typsec (type de section)
|
|
171
|
+
*/
|
|
191
172
|
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;
|
|
198
173
|
}
|
|
199
|
-
/** État de synchronisation des données */
|
|
200
174
|
export interface Syndeb {
|
|
201
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Clé
|
|
177
|
+
*/
|
|
202
178
|
debsyn: string;
|
|
203
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* Libellé
|
|
181
|
+
*/
|
|
204
182
|
syndeblib: string;
|
|
205
183
|
}
|
|
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 */
|
|
214
184
|
export interface Typsec {
|
|
215
|
-
/**
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
typseclib: string;
|
|
219
|
-
/** Catégorie liée au type */
|
|
185
|
+
/**
|
|
186
|
+
* Catégorie liée au type
|
|
187
|
+
*/
|
|
220
188
|
typseccat: string | null;
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
/** Clé */
|
|
189
|
+
/**
|
|
190
|
+
* Clé
|
|
191
|
+
*/
|
|
225
192
|
typseccod: string;
|
|
226
|
-
/**
|
|
193
|
+
/**
|
|
194
|
+
* Libellé
|
|
195
|
+
*/
|
|
227
196
|
typseclib: string;
|
|
228
|
-
/** Catégorie liée au type */
|
|
229
|
-
typseccat?: string | null;
|
|
230
197
|
}
|
|
231
|
-
export interface
|
|
232
|
-
debats:
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
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
|
-
};
|
|
198
|
+
export interface DB {
|
|
199
|
+
debats: Debats;
|
|
200
|
+
intdivers: Intdivers;
|
|
201
|
+
intpjl: Intpjl;
|
|
202
|
+
lecassdeb: Lecassdeb;
|
|
203
|
+
secdis: Secdis;
|
|
204
|
+
secdivers: Secdivers;
|
|
205
|
+
syndeb: Syndeb;
|
|
206
|
+
typsec: Typsec;
|
|
264
207
|
}
|
|
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,84 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by kysely-codegen.
|
|
3
|
+
* Please do not edit it manually.
|
|
4
|
+
*/
|
|
5
|
+
export {};
|