dmencu 2.0.15 → 2.0.17

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.
@@ -1,13 +1,11 @@
1
1
  import * as procesamiento from "procesamiento";
2
- import { ClientModuleDefinition, OptsClientPage } from "procesamiento";
3
- import * as pg from "pg-promise-strict";
2
+ import { emergeAppVarCal, ClientModuleDefinition, OptsClientPage } from "procesamiento";
4
3
  import { Client, Context, Request, SufijosAmbiente } from "./types-dmencu";
5
4
  export * from "./types-dmencu";
6
- import { ProcedureDef } from "backend-plus";
7
5
  export declare function emergeAppDmEncu<T extends procesamiento.Constructor<procesamiento.AppProcesamientoType>>(Base: T): {
8
6
  new (...args: any[]): {
9
- canChangePass(reqOrContext: any, userToChangePass: any): Promise<boolean>;
10
- getProcedures(): Promise<procesamiento.ProcedureDef<any>[]>;
7
+ canChangePass(reqOrContext: any, userToChangePass: any): Promise<any>;
8
+ getProcedures(): Promise<any>;
11
9
  checkDatabaseStructure(_client: Client): Promise<void>;
12
10
  addSchrödingerServices(mainApp: procesamiento.Express, baseUrl: string): void;
13
11
  getColorsJson(_sufijo: SufijosAmbiente): {
@@ -23,12 +21,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
23
21
  refreshCaches(): Promise<void>;
24
22
  getContext(req: Request): Context;
25
23
  getContextForDump(): Context;
26
- getClientSetupForSendToFrontEnd(req: Request): Promise<{
27
- idper: string | undefined;
28
- config: procesamiento.AppConfigClientSetup;
29
- setup: Record<string, any>;
30
- procedures: ProcedureDef[];
31
- }>;
24
+ getClientSetupForSendToFrontEnd(req: Request): Promise<any>;
32
25
  createResourcesForCacheJson(): {
33
26
  version: string;
34
27
  appName: string;
@@ -78,402 +71,12 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
78
71
  menu: procesamiento.MenuInfoBase[];
79
72
  };
80
73
  prepareGetTables(): void;
81
- tablasDatos: import("consistencias").TablaDatos[];
82
- procedures: import("backend-plus").ProcedureDef[];
83
- procedure: {
84
- [key: string]: procesamiento.ProcedureDef<any>;
85
- } & {
86
- [key: string]: procesamiento.ProcedureDef<any>;
87
- } & {
88
- [key: string]: procesamiento.ProcedureDef<any>;
89
- } & {
90
- [key: string]: procesamiento.ProcedureDef<any>;
91
- } & {
92
- [key: string]: procesamiento.ProcedureDef<any>;
93
- } & {
94
- [key: string]: procesamiento.ProcedureDef<any>;
95
- } & {
96
- [key: string]: procesamiento.ProcedureDef<any>;
97
- } & {
98
- [key: string]: procesamiento.ProcedureDef<any>;
99
- } & {
100
- [key: string]: procesamiento.ProcedureDef<any>;
101
- } & {
102
- [key: string]: procesamiento.ProcedureDef<any>;
103
- } & {
104
- [key: string]: procesamiento.ProcedureDef<any>;
105
- } & {
106
- [key: string]: procesamiento.ProcedureDef<any>;
107
- } & {
108
- [key: string]: procesamiento.ProcedureDef<any>;
109
- } & {
110
- [key: string]: procesamiento.ProcedureDef<any>;
111
- } & {
112
- [key: string]: procesamiento.ProcedureDef<any>;
113
- } & {
114
- [key: string]: procesamiento.ProcedureDef<any>;
115
- } & {
116
- [key: string]: procesamiento.ProcedureDef<any>;
117
- } & {
118
- [key: string]: procesamiento.ProcedureDef<any>;
119
- };
120
- app: import("backend-plus").ExpressPlus;
121
- getTableDefinition: import("backend-plus").TableDefinitionsGetters;
122
- tableStructures: import("backend-plus").TableDefinitions;
123
- db: typeof import("pg-promise-strict");
124
- config: any;
125
- rootPath: string;
126
- caches: import("backend-plus").Caches;
127
- fieldDomain: {
128
- [k: string]: Partial<procesamiento.FieldDefinition>;
129
- } & {
130
- [k: string]: Partial<procesamiento.FieldDefinition>;
131
- } & {
132
- [k: string]: Partial<procesamiento.FieldDefinition>;
133
- } & {
134
- [k: string]: Partial<procesamiento.FieldDefinition>;
135
- } & {
136
- [k: string]: Partial<procesamiento.FieldDefinition>;
137
- } & {
138
- [k: string]: Partial<procesamiento.FieldDefinition>;
139
- } & {
140
- [k: string]: Partial<procesamiento.FieldDefinition>;
141
- } & {
142
- [k: string]: Partial<procesamiento.FieldDefinition>;
143
- } & {
144
- [k: string]: Partial<procesamiento.FieldDefinition>;
145
- } & {
146
- [k: string]: Partial<procesamiento.FieldDefinition>;
147
- } & {
148
- [k: string]: Partial<procesamiento.FieldDefinition>;
149
- } & {
150
- [k: string]: Partial<procesamiento.FieldDefinition>;
151
- } & {
152
- [k: string]: Partial<procesamiento.FieldDefinition>;
153
- } & {
154
- [k: string]: Partial<procesamiento.FieldDefinition>;
155
- } & {
156
- [k: string]: Partial<procesamiento.FieldDefinition>;
157
- } & {
158
- [k: string]: Partial<procesamiento.FieldDefinition>;
159
- } & {
160
- [k: string]: Partial<procesamiento.FieldDefinition>;
161
- } & {
162
- [k: string]: Partial<procesamiento.FieldDefinition>;
163
- };
164
- exts: {
165
- img: string[];
166
- normal: string[];
167
- } & {
168
- img: string[];
169
- normal: string[];
170
- } & {
171
- img: string[];
172
- normal: string[];
173
- } & {
174
- img: string[];
175
- normal: string[];
176
- } & {
177
- img: string[];
178
- normal: string[];
179
- } & {
180
- img: string[];
181
- normal: string[];
182
- } & {
183
- img: string[];
184
- normal: string[];
185
- } & {
186
- img: string[];
187
- normal: string[];
188
- } & {
189
- img: string[];
190
- normal: string[];
191
- } & {
192
- img: string[];
193
- normal: string[];
194
- } & {
195
- img: string[];
196
- normal: string[];
197
- } & {
198
- img: string[];
199
- normal: string[];
200
- } & {
201
- img: string[];
202
- normal: string[];
203
- } & {
204
- img: string[];
205
- normal: string[];
206
- } & {
207
- img: string[];
208
- normal: string[];
209
- } & {
210
- img: string[];
211
- normal: string[];
212
- } & {
213
- img: string[];
214
- normal: string[];
215
- } & {
216
- img: string[];
217
- normal: string[];
218
- };
219
- optsGenericForAll: {
220
- allowedExts?: string[] | undefined;
221
- } & {
222
- allowedExts?: string[] | undefined;
223
- } & {
224
- allowedExts?: string[] | undefined;
225
- } & {
226
- allowedExts?: string[];
227
- } & {
228
- allowedExts?: string[] | undefined;
229
- } & {
230
- allowedExts?: string[] | undefined;
231
- } & {
232
- allowedExts?: string[] | undefined;
233
- } & {
234
- allowedExts?: string[];
235
- } & {
236
- allowedExts?: string[] | undefined;
237
- } & {
238
- allowedExts?: string[] | undefined;
239
- } & {
240
- allowedExts?: string[] | undefined;
241
- } & {
242
- allowedExts?: string[];
243
- } & {
244
- allowedExts?: string[] | undefined;
245
- } & {
246
- allowedExts?: string[] | undefined;
247
- } & {
248
- allowedExts?: string[] | undefined;
249
- } & {
250
- allowedExts?: string[] | undefined;
251
- } & {
252
- allowedExts?: string[] | undefined;
253
- } & {
254
- allowedExts?: string[];
255
- };
256
- sqls: {
257
- [k: string]: string;
258
- } & {
259
- [k: string]: string;
260
- } & {
261
- [k: string]: string;
262
- } & {
263
- [k: string]: string;
264
- } & {
265
- [k: string]: string;
266
- } & {
267
- [k: string]: string;
268
- } & {
269
- [k: string]: string;
270
- } & {
271
- [k: string]: string;
272
- } & {
273
- [k: string]: string;
274
- } & {
275
- [k: string]: string;
276
- } & {
277
- [k: string]: string;
278
- } & {
279
- [k: string]: string;
280
- } & {
281
- [k: string]: string;
282
- } & {
283
- [k: string]: string;
284
- } & {
285
- [k: string]: string;
286
- } & {
287
- [k: string]: string;
288
- } & {
289
- [k: string]: string;
290
- } & {
291
- [k: string]: string;
292
- };
293
- messages: {
294
- [k: string]: string;
295
- } & {
296
- [k: string]: string;
297
- } & {
298
- [k: string]: string;
299
- } & {
300
- [k: string]: string;
301
- } & {
302
- [k: string]: string;
303
- } & {
304
- [k: string]: string;
305
- } & {
306
- [k: string]: string;
307
- } & {
308
- [k: string]: string;
309
- } & {
310
- [k: string]: string;
311
- } & {
312
- [k: string]: string;
313
- } & {
314
- [k: string]: string;
315
- } & {
316
- [k: string]: string;
317
- } & {
318
- [k: string]: string;
319
- } & {
320
- [k: string]: string;
321
- } & {
322
- [k: string]: string;
323
- } & {
324
- [k: string]: string;
325
- } & {
326
- [k: string]: string;
327
- } & {
328
- [k: string]: string;
329
- };
330
- dbUserNameExpr: string;
331
- dbUserRolExpr: string;
332
- specialValueWhenInsert: {
333
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
334
- } & {
335
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
336
- } & {
337
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
338
- } & {
339
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
340
- } & {
341
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
342
- } & {
343
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
344
- } & {
345
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
346
- } & {
347
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
348
- } & {
349
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
350
- } & {
351
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
352
- } & {
353
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
354
- } & {
355
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
356
- } & {
357
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
358
- } & {
359
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
360
- } & {
361
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
362
- } & {
363
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
364
- } & {
365
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
366
- } & {
367
- [k: string]: (context: procesamiento.ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
368
- };
369
- i18n: {
370
- messages: Record<import("backend-plus").LangId, Record<string, string>>;
371
- } & {
372
- messages: Record<import("backend-plus").LangId, Record<string, string>>;
373
- } & {
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>>;
403
- } & {
404
- messages: Record<procesamiento.LangId, Record<string, string>>;
405
- };
406
- generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
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);
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>);
409
- getTableDefFunction: ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction);
410
- loadTableDef: ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction);
411
- generateAndLoadTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction);
412
- getDbFunctions: ((opts: import("backend-plus").DumpOptions) => Promise<{
413
- dumpText: string;
414
- }[]>) & ((opts: procesamiento.DumpOptions) => Promise<{
415
- dumpText: string;
416
- }[]>);
417
- clearCaches: (() => void) & (() => void);
418
- start: ((opts?: import("backend-plus").StartOptions | undefined) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
419
- getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
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);
421
- addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
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>);
426
- procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & (<T_1>(procedureDef: ProcedureDef) => ProcedureDef<T_1>);
427
- tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
428
- pushApp: ((dirname: string) => void) & ((dirname: string) => void);
429
- dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
430
- dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
431
- mainSql: string;
432
- enancePart: string;
433
- }>) & ((partialTableStructures: procesamiento.TableDefinitions, opts?: procesamiento.DumpOptions) => Promise<{
434
- mainSql: string;
435
- enancePart: string;
436
- }>);
437
- configList: (() => (string | object)[]) & (() => (object | string)[]);
438
- setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void);
439
- mainPage: ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
440
- toHtmlDoc: () => string;
441
- }) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
442
- toHtmlDoc: () => string;
443
- });
444
- isThisProcedureAllowed: (<T_3>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
445
- [key: string]: T_3;
446
- }) => Promise<boolean>) & (<T_1>(context: Context, procedureDef: ProcedureDef, params: {
447
- [key: string]: T_1;
448
- }) => Promise<boolean>);
449
- shootDownBackend(): Promise<void>;
450
- setLog: ((opts: {
451
- until: string;
452
- results?: boolean | undefined;
453
- }) => void) & ((opts: {
454
- until: string;
455
- results?: boolean;
456
- }) => void);
457
- getDataDumpTransformations: ((rawData: string) => Promise<{
458
- rawData: string;
459
- prepareTransformationSql: string[];
460
- endTransformationSql: string[];
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>;
471
74
  };
472
75
  } & T;
