dmencu 3.0.5 → 3.0.7
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/dist/client/unlogged/abrir-formulario.js +1 -1
- package/dist/client/unlogged/css/bootstrap.min.css +6 -6
- package/dist/client/unlogged/render-config.js +1 -1
- package/dist/client/unlogged/render-formulario.js +9 -5
- package/dist/client/unlogged/render-formulario.tsx +46 -43
- package/dist/client/unlogged/render-init.js +1 -1
- package/dist/client/unlogged/tsconfig.json +14 -14
- package/dist/server/server/app-dmencu.d.ts +516 -863
- package/dist/server/server/table-area_enc_proximas.js +1 -1
- package/dist/server/server/table-barrios.js +1 -1
- package/dist/server/server/table-encuestadores.js +7 -7
- package/dist/server/server/table-fracciones.js +1 -1
- package/dist/server/server/table-hogares.js +1 -1
- package/dist/server/server/table-hogares_sup.js +1 -1
- package/dist/server/server/table-manzanas.js +1 -1
- package/dist/server/server/table-parametros.js +1 -1
- package/dist/server/server/table-personal.js +7 -7
- package/dist/server/server/table-personal_rol.js +7 -7
- package/dist/server/server/table-personas.js +1 -1
- package/dist/server/server/table-personas_sup.js +1 -1
- package/dist/server/server/table-radios.js +1 -1
- package/dist/server/server/table-recepcionistas.js +1 -1
- package/dist/server/server/table-visitas.js +1 -1
- package/dist/server/server/table-visitas_sup.js +1 -1
- package/dist/server/server/table-viviendas.js +1 -1
- package/dist/server/server/types-dmencu.js +1 -1
- package/dist/unlogged/unlogged/abrir-formulario.js +1 -1
- package/dist/unlogged/unlogged/css/bootstrap.min.css +6 -6
- package/dist/unlogged/unlogged/render-config.js +1 -1
- package/dist/unlogged/unlogged/render-formulario.js +9 -5
- package/dist/unlogged/unlogged/render-formulario.tsx +46 -43
- package/dist/unlogged/unlogged/render-init.js +1 -1
- package/dist/unlogged/unlogged/tsconfig.json +14 -14
- package/install/actualizar-2023-05-14.sql +38 -38
- package/install/actualizar_inconvar.sql +28 -28
- package/install/agregados_tem.sql +4 -4
- package/install/asignar_desasignar_tareas_tem_trg.sql +43 -43
- package/install/metadatos/permisos.tab +11 -11
- package/install/metadatos/roles.tab +10 -10
- package/install/metadatos/roles_permisos.tab +94 -94
- package/install/metadatos/tipovar.tab +9 -9
- package/install/sincro_tareas_areas_tareas_tem_trg.sql +29 -29
- package/install/usuarios_trg.sql +41 -41
- package/install/validar_tareas_tem_trg.sql +67 -67
- package/package.json +91 -91
|
@@ -89,7 +89,6 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
89
89
|
menu: procesamiento.MenuInfoBase[];
|
|
90
90
|
};
|
|
91
91
|
prepareGetTables(): void;
|
|
92
|
-
config: any;
|
|
93
92
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
94
93
|
procedures: import("backend-plus").ProcedureDef[];
|
|
95
94
|
procedure: {
|
|
@@ -132,9 +131,10 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
132
131
|
app: import("backend-plus").ExpressPlus;
|
|
133
132
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
134
133
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
135
|
-
db: import("
|
|
134
|
+
db: typeof import("pg-promise-strict");
|
|
135
|
+
config: any;
|
|
136
136
|
rootPath: string;
|
|
137
|
-
caches:
|
|
137
|
+
caches: {
|
|
138
138
|
procedures: {
|
|
139
139
|
[k: string]: {
|
|
140
140
|
timestamp: number;
|
|
@@ -148,7 +148,112 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
148
148
|
result: any;
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
|
-
}
|
|
151
|
+
} & {
|
|
152
|
+
procedures: {
|
|
153
|
+
[k: string]: {
|
|
154
|
+
timestamp: number;
|
|
155
|
+
result: any;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
} & {
|
|
159
|
+
procedures: {
|
|
160
|
+
[k: string]: {
|
|
161
|
+
timestamp: number;
|
|
162
|
+
result: any;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
} & {
|
|
166
|
+
procedures: {
|
|
167
|
+
[k: string]: {
|
|
168
|
+
timestamp: number;
|
|
169
|
+
result: any;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
} & {
|
|
173
|
+
procedures: {
|
|
174
|
+
[k: string]: {
|
|
175
|
+
timestamp: number;
|
|
176
|
+
result: any;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
} & {
|
|
180
|
+
procedures: {
|
|
181
|
+
[k: string]: {
|
|
182
|
+
timestamp: number;
|
|
183
|
+
result: any;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
} & {
|
|
187
|
+
procedures: {
|
|
188
|
+
[k: string]: {
|
|
189
|
+
timestamp: number;
|
|
190
|
+
result: any;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
} & {
|
|
194
|
+
procedures: {
|
|
195
|
+
[k: string]: {
|
|
196
|
+
timestamp: number;
|
|
197
|
+
result: any;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
} & {
|
|
201
|
+
procedures: {
|
|
202
|
+
[k: string]: {
|
|
203
|
+
timestamp: number;
|
|
204
|
+
result: any;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
} & {
|
|
208
|
+
procedures: {
|
|
209
|
+
[k: string]: {
|
|
210
|
+
timestamp: number;
|
|
211
|
+
result: any;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
} & {
|
|
215
|
+
procedures: {
|
|
216
|
+
[k: string]: {
|
|
217
|
+
timestamp: number;
|
|
218
|
+
result: any;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
} & {
|
|
222
|
+
procedures: {
|
|
223
|
+
[k: string]: {
|
|
224
|
+
timestamp: number;
|
|
225
|
+
result: any;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
} & {
|
|
229
|
+
procedures: {
|
|
230
|
+
[k: string]: {
|
|
231
|
+
timestamp: number;
|
|
232
|
+
result: any;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
} & {
|
|
236
|
+
procedures: {
|
|
237
|
+
[k: string]: {
|
|
238
|
+
timestamp: number;
|
|
239
|
+
result: any;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
} & {
|
|
243
|
+
procedures: {
|
|
244
|
+
[k: string]: {
|
|
245
|
+
timestamp: number;
|
|
246
|
+
result: any;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
} & {
|
|
250
|
+
procedures: {
|
|
251
|
+
[k: string]: {
|
|
252
|
+
timestamp: number;
|
|
253
|
+
result: any;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
} & procesamiento.Caches;
|
|
152
257
|
fieldDomain: {
|
|
153
258
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
154
259
|
} & {
|
|
@@ -178,180 +283,27 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
178
283
|
} & {
|
|
179
284
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
180
285
|
} & {
|
|
181
|
-
[k: string]: Partial<procesamiento.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
label?: string | undefined;
|
|
185
|
-
title?: string | undefined;
|
|
186
|
-
nullable?: boolean | undefined;
|
|
187
|
-
dbNullable?: boolean | undefined;
|
|
188
|
-
defaultValue?: any;
|
|
189
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
190
|
-
clientSide?: string | undefined;
|
|
191
|
-
isName?: boolean | undefined;
|
|
192
|
-
isPk?: number | undefined;
|
|
193
|
-
serverSide?: boolean | undefined;
|
|
194
|
-
inTable?: boolean | undefined;
|
|
195
|
-
allowEmtpyText?: boolean | undefined;
|
|
196
|
-
mobileInputType?: string | undefined;
|
|
197
|
-
extraRow?: number | undefined;
|
|
198
|
-
inexactNumber?: number | undefined;
|
|
199
|
-
visible?: boolean | undefined;
|
|
200
|
-
width?: number | undefined;
|
|
201
|
-
references?: string | undefined;
|
|
202
|
-
referencesField?: string | undefined;
|
|
203
|
-
aggregate?: string | undefined;
|
|
204
|
-
specialDefaultValue?: string | undefined;
|
|
205
|
-
specialValueWhenInsert?: string | undefined;
|
|
206
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
207
|
-
description?: string | undefined;
|
|
208
|
-
dataLength?: number | undefined;
|
|
209
|
-
options?: (string | {
|
|
210
|
-
option: string | number;
|
|
211
|
-
label: string;
|
|
212
|
-
})[] | undefined;
|
|
213
|
-
inView?: boolean | undefined;
|
|
214
|
-
sortMethod?: string | undefined;
|
|
215
|
-
generatedAs?: string | undefined;
|
|
216
|
-
}> | Partial<procesamiento.EditableDbDefinition & {
|
|
217
|
-
name: string;
|
|
218
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
219
|
-
label?: string | undefined;
|
|
220
|
-
title?: string | undefined;
|
|
221
|
-
nullable?: boolean | undefined;
|
|
222
|
-
dbNullable?: boolean | undefined;
|
|
223
|
-
defaultValue?: any;
|
|
224
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
225
|
-
clientSide?: string | undefined;
|
|
226
|
-
isName?: boolean | undefined;
|
|
227
|
-
isPk?: number | undefined;
|
|
228
|
-
serverSide?: boolean | undefined;
|
|
229
|
-
inTable?: boolean | undefined;
|
|
230
|
-
allowEmtpyText?: boolean | undefined;
|
|
231
|
-
mobileInputType?: string | undefined;
|
|
232
|
-
extraRow?: number | undefined;
|
|
233
|
-
inexactNumber?: number | undefined;
|
|
234
|
-
visible?: boolean | undefined;
|
|
235
|
-
width?: number | undefined;
|
|
236
|
-
references?: string | undefined;
|
|
237
|
-
referencesField?: string | undefined;
|
|
238
|
-
aggregate?: string | undefined;
|
|
239
|
-
specialDefaultValue?: string | undefined;
|
|
240
|
-
specialValueWhenInsert?: string | undefined;
|
|
241
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
242
|
-
description?: string | undefined;
|
|
243
|
-
dataLength?: number | undefined;
|
|
244
|
-
options?: (string | {
|
|
245
|
-
option: string | number;
|
|
246
|
-
label: string;
|
|
247
|
-
})[] | undefined;
|
|
248
|
-
inView?: boolean | undefined;
|
|
249
|
-
sortMethod?: string | undefined;
|
|
250
|
-
generatedAs?: string | undefined;
|
|
251
|
-
} & {
|
|
252
|
-
sequence: import("backend-plus").SequenceDefinition;
|
|
253
|
-
nullable: true;
|
|
254
|
-
editable: false;
|
|
255
|
-
}>;
|
|
256
|
-
} & {
|
|
257
|
-
[k: string]: Partial<procesamiento.EditableDbDefinition & {
|
|
258
|
-
name: string;
|
|
259
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
260
|
-
label?: string | undefined;
|
|
261
|
-
title?: string | undefined;
|
|
262
|
-
nullable?: boolean | undefined;
|
|
263
|
-
dbNullable?: boolean | undefined;
|
|
264
|
-
defaultValue?: any;
|
|
265
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
266
|
-
clientSide?: string | undefined;
|
|
267
|
-
isName?: boolean | undefined;
|
|
268
|
-
isPk?: number | undefined;
|
|
269
|
-
serverSide?: boolean | undefined;
|
|
270
|
-
inTable?: boolean | undefined;
|
|
271
|
-
allowEmtpyText?: boolean | undefined;
|
|
272
|
-
mobileInputType?: string | undefined;
|
|
273
|
-
extraRow?: number | undefined;
|
|
274
|
-
inexactNumber?: number | undefined;
|
|
275
|
-
visible?: boolean | undefined;
|
|
276
|
-
width?: number | undefined;
|
|
277
|
-
references?: string | undefined;
|
|
278
|
-
referencesField?: string | undefined;
|
|
279
|
-
aggregate?: string | undefined;
|
|
280
|
-
specialDefaultValue?: string | undefined;
|
|
281
|
-
specialValueWhenInsert?: string | undefined;
|
|
282
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
283
|
-
description?: string | undefined;
|
|
284
|
-
dataLength?: number | undefined;
|
|
285
|
-
options?: (string | {
|
|
286
|
-
option: string | number;
|
|
287
|
-
label: string;
|
|
288
|
-
})[] | undefined;
|
|
289
|
-
inView?: boolean | undefined;
|
|
290
|
-
sortMethod?: string | undefined;
|
|
291
|
-
generatedAs?: string | undefined;
|
|
292
|
-
}> | Partial<procesamiento.EditableDbDefinition & {
|
|
293
|
-
name: string;
|
|
294
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
295
|
-
label?: string | undefined;
|
|
296
|
-
title?: string | undefined;
|
|
297
|
-
nullable?: boolean | undefined;
|
|
298
|
-
dbNullable?: boolean | undefined;
|
|
299
|
-
defaultValue?: any;
|
|
300
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
301
|
-
clientSide?: string | undefined;
|
|
302
|
-
isName?: boolean | undefined;
|
|
303
|
-
isPk?: number | undefined;
|
|
304
|
-
serverSide?: boolean | undefined;
|
|
305
|
-
inTable?: boolean | undefined;
|
|
306
|
-
allowEmtpyText?: boolean | undefined;
|
|
307
|
-
mobileInputType?: string | undefined;
|
|
308
|
-
extraRow?: number | undefined;
|
|
309
|
-
inexactNumber?: number | undefined;
|
|
310
|
-
visible?: boolean | undefined;
|
|
311
|
-
width?: number | undefined;
|
|
312
|
-
references?: string | undefined;
|
|
313
|
-
referencesField?: string | undefined;
|
|
314
|
-
aggregate?: string | undefined;
|
|
315
|
-
specialDefaultValue?: string | undefined;
|
|
316
|
-
specialValueWhenInsert?: string | undefined;
|
|
317
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
318
|
-
description?: string | undefined;
|
|
319
|
-
dataLength?: number | undefined;
|
|
320
|
-
options?: (string | {
|
|
321
|
-
option: string | number;
|
|
322
|
-
label: string;
|
|
323
|
-
})[] | undefined;
|
|
324
|
-
inView?: boolean | undefined;
|
|
325
|
-
sortMethod?: string | undefined;
|
|
326
|
-
generatedAs?: string | undefined;
|
|
327
|
-
} & {
|
|
328
|
-
sequence: import("backend-plus").SequenceDefinition;
|
|
329
|
-
nullable: true;
|
|
330
|
-
editable: false;
|
|
331
|
-
}>;
|
|
286
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
287
|
+
} & {
|
|
288
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
332
289
|
} & {
|
|
333
290
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
334
291
|
} & {
|
|
335
292
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
336
293
|
};
|
|
337
294
|
exts: {
|
|
338
|
-
img
|
|
339
|
-
normal: string[];
|
|
295
|
+
img?: string[] | undefined;
|
|
340
296
|
} & {
|
|
341
|
-
img
|
|
342
|
-
normal: string[];
|
|
297
|
+
img?: string[] | undefined;
|
|
343
298
|
} & {
|
|
344
|
-
img
|
|
345
|
-
normal: string[];
|
|
299
|
+
img?: string[] | undefined;
|
|
346
300
|
} & {
|
|
347
301
|
img: string[];
|
|
348
302
|
normal: string[];
|
|
349
303
|
} & {
|
|
350
|
-
img
|
|
351
|
-
normal: string[];
|
|
304
|
+
img?: string[] | undefined;
|
|
352
305
|
} & {
|
|
353
|
-
img
|
|
354
|
-
normal: string[];
|
|
306
|
+
img?: string[] | undefined;
|
|
355
307
|
} & {
|
|
356
308
|
img: string[];
|
|
357
309
|
normal: string[];
|
|
@@ -359,23 +311,18 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
359
311
|
img: string[];
|
|
360
312
|
normal: string[];
|
|
361
313
|
} & {
|
|
362
|
-
img
|
|
363
|
-
normal: string[];
|
|
314
|
+
img?: string[] | undefined;
|
|
364
315
|
} & {
|
|
365
|
-
img
|
|
366
|
-
normal: string[];
|
|
316
|
+
img?: string[] | undefined;
|
|
367
317
|
} & {
|
|
368
|
-
img
|
|
369
|
-
normal: string[];
|
|
318
|
+
img?: string[] | undefined;
|
|
370
319
|
} & {
|
|
371
320
|
img: string[];
|
|
372
321
|
normal: string[];
|
|
373
322
|
} & {
|
|
374
|
-
img
|
|
375
|
-
normal: string[];
|
|
323
|
+
img?: string[] | undefined;
|
|
376
324
|
} & {
|
|
377
|
-
img
|
|
378
|
-
normal: string[];
|
|
325
|
+
img?: string[] | undefined;
|
|
379
326
|
} & {
|
|
380
327
|
img?: string[] | undefined;
|
|
381
328
|
} & {
|
|
@@ -388,39 +335,39 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
388
335
|
normal: string[];
|
|
389
336
|
};
|
|
390
337
|
optsGenericForAll: {
|
|
391
|
-
allowedExts?: string[];
|
|
338
|
+
allowedExts?: string[] | undefined;
|
|
392
339
|
} & {
|
|
393
|
-
allowedExts?: string[];
|
|
340
|
+
allowedExts?: string[] | undefined;
|
|
394
341
|
} & {
|
|
395
|
-
allowedExts?: string[];
|
|
342
|
+
allowedExts?: string[] | undefined;
|
|
396
343
|
} & {
|
|
397
|
-
allowedExts?: string[];
|
|
344
|
+
allowedExts?: string[] | undefined;
|
|
398
345
|
} & {
|
|
399
|
-
allowedExts?: string[];
|
|
346
|
+
allowedExts?: string[] | undefined;
|
|
400
347
|
} & {
|
|
401
|
-
allowedExts?: string[];
|
|
348
|
+
allowedExts?: string[] | undefined;
|
|
402
349
|
} & {
|
|
403
|
-
allowedExts?: string[];
|
|
350
|
+
allowedExts?: string[] | undefined;
|
|
404
351
|
} & {
|
|
405
|
-
allowedExts?: string[];
|
|
352
|
+
allowedExts?: string[] | undefined;
|
|
406
353
|
} & {
|
|
407
|
-
allowedExts?: string[];
|
|
354
|
+
allowedExts?: string[] | undefined;
|
|
408
355
|
} & {
|
|
409
|
-
allowedExts?: string[];
|
|
356
|
+
allowedExts?: string[] | undefined;
|
|
410
357
|
} & {
|
|
411
|
-
allowedExts?: string[];
|
|
358
|
+
allowedExts?: string[] | undefined;
|
|
412
359
|
} & {
|
|
413
|
-
allowedExts?: string[];
|
|
360
|
+
allowedExts?: string[] | undefined;
|
|
414
361
|
} & {
|
|
415
|
-
allowedExts?: string[];
|
|
362
|
+
allowedExts?: string[] | undefined;
|
|
416
363
|
} & {
|
|
417
|
-
allowedExts?: string[];
|
|
364
|
+
allowedExts?: string[] | undefined;
|
|
418
365
|
} & {
|
|
419
366
|
allowedExts?: string[] | undefined;
|
|
420
367
|
} & {
|
|
421
368
|
allowedExts?: string[] | undefined;
|
|
422
369
|
} & {
|
|
423
|
-
allowedExts?: string[];
|
|
370
|
+
allowedExts?: string[] | undefined;
|
|
424
371
|
} & {
|
|
425
372
|
allowedExts?: string[];
|
|
426
373
|
};
|
|
@@ -530,6 +477,10 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
530
477
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
531
478
|
} & {
|
|
532
479
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
480
|
+
} & {
|
|
481
|
+
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
482
|
+
} & {
|
|
483
|
+
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
533
484
|
} & {
|
|
534
485
|
[k: string]: (context: ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
|
|
535
486
|
};
|
|
@@ -539,33 +490,10 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
539
490
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
540
491
|
} & {
|
|
541
492
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
542
|
-
} & {
|
|
543
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
544
|
-
} & {
|
|
545
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
546
|
-
} & {
|
|
547
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
548
|
-
} & {
|
|
549
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
550
|
-
} & {
|
|
551
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
552
|
-
} & {
|
|
553
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
554
|
-
} & {
|
|
555
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
556
|
-
} & {
|
|
557
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
558
|
-
} & {
|
|
559
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
560
|
-
} & {
|
|
561
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
562
|
-
} & {
|
|
563
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
564
|
-
} & {
|
|
565
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
566
493
|
} & {
|
|
567
494
|
messages: Record<procesamiento.LangId, Record<string, string>>;
|
|
568
495
|
};
|
|
496
|
+
dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
|
|
569
497
|
generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
|
|
570
498
|
generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition);
|
|
571
499
|
cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>);
|
|
@@ -578,66 +506,50 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
578
506
|
dumpText: string;
|
|
579
507
|
}[]>);
|
|
580
508
|
clearCaches: (() => void) & (() => void);
|
|
581
|
-
start: ((opts?: import("backend-plus").StartOptions) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
|
|
509
|
+
start: ((opts?: import("backend-plus").StartOptions | undefined) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
|
|
582
510
|
getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
|
|
583
|
-
appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void) & ((tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: procesamiento.TableContext) => void) => void);
|
|
511
|
+
appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext | undefined) => void) => void) & ((tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: procesamiento.TableContext) => void) => void);
|
|
584
512
|
addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
inTransactionProcedureContext: (<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>) => Promise<T_1>) & (<T_1>(req: Request | null, coreFunction: (context: ProcedureContext) => Promise<T_1>) => Promise<T_1>);
|
|
589
|
-
procedureDefCompleter: (<T_1>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T_1>) & (<T_1>(procedureDef: ProcedureDef) => ProcedureDef<T_1>);
|
|
513
|
+
inDbClient: (<T_1_1>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1_1>) => Promise<T_1_1>) & (<T_1>(req: procesamiento.RequestDb | null, doThisWithDbClient: (client: Client) => Promise<T_1>) => Promise<T_1>);
|
|
514
|
+
inTransaction: (<T_2_1>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_2_1>) => Promise<T_2_1>) & (<T_1>(req: procesamiento.RequestDb | null, doThisWithDbTransaction: (client: Client) => Promise<T_1>) => Promise<T_1>);
|
|
515
|
+
procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & (<T_1>(procedureDef: ProcedureDef) => ProcedureDef<T_1>);
|
|
590
516
|
tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
|
|
591
517
|
pushApp: ((dirname: string) => void) & ((dirname: string) => void);
|
|
592
|
-
|
|
593
|
-
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
|
|
518
|
+
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
|
|
594
519
|
mainSql: string;
|
|
595
520
|
enancePart: string;
|
|
596
521
|
}>) & ((partialTableStructures: procesamiento.TableDefinitions, opts?: procesamiento.DumpOptions) => Promise<{
|
|
597
522
|
mainSql: string;
|
|
598
523
|
enancePart: string;
|
|
599
524
|
}>);
|
|
600
|
-
configList: (() => (
|
|
525
|
+
configList: (() => (string | object)[]) & (() => (object | string)[]);
|
|
601
526
|
setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void);
|
|
602
|
-
mainPage: ((req:
|
|
527
|
+
mainPage: ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
603
528
|
toHtmlDoc: () => string;
|
|
604
529
|
}) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
605
530
|
toHtmlDoc: () => string;
|
|
606
531
|
});
|
|
607
|
-
isThisProcedureAllowed: (<
|
|
608
|
-
[key: string]:
|
|
532
|
+
isThisProcedureAllowed: (<T_3>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
533
|
+
[key: string]: T_3;
|
|
609
534
|
}) => Promise<boolean>) & (<T_1>(context: Context, procedureDef: ProcedureDef, params: {
|
|
610
535
|
[key: string]: T_1;
|
|
611
536
|
}) => Promise<boolean>);
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
}) => void) & ((param: {
|
|
537
|
+
isAdmin(): boolean;
|
|
538
|
+
inTransactionProcedureContext<T_1>(req: Request | null, coreFunction: (context: ProcedureContext) => Promise<T_1>): Promise<T_1>;
|
|
539
|
+
shutdownCallbackListAdd(param: {
|
|
616
540
|
message: string;
|
|
617
541
|
fun: () => Promise<void>;
|
|
618
|
-
})
|
|
619
|
-
shutdownBackend
|
|
620
|
-
|
|
621
|
-
onlyTurnOff?: boolean;
|
|
622
|
-
}) => Promise<void>);
|
|
623
|
-
setLog: ((opts: {
|
|
624
|
-
until: string;
|
|
625
|
-
results?: boolean;
|
|
626
|
-
}) => void) & ((opts: {
|
|
542
|
+
}): void;
|
|
543
|
+
shutdownBackend(): Promise<void>;
|
|
544
|
+
setLog(opts: {
|
|
627
545
|
until: string;
|
|
628
546
|
results?: boolean;
|
|
629
|
-
})
|
|
630
|
-
getDataDumpTransformations
|
|
631
|
-
rawData: string;
|
|
632
|
-
prepareTransformationSql: string[];
|
|
633
|
-
endTransformationSql: string[];
|
|
634
|
-
}>) & ((rawData: string) => Promise<{
|
|
547
|
+
}): void;
|
|
548
|
+
getDataDumpTransformations(rawData: string): Promise<{
|
|
635
549
|
rawData: string;
|
|
636
550
|
prepareTransformationSql: string[];
|
|
637
551
|
endTransformationSql: string[];
|
|
638
|
-
}
|
|
639
|
-
specialSqlDefaultExpressions: Record<string, string>;
|
|
640
|
-
activeSkinFiles: Set<string>;
|
|
552
|
+
}>;
|
|
641
553
|
};
|
|
642
554
|
} & T;
|
|
643
555
|
export declare var AppDmEncu: {
|
|
@@ -723,7 +635,6 @@ export declare var AppDmEncu: {
|
|
|
723
635
|
menu: procesamiento.MenuInfoBase[];
|
|
724
636
|
};
|
|
725
637
|
prepareGetTables(): void;
|
|
726
|
-
config: any;
|
|
727
638
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
728
639
|
procedures: import("backend-plus").ProcedureDef[];
|
|
729
640
|
procedure: {
|
|
@@ -766,9 +677,10 @@ export declare var AppDmEncu: {
|
|
|
766
677
|
app: import("backend-plus").ExpressPlus;
|
|
767
678
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
768
679
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
769
|
-
db: import("
|
|
680
|
+
db: typeof import("pg-promise-strict");
|
|
681
|
+
config: any;
|
|
770
682
|
rootPath: string;
|
|
771
|
-
caches:
|
|
683
|
+
caches: {
|
|
772
684
|
procedures: {
|
|
773
685
|
[k: string]: {
|
|
774
686
|
timestamp: number;
|
|
@@ -782,23 +694,120 @@ export declare var AppDmEncu: {
|
|
|
782
694
|
result: any;
|
|
783
695
|
};
|
|
784
696
|
};
|
|
785
|
-
};
|
|
786
|
-
fieldDomain: {
|
|
787
|
-
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
788
|
-
} & {
|
|
789
|
-
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
790
697
|
} & {
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
698
|
+
procedures: {
|
|
699
|
+
[k: string]: {
|
|
700
|
+
timestamp: number;
|
|
701
|
+
result: any;
|
|
702
|
+
};
|
|
703
|
+
};
|
|
796
704
|
} & {
|
|
797
|
-
|
|
705
|
+
procedures: {
|
|
706
|
+
[k: string]: {
|
|
707
|
+
timestamp: number;
|
|
708
|
+
result: any;
|
|
709
|
+
};
|
|
710
|
+
};
|
|
798
711
|
} & {
|
|
799
|
-
|
|
712
|
+
procedures: {
|
|
713
|
+
[k: string]: {
|
|
714
|
+
timestamp: number;
|
|
715
|
+
result: any;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
800
718
|
} & {
|
|
801
|
-
|
|
719
|
+
procedures: {
|
|
720
|
+
[k: string]: {
|
|
721
|
+
timestamp: number;
|
|
722
|
+
result: any;
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
} & {
|
|
726
|
+
procedures: {
|
|
727
|
+
[k: string]: {
|
|
728
|
+
timestamp: number;
|
|
729
|
+
result: any;
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
} & {
|
|
733
|
+
procedures: {
|
|
734
|
+
[k: string]: {
|
|
735
|
+
timestamp: number;
|
|
736
|
+
result: any;
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
} & {
|
|
740
|
+
procedures: {
|
|
741
|
+
[k: string]: {
|
|
742
|
+
timestamp: number;
|
|
743
|
+
result: any;
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
} & {
|
|
747
|
+
procedures: {
|
|
748
|
+
[k: string]: {
|
|
749
|
+
timestamp: number;
|
|
750
|
+
result: any;
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
} & {
|
|
754
|
+
procedures: {
|
|
755
|
+
[k: string]: {
|
|
756
|
+
timestamp: number;
|
|
757
|
+
result: any;
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
} & {
|
|
761
|
+
procedures: {
|
|
762
|
+
[k: string]: {
|
|
763
|
+
timestamp: number;
|
|
764
|
+
result: any;
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
} & {
|
|
768
|
+
procedures: {
|
|
769
|
+
[k: string]: {
|
|
770
|
+
timestamp: number;
|
|
771
|
+
result: any;
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
} & {
|
|
775
|
+
procedures: {
|
|
776
|
+
[k: string]: {
|
|
777
|
+
timestamp: number;
|
|
778
|
+
result: any;
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
} & {
|
|
782
|
+
procedures: {
|
|
783
|
+
[k: string]: {
|
|
784
|
+
timestamp: number;
|
|
785
|
+
result: any;
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
} & {
|
|
789
|
+
procedures: {
|
|
790
|
+
[k: string]: {
|
|
791
|
+
timestamp: number;
|
|
792
|
+
result: any;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
} & {
|
|
796
|
+
procedures: {
|
|
797
|
+
[k: string]: {
|
|
798
|
+
timestamp: number;
|
|
799
|
+
result: any;
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
} & procesamiento.Caches;
|
|
803
|
+
fieldDomain: {
|
|
804
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
805
|
+
} & {
|
|
806
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
807
|
+
} & {
|
|
808
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
809
|
+
} & {
|
|
810
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
802
811
|
} & {
|
|
803
812
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
804
813
|
} & {
|
|
@@ -812,180 +821,35 @@ export declare var AppDmEncu: {
|
|
|
812
821
|
} & {
|
|
813
822
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
814
823
|
} & {
|
|
815
|
-
[k: string]: Partial<procesamiento.
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
isPk?: number | undefined;
|
|
827
|
-
serverSide?: boolean | undefined;
|
|
828
|
-
inTable?: boolean | undefined;
|
|
829
|
-
allowEmtpyText?: boolean | undefined;
|
|
830
|
-
mobileInputType?: string | undefined;
|
|
831
|
-
extraRow?: number | undefined;
|
|
832
|
-
inexactNumber?: number | undefined;
|
|
833
|
-
visible?: boolean | undefined;
|
|
834
|
-
width?: number | undefined;
|
|
835
|
-
references?: string | undefined;
|
|
836
|
-
referencesField?: string | undefined;
|
|
837
|
-
aggregate?: string | undefined;
|
|
838
|
-
specialDefaultValue?: string | undefined;
|
|
839
|
-
specialValueWhenInsert?: string | undefined;
|
|
840
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
841
|
-
description?: string | undefined;
|
|
842
|
-
dataLength?: number | undefined;
|
|
843
|
-
options?: (string | {
|
|
844
|
-
option: string | number;
|
|
845
|
-
label: string;
|
|
846
|
-
})[] | undefined;
|
|
847
|
-
inView?: boolean | undefined;
|
|
848
|
-
sortMethod?: string | undefined;
|
|
849
|
-
generatedAs?: string | undefined;
|
|
850
|
-
}> | Partial<procesamiento.EditableDbDefinition & {
|
|
851
|
-
name: string;
|
|
852
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
853
|
-
label?: string | undefined;
|
|
854
|
-
title?: string | undefined;
|
|
855
|
-
nullable?: boolean | undefined;
|
|
856
|
-
dbNullable?: boolean | undefined;
|
|
857
|
-
defaultValue?: any;
|
|
858
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
859
|
-
clientSide?: string | undefined;
|
|
860
|
-
isName?: boolean | undefined;
|
|
861
|
-
isPk?: number | undefined;
|
|
862
|
-
serverSide?: boolean | undefined;
|
|
863
|
-
inTable?: boolean | undefined;
|
|
864
|
-
allowEmtpyText?: boolean | undefined;
|
|
865
|
-
mobileInputType?: string | undefined;
|
|
866
|
-
extraRow?: number | undefined;
|
|
867
|
-
inexactNumber?: number | undefined;
|
|
868
|
-
visible?: boolean | undefined;
|
|
869
|
-
width?: number | undefined;
|
|
870
|
-
references?: string | undefined;
|
|
871
|
-
referencesField?: string | undefined;
|
|
872
|
-
aggregate?: string | undefined;
|
|
873
|
-
specialDefaultValue?: string | undefined;
|
|
874
|
-
specialValueWhenInsert?: string | undefined;
|
|
875
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
876
|
-
description?: string | undefined;
|
|
877
|
-
dataLength?: number | undefined;
|
|
878
|
-
options?: (string | {
|
|
879
|
-
option: string | number;
|
|
880
|
-
label: string;
|
|
881
|
-
})[] | undefined;
|
|
882
|
-
inView?: boolean | undefined;
|
|
883
|
-
sortMethod?: string | undefined;
|
|
884
|
-
generatedAs?: string | undefined;
|
|
885
|
-
} & {
|
|
886
|
-
sequence: import("backend-plus").SequenceDefinition;
|
|
887
|
-
nullable: true;
|
|
888
|
-
editable: false;
|
|
889
|
-
}>;
|
|
890
|
-
} & {
|
|
891
|
-
[k: string]: Partial<procesamiento.EditableDbDefinition & {
|
|
892
|
-
name: string;
|
|
893
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
894
|
-
label?: string | undefined;
|
|
895
|
-
title?: string | undefined;
|
|
896
|
-
nullable?: boolean | undefined;
|
|
897
|
-
dbNullable?: boolean | undefined;
|
|
898
|
-
defaultValue?: any;
|
|
899
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
900
|
-
clientSide?: string | undefined;
|
|
901
|
-
isName?: boolean | undefined;
|
|
902
|
-
isPk?: number | undefined;
|
|
903
|
-
serverSide?: boolean | undefined;
|
|
904
|
-
inTable?: boolean | undefined;
|
|
905
|
-
allowEmtpyText?: boolean | undefined;
|
|
906
|
-
mobileInputType?: string | undefined;
|
|
907
|
-
extraRow?: number | undefined;
|
|
908
|
-
inexactNumber?: number | undefined;
|
|
909
|
-
visible?: boolean | undefined;
|
|
910
|
-
width?: number | undefined;
|
|
911
|
-
references?: string | undefined;
|
|
912
|
-
referencesField?: string | undefined;
|
|
913
|
-
aggregate?: string | undefined;
|
|
914
|
-
specialDefaultValue?: string | undefined;
|
|
915
|
-
specialValueWhenInsert?: string | undefined;
|
|
916
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
917
|
-
description?: string | undefined;
|
|
918
|
-
dataLength?: number | undefined;
|
|
919
|
-
options?: (string | {
|
|
920
|
-
option: string | number;
|
|
921
|
-
label: string;
|
|
922
|
-
})[] | undefined;
|
|
923
|
-
inView?: boolean | undefined;
|
|
924
|
-
sortMethod?: string | undefined;
|
|
925
|
-
generatedAs?: string | undefined;
|
|
926
|
-
}> | Partial<procesamiento.EditableDbDefinition & {
|
|
927
|
-
name: string;
|
|
928
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
929
|
-
label?: string | undefined;
|
|
930
|
-
title?: string | undefined;
|
|
931
|
-
nullable?: boolean | undefined;
|
|
932
|
-
dbNullable?: boolean | undefined;
|
|
933
|
-
defaultValue?: any;
|
|
934
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
935
|
-
clientSide?: string | undefined;
|
|
936
|
-
isName?: boolean | undefined;
|
|
937
|
-
isPk?: number | undefined;
|
|
938
|
-
serverSide?: boolean | undefined;
|
|
939
|
-
inTable?: boolean | undefined;
|
|
940
|
-
allowEmtpyText?: boolean | undefined;
|
|
941
|
-
mobileInputType?: string | undefined;
|
|
942
|
-
extraRow?: number | undefined;
|
|
943
|
-
inexactNumber?: number | undefined;
|
|
944
|
-
visible?: boolean | undefined;
|
|
945
|
-
width?: number | undefined;
|
|
946
|
-
references?: string | undefined;
|
|
947
|
-
referencesField?: string | undefined;
|
|
948
|
-
aggregate?: string | undefined;
|
|
949
|
-
specialDefaultValue?: string | undefined;
|
|
950
|
-
specialValueWhenInsert?: string | undefined;
|
|
951
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
952
|
-
description?: string | undefined;
|
|
953
|
-
dataLength?: number | undefined;
|
|
954
|
-
options?: (string | {
|
|
955
|
-
option: string | number;
|
|
956
|
-
label: string;
|
|
957
|
-
})[] | undefined;
|
|
958
|
-
inView?: boolean | undefined;
|
|
959
|
-
sortMethod?: string | undefined;
|
|
960
|
-
generatedAs?: string | undefined;
|
|
961
|
-
} & {
|
|
962
|
-
sequence: import("backend-plus").SequenceDefinition;
|
|
963
|
-
nullable: true;
|
|
964
|
-
editable: false;
|
|
965
|
-
}>;
|
|
824
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
825
|
+
} & {
|
|
826
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
827
|
+
} & {
|
|
828
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
829
|
+
} & {
|
|
830
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
831
|
+
} & {
|
|
832
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
833
|
+
} & {
|
|
834
|
+
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
966
835
|
} & {
|
|
967
836
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
968
837
|
} & {
|
|
969
838
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
970
839
|
};
|
|
971
840
|
exts: {
|
|
972
|
-
img
|
|
973
|
-
normal: string[];
|
|
841
|
+
img?: string[] | undefined;
|
|
974
842
|
} & {
|
|
975
|
-
img
|
|
976
|
-
normal: string[];
|
|
843
|
+
img?: string[] | undefined;
|
|
977
844
|
} & {
|
|
978
|
-
img
|
|
979
|
-
normal: string[];
|
|
845
|
+
img?: string[] | undefined;
|
|
980
846
|
} & {
|
|
981
847
|
img: string[];
|
|
982
848
|
normal: string[];
|
|
983
849
|
} & {
|
|
984
|
-
img
|
|
985
|
-
normal: string[];
|
|
850
|
+
img?: string[] | undefined;
|
|
986
851
|
} & {
|
|
987
|
-
img
|
|
988
|
-
normal: string[];
|
|
852
|
+
img?: string[] | undefined;
|
|
989
853
|
} & {
|
|
990
854
|
img: string[];
|
|
991
855
|
normal: string[];
|
|
@@ -993,23 +857,18 @@ export declare var AppDmEncu: {
|
|
|
993
857
|
img: string[];
|
|
994
858
|
normal: string[];
|
|
995
859
|
} & {
|
|
996
|
-
img
|
|
997
|
-
normal: string[];
|
|
860
|
+
img?: string[] | undefined;
|
|
998
861
|
} & {
|
|
999
|
-
img
|
|
1000
|
-
normal: string[];
|
|
862
|
+
img?: string[] | undefined;
|
|
1001
863
|
} & {
|
|
1002
|
-
img
|
|
1003
|
-
normal: string[];
|
|
864
|
+
img?: string[] | undefined;
|
|
1004
865
|
} & {
|
|
1005
866
|
img: string[];
|
|
1006
867
|
normal: string[];
|
|
1007
868
|
} & {
|
|
1008
|
-
img
|
|
1009
|
-
normal: string[];
|
|
869
|
+
img?: string[] | undefined;
|
|
1010
870
|
} & {
|
|
1011
|
-
img
|
|
1012
|
-
normal: string[];
|
|
871
|
+
img?: string[] | undefined;
|
|
1013
872
|
} & {
|
|
1014
873
|
img?: string[] | undefined;
|
|
1015
874
|
} & {
|
|
@@ -1022,39 +881,39 @@ export declare var AppDmEncu: {
|
|
|
1022
881
|
normal: string[];
|
|
1023
882
|
};
|
|
1024
883
|
optsGenericForAll: {
|
|
1025
|
-
allowedExts?: string[];
|
|
884
|
+
allowedExts?: string[] | undefined;
|
|
1026
885
|
} & {
|
|
1027
|
-
allowedExts?: string[];
|
|
886
|
+
allowedExts?: string[] | undefined;
|
|
1028
887
|
} & {
|
|
1029
|
-
allowedExts?: string[];
|
|
888
|
+
allowedExts?: string[] | undefined;
|
|
1030
889
|
} & {
|
|
1031
|
-
allowedExts?: string[];
|
|
890
|
+
allowedExts?: string[] | undefined;
|
|
1032
891
|
} & {
|
|
1033
|
-
allowedExts?: string[];
|
|
892
|
+
allowedExts?: string[] | undefined;
|
|
1034
893
|
} & {
|
|
1035
|
-
allowedExts?: string[];
|
|
894
|
+
allowedExts?: string[] | undefined;
|
|
1036
895
|
} & {
|
|
1037
|
-
allowedExts?: string[];
|
|
896
|
+
allowedExts?: string[] | undefined;
|
|
1038
897
|
} & {
|
|
1039
|
-
allowedExts?: string[];
|
|
898
|
+
allowedExts?: string[] | undefined;
|
|
1040
899
|
} & {
|
|
1041
|
-
allowedExts?: string[];
|
|
900
|
+
allowedExts?: string[] | undefined;
|
|
1042
901
|
} & {
|
|
1043
|
-
allowedExts?: string[];
|
|
902
|
+
allowedExts?: string[] | undefined;
|
|
1044
903
|
} & {
|
|
1045
|
-
allowedExts?: string[];
|
|
904
|
+
allowedExts?: string[] | undefined;
|
|
1046
905
|
} & {
|
|
1047
|
-
allowedExts?: string[];
|
|
906
|
+
allowedExts?: string[] | undefined;
|
|
1048
907
|
} & {
|
|
1049
|
-
allowedExts?: string[];
|
|
908
|
+
allowedExts?: string[] | undefined;
|
|
1050
909
|
} & {
|
|
1051
|
-
allowedExts?: string[];
|
|
910
|
+
allowedExts?: string[] | undefined;
|
|
1052
911
|
} & {
|
|
1053
912
|
allowedExts?: string[] | undefined;
|
|
1054
913
|
} & {
|
|
1055
914
|
allowedExts?: string[] | undefined;
|
|
1056
915
|
} & {
|
|
1057
|
-
allowedExts?: string[];
|
|
916
|
+
allowedExts?: string[] | undefined;
|
|
1058
917
|
} & {
|
|
1059
918
|
allowedExts?: string[];
|
|
1060
919
|
};
|
|
@@ -1164,6 +1023,10 @@ export declare var AppDmEncu: {
|
|
|
1164
1023
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1165
1024
|
} & {
|
|
1166
1025
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1026
|
+
} & {
|
|
1027
|
+
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1028
|
+
} & {
|
|
1029
|
+
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1167
1030
|
} & {
|
|
1168
1031
|
[k: string]: (context: ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
|
|
1169
1032
|
};
|
|
@@ -1173,33 +1036,10 @@ export declare var AppDmEncu: {
|
|
|
1173
1036
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1174
1037
|
} & {
|
|
1175
1038
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1176
|
-
} & {
|
|
1177
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1178
|
-
} & {
|
|
1179
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1180
|
-
} & {
|
|
1181
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1182
|
-
} & {
|
|
1183
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1184
|
-
} & {
|
|
1185
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1186
|
-
} & {
|
|
1187
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1188
|
-
} & {
|
|
1189
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1190
|
-
} & {
|
|
1191
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1192
|
-
} & {
|
|
1193
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1194
|
-
} & {
|
|
1195
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1196
|
-
} & {
|
|
1197
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1198
|
-
} & {
|
|
1199
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1200
1039
|
} & {
|
|
1201
1040
|
messages: Record<procesamiento.LangId, Record<string, string>>;
|
|
1202
1041
|
};
|
|
1042
|
+
dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
|
|
1203
1043
|
generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
|
|
1204
1044
|
generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition);
|
|
1205
1045
|
cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>);
|
|
@@ -1212,97 +1052,137 @@ export declare var AppDmEncu: {
|
|
|
1212
1052
|
dumpText: string;
|
|
1213
1053
|
}[]>);
|
|
1214
1054
|
clearCaches: (() => void) & (() => void);
|
|
1215
|
-
start: ((opts?: import("backend-plus").StartOptions) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
|
|
1055
|
+
start: ((opts?: import("backend-plus").StartOptions | undefined) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
|
|
1216
1056
|
getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
|
|
1217
|
-
appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void) & ((tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: procesamiento.TableContext) => void) => void);
|
|
1057
|
+
appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext | undefined) => void) => void) & ((tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: procesamiento.TableContext) => void) => void);
|
|
1218
1058
|
addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
inTransactionProcedureContext: (<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>) => Promise<T_1>) & (<T>(req: Request | null, coreFunction: (context: ProcedureContext) => Promise<T>) => Promise<T>);
|
|
1223
|
-
procedureDefCompleter: (<T_1>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T_1>) & (<T>(procedureDef: ProcedureDef) => ProcedureDef<T>);
|
|
1059
|
+
inDbClient: (<T_1_1>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1_1>) => Promise<T_1_1>) & (<T>(req: procesamiento.RequestDb | null, doThisWithDbClient: (client: Client) => Promise<T>) => Promise<T>);
|
|
1060
|
+
inTransaction: (<T_2_1>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_2_1>) => Promise<T_2_1>) & (<T>(req: procesamiento.RequestDb | null, doThisWithDbTransaction: (client: Client) => Promise<T>) => Promise<T>);
|
|
1061
|
+
procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & (<T>(procedureDef: ProcedureDef) => ProcedureDef<T>);
|
|
1224
1062
|
tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
|
|
1225
1063
|
pushApp: ((dirname: string) => void) & ((dirname: string) => void);
|
|
1226
|
-
|
|
1227
|
-
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
|
|
1064
|
+
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
|
|
1228
1065
|
mainSql: string;
|
|
1229
1066
|
enancePart: string;
|
|
1230
1067
|
}>) & ((partialTableStructures: procesamiento.TableDefinitions, opts?: procesamiento.DumpOptions) => Promise<{
|
|
1231
1068
|
mainSql: string;
|
|
1232
1069
|
enancePart: string;
|
|
1233
1070
|
}>);
|
|
1234
|
-
configList: (() => (
|
|
1071
|
+
configList: (() => (string | object)[]) & (() => (object | string)[]);
|
|
1235
1072
|
setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void);
|
|
1236
|
-
mainPage: ((req:
|
|
1073
|
+
mainPage: ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
1237
1074
|
toHtmlDoc: () => string;
|
|
1238
1075
|
}) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
1239
1076
|
toHtmlDoc: () => string;
|
|
1240
1077
|
});
|
|
1241
|
-
isThisProcedureAllowed: (<
|
|
1242
|
-
[key: string]:
|
|
1078
|
+
isThisProcedureAllowed: (<T_3>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
1079
|
+
[key: string]: T_3;
|
|
1243
1080
|
}) => Promise<boolean>) & (<T>(context: Context, procedureDef: ProcedureDef, params: {
|
|
1244
1081
|
[key: string]: T;
|
|
1245
1082
|
}) => Promise<boolean>);
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
}) => void) & ((param: {
|
|
1083
|
+
isAdmin(): boolean;
|
|
1084
|
+
inTransactionProcedureContext<T>(req: Request | null, coreFunction: (context: ProcedureContext) => Promise<T>): Promise<T>;
|
|
1085
|
+
shutdownCallbackListAdd(param: {
|
|
1250
1086
|
message: string;
|
|
1251
1087
|
fun: () => Promise<void>;
|
|
1252
|
-
})
|
|
1253
|
-
shutdownBackend
|
|
1254
|
-
|
|
1255
|
-
onlyTurnOff?: boolean;
|
|
1256
|
-
}) => Promise<void>);
|
|
1257
|
-
setLog: ((opts: {
|
|
1258
|
-
until: string;
|
|
1259
|
-
results?: boolean;
|
|
1260
|
-
}) => void) & ((opts: {
|
|
1088
|
+
}): void;
|
|
1089
|
+
shutdownBackend(): Promise<void>;
|
|
1090
|
+
setLog(opts: {
|
|
1261
1091
|
until: string;
|
|
1262
1092
|
results?: boolean;
|
|
1263
|
-
})
|
|
1264
|
-
getDataDumpTransformations
|
|
1265
|
-
rawData: string;
|
|
1266
|
-
prepareTransformationSql: string[];
|
|
1267
|
-
endTransformationSql: string[];
|
|
1268
|
-
}>) & ((rawData: string) => Promise<{
|
|
1093
|
+
}): void;
|
|
1094
|
+
getDataDumpTransformations(rawData: string): Promise<{
|
|
1269
1095
|
rawData: string;
|
|
1270
1096
|
prepareTransformationSql: string[];
|
|
1271
1097
|
endTransformationSql: string[];
|
|
1272
|
-
}
|
|
1273
|
-
specialSqlDefaultExpressions: Record<string, string>;
|
|
1274
|
-
activeSkinFiles: Set<string>;
|
|
1098
|
+
}>;
|
|
1275
1099
|
};
|
|
1276
1100
|
} & (new (...args: any[]) => {
|
|
1277
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef
|
|
1101
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1278
1102
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1279
1103
|
configStaticConfig(): void;
|
|
1280
|
-
config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
|
|
1281
1104
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
1282
1105
|
procedures: import("backend-plus").ProcedureDef[];
|
|
1283
1106
|
procedure: {
|
|
1284
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1107
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1285
1108
|
} & {
|
|
1286
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1109
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1287
1110
|
} & {
|
|
1288
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1111
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1289
1112
|
} & {
|
|
1290
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1113
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1291
1114
|
} & {
|
|
1292
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1115
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1293
1116
|
} & {
|
|
1294
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1117
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1295
1118
|
} & {
|
|
1296
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1119
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1297
1120
|
} & {
|
|
1298
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1121
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1299
1122
|
};
|
|
1300
1123
|
app: import("backend-plus").ExpressPlus;
|
|
1301
1124
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
1302
1125
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
1303
|
-
db: import("
|
|
1126
|
+
db: typeof import("pg-promise-strict");
|
|
1127
|
+
config: any;
|
|
1304
1128
|
rootPath: string;
|
|
1305
|
-
caches:
|
|
1129
|
+
caches: {
|
|
1130
|
+
procedures: {
|
|
1131
|
+
[k: string]: {
|
|
1132
|
+
timestamp: number;
|
|
1133
|
+
result: any;
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
} & {
|
|
1137
|
+
procedures: {
|
|
1138
|
+
[k: string]: {
|
|
1139
|
+
timestamp: number;
|
|
1140
|
+
result: any;
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
} & {
|
|
1144
|
+
procedures: {
|
|
1145
|
+
[k: string]: {
|
|
1146
|
+
timestamp: number;
|
|
1147
|
+
result: any;
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
} & {
|
|
1151
|
+
procedures: {
|
|
1152
|
+
[k: string]: {
|
|
1153
|
+
timestamp: number;
|
|
1154
|
+
result: any;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
} & {
|
|
1158
|
+
procedures: {
|
|
1159
|
+
[k: string]: {
|
|
1160
|
+
timestamp: number;
|
|
1161
|
+
result: any;
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
} & {
|
|
1165
|
+
procedures: {
|
|
1166
|
+
[k: string]: {
|
|
1167
|
+
timestamp: number;
|
|
1168
|
+
result: any;
|
|
1169
|
+
};
|
|
1170
|
+
};
|
|
1171
|
+
} & {
|
|
1172
|
+
procedures: {
|
|
1173
|
+
[k: string]: {
|
|
1174
|
+
timestamp: number;
|
|
1175
|
+
result: any;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
} & {
|
|
1179
|
+
procedures: {
|
|
1180
|
+
[k: string]: {
|
|
1181
|
+
timestamp: number;
|
|
1182
|
+
result: any;
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1306
1186
|
fieldDomain: {
|
|
1307
1187
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1308
1188
|
} & {
|
|
@@ -1321,23 +1201,18 @@ export declare var AppDmEncu: {
|
|
|
1321
1201
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1322
1202
|
};
|
|
1323
1203
|
exts: {
|
|
1324
|
-
img
|
|
1325
|
-
normal: string[];
|
|
1204
|
+
img?: string[] | undefined;
|
|
1326
1205
|
} & {
|
|
1327
|
-
img
|
|
1328
|
-
normal: string[];
|
|
1206
|
+
img?: string[] | undefined;
|
|
1329
1207
|
} & {
|
|
1330
|
-
img
|
|
1331
|
-
normal: string[];
|
|
1208
|
+
img?: string[] | undefined;
|
|
1332
1209
|
} & {
|
|
1333
1210
|
img: string[];
|
|
1334
1211
|
normal: string[];
|
|
1335
1212
|
} & {
|
|
1336
|
-
img
|
|
1337
|
-
normal: string[];
|
|
1213
|
+
img?: string[] | undefined;
|
|
1338
1214
|
} & {
|
|
1339
|
-
img
|
|
1340
|
-
normal: string[];
|
|
1215
|
+
img?: string[] | undefined;
|
|
1341
1216
|
} & {
|
|
1342
1217
|
img: string[];
|
|
1343
1218
|
normal: string[];
|
|
@@ -1346,21 +1221,21 @@ export declare var AppDmEncu: {
|
|
|
1346
1221
|
normal: string[];
|
|
1347
1222
|
};
|
|
1348
1223
|
optsGenericForAll: {
|
|
1349
|
-
allowedExts?: string[];
|
|
1224
|
+
allowedExts?: string[] | undefined;
|
|
1350
1225
|
} & {
|
|
1351
|
-
allowedExts?: string[];
|
|
1226
|
+
allowedExts?: string[] | undefined;
|
|
1352
1227
|
} & {
|
|
1353
|
-
allowedExts?: string[];
|
|
1228
|
+
allowedExts?: string[] | undefined;
|
|
1354
1229
|
} & {
|
|
1355
|
-
allowedExts?: string[];
|
|
1230
|
+
allowedExts?: string[] | undefined;
|
|
1356
1231
|
} & {
|
|
1357
|
-
allowedExts?: string[];
|
|
1232
|
+
allowedExts?: string[] | undefined;
|
|
1358
1233
|
} & {
|
|
1359
|
-
allowedExts?: string[];
|
|
1234
|
+
allowedExts?: string[] | undefined;
|
|
1360
1235
|
} & {
|
|
1361
|
-
allowedExts?: string[];
|
|
1236
|
+
allowedExts?: string[] | undefined;
|
|
1362
1237
|
} & {
|
|
1363
|
-
allowedExts?: string[];
|
|
1238
|
+
allowedExts?: string[] | undefined;
|
|
1364
1239
|
};
|
|
1365
1240
|
sqls: {
|
|
1366
1241
|
[k: string]: string;
|
|
@@ -1419,45 +1294,48 @@ export declare var AppDmEncu: {
|
|
|
1419
1294
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1420
1295
|
} & {
|
|
1421
1296
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1422
|
-
} & {
|
|
1423
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1424
|
-
} & {
|
|
1425
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1426
|
-
} & {
|
|
1427
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1428
|
-
} & {
|
|
1429
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1430
|
-
} & {
|
|
1431
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1432
|
-
} & {
|
|
1433
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1434
1297
|
};
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef
|
|
1298
|
+
dumpDbTableFields(tableDefinition: import("backend-plus").TableDefinition): string[];
|
|
1299
|
+
}) & procesamiento.Constructor<{
|
|
1300
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1438
1301
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1439
1302
|
configStaticConfig(): void;
|
|
1440
1303
|
getMenu(): procesamiento.MenuDefinition;
|
|
1441
1304
|
postConfig(): Promise<void>;
|
|
1442
1305
|
prepareGetTables(): void;
|
|
1443
|
-
generateAndLoadTableDefs(): import("backend-plus").TableDefinitions;
|
|
1306
|
+
generateAndLoadTableDefs(): import("backend-plus" /** @type {{type:'js', src:string}[]} */).TableDefinitions;
|
|
1444
1307
|
tablasDatos: import("varcal").TablaDatos[];
|
|
1445
1308
|
procedures: import("backend-plus").ProcedureDef[];
|
|
1446
1309
|
procedure: {
|
|
1447
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1310
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1448
1311
|
} & {
|
|
1449
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1312
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1450
1313
|
} & {
|
|
1451
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1314
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1452
1315
|
} & {
|
|
1453
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1316
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1454
1317
|
};
|
|
1455
1318
|
app: import("backend-plus").ExpressPlus;
|
|
1456
1319
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
1457
1320
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
1458
|
-
db: import("
|
|
1321
|
+
db: typeof import("pg-promise-strict");
|
|
1322
|
+
config: any;
|
|
1459
1323
|
rootPath: string;
|
|
1460
|
-
caches:
|
|
1324
|
+
caches: {
|
|
1325
|
+
procedures: {
|
|
1326
|
+
[k: string]: {
|
|
1327
|
+
timestamp: number;
|
|
1328
|
+
result: any;
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
} & import("backend-plus").Caches & {
|
|
1332
|
+
procedures: {
|
|
1333
|
+
[k: string]: {
|
|
1334
|
+
timestamp: number;
|
|
1335
|
+
result: any;
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1461
1339
|
fieldDomain: {
|
|
1462
1340
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1463
1341
|
} & {
|
|
@@ -1481,13 +1359,13 @@ export declare var AppDmEncu: {
|
|
|
1481
1359
|
normal: string[];
|
|
1482
1360
|
};
|
|
1483
1361
|
optsGenericForAll: {
|
|
1484
|
-
allowedExts?: string[];
|
|
1362
|
+
allowedExts?: string[] | undefined;
|
|
1485
1363
|
} & {
|
|
1486
|
-
allowedExts?: string[];
|
|
1364
|
+
allowedExts?: string[] | undefined;
|
|
1487
1365
|
} & {
|
|
1488
|
-
allowedExts?: string[];
|
|
1366
|
+
allowedExts?: string[] | undefined;
|
|
1489
1367
|
} & {
|
|
1490
|
-
allowedExts?: string[];
|
|
1368
|
+
allowedExts?: string[] | undefined;
|
|
1491
1369
|
};
|
|
1492
1370
|
sqls: {
|
|
1493
1371
|
[k: string]: string;
|
|
@@ -1522,36 +1400,39 @@ export declare var AppDmEncu: {
|
|
|
1522
1400
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1523
1401
|
} & {
|
|
1524
1402
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1525
|
-
} & {
|
|
1526
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1527
|
-
} & {
|
|
1528
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1529
1403
|
};
|
|
1530
|
-
}
|
|
1404
|
+
} & {
|
|
1531
1405
|
configStaticConfig(): void;
|
|
1532
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef
|
|
1406
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1533
1407
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1534
|
-
generateAndLoadTableDefs():
|
|
1535
|
-
generateBaseTableDef(tablaDatos:
|
|
1408
|
+
generateAndLoadTableDefs(): import("backend-plus").TableDefinitions;
|
|
1409
|
+
generateBaseTableDef(tablaDatos: import("varcal").TablaDatos): import("backend-plus").TableDefinition;
|
|
1536
1410
|
prepareGetTables(): void;
|
|
1537
|
-
tablasDatos:
|
|
1411
|
+
tablasDatos: import("varcal").TablaDatos[];
|
|
1538
1412
|
cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
|
|
1539
|
-
getTableDefFunction(tableDef:
|
|
1540
|
-
loadTableDef(tableDef:
|
|
1541
|
-
generateAndLoadTableDef(tablaDatos:
|
|
1413
|
+
getTableDefFunction(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1414
|
+
loadTableDef(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1415
|
+
generateAndLoadTableDef(tablaDatos: import("varcal").TablaDatos): import("backend-plus").TableDefinitionFunction;
|
|
1542
1416
|
procedures: import("backend-plus").ProcedureDef[];
|
|
1543
1417
|
procedure: {
|
|
1544
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1418
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1545
1419
|
} & {
|
|
1546
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1420
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1547
1421
|
};
|
|
1548
1422
|
app: import("backend-plus").ExpressPlus;
|
|
1549
1423
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
1550
1424
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
1551
|
-
db: import("
|
|
1552
|
-
config:
|
|
1425
|
+
db: typeof import("pg-promise-strict");
|
|
1426
|
+
config: any;
|
|
1553
1427
|
rootPath: string;
|
|
1554
|
-
caches:
|
|
1428
|
+
caches: {
|
|
1429
|
+
procedures: {
|
|
1430
|
+
[k: string]: {
|
|
1431
|
+
timestamp: number;
|
|
1432
|
+
result: any;
|
|
1433
|
+
};
|
|
1434
|
+
};
|
|
1435
|
+
} & import("backend-plus").Caches;
|
|
1555
1436
|
fieldDomain: {
|
|
1556
1437
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1557
1438
|
} & {
|
|
@@ -1565,9 +1446,9 @@ export declare var AppDmEncu: {
|
|
|
1565
1446
|
normal: string[];
|
|
1566
1447
|
};
|
|
1567
1448
|
optsGenericForAll: {
|
|
1568
|
-
allowedExts?: string[];
|
|
1449
|
+
allowedExts?: string[] | undefined;
|
|
1569
1450
|
} & {
|
|
1570
|
-
allowedExts?: string[];
|
|
1451
|
+
allowedExts?: string[] | undefined;
|
|
1571
1452
|
};
|
|
1572
1453
|
sqls: {
|
|
1573
1454
|
[k: string]: string;
|
|
@@ -1586,27 +1467,32 @@ export declare var AppDmEncu: {
|
|
|
1586
1467
|
} & {
|
|
1587
1468
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1588
1469
|
};
|
|
1470
|
+
isAdmin(): boolean;
|
|
1471
|
+
canChangePass(): Promise<boolean>;
|
|
1472
|
+
inTransactionProcedureContext<T_5>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_5>): Promise<T_5>;
|
|
1473
|
+
dumpDbTableFields(tableDefinition: import("backend-plus").TableDefinition): string[];
|
|
1589
1474
|
i18n: {
|
|
1590
1475
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1591
|
-
} & {
|
|
1592
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1593
1476
|
};
|
|
1594
|
-
}
|
|
1477
|
+
} & {
|
|
1478
|
+
tablasDatos: import("varcal").TablaDatos[];
|
|
1595
1479
|
configStaticConfig(): void;
|
|
1596
|
-
generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinition;
|
|
1597
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1598
|
-
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1599
|
-
prepareGetTables(): void;
|
|
1600
|
-
tablasDatos: procesamiento.TablaDatos[];
|
|
1601
1480
|
cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
|
|
1481
|
+
postConfig(): Promise<void>;
|
|
1482
|
+
generateBaseTableDef(tablaDatos: import("varcal").TablaDatos): import("backend-plus").TableDefinition;
|
|
1602
1483
|
getTableDefFunction(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1603
1484
|
loadTableDef(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1604
|
-
generateAndLoadTableDef(tablaDatos:
|
|
1485
|
+
generateAndLoadTableDef(tablaDatos: import("varcal").TablaDatos): import("backend-plus").TableDefinitionFunction;
|
|
1486
|
+
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1487
|
+
getMenu(): procesamiento.MenuDefinition;
|
|
1488
|
+
prepareGetTables(): void;
|
|
1489
|
+
checkDatabaseStructure(client: import("pg-promise-strict").Client): Promise<void>;
|
|
1490
|
+
getDbFunctions(opts: import("backend-plus").DumpOptions): Promise<{
|
|
1491
|
+
dumpText: string;
|
|
1492
|
+
}[]>;
|
|
1605
1493
|
procedures: import("backend-plus").ProcedureDef[];
|
|
1606
1494
|
procedure: {
|
|
1607
1495
|
[key: string]: import("backend-plus").ProcedureDef;
|
|
1608
|
-
} & {
|
|
1609
|
-
[key: string]: import("backend-plus").ProcedureDef;
|
|
1610
1496
|
};
|
|
1611
1497
|
app: import("backend-plus").ExpressPlus;
|
|
1612
1498
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
@@ -1621,288 +1507,55 @@ export declare var AppDmEncu: {
|
|
|
1621
1507
|
result: any;
|
|
1622
1508
|
};
|
|
1623
1509
|
};
|
|
1624
|
-
} & {
|
|
1625
|
-
procedures: {
|
|
1626
|
-
[k: string]: {
|
|
1627
|
-
timestamp: number;
|
|
1628
|
-
result: any;
|
|
1629
|
-
};
|
|
1630
|
-
};
|
|
1631
1510
|
};
|
|
1632
1511
|
fieldDomain: {
|
|
1633
|
-
[k: string]: Partial<import("backend-plus").
|
|
1634
|
-
name: string;
|
|
1635
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
1636
|
-
label?: string | undefined;
|
|
1637
|
-
title?: string | undefined;
|
|
1638
|
-
nullable?: boolean | undefined;
|
|
1639
|
-
dbNullable?: boolean | undefined;
|
|
1640
|
-
defaultValue?: any;
|
|
1641
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1642
|
-
clientSide?: string | undefined;
|
|
1643
|
-
isName?: boolean | undefined;
|
|
1644
|
-
isPk?: number | undefined;
|
|
1645
|
-
serverSide?: boolean | undefined;
|
|
1646
|
-
inTable?: boolean | undefined;
|
|
1647
|
-
allowEmtpyText?: boolean | undefined;
|
|
1648
|
-
mobileInputType?: string | undefined;
|
|
1649
|
-
extraRow?: number | undefined;
|
|
1650
|
-
inexactNumber?: number | undefined;
|
|
1651
|
-
visible?: boolean | undefined;
|
|
1652
|
-
width?: number | undefined;
|
|
1653
|
-
references?: string | undefined;
|
|
1654
|
-
referencesField?: string | undefined;
|
|
1655
|
-
aggregate?: string | undefined;
|
|
1656
|
-
specialDefaultValue?: string | undefined;
|
|
1657
|
-
specialValueWhenInsert?: string | undefined;
|
|
1658
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
1659
|
-
description?: string | undefined;
|
|
1660
|
-
dataLength?: number | undefined;
|
|
1661
|
-
options?: (string | {
|
|
1662
|
-
option: string | number;
|
|
1663
|
-
label: string;
|
|
1664
|
-
})[] | undefined;
|
|
1665
|
-
inView?: boolean | undefined;
|
|
1666
|
-
sortMethod?: string | undefined;
|
|
1667
|
-
generatedAs?: string | undefined;
|
|
1668
|
-
}> | Partial<import("backend-plus").EditableDbDefinition & {
|
|
1669
|
-
name: string;
|
|
1670
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
1671
|
-
label?: string | undefined;
|
|
1672
|
-
title?: string | undefined;
|
|
1673
|
-
nullable?: boolean | undefined;
|
|
1674
|
-
dbNullable?: boolean | undefined;
|
|
1675
|
-
defaultValue?: any;
|
|
1676
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1677
|
-
clientSide?: string | undefined;
|
|
1678
|
-
isName?: boolean | undefined;
|
|
1679
|
-
isPk?: number | undefined;
|
|
1680
|
-
serverSide?: boolean | undefined;
|
|
1681
|
-
inTable?: boolean | undefined;
|
|
1682
|
-
allowEmtpyText?: boolean | undefined;
|
|
1683
|
-
mobileInputType?: string | undefined;
|
|
1684
|
-
extraRow?: number | undefined;
|
|
1685
|
-
inexactNumber?: number | undefined;
|
|
1686
|
-
visible?: boolean | undefined;
|
|
1687
|
-
width?: number | undefined;
|
|
1688
|
-
references?: string | undefined;
|
|
1689
|
-
referencesField?: string | undefined;
|
|
1690
|
-
aggregate?: string | undefined;
|
|
1691
|
-
specialDefaultValue?: string | undefined;
|
|
1692
|
-
specialValueWhenInsert?: string | undefined;
|
|
1693
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
1694
|
-
description?: string | undefined;
|
|
1695
|
-
dataLength?: number | undefined;
|
|
1696
|
-
options?: (string | {
|
|
1697
|
-
option: string | number;
|
|
1698
|
-
label: string;
|
|
1699
|
-
})[] | undefined;
|
|
1700
|
-
inView?: boolean | undefined;
|
|
1701
|
-
sortMethod?: string | undefined;
|
|
1702
|
-
generatedAs?: string | undefined;
|
|
1703
|
-
} & {
|
|
1704
|
-
sequence: import("backend-plus").SequenceDefinition;
|
|
1705
|
-
nullable: true;
|
|
1706
|
-
editable: false;
|
|
1707
|
-
}>;
|
|
1708
|
-
} & {
|
|
1709
|
-
[k: string]: Partial<import("backend-plus").EditableDbDefinition & {
|
|
1710
|
-
name: string;
|
|
1711
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
1712
|
-
label?: string | undefined;
|
|
1713
|
-
title?: string | undefined;
|
|
1714
|
-
nullable?: boolean | undefined;
|
|
1715
|
-
dbNullable?: boolean | undefined;
|
|
1716
|
-
defaultValue?: any;
|
|
1717
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1718
|
-
clientSide?: string | undefined;
|
|
1719
|
-
isName?: boolean | undefined;
|
|
1720
|
-
isPk?: number | undefined;
|
|
1721
|
-
serverSide?: boolean | undefined;
|
|
1722
|
-
inTable?: boolean | undefined;
|
|
1723
|
-
allowEmtpyText?: boolean | undefined;
|
|
1724
|
-
mobileInputType?: string | undefined;
|
|
1725
|
-
extraRow?: number | undefined;
|
|
1726
|
-
inexactNumber?: number | undefined;
|
|
1727
|
-
visible?: boolean | undefined;
|
|
1728
|
-
width?: number | undefined;
|
|
1729
|
-
references?: string | undefined;
|
|
1730
|
-
referencesField?: string | undefined;
|
|
1731
|
-
aggregate?: string | undefined;
|
|
1732
|
-
specialDefaultValue?: string | undefined;
|
|
1733
|
-
specialValueWhenInsert?: string | undefined;
|
|
1734
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
1735
|
-
description?: string | undefined;
|
|
1736
|
-
dataLength?: number | undefined;
|
|
1737
|
-
options?: (string | {
|
|
1738
|
-
option: string | number;
|
|
1739
|
-
label: string;
|
|
1740
|
-
})[] | undefined;
|
|
1741
|
-
inView?: boolean | undefined;
|
|
1742
|
-
sortMethod?: string | undefined;
|
|
1743
|
-
generatedAs?: string | undefined;
|
|
1744
|
-
}> | Partial<import("backend-plus").EditableDbDefinition & {
|
|
1745
|
-
name: string;
|
|
1746
|
-
typeName: import("backend-plus").PgKnownTypes;
|
|
1747
|
-
label?: string | undefined;
|
|
1748
|
-
title?: string | undefined;
|
|
1749
|
-
nullable?: boolean | undefined;
|
|
1750
|
-
dbNullable?: boolean | undefined;
|
|
1751
|
-
defaultValue?: any;
|
|
1752
|
-
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1753
|
-
clientSide?: string | undefined;
|
|
1754
|
-
isName?: boolean | undefined;
|
|
1755
|
-
isPk?: number | undefined;
|
|
1756
|
-
serverSide?: boolean | undefined;
|
|
1757
|
-
inTable?: boolean | undefined;
|
|
1758
|
-
allowEmtpyText?: boolean | undefined;
|
|
1759
|
-
mobileInputType?: string | undefined;
|
|
1760
|
-
extraRow?: number | undefined;
|
|
1761
|
-
inexactNumber?: number | undefined;
|
|
1762
|
-
visible?: boolean | undefined;
|
|
1763
|
-
width?: number | undefined;
|
|
1764
|
-
references?: string | undefined;
|
|
1765
|
-
referencesField?: string | undefined;
|
|
1766
|
-
aggregate?: string | undefined;
|
|
1767
|
-
specialDefaultValue?: string | undefined;
|
|
1768
|
-
specialValueWhenInsert?: string | undefined;
|
|
1769
|
-
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
1770
|
-
description?: string | undefined;
|
|
1771
|
-
dataLength?: number | undefined;
|
|
1772
|
-
options?: (string | {
|
|
1773
|
-
option: string | number;
|
|
1774
|
-
label: string;
|
|
1775
|
-
})[] | undefined;
|
|
1776
|
-
inView?: boolean | undefined;
|
|
1777
|
-
sortMethod?: string | undefined;
|
|
1778
|
-
generatedAs?: string | undefined;
|
|
1779
|
-
} & {
|
|
1780
|
-
sequence: import("backend-plus").SequenceDefinition;
|
|
1781
|
-
nullable: true;
|
|
1782
|
-
editable: false;
|
|
1783
|
-
}>;
|
|
1512
|
+
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1784
1513
|
};
|
|
1785
1514
|
exts: {
|
|
1786
|
-
img
|
|
1787
|
-
|
|
1788
|
-
img?: string[] | undefined;
|
|
1515
|
+
img: string[];
|
|
1516
|
+
normal: string[];
|
|
1789
1517
|
};
|
|
1790
1518
|
optsGenericForAll: {
|
|
1791
1519
|
allowedExts?: string[] | undefined;
|
|
1792
|
-
} & {
|
|
1793
|
-
allowedExts?: string[] | undefined;
|
|
1794
1520
|
};
|
|
1795
1521
|
sqls: {
|
|
1796
1522
|
[k: string]: string;
|
|
1797
|
-
} & {
|
|
1798
|
-
[k: string]: string;
|
|
1799
1523
|
};
|
|
1800
1524
|
messages: {
|
|
1801
1525
|
[k: string]: string;
|
|
1802
|
-
} & {
|
|
1803
|
-
[k: string]: string;
|
|
1804
1526
|
};
|
|
1805
1527
|
dbUserNameExpr: string;
|
|
1806
1528
|
dbUserRolExpr: string;
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
caches: import("backend-plus").Caches;
|
|
1835
|
-
fieldDomain: {
|
|
1836
|
-
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1837
|
-
};
|
|
1838
|
-
exts: {
|
|
1839
|
-
img: string[];
|
|
1840
|
-
normal: string[];
|
|
1841
|
-
};
|
|
1842
|
-
optsGenericForAll: {
|
|
1843
|
-
allowedExts?: string[];
|
|
1844
|
-
};
|
|
1845
|
-
sqls: {
|
|
1846
|
-
[k: string]: string;
|
|
1847
|
-
};
|
|
1848
|
-
messages: {
|
|
1849
|
-
[k: string]: string;
|
|
1850
|
-
};
|
|
1851
|
-
dbUserNameExpr: string;
|
|
1852
|
-
dbUserRolExpr: string;
|
|
1853
|
-
specialValueWhenInsert: {
|
|
1854
|
-
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1855
|
-
};
|
|
1856
|
-
clearCaches(): void;
|
|
1857
|
-
start(opts?: import("backend-plus").StartOptions): Promise<void>;
|
|
1858
|
-
getTables(): import("backend-plus").TableItemDef[];
|
|
1859
|
-
appendToTableDefinition(tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: import("backend-plus").TableContext) => void): void;
|
|
1860
|
-
getContext(req: Request): Context;
|
|
1861
|
-
addSchrödingerServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
1862
|
-
addUnloggedServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
1863
|
-
addLoggedServices(): void;
|
|
1864
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1865
|
-
isAdmin(reqOrContext: Request | Context): boolean;
|
|
1866
|
-
canChangePass(): Promise<boolean>;
|
|
1867
|
-
inDbClient<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: Client) => Promise<T_1>): Promise<T_1>;
|
|
1868
|
-
inTransaction<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbTransaction: (client: Client) => Promise<T_1>): Promise<T_1>;
|
|
1869
|
-
inTransactionProcedureContext<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>): Promise<T_1>;
|
|
1870
|
-
procedureDefCompleter<T_1>(procedureDef: import("backend-plus").ProcedureDef): import("backend-plus").ProcedureDef<T_1>;
|
|
1871
|
-
tableDefAdapt(tableDef: procesamiento.TableDefinition, context: Context): procesamiento.TableDefinition;
|
|
1872
|
-
pushApp(dirname: string): void;
|
|
1873
|
-
dumpDbTableFields(tableDefinition: procesamiento.TableDefinition): string[];
|
|
1874
|
-
dumpDbSchemaPartial(partialTableStructures: import("backend-plus").TableDefinitions, opts?: procesamiento.DumpOptions): Promise<{
|
|
1875
|
-
mainSql: string;
|
|
1876
|
-
enancePart: string;
|
|
1877
|
-
}>;
|
|
1878
|
-
getContextForDump(): import("backend-plus").ContextForDump;
|
|
1879
|
-
getClientSetupForSendToFrontEnd(req: Request): Promise<import("backend-plus").ClientSetup>;
|
|
1880
|
-
configList(): (object | string)[];
|
|
1881
|
-
setStaticConfig(defConfigYamlString: string): void;
|
|
1882
|
-
mainPage(req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage): {
|
|
1883
|
-
toHtmlDoc: () => string;
|
|
1884
|
-
};
|
|
1885
|
-
isThisProcedureAllowed<T_1>(context: Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
1886
|
-
[key: string]: T_1;
|
|
1887
|
-
}): Promise<boolean>;
|
|
1888
|
-
i18n: {
|
|
1889
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1890
|
-
};
|
|
1891
|
-
shutdownCallbackListAdd(param: {
|
|
1892
|
-
message: string;
|
|
1893
|
-
fun: () => Promise<void>;
|
|
1894
|
-
}): void;
|
|
1895
|
-
shutdownBackend(): Promise<void>;
|
|
1896
|
-
setLog(opts: {
|
|
1897
|
-
until: string;
|
|
1898
|
-
results?: boolean;
|
|
1899
|
-
}): void;
|
|
1900
|
-
getDataDumpTransformations(rawData: string): Promise<{
|
|
1901
|
-
rawData: string;
|
|
1902
|
-
prepareTransformationSql: string[];
|
|
1903
|
-
endTransformationSql: string[];
|
|
1904
|
-
}>;
|
|
1529
|
+
specialValueWhenInsert: {
|
|
1530
|
+
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1531
|
+
};
|
|
1532
|
+
clearCaches(): void;
|
|
1533
|
+
start(opts?: import("backend-plus").StartOptions | undefined): Promise<void>;
|
|
1534
|
+
getTables(): import("backend-plus").TableItemDef[];
|
|
1535
|
+
appendToTableDefinition(tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext | undefined) => void): void;
|
|
1536
|
+
getContext(req: Request): import("backend-plus").Context;
|
|
1537
|
+
addSchrödingerServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
1538
|
+
addUnloggedServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
1539
|
+
addLoggedServices(): void;
|
|
1540
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1541
|
+
inDbClient<T_1>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>): Promise<T_1>;
|
|
1542
|
+
inTransaction<T_2>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_2>): Promise<T_2>;
|
|
1543
|
+
procedureDefCompleter(procedureDef: import("backend-plus").ProcedureDef): import("backend-plus").ProcedureDef;
|
|
1544
|
+
tableDefAdapt(tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context): import("backend-plus").TableDefinition;
|
|
1545
|
+
pushApp(dirname: string): void;
|
|
1546
|
+
dumpDbSchemaPartial(partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined): Promise<{
|
|
1547
|
+
mainSql: string;
|
|
1548
|
+
enancePart: string;
|
|
1549
|
+
}>;
|
|
1550
|
+
getContextForDump(): import("backend-plus").ContextForDump;
|
|
1551
|
+
getClientSetupForSendToFrontEnd(req: Request): import("backend-plus").ClientSetup;
|
|
1552
|
+
configList(): (string | object)[];
|
|
1553
|
+
setStaticConfig(defConfigYamlString: string): void;
|
|
1554
|
+
mainPage(req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined): {
|
|
1555
|
+
toHtmlDoc: () => string;
|
|
1905
1556
|
};
|
|
1906
|
-
|
|
1907
|
-
|
|
1557
|
+
isThisProcedureAllowed<T_3_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
1558
|
+
[key: string]: T_3_1;
|
|
1559
|
+
}): Promise<boolean>;
|
|
1560
|
+
} & procesamiento.AppBackend>;
|
|
1908
1561
|
export type AppAppDmEncuType = InstanceType<typeof AppDmEncu>;
|