dmencu 1.0.25 → 1.0.26
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/client/client.js +13 -7
- package/dist/client/unlogged/render-formulario.tsx +4 -0
- package/dist/server/server/app-dmencu.d.ts +323 -448
- package/dist/server/server/app-dmencu.js +10 -5
- package/dist/server/server/def-config.d.ts +1 -1
- package/dist/server/server/def-config.js +2 -1
- package/dist/server/server/procedures-dmencu.js +34 -10
- package/dist/server/server/server-dmencu.js +3 -3
- package/dist/server/server/table-inconsistencias_cumplen_condicion.d.ts +2 -0
- package/dist/server/server/table-inconsistencias_cumplen_condicion.js +33 -0
- package/dist/server/server/table-inconsistencias_no_cumple_condicion.d.ts +2 -0
- package/dist/server/server/table-inconsistencias_no_cumple_condicion.js +31 -0
- package/dist/server/server/table-inconsistencias_no_cumplen_condicion.d.ts +3 -0
- package/dist/server/server/table-inconsistencias_no_cumplen_condicion.js +38 -0
- package/dist/server/server/table-momento_consistencia_tarea_rol.d.ts +2 -0
- package/dist/server/server/table-momento_consistencia_tarea_rol.js +34 -0
- package/dist/server/server/table-momento_consistencia_tarea_roles.d.ts +2 -0
- package/dist/server/server/table-momento_consistencia_tarea_roles.js +33 -0
- package/dist/server/server/table-roles copy.d.ts +2 -0
- package/dist/server/server/table-roles copy.js +33 -0
- package/dist/server/server/table-tareas_areas.js +3 -7
- package/dist/server/server/table-tareas_tem_fin_campo copy.d.ts +3 -0
- package/dist/server/server/table-tareas_tem_fin_campo copy.js +46 -0
- package/dist/unlogged/unlogged/render-formulario.js +6 -1
- package/dist/unlogged/unlogged/render-formulario.tsx +4 -0
- package/install/accion_cumple_condicion.sql +1 -1
- package/install/carga_inicial_tareas_tem.sql +3 -5
- package/install/momento_consistencia_cumple_condicion.sql +28 -0
- package/install/tarea_cumple_condicion.sql +1 -1
- package/install/usuarios.tab +6 -0
- package/package.json +2 -2
|
@@ -123,126 +123,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
123
123
|
db: typeof import("pg-promise-strict");
|
|
124
124
|
config: any;
|
|
125
125
|
rootPath: string;
|
|
126
|
-
caches:
|
|
127
|
-
procedures: {
|
|
128
|
-
[k: string]: {
|
|
129
|
-
timestamp: number;
|
|
130
|
-
result: any;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
} & {
|
|
134
|
-
procedures: {
|
|
135
|
-
[k: string]: {
|
|
136
|
-
timestamp: number;
|
|
137
|
-
result: any;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
} & {
|
|
141
|
-
procedures: {
|
|
142
|
-
[k: string]: {
|
|
143
|
-
timestamp: number;
|
|
144
|
-
result: any;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
} & {
|
|
148
|
-
procedures: {
|
|
149
|
-
[k: string]: {
|
|
150
|
-
timestamp: number;
|
|
151
|
-
result: any;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
} & {
|
|
155
|
-
procedures: {
|
|
156
|
-
[k: string]: {
|
|
157
|
-
timestamp: number;
|
|
158
|
-
result: any;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
} & {
|
|
162
|
-
procedures: {
|
|
163
|
-
[k: string]: {
|
|
164
|
-
timestamp: number;
|
|
165
|
-
result: any;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
} & {
|
|
169
|
-
procedures: {
|
|
170
|
-
[k: string]: {
|
|
171
|
-
timestamp: number;
|
|
172
|
-
result: any;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
} & {
|
|
176
|
-
procedures: {
|
|
177
|
-
[k: string]: {
|
|
178
|
-
timestamp: number;
|
|
179
|
-
result: any;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
} & {
|
|
183
|
-
procedures: {
|
|
184
|
-
[k: string]: {
|
|
185
|
-
timestamp: number;
|
|
186
|
-
result: any;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
} & {
|
|
190
|
-
procedures: {
|
|
191
|
-
[k: string]: {
|
|
192
|
-
timestamp: number;
|
|
193
|
-
result: any;
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
} & {
|
|
197
|
-
procedures: {
|
|
198
|
-
[k: string]: {
|
|
199
|
-
timestamp: number;
|
|
200
|
-
result: any;
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
} & {
|
|
204
|
-
procedures: {
|
|
205
|
-
[k: string]: {
|
|
206
|
-
timestamp: number;
|
|
207
|
-
result: any;
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
} & {
|
|
211
|
-
procedures: {
|
|
212
|
-
[k: string]: {
|
|
213
|
-
timestamp: number;
|
|
214
|
-
result: any;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
} & {
|
|
218
|
-
procedures: {
|
|
219
|
-
[k: string]: {
|
|
220
|
-
timestamp: number;
|
|
221
|
-
result: any;
|
|
222
|
-
};
|
|
223
|
-
};
|
|
224
|
-
} & {
|
|
225
|
-
procedures: {
|
|
226
|
-
[k: string]: {
|
|
227
|
-
timestamp: number;
|
|
228
|
-
result: any;
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
} & {
|
|
232
|
-
procedures: {
|
|
233
|
-
[k: string]: {
|
|
234
|
-
timestamp: number;
|
|
235
|
-
result: any;
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
} & {
|
|
239
|
-
procedures: {
|
|
240
|
-
[k: string]: {
|
|
241
|
-
timestamp: number;
|
|
242
|
-
result: any;
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
|
-
} & procesamiento.Caches;
|
|
126
|
+
caches: import("backend-plus").Caches;
|
|
246
127
|
fieldDomain: {
|
|
247
128
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
248
129
|
} & {
|
|
@@ -281,18 +162,23 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
281
162
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
282
163
|
};
|
|
283
164
|
exts: {
|
|
284
|
-
img
|
|
165
|
+
img: string[];
|
|
166
|
+
normal: string[];
|
|
285
167
|
} & {
|
|
286
|
-
img
|
|
168
|
+
img: string[];
|
|
169
|
+
normal: string[];
|
|
287
170
|
} & {
|
|
288
|
-
img
|
|
171
|
+
img: string[];
|
|
172
|
+
normal: string[];
|
|
289
173
|
} & {
|
|
290
174
|
img: string[];
|
|
291
175
|
normal: string[];
|
|
292
176
|
} & {
|
|
293
|
-
img
|
|
177
|
+
img: string[];
|
|
178
|
+
normal: string[];
|
|
294
179
|
} & {
|
|
295
|
-
img
|
|
180
|
+
img: string[];
|
|
181
|
+
normal: string[];
|
|
296
182
|
} & {
|
|
297
183
|
img: string[];
|
|
298
184
|
normal: string[];
|
|
@@ -300,22 +186,29 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
300
186
|
img: string[];
|
|
301
187
|
normal: string[];
|
|
302
188
|
} & {
|
|
303
|
-
img
|
|
189
|
+
img: string[];
|
|
190
|
+
normal: string[];
|
|
304
191
|
} & {
|
|
305
|
-
img
|
|
192
|
+
img: string[];
|
|
193
|
+
normal: string[];
|
|
306
194
|
} & {
|
|
307
|
-
img
|
|
195
|
+
img: string[];
|
|
196
|
+
normal: string[];
|
|
308
197
|
} & {
|
|
309
198
|
img: string[];
|
|
310
199
|
normal: string[];
|
|
311
200
|
} & {
|
|
312
|
-
img
|
|
201
|
+
img: string[];
|
|
202
|
+
normal: string[];
|
|
313
203
|
} & {
|
|
314
|
-
img
|
|
204
|
+
img: string[];
|
|
205
|
+
normal: string[];
|
|
315
206
|
} & {
|
|
316
|
-
img
|
|
207
|
+
img: string[];
|
|
208
|
+
normal: string[];
|
|
317
209
|
} & {
|
|
318
|
-
img
|
|
210
|
+
img: string[];
|
|
211
|
+
normal: string[];
|
|
319
212
|
} & {
|
|
320
213
|
img: string[];
|
|
321
214
|
normal: string[];
|
|
@@ -330,7 +223,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
330
223
|
} & {
|
|
331
224
|
allowedExts?: string[] | undefined;
|
|
332
225
|
} & {
|
|
333
|
-
allowedExts?: string[]
|
|
226
|
+
allowedExts?: string[];
|
|
334
227
|
} & {
|
|
335
228
|
allowedExts?: string[] | undefined;
|
|
336
229
|
} & {
|
|
@@ -338,7 +231,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
338
231
|
} & {
|
|
339
232
|
allowedExts?: string[] | undefined;
|
|
340
233
|
} & {
|
|
341
|
-
allowedExts?: string[]
|
|
234
|
+
allowedExts?: string[];
|
|
342
235
|
} & {
|
|
343
236
|
allowedExts?: string[] | undefined;
|
|
344
237
|
} & {
|
|
@@ -346,7 +239,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
346
239
|
} & {
|
|
347
240
|
allowedExts?: string[] | undefined;
|
|
348
241
|
} & {
|
|
349
|
-
allowedExts?: string[]
|
|
242
|
+
allowedExts?: string[];
|
|
350
243
|
} & {
|
|
351
244
|
allowedExts?: string[] | undefined;
|
|
352
245
|
} & {
|
|
@@ -479,10 +372,37 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
479
372
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
480
373
|
} & {
|
|
481
374
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
375
|
+
} & {
|
|
376
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
377
|
+
} & {
|
|
378
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
379
|
+
} & {
|
|
380
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
381
|
+
} & {
|
|
382
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
383
|
+
} & {
|
|
384
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
385
|
+
} & {
|
|
386
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
387
|
+
} & {
|
|
388
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
389
|
+
} & {
|
|
390
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
391
|
+
} & {
|
|
392
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
393
|
+
} & {
|
|
394
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
395
|
+
} & {
|
|
396
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
397
|
+
} & {
|
|
398
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
399
|
+
} & {
|
|
400
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
401
|
+
} & {
|
|
402
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
482
403
|
} & {
|
|
483
404
|
messages: Record<procesamiento.LangId, Record<string, string>>;
|
|
484
405
|
};
|
|
485
|
-
dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
|
|
486
406
|
generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
|
|
487
407
|
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);
|
|
488
408
|
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>);
|
|
@@ -499,11 +419,14 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
499
419
|
getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
|
|
500
420
|
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);
|
|
501
421
|
addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
|
|
502
|
-
|
|
503
|
-
|
|
422
|
+
isAdmin: (() => boolean) & (() => boolean);
|
|
423
|
+
inDbClient: (<T_1>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T_1>(req: procesamiento.RequestDb | null, doThisWithDbClient: (client: Client) => Promise<T_1>) => Promise<T_1>);
|
|
424
|
+
inTransaction: (<T_1>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T_1>(req: procesamiento.RequestDb | null, doThisWithDbTransaction: (client: Client) => Promise<T_1>) => Promise<T_1>);
|
|
425
|
+
inTransactionProcedureContext: (<T_2>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_2>) => Promise<T_2>) & (<T_1>(req: Request | null, coreFunction: (context: procesamiento.ProcedureContext) => Promise<T_1>) => Promise<T_1>);
|
|
504
426
|
procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & (<T_1>(procedureDef: ProcedureDef) => ProcedureDef<T_1>);
|
|
505
427
|
tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
|
|
506
428
|
pushApp: ((dirname: string) => void) & ((dirname: string) => void);
|
|
429
|
+
dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
|
|
507
430
|
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
|
|
508
431
|
mainSql: string;
|
|
509
432
|
enancePart: string;
|
|
@@ -523,22 +446,28 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
523
446
|
}) => Promise<boolean>) & (<T_1>(context: Context, procedureDef: ProcedureDef, params: {
|
|
524
447
|
[key: string]: T_1;
|
|
525
448
|
}) => Promise<boolean>);
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
}): void;
|
|
532
|
-
shutdownBackend(): Promise<void>;
|
|
533
|
-
setLog(opts: {
|
|
449
|
+
shootDownBackend(): Promise<void>;
|
|
450
|
+
setLog: ((opts: {
|
|
451
|
+
until: string;
|
|
452
|
+
results?: boolean | undefined;
|
|
453
|
+
}) => void) & ((opts: {
|
|
534
454
|
until: string;
|
|
535
455
|
results?: boolean;
|
|
536
|
-
})
|
|
537
|
-
getDataDumpTransformations(rawData: string)
|
|
456
|
+
}) => void);
|
|
457
|
+
getDataDumpTransformations: ((rawData: string) => Promise<{
|
|
538
458
|
rawData: string;
|
|
539
459
|
prepareTransformationSql: string[];
|
|
540
460
|
endTransformationSql: string[];
|
|
541
|
-
}
|
|
461
|
+
}>) & ((rawData: string) => Promise<{
|
|
462
|
+
rawData: string;
|
|
463
|
+
prepareTransformationSql: string[];
|
|
464
|
+
endTransformationSql: string[];
|
|
465
|
+
}>);
|
|
466
|
+
shutdownCallbackListAdd(param: {
|
|
467
|
+
message: string;
|
|
468
|
+
fun: () => Promise<void>;
|
|
469
|
+
}): void;
|
|
470
|
+
shutdownBackend(): Promise<void>;
|
|
542
471
|
};
|
|
543
472
|
} & T;
|
|
544
473
|
export declare var AppDmEncu: {
|
|
@@ -660,126 +589,7 @@ export declare var AppDmEncu: {
|
|
|
660
589
|
db: typeof import("pg-promise-strict");
|
|
661
590
|
config: any;
|
|
662
591
|
rootPath: string;
|
|
663
|
-
caches:
|
|
664
|
-
procedures: {
|
|
665
|
-
[k: string]: {
|
|
666
|
-
timestamp: number;
|
|
667
|
-
result: any;
|
|
668
|
-
};
|
|
669
|
-
};
|
|
670
|
-
} & {
|
|
671
|
-
procedures: {
|
|
672
|
-
[k: string]: {
|
|
673
|
-
timestamp: number;
|
|
674
|
-
result: any;
|
|
675
|
-
};
|
|
676
|
-
};
|
|
677
|
-
} & {
|
|
678
|
-
procedures: {
|
|
679
|
-
[k: string]: {
|
|
680
|
-
timestamp: number;
|
|
681
|
-
result: any;
|
|
682
|
-
};
|
|
683
|
-
};
|
|
684
|
-
} & {
|
|
685
|
-
procedures: {
|
|
686
|
-
[k: string]: {
|
|
687
|
-
timestamp: number;
|
|
688
|
-
result: any;
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
|
-
} & {
|
|
692
|
-
procedures: {
|
|
693
|
-
[k: string]: {
|
|
694
|
-
timestamp: number;
|
|
695
|
-
result: any;
|
|
696
|
-
};
|
|
697
|
-
};
|
|
698
|
-
} & {
|
|
699
|
-
procedures: {
|
|
700
|
-
[k: string]: {
|
|
701
|
-
timestamp: number;
|
|
702
|
-
result: any;
|
|
703
|
-
};
|
|
704
|
-
};
|
|
705
|
-
} & {
|
|
706
|
-
procedures: {
|
|
707
|
-
[k: string]: {
|
|
708
|
-
timestamp: number;
|
|
709
|
-
result: any;
|
|
710
|
-
};
|
|
711
|
-
};
|
|
712
|
-
} & {
|
|
713
|
-
procedures: {
|
|
714
|
-
[k: string]: {
|
|
715
|
-
timestamp: number;
|
|
716
|
-
result: any;
|
|
717
|
-
};
|
|
718
|
-
};
|
|
719
|
-
} & {
|
|
720
|
-
procedures: {
|
|
721
|
-
[k: string]: {
|
|
722
|
-
timestamp: number;
|
|
723
|
-
result: any;
|
|
724
|
-
};
|
|
725
|
-
};
|
|
726
|
-
} & {
|
|
727
|
-
procedures: {
|
|
728
|
-
[k: string]: {
|
|
729
|
-
timestamp: number;
|
|
730
|
-
result: any;
|
|
731
|
-
};
|
|
732
|
-
};
|
|
733
|
-
} & {
|
|
734
|
-
procedures: {
|
|
735
|
-
[k: string]: {
|
|
736
|
-
timestamp: number;
|
|
737
|
-
result: any;
|
|
738
|
-
};
|
|
739
|
-
};
|
|
740
|
-
} & {
|
|
741
|
-
procedures: {
|
|
742
|
-
[k: string]: {
|
|
743
|
-
timestamp: number;
|
|
744
|
-
result: any;
|
|
745
|
-
};
|
|
746
|
-
};
|
|
747
|
-
} & {
|
|
748
|
-
procedures: {
|
|
749
|
-
[k: string]: {
|
|
750
|
-
timestamp: number;
|
|
751
|
-
result: any;
|
|
752
|
-
};
|
|
753
|
-
};
|
|
754
|
-
} & {
|
|
755
|
-
procedures: {
|
|
756
|
-
[k: string]: {
|
|
757
|
-
timestamp: number;
|
|
758
|
-
result: any;
|
|
759
|
-
};
|
|
760
|
-
};
|
|
761
|
-
} & {
|
|
762
|
-
procedures: {
|
|
763
|
-
[k: string]: {
|
|
764
|
-
timestamp: number;
|
|
765
|
-
result: any;
|
|
766
|
-
};
|
|
767
|
-
};
|
|
768
|
-
} & {
|
|
769
|
-
procedures: {
|
|
770
|
-
[k: string]: {
|
|
771
|
-
timestamp: number;
|
|
772
|
-
result: any;
|
|
773
|
-
};
|
|
774
|
-
};
|
|
775
|
-
} & {
|
|
776
|
-
procedures: {
|
|
777
|
-
[k: string]: {
|
|
778
|
-
timestamp: number;
|
|
779
|
-
result: any;
|
|
780
|
-
};
|
|
781
|
-
};
|
|
782
|
-
} & procesamiento.Caches;
|
|
592
|
+
caches: import("backend-plus").Caches;
|
|
783
593
|
fieldDomain: {
|
|
784
594
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
785
595
|
} & {
|
|
@@ -818,18 +628,23 @@ export declare var AppDmEncu: {
|
|
|
818
628
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
819
629
|
};
|
|
820
630
|
exts: {
|
|
821
|
-
img
|
|
631
|
+
img: string[];
|
|
632
|
+
normal: string[];
|
|
822
633
|
} & {
|
|
823
|
-
img
|
|
634
|
+
img: string[];
|
|
635
|
+
normal: string[];
|
|
824
636
|
} & {
|
|
825
|
-
img
|
|
637
|
+
img: string[];
|
|
638
|
+
normal: string[];
|
|
826
639
|
} & {
|
|
827
640
|
img: string[];
|
|
828
641
|
normal: string[];
|
|
829
642
|
} & {
|
|
830
|
-
img
|
|
643
|
+
img: string[];
|
|
644
|
+
normal: string[];
|
|
831
645
|
} & {
|
|
832
|
-
img
|
|
646
|
+
img: string[];
|
|
647
|
+
normal: string[];
|
|
833
648
|
} & {
|
|
834
649
|
img: string[];
|
|
835
650
|
normal: string[];
|
|
@@ -837,22 +652,29 @@ export declare var AppDmEncu: {
|
|
|
837
652
|
img: string[];
|
|
838
653
|
normal: string[];
|
|
839
654
|
} & {
|
|
840
|
-
img
|
|
655
|
+
img: string[];
|
|
656
|
+
normal: string[];
|
|
841
657
|
} & {
|
|
842
|
-
img
|
|
658
|
+
img: string[];
|
|
659
|
+
normal: string[];
|
|
843
660
|
} & {
|
|
844
|
-
img
|
|
661
|
+
img: string[];
|
|
662
|
+
normal: string[];
|
|
845
663
|
} & {
|
|
846
664
|
img: string[];
|
|
847
665
|
normal: string[];
|
|
848
666
|
} & {
|
|
849
|
-
img
|
|
667
|
+
img: string[];
|
|
668
|
+
normal: string[];
|
|
850
669
|
} & {
|
|
851
|
-
img
|
|
670
|
+
img: string[];
|
|
671
|
+
normal: string[];
|
|
852
672
|
} & {
|
|
853
|
-
img
|
|
673
|
+
img: string[];
|
|
674
|
+
normal: string[];
|
|
854
675
|
} & {
|
|
855
|
-
img
|
|
676
|
+
img: string[];
|
|
677
|
+
normal: string[];
|
|
856
678
|
} & {
|
|
857
679
|
img: string[];
|
|
858
680
|
normal: string[];
|
|
@@ -867,7 +689,7 @@ export declare var AppDmEncu: {
|
|
|
867
689
|
} & {
|
|
868
690
|
allowedExts?: string[] | undefined;
|
|
869
691
|
} & {
|
|
870
|
-
allowedExts?: string[]
|
|
692
|
+
allowedExts?: string[];
|
|
871
693
|
} & {
|
|
872
694
|
allowedExts?: string[] | undefined;
|
|
873
695
|
} & {
|
|
@@ -875,7 +697,7 @@ export declare var AppDmEncu: {
|
|
|
875
697
|
} & {
|
|
876
698
|
allowedExts?: string[] | undefined;
|
|
877
699
|
} & {
|
|
878
|
-
allowedExts?: string[]
|
|
700
|
+
allowedExts?: string[];
|
|
879
701
|
} & {
|
|
880
702
|
allowedExts?: string[] | undefined;
|
|
881
703
|
} & {
|
|
@@ -883,7 +705,7 @@ export declare var AppDmEncu: {
|
|
|
883
705
|
} & {
|
|
884
706
|
allowedExts?: string[] | undefined;
|
|
885
707
|
} & {
|
|
886
|
-
allowedExts?: string[]
|
|
708
|
+
allowedExts?: string[];
|
|
887
709
|
} & {
|
|
888
710
|
allowedExts?: string[] | undefined;
|
|
889
711
|
} & {
|
|
@@ -1016,10 +838,37 @@ export declare var AppDmEncu: {
|
|
|
1016
838
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1017
839
|
} & {
|
|
1018
840
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
841
|
+
} & {
|
|
842
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
843
|
+
} & {
|
|
844
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
845
|
+
} & {
|
|
846
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
847
|
+
} & {
|
|
848
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
849
|
+
} & {
|
|
850
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
851
|
+
} & {
|
|
852
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
853
|
+
} & {
|
|
854
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
855
|
+
} & {
|
|
856
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
857
|
+
} & {
|
|
858
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
859
|
+
} & {
|
|
860
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
861
|
+
} & {
|
|
862
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
863
|
+
} & {
|
|
864
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
865
|
+
} & {
|
|
866
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
867
|
+
} & {
|
|
868
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1019
869
|
} & {
|
|
1020
870
|
messages: Record<procesamiento.LangId, Record<string, string>>;
|
|
1021
871
|
};
|
|
1022
|
-
dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
|
|
1023
872
|
generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
|
|
1024
873
|
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);
|
|
1025
874
|
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>);
|
|
@@ -1036,11 +885,14 @@ export declare var AppDmEncu: {
|
|
|
1036
885
|
getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
|
|
1037
886
|
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);
|
|
1038
887
|
addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
|
|
1039
|
-
|
|
1040
|
-
|
|
888
|
+
isAdmin: (() => boolean) & (() => boolean);
|
|
889
|
+
inDbClient: (<T>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T>) => Promise<T>) & (<T>(req: procesamiento.RequestDb | null, doThisWithDbClient: (client: Client) => Promise<T>) => Promise<T>);
|
|
890
|
+
inTransaction: (<T_1>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T>(req: procesamiento.RequestDb | null, doThisWithDbTransaction: (client: Client) => Promise<T>) => Promise<T>);
|
|
891
|
+
inTransactionProcedureContext: (<T_2>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_2>) => Promise<T_2>) & (<T>(req: Request | null, coreFunction: (context: procesamiento.ProcedureContext) => Promise<T>) => Promise<T>);
|
|
1041
892
|
procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & (<T>(procedureDef: ProcedureDef) => ProcedureDef<T>);
|
|
1042
893
|
tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
|
|
1043
894
|
pushApp: ((dirname: string) => void) & ((dirname: string) => void);
|
|
895
|
+
dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
|
|
1044
896
|
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
|
|
1045
897
|
mainSql: string;
|
|
1046
898
|
enancePart: string;
|
|
@@ -1060,22 +912,28 @@ export declare var AppDmEncu: {
|
|
|
1060
912
|
}) => Promise<boolean>) & (<T>(context: Context, procedureDef: ProcedureDef, params: {
|
|
1061
913
|
[key: string]: T;
|
|
1062
914
|
}) => Promise<boolean>);
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
}): void;
|
|
1069
|
-
shutdownBackend(): Promise<void>;
|
|
1070
|
-
setLog(opts: {
|
|
915
|
+
shootDownBackend(): Promise<void>;
|
|
916
|
+
setLog: ((opts: {
|
|
917
|
+
until: string;
|
|
918
|
+
results?: boolean | undefined;
|
|
919
|
+
}) => void) & ((opts: {
|
|
1071
920
|
until: string;
|
|
1072
921
|
results?: boolean;
|
|
1073
|
-
})
|
|
1074
|
-
getDataDumpTransformations(rawData: string)
|
|
922
|
+
}) => void);
|
|
923
|
+
getDataDumpTransformations: ((rawData: string) => Promise<{
|
|
1075
924
|
rawData: string;
|
|
1076
925
|
prepareTransformationSql: string[];
|
|
1077
926
|
endTransformationSql: string[];
|
|
1078
|
-
}
|
|
927
|
+
}>) & ((rawData: string) => Promise<{
|
|
928
|
+
rawData: string;
|
|
929
|
+
prepareTransformationSql: string[];
|
|
930
|
+
endTransformationSql: string[];
|
|
931
|
+
}>);
|
|
932
|
+
shutdownCallbackListAdd(param: {
|
|
933
|
+
message: string;
|
|
934
|
+
fun: () => Promise<void>;
|
|
935
|
+
}): void;
|
|
936
|
+
shutdownBackend(): Promise<void>;
|
|
1079
937
|
};
|
|
1080
938
|
} & (new (...args: any[]) => {
|
|
1081
939
|
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
@@ -1106,63 +964,7 @@ export declare var AppDmEncu: {
|
|
|
1106
964
|
db: typeof import("pg-promise-strict");
|
|
1107
965
|
config: any;
|
|
1108
966
|
rootPath: string;
|
|
1109
|
-
caches:
|
|
1110
|
-
procedures: {
|
|
1111
|
-
[k: string]: {
|
|
1112
|
-
timestamp: number;
|
|
1113
|
-
result: any;
|
|
1114
|
-
};
|
|
1115
|
-
};
|
|
1116
|
-
} & {
|
|
1117
|
-
procedures: {
|
|
1118
|
-
[k: string]: {
|
|
1119
|
-
timestamp: number;
|
|
1120
|
-
result: any;
|
|
1121
|
-
};
|
|
1122
|
-
};
|
|
1123
|
-
} & {
|
|
1124
|
-
procedures: {
|
|
1125
|
-
[k: string]: {
|
|
1126
|
-
timestamp: number;
|
|
1127
|
-
result: any;
|
|
1128
|
-
};
|
|
1129
|
-
};
|
|
1130
|
-
} & {
|
|
1131
|
-
procedures: {
|
|
1132
|
-
[k: string]: {
|
|
1133
|
-
timestamp: number;
|
|
1134
|
-
result: any;
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1137
|
-
} & {
|
|
1138
|
-
procedures: {
|
|
1139
|
-
[k: string]: {
|
|
1140
|
-
timestamp: number;
|
|
1141
|
-
result: any;
|
|
1142
|
-
};
|
|
1143
|
-
};
|
|
1144
|
-
} & {
|
|
1145
|
-
procedures: {
|
|
1146
|
-
[k: string]: {
|
|
1147
|
-
timestamp: number;
|
|
1148
|
-
result: any;
|
|
1149
|
-
};
|
|
1150
|
-
};
|
|
1151
|
-
} & {
|
|
1152
|
-
procedures: {
|
|
1153
|
-
[k: string]: {
|
|
1154
|
-
timestamp: number;
|
|
1155
|
-
result: any;
|
|
1156
|
-
};
|
|
1157
|
-
};
|
|
1158
|
-
} & {
|
|
1159
|
-
procedures: {
|
|
1160
|
-
[k: string]: {
|
|
1161
|
-
timestamp: number;
|
|
1162
|
-
result: any;
|
|
1163
|
-
};
|
|
1164
|
-
};
|
|
1165
|
-
};
|
|
967
|
+
caches: import("backend-plus").Caches;
|
|
1166
968
|
fieldDomain: {
|
|
1167
969
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1168
970
|
} & {
|
|
@@ -1181,18 +983,23 @@ export declare var AppDmEncu: {
|
|
|
1181
983
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1182
984
|
};
|
|
1183
985
|
exts: {
|
|
1184
|
-
img
|
|
986
|
+
img: string[];
|
|
987
|
+
normal: string[];
|
|
1185
988
|
} & {
|
|
1186
|
-
img
|
|
989
|
+
img: string[];
|
|
990
|
+
normal: string[];
|
|
1187
991
|
} & {
|
|
1188
|
-
img
|
|
992
|
+
img: string[];
|
|
993
|
+
normal: string[];
|
|
1189
994
|
} & {
|
|
1190
995
|
img: string[];
|
|
1191
996
|
normal: string[];
|
|
1192
997
|
} & {
|
|
1193
|
-
img
|
|
998
|
+
img: string[];
|
|
999
|
+
normal: string[];
|
|
1194
1000
|
} & {
|
|
1195
|
-
img
|
|
1001
|
+
img: string[];
|
|
1002
|
+
normal: string[];
|
|
1196
1003
|
} & {
|
|
1197
1004
|
img: string[];
|
|
1198
1005
|
normal: string[];
|
|
@@ -1207,7 +1014,7 @@ export declare var AppDmEncu: {
|
|
|
1207
1014
|
} & {
|
|
1208
1015
|
allowedExts?: string[] | undefined;
|
|
1209
1016
|
} & {
|
|
1210
|
-
allowedExts?: string[]
|
|
1017
|
+
allowedExts?: string[];
|
|
1211
1018
|
} & {
|
|
1212
1019
|
allowedExts?: string[] | undefined;
|
|
1213
1020
|
} & {
|
|
@@ -1215,7 +1022,7 @@ export declare var AppDmEncu: {
|
|
|
1215
1022
|
} & {
|
|
1216
1023
|
allowedExts?: string[] | undefined;
|
|
1217
1024
|
} & {
|
|
1218
|
-
allowedExts?: string[]
|
|
1025
|
+
allowedExts?: string[];
|
|
1219
1026
|
};
|
|
1220
1027
|
sqls: {
|
|
1221
1028
|
[k: string]: string;
|
|
@@ -1274,9 +1081,20 @@ export declare var AppDmEncu: {
|
|
|
1274
1081
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1275
1082
|
} & {
|
|
1276
1083
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1084
|
+
} & {
|
|
1085
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1086
|
+
} & {
|
|
1087
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1088
|
+
} & {
|
|
1089
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1090
|
+
} & {
|
|
1091
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1092
|
+
} & {
|
|
1093
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1094
|
+
} & {
|
|
1095
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1277
1096
|
};
|
|
1278
|
-
|
|
1279
|
-
}) & procesamiento.Constructor<{
|
|
1097
|
+
}) & (new (...args: any[]) => {
|
|
1280
1098
|
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1281
1099
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1282
1100
|
configStaticConfig(): void;
|
|
@@ -1301,21 +1119,7 @@ export declare var AppDmEncu: {
|
|
|
1301
1119
|
db: typeof import("pg-promise-strict");
|
|
1302
1120
|
config: any;
|
|
1303
1121
|
rootPath: string;
|
|
1304
|
-
caches:
|
|
1305
|
-
procedures: {
|
|
1306
|
-
[k: string]: {
|
|
1307
|
-
timestamp: number;
|
|
1308
|
-
result: any;
|
|
1309
|
-
};
|
|
1310
|
-
};
|
|
1311
|
-
} & import("backend-plus").Caches & {
|
|
1312
|
-
procedures: {
|
|
1313
|
-
[k: string]: {
|
|
1314
|
-
timestamp: number;
|
|
1315
|
-
result: any;
|
|
1316
|
-
};
|
|
1317
|
-
};
|
|
1318
|
-
};
|
|
1122
|
+
caches: import("backend-plus").Caches;
|
|
1319
1123
|
fieldDomain: {
|
|
1320
1124
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1321
1125
|
} & {
|
|
@@ -1345,7 +1149,7 @@ export declare var AppDmEncu: {
|
|
|
1345
1149
|
} & {
|
|
1346
1150
|
allowedExts?: string[] | undefined;
|
|
1347
1151
|
} & {
|
|
1348
|
-
allowedExts?: string[]
|
|
1152
|
+
allowedExts?: string[];
|
|
1349
1153
|
};
|
|
1350
1154
|
sqls: {
|
|
1351
1155
|
[k: string]: string;
|
|
@@ -1380,19 +1184,23 @@ export declare var AppDmEncu: {
|
|
|
1380
1184
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1381
1185
|
} & {
|
|
1382
1186
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1187
|
+
} & {
|
|
1188
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1189
|
+
} & {
|
|
1190
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1383
1191
|
};
|
|
1384
|
-
} & {
|
|
1192
|
+
}) & (new (...args: any[]) => {
|
|
1385
1193
|
configStaticConfig(): void;
|
|
1386
1194
|
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1387
1195
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1388
|
-
generateAndLoadTableDefs():
|
|
1389
|
-
generateBaseTableDef(tablaDatos:
|
|
1196
|
+
generateAndLoadTableDefs(): procesamiento.TableDefinitions;
|
|
1197
|
+
generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): procesamiento.TableDefinition;
|
|
1390
1198
|
prepareGetTables(): void;
|
|
1391
|
-
tablasDatos:
|
|
1199
|
+
tablasDatos: procesamiento.TablaDatos[];
|
|
1392
1200
|
cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
|
|
1393
|
-
getTableDefFunction(tableDef:
|
|
1394
|
-
loadTableDef(tableDef:
|
|
1395
|
-
generateAndLoadTableDef(tablaDatos:
|
|
1201
|
+
getTableDefFunction(tableDef: procesamiento.TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1202
|
+
loadTableDef(tableDef: procesamiento.TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1203
|
+
generateAndLoadTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinitionFunction;
|
|
1396
1204
|
procedures: import("backend-plus").ProcedureDef[];
|
|
1397
1205
|
procedure: {
|
|
1398
1206
|
[key: string]: import("backend-plus").ProcedureDef;
|
|
@@ -1401,18 +1209,11 @@ export declare var AppDmEncu: {
|
|
|
1401
1209
|
};
|
|
1402
1210
|
app: import("backend-plus").ExpressPlus;
|
|
1403
1211
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
1404
|
-
tableStructures:
|
|
1212
|
+
tableStructures: procesamiento.TableDefinitions;
|
|
1405
1213
|
db: typeof import("pg-promise-strict");
|
|
1406
1214
|
config: any;
|
|
1407
1215
|
rootPath: string;
|
|
1408
|
-
caches:
|
|
1409
|
-
procedures: {
|
|
1410
|
-
[k: string]: {
|
|
1411
|
-
timestamp: number;
|
|
1412
|
-
result: any;
|
|
1413
|
-
};
|
|
1414
|
-
};
|
|
1415
|
-
} & import("backend-plus").Caches;
|
|
1216
|
+
caches: import("backend-plus").Caches;
|
|
1416
1217
|
fieldDomain: {
|
|
1417
1218
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1418
1219
|
} & {
|
|
@@ -1447,32 +1248,27 @@ export declare var AppDmEncu: {
|
|
|
1447
1248
|
} & {
|
|
1448
1249
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1449
1250
|
};
|
|
1450
|
-
isAdmin(): boolean;
|
|
1451
|
-
canChangePass(): Promise<boolean>;
|
|
1452
|
-
inTransactionProcedureContext<T_5>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_5>): Promise<T_5>;
|
|
1453
|
-
dumpDbTableFields(tableDefinition: import("backend-plus").TableDefinition): string[];
|
|
1454
1251
|
i18n: {
|
|
1455
1252
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1253
|
+
} & {
|
|
1254
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1456
1255
|
};
|
|
1457
|
-
} & {
|
|
1458
|
-
tablasDatos: import("varcal").TablaDatos[];
|
|
1256
|
+
}) & (new (...args: any[]) => {
|
|
1459
1257
|
configStaticConfig(): void;
|
|
1258
|
+
generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinition;
|
|
1259
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1260
|
+
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1261
|
+
prepareGetTables(): void;
|
|
1262
|
+
tablasDatos: procesamiento.TablaDatos[];
|
|
1460
1263
|
cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
|
|
1461
|
-
postConfig(): Promise<void>;
|
|
1462
|
-
generateBaseTableDef(tablaDatos: import("varcal").TablaDatos): import("backend-plus").TableDefinition;
|
|
1463
1264
|
getTableDefFunction(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1464
1265
|
loadTableDef(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1465
|
-
generateAndLoadTableDef(tablaDatos:
|
|
1466
|
-
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1467
|
-
getMenu(): procesamiento.MenuDefinition;
|
|
1468
|
-
prepareGetTables(): void;
|
|
1469
|
-
checkDatabaseStructure(client: import("pg-promise-strict").Client): Promise<void>;
|
|
1470
|
-
getDbFunctions(opts: import("backend-plus").DumpOptions): Promise<{
|
|
1471
|
-
dumpText: string;
|
|
1472
|
-
}[]>;
|
|
1266
|
+
generateAndLoadTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinitionFunction;
|
|
1473
1267
|
procedures: import("backend-plus").ProcedureDef[];
|
|
1474
1268
|
procedure: {
|
|
1475
1269
|
[key: string]: import("backend-plus").ProcedureDef;
|
|
1270
|
+
} & {
|
|
1271
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1476
1272
|
};
|
|
1477
1273
|
app: import("backend-plus").ExpressPlus;
|
|
1478
1274
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
@@ -1480,62 +1276,141 @@ export declare var AppDmEncu: {
|
|
|
1480
1276
|
db: typeof import("pg-promise-strict");
|
|
1481
1277
|
config: any;
|
|
1482
1278
|
rootPath: string;
|
|
1483
|
-
caches:
|
|
1484
|
-
procedures: {
|
|
1485
|
-
[k: string]: {
|
|
1486
|
-
timestamp: number;
|
|
1487
|
-
result: any;
|
|
1488
|
-
};
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1279
|
+
caches: import("backend-plus").Caches;
|
|
1491
1280
|
fieldDomain: {
|
|
1492
1281
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1282
|
+
} & {
|
|
1283
|
+
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1493
1284
|
};
|
|
1494
1285
|
exts: {
|
|
1495
1286
|
img: string[];
|
|
1496
1287
|
normal: string[];
|
|
1288
|
+
} & {
|
|
1289
|
+
img: string[];
|
|
1290
|
+
normal: string[];
|
|
1497
1291
|
};
|
|
1498
1292
|
optsGenericForAll: {
|
|
1499
1293
|
allowedExts?: string[] | undefined;
|
|
1294
|
+
} & {
|
|
1295
|
+
allowedExts?: string[] | undefined;
|
|
1500
1296
|
};
|
|
1501
1297
|
sqls: {
|
|
1502
1298
|
[k: string]: string;
|
|
1299
|
+
} & {
|
|
1300
|
+
[k: string]: string;
|
|
1503
1301
|
};
|
|
1504
1302
|
messages: {
|
|
1505
1303
|
[k: string]: string;
|
|
1304
|
+
} & {
|
|
1305
|
+
[k: string]: string;
|
|
1506
1306
|
};
|
|
1507
1307
|
dbUserNameExpr: string;
|
|
1508
1308
|
dbUserRolExpr: string;
|
|
1509
1309
|
specialValueWhenInsert: {
|
|
1510
1310
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1311
|
+
} & {
|
|
1312
|
+
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1511
1313
|
};
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1314
|
+
i18n: {
|
|
1315
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1316
|
+
} & {
|
|
1317
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1318
|
+
};
|
|
1319
|
+
}) & {
|
|
1320
|
+
new (...args: any[]): {
|
|
1321
|
+
tablasDatos: procesamiento.TablaDatos[];
|
|
1322
|
+
configStaticConfig(): void;
|
|
1323
|
+
cargarGenerados(client: Client): Promise<string>;
|
|
1324
|
+
postConfig(): Promise<void>;
|
|
1325
|
+
generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): procesamiento.TableDefinition;
|
|
1326
|
+
getTableDefFunction(tableDef: procesamiento.TableDefinition): procesamiento.TableDefinitionFunction;
|
|
1327
|
+
loadTableDef(tableDef: procesamiento.TableDefinition): procesamiento.TableDefinitionFunction;
|
|
1328
|
+
generateAndLoadTableDef(tablaDatos: procesamiento.TablaDatos): procesamiento.TableDefinitionFunction;
|
|
1329
|
+
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1330
|
+
getMenu(): procesamiento.MenuDefinition;
|
|
1331
|
+
prepareGetTables(): void;
|
|
1332
|
+
checkDatabaseStructure(client: Client): Promise<void>;
|
|
1333
|
+
getDbFunctions(opts: procesamiento.DumpOptions): Promise<{
|
|
1334
|
+
dumpText: string;
|
|
1335
|
+
}[]>;
|
|
1336
|
+
procedures: import("backend-plus").ProcedureDef[];
|
|
1337
|
+
procedure: {
|
|
1338
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1339
|
+
};
|
|
1340
|
+
app: import("backend-plus").ExpressPlus;
|
|
1341
|
+
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
1342
|
+
tableStructures: import("backend-plus").TableDefinitions;
|
|
1343
|
+
db: typeof import("pg-promise-strict");
|
|
1344
|
+
config: any;
|
|
1345
|
+
rootPath: string;
|
|
1346
|
+
caches: import("backend-plus").Caches;
|
|
1347
|
+
fieldDomain: {
|
|
1348
|
+
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1349
|
+
};
|
|
1350
|
+
exts: {
|
|
1351
|
+
img: string[];
|
|
1352
|
+
normal: string[];
|
|
1353
|
+
};
|
|
1354
|
+
optsGenericForAll: {
|
|
1355
|
+
allowedExts?: string[] | undefined;
|
|
1356
|
+
};
|
|
1357
|
+
sqls: {
|
|
1358
|
+
[k: string]: string;
|
|
1359
|
+
};
|
|
1360
|
+
messages: {
|
|
1361
|
+
[k: string]: string;
|
|
1362
|
+
};
|
|
1363
|
+
dbUserNameExpr: string;
|
|
1364
|
+
dbUserRolExpr: string;
|
|
1365
|
+
specialValueWhenInsert: {
|
|
1366
|
+
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
1367
|
+
};
|
|
1368
|
+
clearCaches(): void;
|
|
1369
|
+
start(opts?: import("backend-plus").StartOptions | undefined): Promise<void>;
|
|
1370
|
+
getTables(): import("backend-plus").TableItemDef[];
|
|
1371
|
+
appendToTableDefinition(tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: import("backend-plus").TableContext | undefined) => void): void;
|
|
1372
|
+
getContext(req: Request): Context;
|
|
1373
|
+
addSchrödingerServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
1374
|
+
addUnloggedServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
1375
|
+
addLoggedServices(): void;
|
|
1376
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1377
|
+
isAdmin(): boolean;
|
|
1378
|
+
canChangePass(): Promise<boolean>;
|
|
1379
|
+
inDbClient<T>(req: Request | null, doThisWithDbClient: (client: Client) => Promise<T>): Promise<T>;
|
|
1380
|
+
inTransaction<T_1>(req: Request | null, doThisWithDbTransaction: (client: Client) => Promise<T_1>): Promise<T_1>;
|
|
1381
|
+
inTransactionProcedureContext<T_2>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_2>): Promise<T_2>;
|
|
1382
|
+
procedureDefCompleter(procedureDef: import("backend-plus").ProcedureDef): import("backend-plus").ProcedureDef;
|
|
1383
|
+
tableDefAdapt(tableDef: procesamiento.TableDefinition, context: Context): procesamiento.TableDefinition;
|
|
1384
|
+
pushApp(dirname: string): void;
|
|
1385
|
+
dumpDbTableFields(tableDefinition: procesamiento.TableDefinition): string[];
|
|
1386
|
+
dumpDbSchemaPartial(partialTableStructures: import("backend-plus").TableDefinitions, opts?: procesamiento.DumpOptions | undefined): Promise<{
|
|
1387
|
+
mainSql: string;
|
|
1388
|
+
enancePart: string;
|
|
1389
|
+
}>;
|
|
1390
|
+
getContextForDump(): import("backend-plus").ContextForDump;
|
|
1391
|
+
getClientSetupForSendToFrontEnd(req: Request): Promise<import("backend-plus").ClientSetup>;
|
|
1392
|
+
configList(): (string | object)[];
|
|
1393
|
+
setStaticConfig(defConfigYamlString: string): void;
|
|
1394
|
+
mainPage(req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined): {
|
|
1395
|
+
toHtmlDoc: () => string;
|
|
1396
|
+
};
|
|
1397
|
+
isThisProcedureAllowed<T_3>(context: Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
1398
|
+
[key: string]: T_3;
|
|
1399
|
+
}): Promise<boolean>;
|
|
1400
|
+
i18n: {
|
|
1401
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1402
|
+
};
|
|
1403
|
+
shootDownBackend(): Promise<void>;
|
|
1404
|
+
setLog(opts: {
|
|
1405
|
+
until: string;
|
|
1406
|
+
results?: boolean | undefined;
|
|
1407
|
+
}): void;
|
|
1408
|
+
getDataDumpTransformations(rawData: string): Promise<{
|
|
1409
|
+
rawData: string;
|
|
1410
|
+
prepareTransformationSql: string[];
|
|
1411
|
+
endTransformationSql: string[];
|
|
1412
|
+
}>;
|
|
1536
1413
|
};
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
}): Promise<boolean>;
|
|
1540
|
-
} & procesamiento.AppBackend>;
|
|
1414
|
+
prefixTableName(tableName: string, prefix: string): string;
|
|
1415
|
+
} & typeof procesamiento.AppBackend;
|
|
1541
1416
|
export type AppAppDmEncuType = InstanceType<typeof AppDmEncu>;
|