473
76
  export declare var AppDmEncu: {
474
77
  new (...args: any[]): {
475
- canChangePass(reqOrContext: any, userToChangePass: any): Promise<boolean>;
476
- getProcedures(): Promise<procesamiento.ProcedureDef<any>[]>;
78
+ canChangePass(reqOrContext: any, userToChangePass: any): Promise<any>;
79
+ getProcedures(): Promise<any>;
477
80
  checkDatabaseStructure(_client: Client): Promise<void>;
478
81
  addSchrödingerServices(mainApp: procesamiento.Express, baseUrl: string): void;
479
82
  getColorsJson(_sufijo: SufijosAmbiente): {
@@ -489,12 +92,7 @@ export declare var AppDmEncu: {
489
92
  refreshCaches(): Promise<void>;
490
93
  getContext(req: Request): Context;
491
94
  getContextForDump(): Context;
492
- getClientSetupForSendToFrontEnd(req: Request): Promise<{
493
- idper: string | undefined;
494
- config: procesamiento.AppConfigClientSetup;
495
- setup: Record<string, any>;
496
- procedures: ProcedureDef[];
497
- }>;
95
+ getClientSetupForSendToFrontEnd(req: Request): Promise<any>;
498
96
  createResourcesForCacheJson(): {
499
97
  version: string;
500
98
  appName: string;
@@ -544,873 +142,10 @@ export declare var AppDmEncu: {
544
142
  menu: procesamiento.MenuInfoBase[];
545
143
  };
546
144
  prepareGetTables(): void;
547
- tablasDatos: import("consistencias").TablaDatos[];
548
- procedures: import("backend-plus").ProcedureDef[];
549
- procedure: {
550
- [key: string]: procesamiento.ProcedureDef<any>;
551
- } & {
552
- [key: string]: procesamiento.ProcedureDef<any>;
553
- } & {
554
- [key: string]: procesamiento.ProcedureDef<any>;
555
- } & {
556
- [key: string]: procesamiento.ProcedureDef<any>;
557
- } & {
558
- [key: string]: procesamiento.ProcedureDef<any>;
559
- } & {
560
- [key: string]: procesamiento.ProcedureDef<any>;
561
- } & {
562
- [key: string]: procesamiento.ProcedureDef<any>;
563
- } & {
564
- [key: string]: procesamiento.ProcedureDef<any>;
565
- } & {
566
- [key: string]: procesamiento.ProcedureDef<any>;
567
- } & {
568
- [key: string]: procesamiento.ProcedureDef<any>;
569
- } & {
570
- [key: string]: procesamiento.ProcedureDef<any>;
571
- } & {
572
- [key: string]: procesamiento.ProcedureDef<any>;
573
- } & {
574
- [key: string]: procesamiento.ProcedureDef<any>;
575
- } & {
576
- [key: string]: procesamiento.ProcedureDef<any>;
577
- } & {
578
- [key: string]: procesamiento.ProcedureDef<any>;
579
- } & {
580
- [key: string]: procesamiento.ProcedureDef<any>;
581
- } & {
582
- [key: string]: procesamiento.ProcedureDef<any>;
583
- } & {
584
- [key: string]: procesamiento.ProcedureDef<any>;
585
- };
586
- app: import("backend-plus").ExpressPlus;
587
- getTableDefinition: import("backend-plus").TableDefinitionsGetters;
588
- tableStructures: import("backend-plus").TableDefinitions;
589
- db: typeof import("pg-promise-strict");
590
- config: any;
591
- rootPath: string;
592
- caches: import("backend-plus").Caches;
593
- fieldDomain: {
594
- [k: string]: Partial<procesamiento.FieldDefinition>;
595
- } & {
596
- [k: string]: Partial<procesamiento.FieldDefinition>;
597
- } & {
598
- [k: string]: Partial<procesamiento.FieldDefinition>;
599
- } & {
600
- [k: string]: Partial<procesamiento.FieldDefinition>;
601
- } & {
602
- [k: string]: Partial<procesamiento.FieldDefinition>;
603
- } & {
604
- [k: string]: Partial<procesamiento.FieldDefinition>;
605
- } & {
606
- [k: string]: Partial<procesamiento.FieldDefinition>;
607
- } & {
608
- [k: string]: Partial<procesamiento.FieldDefinition>;
609
- } & {
610
- [k: string]: Partial<procesamiento.FieldDefinition>;
611
- } & {
612
- [k: string]: Partial<procesamiento.FieldDefinition>;
613
- } & {
614
- [k: string]: Partial<procesamiento.FieldDefinition>;
615
- } & {
616
- [k: string]: Partial<procesamiento.FieldDefinition>;
617
- } & {
618
- [k: string]: Partial<procesamiento.FieldDefinition>;
619
- } & {
620
- [k: string]: Partial<procesamiento.FieldDefinition>;
621
- } & {
622
- [k: string]: Partial<procesamiento.FieldDefinition>;
623
- } & {
624
- [k: string]: Partial<procesamiento.FieldDefinition>;
625
- } & {
626
- [k: string]: Partial<procesamiento.FieldDefinition>;
627
- } & {
628
- [k: string]: Partial<procesamiento.FieldDefinition>;
629
- };
630
- exts: {
631
- img: string[];
632
- normal: string[];
633
- } & {
634
- img: string[];
635
- normal: string[];
636
- } & {
637
- img: string[];
638
- normal: string[];
639
- } & {
640
- img: string[];
641
- normal: string[];
642
- } & {
643
- img: string[];
644
- normal: string[];
645
- } & {
646
- img: string[];
647
- normal: string[];
648
- } & {
649
- img: string[];
650
- normal: string[];
651
- } & {
652
- img: string[];
653
- normal: string[];
654
- } & {
655
- img: string[];
656
- normal: string[];
657
- } & {
658
- img: string[];
659
- normal: string[];
660
- } & {
661
- img: string[];
662
- normal: string[];
663
- } & {
664
- img: string[];
665
- normal: string[];
666
- } & {
667
- img: string[];
668
- normal: string[];
669
- } & {
670
- img: string[];
671
- normal: string[];
672
- } & {
673
- img: string[];
674
- normal: string[];
675
- } & {
676
- img: string[];
677
- normal: string[];
678
- } & {
679
- img: string[];
680
- normal: string[];
681
- } & {
682
- img: string[];
683
- normal: string[];
684
- };
685
- optsGenericForAll: {
686
- allowedExts?: string[] | undefined;
687
- } & {
688
- allowedExts?: string[] | undefined;
689
- } & {
690
- allowedExts?: string[] | undefined;
691
- } & {
692
- allowedExts?: string[];
693
- } & {
694
- allowedExts?: string[] | undefined;
695
- } & {
696
- allowedExts?: string[] | undefined;
697
- } & {
698
- allowedExts?: string[] | undefined;
699
- } & {
700
- allowedExts?: string[];
701
- } & {
702
- allowedExts?: string[] | undefined;
703
- } & {
704
- allowedExts?: string[] | undefined;
705
- } & {
706
- allowedExts?: string[] | undefined;
707
- } & {
708
- allowedExts?: string[];
709
- } & {
710
- allowedExts?: string[] | undefined;
711
- } & {
712
- allowedExts?: string[] | undefined;
713
- } & {
714
- allowedExts?: string[] | undefined;
715
- } & {
716
- allowedExts?: string[] | undefined;
717
- } & {
718
- allowedExts?: string[] | undefined;
719
- } & {
720
- allowedExts?: string[];
721
- };
722
- sqls: {
723
- [k: string]: string;
724
- } & {
725
- [k: string]: string;
726
- } & {
727
- [k: string]: string;
728
- } & {
729
- [k: string]: string;
730
- } & {
731
- [k: string]: string;
732
- } & {
733
- [k: string]: string;
734
- } & {
735
- [k: string]: string;
736
- } & {
737
- [k: string]: string;
738
- } & {
739
- [k: string]: string;
740
- } & {
741
- [k: string]: string;
742
- } & {
743
- [k: string]: string;
744
- } & {
745
- [k: string]: string;
746
- } & {
747
- [k: string]: string;
748
- } & {
749
- [k: string]: string;
750
- } & {
751
- [k: string]: string;
752
- } & {
753
- [k: string]: string;
754
- } & {
755
- [k: string]: string;
756
- } & {
757
- [k: string]: string;
758
- };
759
- messages: {
760
- [k: string]: string;
761
- } & {
762
- [k: string]: string;
763
- } & {
764
- [k: string]: string;
765
- } & {
766
- [k: string]: string;
767
- } & {
768
- [k: string]: string;
769
- } & {
770
- [k: string]: string;
771
- } & {
772
- [k: string]: string;
773
- } & {
774
- [k: string]: string;
775
- } & {
776
- [k: string]: string;
777
- } & {
778
- [k: string]: string;
779
- } & {
780
- [k: string]: string;
781
- } & {
782
- [k: string]: string;
783
- } & {
784
- [k: string]: string;
785
- } & {
786
- [k: string]: string;
787
- } & {
788
- [k: string]: string;
789
- } & {
790
- [k: string]: string;
791
- } & {
792
- [k: string]: string;
793
- } & {
794
- [k: string]: string;
795
- };
796
- dbUserNameExpr: string;
797
- dbUserRolExpr: string;
798
- specialValueWhenInsert: {
799
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
800
- } & {
801
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
802
- } & {
803
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
804
- } & {
805
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
806
- } & {
807
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
808
- } & {
809
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
810
- } & {
811
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
812
- } & {
813
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
814
- } & {
815
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
816
- } & {
817
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
818
- } & {
819
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
820
- } & {
821
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
822
- } & {
823
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
824
- } & {
825
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
826
- } & {
827
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
828
- } & {
829
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
830
- } & {
831
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
832
- } & {
833
- [k: string]: (context: procesamiento.ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
834
- };
835
- i18n: {
836
- messages: Record<import("backend-plus").LangId, Record<string, string>>;
837
- } & {
838
- messages: Record<import("backend-plus").LangId, Record<string, string>>;
839
- } & {
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>>;
869
- } & {
870
- messages: Record<procesamiento.LangId, Record<string, string>>;
871
- };
872
- generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
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);
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>);
875
- getTableDefFunction: ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction);
876
- loadTableDef: ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction);
877
- generateAndLoadTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction);
878
- getDbFunctions: ((opts: import("backend-plus").DumpOptions) => Promise<{
879
- dumpText: string;
880
- }[]>) & ((opts: procesamiento.DumpOptions) => Promise<{
881
- dumpText: string;
882
- }[]>);
883
- clearCaches: (() => void) & (() => void);
884
- start: ((opts?: import("backend-plus").StartOptions | undefined) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
885
- getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
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);
887
- addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
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>);
892
- procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & (<T>(procedureDef: ProcedureDef) => ProcedureDef<T>);
893
- tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
894
- pushApp: ((dirname: string) => void) & ((dirname: string) => void);
895
- dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
896
- dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
897
- mainSql: string;
898
- enancePart: string;
899
- }>) & ((partialTableStructures: procesamiento.TableDefinitions, opts?: procesamiento.DumpOptions) => Promise<{
900
- mainSql: string;
901
- enancePart: string;
902
- }>);
903
- configList: (() => (string | object)[]) & (() => (object | string)[]);
904
- setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void);
905
- mainPage: ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
906
- toHtmlDoc: () => string;
907
- }) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
908
- toHtmlDoc: () => string;
909
- });
910
- isThisProcedureAllowed: (<T_3>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
911
- [key: string]: T_3;
912
- }) => Promise<boolean>) & (<T>(context: Context, procedureDef: ProcedureDef, params: {
913
- [key: string]: T;
914
- }) => Promise<boolean>);
915
- shootDownBackend(): Promise<void>;
916
- setLog: ((opts: {
917
- until: string;
918
- results?: boolean | undefined;
919
- }) => void) & ((opts: {
920
- until: string;
921
- results?: boolean;
922
- }) => void);
923
- getDataDumpTransformations: ((rawData: string) => Promise<{
924
- rawData: string;
925
- prepareTransformationSql: string[];
926
- endTransformationSql: string[];
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>;
937
145
  };
938
146
  } & (new (...args: any[]) => {
939
- getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
940
- clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
941
- configStaticConfig(): void;
942
- tablasDatos: import("consistencias").TablaDatos[];
943
- procedures: import("backend-plus").ProcedureDef[];
944
- procedure: {
945
- [key: string]: import("backend-plus").ProcedureDef;
946
- } & {
947
- [key: string]: import("backend-plus").ProcedureDef;
948
- } & {
949
- [key: string]: import("backend-plus").ProcedureDef;
950
- } & {
951
- [key: string]: import("backend-plus").ProcedureDef;
952
- } & {
953
- [key: string]: import("backend-plus").ProcedureDef;
954
- } & {
955
- [key: string]: import("backend-plus").ProcedureDef;
956
- } & {
957
- [key: string]: import("backend-plus").ProcedureDef;
958
- } & {
959
- [key: string]: import("backend-plus").ProcedureDef;
960
- };
961
- app: import("backend-plus").ExpressPlus;
962
- getTableDefinition: import("backend-plus").TableDefinitionsGetters;
963
- tableStructures: import("backend-plus").TableDefinitions;
964
- db: typeof import("pg-promise-strict");
965
- config: any;
966
- rootPath: string;
967
- caches: import("backend-plus").Caches;
968
- fieldDomain: {
969
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
970
- } & {
971
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
972
- } & {
973
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
974
- } & {
975
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
976
- } & {
977
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
978
- } & {
979
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
980
- } & {
981
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
982
- } & {
983
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
984
- };
985
- exts: {
986
- img: string[];
987
- normal: string[];
988
- } & {
989
- img: string[];
990
- normal: string[];
991
- } & {
992
- img: string[];
993
- normal: string[];
994
- } & {
995
- img: string[];
996
- normal: string[];
997
- } & {
998
- img: string[];
999
- normal: string[];
1000
- } & {
1001
- img: string[];
1002
- normal: string[];
1003
- } & {
1004
- img: string[];
1005
- normal: string[];
1006
- } & {
1007
- img: string[];
1008
- normal: string[];
1009
- };
1010
- optsGenericForAll: {
1011
- allowedExts?: string[] | undefined;
1012
- } & {
1013
- allowedExts?: string[] | undefined;
1014
- } & {
1015
- allowedExts?: string[] | undefined;
1016
- } & {
1017
- allowedExts?: string[];
1018
- } & {
1019
- allowedExts?: string[] | undefined;
1020
- } & {
1021
- allowedExts?: string[] | undefined;
1022
- } & {
1023
- allowedExts?: string[] | undefined;
1024
- } & {
1025
- allowedExts?: string[];
1026
- };
1027
- sqls: {
1028
- [k: string]: string;
1029
- } & {
1030
- [k: string]: string;
1031
- } & {
1032
- [k: string]: string;
1033
- } & {
1034
- [k: string]: string;
1035
- } & {
1036
- [k: string]: string;
1037
- } & {
1038
- [k: string]: string;
1039
- } & {
1040
- [k: string]: string;
1041
- } & {
1042
- [k: string]: string;
1043
- };
1044
- messages: {
1045
- [k: string]: string;
1046
- } & {
1047
- [k: string]: string;
1048
- } & {
1049
- [k: string]: string;
1050
- } & {
1051
- [k: string]: string;
1052
- } & {
1053
- [k: string]: string;
1054
- } & {
1055
- [k: string]: string;
1056
- } & {
1057
- [k: string]: string;
1058
- } & {
1059
- [k: string]: string;
1060
- };
1061
- dbUserNameExpr: string;
1062
- dbUserRolExpr: string;
1063
- specialValueWhenInsert: {
1064
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1065
- } & {
1066
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1067
- } & {
1068
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1069
- } & {
1070
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1071
- } & {
1072
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1073
- } & {
1074
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1075
- } & {
1076
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1077
- } & {
1078
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1079
- };
1080
- i18n: {
1081
- messages: Record<import("backend-plus").LangId, Record<string, string>>;
1082
- } & {
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>>;
1096
- };
1097
- }) & (new (...args: any[]) => {
1098
- getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
1099
- clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
1100
- configStaticConfig(): void;
1101
- getMenu(): procesamiento.MenuDefinition;
1102
- postConfig(): Promise<void>;
1103
- prepareGetTables(): void;
1104
- generateAndLoadTableDefs(): import("backend-plus").TableDefinitions;
1105
- tablasDatos: import("varcal").TablaDatos[];
1106
- procedures: import("backend-plus").ProcedureDef[];
1107
- procedure: {
1108
- [key: string]: import("backend-plus").ProcedureDef;
1109
- } & {
1110
- [key: string]: import("backend-plus").ProcedureDef;
1111
- } & {
1112
- [key: string]: import("backend-plus").ProcedureDef;
1113
- } & {
1114
- [key: string]: import("backend-plus").ProcedureDef;
1115
- };
1116
- app: import("backend-plus").ExpressPlus;
1117
- getTableDefinition: import("backend-plus").TableDefinitionsGetters;
1118
- tableStructures: import("backend-plus").TableDefinitions;
1119
- db: typeof import("pg-promise-strict");
1120
- config: any;
1121
- rootPath: string;
1122
- caches: import("backend-plus").Caches;
1123
- fieldDomain: {
1124
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
1125
- } & {
1126
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
1127
- } & {
1128
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
1129
- } & {
1130
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
1131
- };
1132
- exts: {
1133
- img: string[];
1134
- normal: string[];
1135
- } & {
1136
- img: string[];
1137
- normal: string[];
1138
- } & {
1139
- img: string[];
1140
- normal: string[];
1141
- } & {
1142
- img: string[];
1143
- normal: string[];
1144
- };
1145
- optsGenericForAll: {
1146
- allowedExts?: string[] | undefined;
1147
- } & {
1148
- allowedExts?: string[] | undefined;
1149
- } & {
1150
- allowedExts?: string[] | undefined;
1151
- } & {
1152
- allowedExts?: string[];
1153
- };
1154
- sqls: {
1155
- [k: string]: string;
1156
- } & {
1157
- [k: string]: string;
1158
- } & {
1159
- [k: string]: string;
1160
- } & {
1161
- [k: string]: string;
1162
- };
1163
- messages: {
1164
- [k: string]: string;
1165
- } & {
1166
- [k: string]: string;
1167
- } & {
1168
- [k: string]: string;
1169
- } & {
1170
- [k: string]: string;
1171
- };
1172
- dbUserNameExpr: string;
1173
- dbUserRolExpr: string;
1174
- specialValueWhenInsert: {
1175
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1176
- } & {
1177
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1178
- } & {
1179
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1180
- } & {
1181
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1182
- };
1183
- i18n: {
1184
- messages: Record<import("backend-plus").LangId, Record<string, string>>;
1185
- } & {
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>>;
1191
- };
1192
- }) & (new (...args: any[]) => {
147
+ getProcedures(): Promise<any>;
148
+ clientIncludes(req: Request, hideBEPlusInclusions: emergeAppVarCal): any;
1193
149
  configStaticConfig(): void;
1194
- getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
1195
- clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
1196
- generateAndLoadTableDefs(): procesamiento.TableDefinitions;
1197
- generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): procesamiento.TableDefinition;
1198
- prepareGetTables(): void;
1199
- tablasDatos: procesamiento.TablaDatos[];
1200
- cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
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;
1204
- procedures: import("backend-plus").ProcedureDef[];
1205
- procedure: {
1206
- [key: string]: import("backend-plus").ProcedureDef;
1207
- } & {
1208
- [key: string]: import("backend-plus").ProcedureDef;
1209
- };
1210
- app: import("backend-plus").ExpressPlus;
1211
- getTableDefinition: import("backend-plus").TableDefinitionsGetters;
1212
- tableStructures: procesamiento.TableDefinitions;
1213
- db: typeof import("pg-promise-strict");
1214
- config: any;
1215
- rootPath: string;
1216
- caches: import("backend-plus").Caches;
1217
- fieldDomain: {
1218
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
1219
- } & {
1220
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
1221
- };
1222
- exts: {
1223
- img: string[];
1224
- normal: string[];
1225
- } & {
1226
- img: string[];
1227
- normal: string[];
1228
- };
1229
- optsGenericForAll: {
1230
- allowedExts?: string[] | undefined;
1231
- } & {
1232
- allowedExts?: string[] | undefined;
1233
- };
1234
- sqls: {
1235
- [k: string]: string;
1236
- } & {
1237
- [k: string]: string;
1238
- };
1239
- messages: {
1240
- [k: string]: string;
1241
- } & {
1242
- [k: string]: string;
1243
- };
1244
- dbUserNameExpr: string;
1245
- dbUserRolExpr: string;
1246
- specialValueWhenInsert: {
1247
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1248
- } & {
1249
- [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1250
- };
1251
- i18n: {
1252
- messages: Record<import("backend-plus").LangId, Record<string, string>>;
1253
- } & {
1254
- messages: Record<import("backend-plus").LangId, Record<string, string>>;
1255
- };
1256
- }) & (new (...args: any[]) => {
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[];
1263
- cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
1264
- getTableDefFunction(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
1265
- loadTableDef(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
1266
- generateAndLoadTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinitionFunction;
1267
- procedures: import("backend-plus").ProcedureDef[];
1268
- procedure: {
1269
- [key: string]: import("backend-plus").ProcedureDef;
1270
- } & {
1271
- [key: string]: import("backend-plus").ProcedureDef;
1272
- };
1273
- app: import("backend-plus").ExpressPlus;
1274
- getTableDefinition: import("backend-plus").TableDefinitionsGetters;
1275
- tableStructures: import("backend-plus").TableDefinitions;
1276
- db: typeof import("pg-promise-strict");
1277
- config: any;
1278
- rootPath: string;
1279
- caches: import("backend-plus").Caches;
1280
- fieldDomain: {
1281
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
1282
- } & {
1283
- [k: string]: Partial<import("backend-plus").FieldDefinition>;
1284
- };
1285
- exts: {
1286
- img: string[];
1287
- normal: string[];
1288
- } & {
1289
- img: string[];
1290
- normal: string[];
1291
- };
1292
- optsGenericForAll: {
1293
- allowedExts?: string[] | undefined;
1294
- } & {
1295
- allowedExts?: string[] | undefined;
1296
- };
1297
- sqls: {
1298
- [k: string]: string;
1299
- } & {
1300
- [k: string]: string;
1301
- };
1302
- messages: {
1303
- [k: string]: string;
1304
- } & {
1305
- [k: string]: string;
1306
- };
1307
- dbUserNameExpr: string;
1308
- dbUserRolExpr: string;
1309
- specialValueWhenInsert: {
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;
1313
- };
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
- }>;
1413
- };
1414
- prefixTableName(tableName: string, prefix: string): string;
1415
- } & typeof procesamiento.AppBackend;
150
+ });
1416
151
  export type AppAppDmEncuType = InstanceType<typeof AppDmEncu>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dmencu",
3
3
  "description": "DM Encu - Encuestas en dispositivo móvil",
4
- "version": "2.0.15",
4
+ "version": "2.0.17",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "main": "dist/server/server/app-dmencu.js",
@@ -13,9 +13,9 @@
13
13
  "dependencies": {
14
14
  "@mui/material": "^5.16.7",
15
15
  "memoize-one": "~6.0.0",
16
- "meta-enc": "^1.4.9",
17
- "procesamiento": "^2.0.3",
18
- "backend-plus": "^2.0.3",
16
+ "meta-enc": "^1.4.13",
17
+ "procesamiento": "^2.0.8",
18
+ "backend-plus": "^2.5.1-betha.0",
19
19
  "qrcode": "^1.5.3",
20
20
  "react": "~17.0.2",
21
21
  "react-dom": "~17.0.2",