dmencu 2.0.16 → 2.0.18
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/server/server/app-dmencu.d.ts +715 -256
- package/package.json +3 -3
|
@@ -78,6 +78,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
78
78
|
menu: procesamiento.MenuInfoBase[];
|
|
79
79
|
};
|
|
80
80
|
prepareGetTables(): void;
|
|
81
|
+
config: any;
|
|
81
82
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
82
83
|
procedures: import("backend-plus").ProcedureDef[];
|
|
83
84
|
procedure: {
|
|
@@ -120,10 +121,23 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
120
121
|
app: import("backend-plus").ExpressPlus;
|
|
121
122
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
122
123
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
123
|
-
db:
|
|
124
|
-
config: any;
|
|
124
|
+
db: import("backend-plus").MotorDb;
|
|
125
125
|
rootPath: string;
|
|
126
|
-
caches:
|
|
126
|
+
caches: procesamiento.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
|
+
};
|
|
127
141
|
fieldDomain: {
|
|
128
142
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
129
143
|
} & {
|
|
@@ -153,9 +167,157 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
153
167
|
} & {
|
|
154
168
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
155
169
|
} & {
|
|
156
|
-
[k: string]: Partial<procesamiento.
|
|
157
|
-
|
|
158
|
-
|
|
170
|
+
[k: string]: Partial<procesamiento.EditableDbDefinition & {
|
|
171
|
+
name: string;
|
|
172
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
173
|
+
label?: string | undefined;
|
|
174
|
+
title?: string | undefined;
|
|
175
|
+
nullable?: boolean | undefined;
|
|
176
|
+
dbNullable?: boolean | undefined;
|
|
177
|
+
defaultValue?: any;
|
|
178
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
179
|
+
clientSide?: string | undefined;
|
|
180
|
+
isName?: boolean | undefined;
|
|
181
|
+
isPk?: number | undefined;
|
|
182
|
+
serverSide?: boolean | undefined;
|
|
183
|
+
inTable?: boolean | undefined;
|
|
184
|
+
allowEmtpyText?: boolean | undefined;
|
|
185
|
+
mobileInputType?: string | undefined;
|
|
186
|
+
extraRow?: number | undefined;
|
|
187
|
+
inexactNumber?: number | undefined;
|
|
188
|
+
visible?: boolean | undefined;
|
|
189
|
+
width?: number | undefined;
|
|
190
|
+
references?: string | undefined;
|
|
191
|
+
referencesField?: string | undefined;
|
|
192
|
+
aggregate?: string | undefined;
|
|
193
|
+
specialDefaultValue?: string | undefined;
|
|
194
|
+
specialValueWhenInsert?: string | undefined;
|
|
195
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
196
|
+
description?: string | undefined;
|
|
197
|
+
dataLength?: number | undefined;
|
|
198
|
+
options?: (string | {
|
|
199
|
+
option: string | number;
|
|
200
|
+
label: string;
|
|
201
|
+
})[] | undefined;
|
|
202
|
+
inView?: boolean | undefined;
|
|
203
|
+
sortMethod?: string | undefined;
|
|
204
|
+
generatedAs?: string | undefined;
|
|
205
|
+
}> | Partial<procesamiento.EditableDbDefinition & {
|
|
206
|
+
name: string;
|
|
207
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
208
|
+
label?: string | undefined;
|
|
209
|
+
title?: string | undefined;
|
|
210
|
+
nullable?: boolean | undefined;
|
|
211
|
+
dbNullable?: boolean | undefined;
|
|
212
|
+
defaultValue?: any;
|
|
213
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
214
|
+
clientSide?: string | undefined;
|
|
215
|
+
isName?: boolean | undefined;
|
|
216
|
+
isPk?: number | undefined;
|
|
217
|
+
serverSide?: boolean | undefined;
|
|
218
|
+
inTable?: boolean | undefined;
|
|
219
|
+
allowEmtpyText?: boolean | undefined;
|
|
220
|
+
mobileInputType?: string | undefined;
|
|
221
|
+
extraRow?: number | undefined;
|
|
222
|
+
inexactNumber?: number | undefined;
|
|
223
|
+
visible?: boolean | undefined;
|
|
224
|
+
width?: number | undefined;
|
|
225
|
+
references?: string | undefined;
|
|
226
|
+
referencesField?: string | undefined;
|
|
227
|
+
aggregate?: string | undefined;
|
|
228
|
+
specialDefaultValue?: string | undefined;
|
|
229
|
+
specialValueWhenInsert?: string | undefined;
|
|
230
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
231
|
+
description?: string | undefined;
|
|
232
|
+
dataLength?: number | undefined;
|
|
233
|
+
options?: (string | {
|
|
234
|
+
option: string | number;
|
|
235
|
+
label: string;
|
|
236
|
+
})[] | undefined;
|
|
237
|
+
inView?: boolean | undefined;
|
|
238
|
+
sortMethod?: string | undefined;
|
|
239
|
+
generatedAs?: string | undefined;
|
|
240
|
+
} & {
|
|
241
|
+
sequence: import("backend-plus").SequenceDefinition;
|
|
242
|
+
nullable: true;
|
|
243
|
+
editable: false;
|
|
244
|
+
}>;
|
|
245
|
+
} & {
|
|
246
|
+
[k: string]: Partial<procesamiento.EditableDbDefinition & {
|
|
247
|
+
name: string;
|
|
248
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
249
|
+
label?: string | undefined;
|
|
250
|
+
title?: string | undefined;
|
|
251
|
+
nullable?: boolean | undefined;
|
|
252
|
+
dbNullable?: boolean | undefined;
|
|
253
|
+
defaultValue?: any;
|
|
254
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
255
|
+
clientSide?: string | undefined;
|
|
256
|
+
isName?: boolean | undefined;
|
|
257
|
+
isPk?: number | undefined;
|
|
258
|
+
serverSide?: boolean | undefined;
|
|
259
|
+
inTable?: boolean | undefined;
|
|
260
|
+
allowEmtpyText?: boolean | undefined;
|
|
261
|
+
mobileInputType?: string | undefined;
|
|
262
|
+
extraRow?: number | undefined;
|
|
263
|
+
inexactNumber?: number | undefined;
|
|
264
|
+
visible?: boolean | undefined;
|
|
265
|
+
width?: number | undefined;
|
|
266
|
+
references?: string | undefined;
|
|
267
|
+
referencesField?: string | undefined;
|
|
268
|
+
aggregate?: string | undefined;
|
|
269
|
+
specialDefaultValue?: string | undefined;
|
|
270
|
+
specialValueWhenInsert?: string | undefined;
|
|
271
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
272
|
+
description?: string | undefined;
|
|
273
|
+
dataLength?: number | undefined;
|
|
274
|
+
options?: (string | {
|
|
275
|
+
option: string | number;
|
|
276
|
+
label: string;
|
|
277
|
+
})[] | undefined;
|
|
278
|
+
inView?: boolean | undefined;
|
|
279
|
+
sortMethod?: string | undefined;
|
|
280
|
+
generatedAs?: string | undefined;
|
|
281
|
+
}> | Partial<procesamiento.EditableDbDefinition & {
|
|
282
|
+
name: string;
|
|
283
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
284
|
+
label?: string | undefined;
|
|
285
|
+
title?: string | undefined;
|
|
286
|
+
nullable?: boolean | undefined;
|
|
287
|
+
dbNullable?: boolean | undefined;
|
|
288
|
+
defaultValue?: any;
|
|
289
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
290
|
+
clientSide?: string | undefined;
|
|
291
|
+
isName?: boolean | undefined;
|
|
292
|
+
isPk?: number | undefined;
|
|
293
|
+
serverSide?: boolean | undefined;
|
|
294
|
+
inTable?: boolean | undefined;
|
|
295
|
+
allowEmtpyText?: boolean | undefined;
|
|
296
|
+
mobileInputType?: string | undefined;
|
|
297
|
+
extraRow?: number | undefined;
|
|
298
|
+
inexactNumber?: number | undefined;
|
|
299
|
+
visible?: boolean | undefined;
|
|
300
|
+
width?: number | undefined;
|
|
301
|
+
references?: string | undefined;
|
|
302
|
+
referencesField?: string | undefined;
|
|
303
|
+
aggregate?: string | undefined;
|
|
304
|
+
specialDefaultValue?: string | undefined;
|
|
305
|
+
specialValueWhenInsert?: string | undefined;
|
|
306
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
307
|
+
description?: string | undefined;
|
|
308
|
+
dataLength?: number | undefined;
|
|
309
|
+
options?: (string | {
|
|
310
|
+
option: string | number;
|
|
311
|
+
label: string;
|
|
312
|
+
})[] | undefined;
|
|
313
|
+
inView?: boolean | undefined;
|
|
314
|
+
sortMethod?: string | undefined;
|
|
315
|
+
generatedAs?: string | undefined;
|
|
316
|
+
} & {
|
|
317
|
+
sequence: import("backend-plus").SequenceDefinition;
|
|
318
|
+
nullable: true;
|
|
319
|
+
editable: false;
|
|
320
|
+
}>;
|
|
159
321
|
} & {
|
|
160
322
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
161
323
|
} & {
|
|
@@ -204,11 +366,9 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
204
366
|
img: string[];
|
|
205
367
|
normal: string[];
|
|
206
368
|
} & {
|
|
207
|
-
img
|
|
208
|
-
normal: string[];
|
|
369
|
+
img?: string[] | undefined;
|
|
209
370
|
} & {
|
|
210
|
-
img
|
|
211
|
-
normal: string[];
|
|
371
|
+
img?: string[] | undefined;
|
|
212
372
|
} & {
|
|
213
373
|
img: string[];
|
|
214
374
|
normal: string[];
|
|
@@ -217,39 +377,39 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
217
377
|
normal: string[];
|
|
218
378
|
};
|
|
219
379
|
optsGenericForAll: {
|
|
220
|
-
allowedExts?: string[]
|
|
380
|
+
allowedExts?: string[];
|
|
221
381
|
} & {
|
|
222
|
-
allowedExts?: string[]
|
|
382
|
+
allowedExts?: string[];
|
|
223
383
|
} & {
|
|
224
|
-
allowedExts?: string[]
|
|
384
|
+
allowedExts?: string[];
|
|
225
385
|
} & {
|
|
226
386
|
allowedExts?: string[];
|
|
227
387
|
} & {
|
|
228
|
-
allowedExts?: string[]
|
|
388
|
+
allowedExts?: string[];
|
|
229
389
|
} & {
|
|
230
|
-
allowedExts?: string[]
|
|
390
|
+
allowedExts?: string[];
|
|
231
391
|
} & {
|
|
232
|
-
allowedExts?: string[]
|
|
392
|
+
allowedExts?: string[];
|
|
233
393
|
} & {
|
|
234
394
|
allowedExts?: string[];
|
|
235
395
|
} & {
|
|
236
|
-
allowedExts?: string[]
|
|
396
|
+
allowedExts?: string[];
|
|
237
397
|
} & {
|
|
238
|
-
allowedExts?: string[]
|
|
398
|
+
allowedExts?: string[];
|
|
239
399
|
} & {
|
|
240
|
-
allowedExts?: string[]
|
|
400
|
+
allowedExts?: string[];
|
|
241
401
|
} & {
|
|
242
402
|
allowedExts?: string[];
|
|
243
403
|
} & {
|
|
244
|
-
allowedExts?: string[]
|
|
404
|
+
allowedExts?: string[];
|
|
245
405
|
} & {
|
|
246
|
-
allowedExts?: string[]
|
|
406
|
+
allowedExts?: string[];
|
|
247
407
|
} & {
|
|
248
408
|
allowedExts?: string[] | undefined;
|
|
249
409
|
} & {
|
|
250
410
|
allowedExts?: string[] | undefined;
|
|
251
411
|
} & {
|
|
252
|
-
allowedExts?: string[]
|
|
412
|
+
allowedExts?: string[];
|
|
253
413
|
} & {
|
|
254
414
|
allowedExts?: string[];
|
|
255
415
|
};
|
|
@@ -359,10 +519,6 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
359
519
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
360
520
|
} & {
|
|
361
521
|
[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
522
|
} & {
|
|
367
523
|
[k: string]: (context: procesamiento.ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
|
|
368
524
|
};
|
|
@@ -396,10 +552,6 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
396
552
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
397
553
|
} & {
|
|
398
554
|
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
555
|
} & {
|
|
404
556
|
messages: Record<procesamiento.LangId, Record<string, string>>;
|
|
405
557
|
};
|
|
@@ -415,41 +567,48 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
415
567
|
dumpText: string;
|
|
416
568
|
}[]>);
|
|
417
569
|
clearCaches: (() => void) & (() => void);
|
|
418
|
-
start: ((opts?: import("backend-plus").StartOptions
|
|
570
|
+
start: ((opts?: import("backend-plus").StartOptions) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
|
|
419
571
|
getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
|
|
420
|
-
appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext
|
|
572
|
+
appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void) & ((tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: procesamiento.TableContext) => void) => void);
|
|
421
573
|
addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
|
|
422
|
-
isAdmin: (() => boolean) & ((reqOrContext: Request | Context) => boolean);
|
|
423
|
-
inDbClient: (<T_1>(req:
|
|
424
|
-
inTransaction: (<T_1>(req:
|
|
425
|
-
inTransactionProcedureContext: (<
|
|
426
|
-
procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & (<T_1>(procedureDef: ProcedureDef) => ProcedureDef<T_1>);
|
|
574
|
+
isAdmin: ((reqOrContext: Request | import("backend-plus").Context) => boolean) & ((reqOrContext: Request | Context) => boolean);
|
|
575
|
+
inDbClient: (<T_1>(req: import("backend-plus").RequestDb | 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>);
|
|
576
|
+
inTransaction: (<T_1>(req: import("backend-plus").RequestDb | 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>);
|
|
577
|
+
inTransactionProcedureContext: (<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>) => Promise<T_1>) & (<T_1>(req: Request | null, coreFunction: (context: procesamiento.ProcedureContext) => Promise<T_1>) => Promise<T_1>);
|
|
578
|
+
procedureDefCompleter: (<T_1>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T_1>) & (<T_1>(procedureDef: ProcedureDef) => ProcedureDef<T_1>);
|
|
427
579
|
tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
|
|
428
580
|
pushApp: ((dirname: string) => void) & ((dirname: string) => void);
|
|
429
581
|
dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
|
|
430
|
-
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions
|
|
582
|
+
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
|
|
431
583
|
mainSql: string;
|
|
432
584
|
enancePart: string;
|
|
433
585
|
}>) & ((partialTableStructures: procesamiento.TableDefinitions, opts?: procesamiento.DumpOptions) => Promise<{
|
|
434
586
|
mainSql: string;
|
|
435
587
|
enancePart: string;
|
|
436
588
|
}>);
|
|
437
|
-
configList: (() => (
|
|
589
|
+
configList: (() => (object | string)[]) & (() => (object | string)[]);
|
|
438
590
|
setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void);
|
|
439
|
-
mainPage: ((req:
|
|
591
|
+
mainPage: ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
440
592
|
toHtmlDoc: () => string;
|
|
441
593
|
}) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
442
594
|
toHtmlDoc: () => string;
|
|
443
595
|
});
|
|
444
|
-
isThisProcedureAllowed: (<
|
|
445
|
-
[key: string]:
|
|
596
|
+
isThisProcedureAllowed: (<T_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
597
|
+
[key: string]: T_1;
|
|
446
598
|
}) => Promise<boolean>) & (<T_1>(context: Context, procedureDef: ProcedureDef, params: {
|
|
447
599
|
[key: string]: T_1;
|
|
448
600
|
}) => Promise<boolean>);
|
|
449
|
-
|
|
601
|
+
shutdownCallbackListAdd: ((param: {
|
|
602
|
+
message: string;
|
|
603
|
+
fun: () => Promise<void>;
|
|
604
|
+
}) => void) & ((param: {
|
|
605
|
+
message: string;
|
|
606
|
+
fun: () => Promise<void>;
|
|
607
|
+
}) => void);
|
|
608
|
+
shutdownBackend: (() => Promise<void>) & (() => Promise<void>);
|
|
450
609
|
setLog: ((opts: {
|
|
451
610
|
until: string;
|
|
452
|
-
results?: boolean
|
|
611
|
+
results?: boolean;
|
|
453
612
|
}) => void) & ((opts: {
|
|
454
613
|
until: string;
|
|
455
614
|
results?: boolean;
|
|
@@ -463,11 +622,6 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
|
|
|
463
622
|
prepareTransformationSql: string[];
|
|
464
623
|
endTransformationSql: string[];
|
|
465
624
|
}>);
|
|
466
|
-
shutdownCallbackListAdd(param: {
|
|
467
|
-
message: string;
|
|
468
|
-
fun: () => Promise<void>;
|
|
469
|
-
}): void;
|
|
470
|
-
shutdownBackend(): Promise<void>;
|
|
471
625
|
};
|
|
472
626
|
} & T;
|
|
473
627
|
export declare var AppDmEncu: {
|
|
@@ -544,6 +698,7 @@ export declare var AppDmEncu: {
|
|
|
544
698
|
menu: procesamiento.MenuInfoBase[];
|
|
545
699
|
};
|
|
546
700
|
prepareGetTables(): void;
|
|
701
|
+
config: any;
|
|
547
702
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
548
703
|
procedures: import("backend-plus").ProcedureDef[];
|
|
549
704
|
procedure: {
|
|
@@ -586,10 +741,23 @@ export declare var AppDmEncu: {
|
|
|
586
741
|
app: import("backend-plus").ExpressPlus;
|
|
587
742
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
588
743
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
589
|
-
db:
|
|
590
|
-
config: any;
|
|
744
|
+
db: import("backend-plus").MotorDb;
|
|
591
745
|
rootPath: string;
|
|
592
|
-
caches:
|
|
746
|
+
caches: procesamiento.Caches & {
|
|
747
|
+
procedures: {
|
|
748
|
+
[k: string]: {
|
|
749
|
+
timestamp: number;
|
|
750
|
+
result: any;
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
} & {
|
|
754
|
+
procedures: {
|
|
755
|
+
[k: string]: {
|
|
756
|
+
timestamp: number;
|
|
757
|
+
result: any;
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
};
|
|
593
761
|
fieldDomain: {
|
|
594
762
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
595
763
|
} & {
|
|
@@ -619,9 +787,157 @@ export declare var AppDmEncu: {
|
|
|
619
787
|
} & {
|
|
620
788
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
621
789
|
} & {
|
|
622
|
-
[k: string]: Partial<procesamiento.
|
|
623
|
-
|
|
624
|
-
|
|
790
|
+
[k: string]: Partial<procesamiento.EditableDbDefinition & {
|
|
791
|
+
name: string;
|
|
792
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
793
|
+
label?: string | undefined;
|
|
794
|
+
title?: string | undefined;
|
|
795
|
+
nullable?: boolean | undefined;
|
|
796
|
+
dbNullable?: boolean | undefined;
|
|
797
|
+
defaultValue?: any;
|
|
798
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
799
|
+
clientSide?: string | undefined;
|
|
800
|
+
isName?: boolean | undefined;
|
|
801
|
+
isPk?: number | undefined;
|
|
802
|
+
serverSide?: boolean | undefined;
|
|
803
|
+
inTable?: boolean | undefined;
|
|
804
|
+
allowEmtpyText?: boolean | undefined;
|
|
805
|
+
mobileInputType?: string | undefined;
|
|
806
|
+
extraRow?: number | undefined;
|
|
807
|
+
inexactNumber?: number | undefined;
|
|
808
|
+
visible?: boolean | undefined;
|
|
809
|
+
width?: number | undefined;
|
|
810
|
+
references?: string | undefined;
|
|
811
|
+
referencesField?: string | undefined;
|
|
812
|
+
aggregate?: string | undefined;
|
|
813
|
+
specialDefaultValue?: string | undefined;
|
|
814
|
+
specialValueWhenInsert?: string | undefined;
|
|
815
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
816
|
+
description?: string | undefined;
|
|
817
|
+
dataLength?: number | undefined;
|
|
818
|
+
options?: (string | {
|
|
819
|
+
option: string | number;
|
|
820
|
+
label: string;
|
|
821
|
+
})[] | undefined;
|
|
822
|
+
inView?: boolean | undefined;
|
|
823
|
+
sortMethod?: string | undefined;
|
|
824
|
+
generatedAs?: string | undefined;
|
|
825
|
+
}> | Partial<procesamiento.EditableDbDefinition & {
|
|
826
|
+
name: string;
|
|
827
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
828
|
+
label?: string | undefined;
|
|
829
|
+
title?: string | undefined;
|
|
830
|
+
nullable?: boolean | undefined;
|
|
831
|
+
dbNullable?: boolean | undefined;
|
|
832
|
+
defaultValue?: any;
|
|
833
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
834
|
+
clientSide?: string | undefined;
|
|
835
|
+
isName?: boolean | undefined;
|
|
836
|
+
isPk?: number | undefined;
|
|
837
|
+
serverSide?: boolean | undefined;
|
|
838
|
+
inTable?: boolean | undefined;
|
|
839
|
+
allowEmtpyText?: boolean | undefined;
|
|
840
|
+
mobileInputType?: string | undefined;
|
|
841
|
+
extraRow?: number | undefined;
|
|
842
|
+
inexactNumber?: number | undefined;
|
|
843
|
+
visible?: boolean | undefined;
|
|
844
|
+
width?: number | undefined;
|
|
845
|
+
references?: string | undefined;
|
|
846
|
+
referencesField?: string | undefined;
|
|
847
|
+
aggregate?: string | undefined;
|
|
848
|
+
specialDefaultValue?: string | undefined;
|
|
849
|
+
specialValueWhenInsert?: string | undefined;
|
|
850
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
851
|
+
description?: string | undefined;
|
|
852
|
+
dataLength?: number | undefined;
|
|
853
|
+
options?: (string | {
|
|
854
|
+
option: string | number;
|
|
855
|
+
label: string;
|
|
856
|
+
})[] | undefined;
|
|
857
|
+
inView?: boolean | undefined;
|
|
858
|
+
sortMethod?: string | undefined;
|
|
859
|
+
generatedAs?: string | undefined;
|
|
860
|
+
} & {
|
|
861
|
+
sequence: import("backend-plus").SequenceDefinition;
|
|
862
|
+
nullable: true;
|
|
863
|
+
editable: false;
|
|
864
|
+
}>;
|
|
865
|
+
} & {
|
|
866
|
+
[k: string]: Partial<procesamiento.EditableDbDefinition & {
|
|
867
|
+
name: string;
|
|
868
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
869
|
+
label?: string | undefined;
|
|
870
|
+
title?: string | undefined;
|
|
871
|
+
nullable?: boolean | undefined;
|
|
872
|
+
dbNullable?: boolean | undefined;
|
|
873
|
+
defaultValue?: any;
|
|
874
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
875
|
+
clientSide?: string | undefined;
|
|
876
|
+
isName?: boolean | undefined;
|
|
877
|
+
isPk?: number | undefined;
|
|
878
|
+
serverSide?: boolean | undefined;
|
|
879
|
+
inTable?: boolean | undefined;
|
|
880
|
+
allowEmtpyText?: boolean | undefined;
|
|
881
|
+
mobileInputType?: string | undefined;
|
|
882
|
+
extraRow?: number | undefined;
|
|
883
|
+
inexactNumber?: number | undefined;
|
|
884
|
+
visible?: boolean | undefined;
|
|
885
|
+
width?: number | undefined;
|
|
886
|
+
references?: string | undefined;
|
|
887
|
+
referencesField?: string | undefined;
|
|
888
|
+
aggregate?: string | undefined;
|
|
889
|
+
specialDefaultValue?: string | undefined;
|
|
890
|
+
specialValueWhenInsert?: string | undefined;
|
|
891
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
892
|
+
description?: string | undefined;
|
|
893
|
+
dataLength?: number | undefined;
|
|
894
|
+
options?: (string | {
|
|
895
|
+
option: string | number;
|
|
896
|
+
label: string;
|
|
897
|
+
})[] | undefined;
|
|
898
|
+
inView?: boolean | undefined;
|
|
899
|
+
sortMethod?: string | undefined;
|
|
900
|
+
generatedAs?: string | undefined;
|
|
901
|
+
}> | Partial<procesamiento.EditableDbDefinition & {
|
|
902
|
+
name: string;
|
|
903
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
904
|
+
label?: string | undefined;
|
|
905
|
+
title?: string | undefined;
|
|
906
|
+
nullable?: boolean | undefined;
|
|
907
|
+
dbNullable?: boolean | undefined;
|
|
908
|
+
defaultValue?: any;
|
|
909
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
910
|
+
clientSide?: string | undefined;
|
|
911
|
+
isName?: boolean | undefined;
|
|
912
|
+
isPk?: number | undefined;
|
|
913
|
+
serverSide?: boolean | undefined;
|
|
914
|
+
inTable?: boolean | undefined;
|
|
915
|
+
allowEmtpyText?: boolean | undefined;
|
|
916
|
+
mobileInputType?: string | undefined;
|
|
917
|
+
extraRow?: number | undefined;
|
|
918
|
+
inexactNumber?: number | undefined;
|
|
919
|
+
visible?: boolean | undefined;
|
|
920
|
+
width?: number | undefined;
|
|
921
|
+
references?: string | undefined;
|
|
922
|
+
referencesField?: string | undefined;
|
|
923
|
+
aggregate?: string | undefined;
|
|
924
|
+
specialDefaultValue?: string | undefined;
|
|
925
|
+
specialValueWhenInsert?: string | undefined;
|
|
926
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
927
|
+
description?: string | undefined;
|
|
928
|
+
dataLength?: number | undefined;
|
|
929
|
+
options?: (string | {
|
|
930
|
+
option: string | number;
|
|
931
|
+
label: string;
|
|
932
|
+
})[] | undefined;
|
|
933
|
+
inView?: boolean | undefined;
|
|
934
|
+
sortMethod?: string | undefined;
|
|
935
|
+
generatedAs?: string | undefined;
|
|
936
|
+
} & {
|
|
937
|
+
sequence: import("backend-plus").SequenceDefinition;
|
|
938
|
+
nullable: true;
|
|
939
|
+
editable: false;
|
|
940
|
+
}>;
|
|
625
941
|
} & {
|
|
626
942
|
[k: string]: Partial<procesamiento.FieldDefinition>;
|
|
627
943
|
} & {
|
|
@@ -670,11 +986,9 @@ export declare var AppDmEncu: {
|
|
|
670
986
|
img: string[];
|
|
671
987
|
normal: string[];
|
|
672
988
|
} & {
|
|
673
|
-
img
|
|
674
|
-
normal: string[];
|
|
989
|
+
img?: string[] | undefined;
|
|
675
990
|
} & {
|
|
676
|
-
img
|
|
677
|
-
normal: string[];
|
|
991
|
+
img?: string[] | undefined;
|
|
678
992
|
} & {
|
|
679
993
|
img: string[];
|
|
680
994
|
normal: string[];
|
|
@@ -683,39 +997,39 @@ export declare var AppDmEncu: {
|
|
|
683
997
|
normal: string[];
|
|
684
998
|
};
|
|
685
999
|
optsGenericForAll: {
|
|
686
|
-
allowedExts?: string[]
|
|
1000
|
+
allowedExts?: string[];
|
|
687
1001
|
} & {
|
|
688
|
-
allowedExts?: string[]
|
|
1002
|
+
allowedExts?: string[];
|
|
689
1003
|
} & {
|
|
690
|
-
allowedExts?: string[]
|
|
1004
|
+
allowedExts?: string[];
|
|
691
1005
|
} & {
|
|
692
1006
|
allowedExts?: string[];
|
|
693
1007
|
} & {
|
|
694
|
-
allowedExts?: string[]
|
|
1008
|
+
allowedExts?: string[];
|
|
695
1009
|
} & {
|
|
696
|
-
allowedExts?: string[]
|
|
1010
|
+
allowedExts?: string[];
|
|
697
1011
|
} & {
|
|
698
|
-
allowedExts?: string[]
|
|
1012
|
+
allowedExts?: string[];
|
|
699
1013
|
} & {
|
|
700
1014
|
allowedExts?: string[];
|
|
701
1015
|
} & {
|
|
702
|
-
allowedExts?: string[]
|
|
1016
|
+
allowedExts?: string[];
|
|
703
1017
|
} & {
|
|
704
|
-
allowedExts?: string[]
|
|
1018
|
+
allowedExts?: string[];
|
|
705
1019
|
} & {
|
|
706
|
-
allowedExts?: string[]
|
|
1020
|
+
allowedExts?: string[];
|
|
707
1021
|
} & {
|
|
708
1022
|
allowedExts?: string[];
|
|
709
1023
|
} & {
|
|
710
|
-
allowedExts?: string[]
|
|
1024
|
+
allowedExts?: string[];
|
|
711
1025
|
} & {
|
|
712
|
-
allowedExts?: string[]
|
|
1026
|
+
allowedExts?: string[];
|
|
713
1027
|
} & {
|
|
714
1028
|
allowedExts?: string[] | undefined;
|
|
715
1029
|
} & {
|
|
716
1030
|
allowedExts?: string[] | undefined;
|
|
717
1031
|
} & {
|
|
718
|
-
allowedExts?: string[]
|
|
1032
|
+
allowedExts?: string[];
|
|
719
1033
|
} & {
|
|
720
1034
|
allowedExts?: string[];
|
|
721
1035
|
};
|
|
@@ -825,10 +1139,6 @@ export declare var AppDmEncu: {
|
|
|
825
1139
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
826
1140
|
} & {
|
|
827
1141
|
[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
1142
|
} & {
|
|
833
1143
|
[k: string]: (context: procesamiento.ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
|
|
834
1144
|
};
|
|
@@ -862,10 +1172,6 @@ export declare var AppDmEncu: {
|
|
|
862
1172
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
863
1173
|
} & {
|
|
864
1174
|
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
1175
|
} & {
|
|
870
1176
|
messages: Record<procesamiento.LangId, Record<string, string>>;
|
|
871
1177
|
};
|
|
@@ -881,41 +1187,48 @@ export declare var AppDmEncu: {
|
|
|
881
1187
|
dumpText: string;
|
|
882
1188
|
}[]>);
|
|
883
1189
|
clearCaches: (() => void) & (() => void);
|
|
884
|
-
start: ((opts?: import("backend-plus").StartOptions
|
|
1190
|
+
start: ((opts?: import("backend-plus").StartOptions) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
|
|
885
1191
|
getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
|
|
886
|
-
appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext
|
|
1192
|
+
appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void) & ((tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: procesamiento.TableContext) => void) => void);
|
|
887
1193
|
addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
|
|
888
|
-
isAdmin: (() => boolean) & ((reqOrContext: Request | Context) => boolean);
|
|
889
|
-
inDbClient: (<
|
|
890
|
-
inTransaction: (<T_1>(req:
|
|
891
|
-
inTransactionProcedureContext: (<
|
|
892
|
-
procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & (<T>(procedureDef: ProcedureDef) => ProcedureDef<T>);
|
|
1194
|
+
isAdmin: ((reqOrContext: Request | import("backend-plus").Context) => boolean) & ((reqOrContext: Request | Context) => boolean);
|
|
1195
|
+
inDbClient: (<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T>(req: procesamiento.RequestDb | null, doThisWithDbClient: (client: Client) => Promise<T>) => Promise<T>);
|
|
1196
|
+
inTransaction: (<T_1>(req: import("backend-plus").RequestDb | 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>);
|
|
1197
|
+
inTransactionProcedureContext: (<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>) => Promise<T_1>) & (<T>(req: Request | null, coreFunction: (context: procesamiento.ProcedureContext) => Promise<T>) => Promise<T>);
|
|
1198
|
+
procedureDefCompleter: (<T_1>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T_1>) & (<T>(procedureDef: ProcedureDef) => ProcedureDef<T>);
|
|
893
1199
|
tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
|
|
894
1200
|
pushApp: ((dirname: string) => void) & ((dirname: string) => void);
|
|
895
1201
|
dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
|
|
896
|
-
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions
|
|
1202
|
+
dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
|
|
897
1203
|
mainSql: string;
|
|
898
1204
|
enancePart: string;
|
|
899
1205
|
}>) & ((partialTableStructures: procesamiento.TableDefinitions, opts?: procesamiento.DumpOptions) => Promise<{
|
|
900
1206
|
mainSql: string;
|
|
901
1207
|
enancePart: string;
|
|
902
1208
|
}>);
|
|
903
|
-
configList: (() => (
|
|
1209
|
+
configList: (() => (object | string)[]) & (() => (object | string)[]);
|
|
904
1210
|
setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void);
|
|
905
|
-
mainPage: ((req:
|
|
1211
|
+
mainPage: ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
906
1212
|
toHtmlDoc: () => string;
|
|
907
1213
|
}) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
908
1214
|
toHtmlDoc: () => string;
|
|
909
1215
|
});
|
|
910
|
-
isThisProcedureAllowed: (<
|
|
911
|
-
[key: string]:
|
|
1216
|
+
isThisProcedureAllowed: (<T_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
1217
|
+
[key: string]: T_1;
|
|
912
1218
|
}) => Promise<boolean>) & (<T>(context: Context, procedureDef: ProcedureDef, params: {
|
|
913
1219
|
[key: string]: T;
|
|
914
1220
|
}) => Promise<boolean>);
|
|
915
|
-
|
|
1221
|
+
shutdownCallbackListAdd: ((param: {
|
|
1222
|
+
message: string;
|
|
1223
|
+
fun: () => Promise<void>;
|
|
1224
|
+
}) => void) & ((param: {
|
|
1225
|
+
message: string;
|
|
1226
|
+
fun: () => Promise<void>;
|
|
1227
|
+
}) => void);
|
|
1228
|
+
shutdownBackend: (() => Promise<void>) & (() => Promise<void>);
|
|
916
1229
|
setLog: ((opts: {
|
|
917
1230
|
until: string;
|
|
918
|
-
results?: boolean
|
|
1231
|
+
results?: boolean;
|
|
919
1232
|
}) => void) & ((opts: {
|
|
920
1233
|
until: string;
|
|
921
1234
|
results?: boolean;
|
|
@@ -929,40 +1242,35 @@ export declare var AppDmEncu: {
|
|
|
929
1242
|
prepareTransformationSql: string[];
|
|
930
1243
|
endTransformationSql: string[];
|
|
931
1244
|
}>);
|
|
932
|
-
shutdownCallbackListAdd(param: {
|
|
933
|
-
message: string;
|
|
934
|
-
fun: () => Promise<void>;
|
|
935
|
-
}): void;
|
|
936
|
-
shutdownBackend(): Promise<void>;
|
|
937
1245
|
};
|
|
938
|
-
} &
|
|
939
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1246
|
+
} & procesamiento.Constructor<{
|
|
1247
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
|
|
940
1248
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
941
1249
|
configStaticConfig(): void;
|
|
1250
|
+
config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
|
|
942
1251
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
943
1252
|
procedures: import("backend-plus").ProcedureDef[];
|
|
944
1253
|
procedure: {
|
|
945
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1254
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
946
1255
|
} & {
|
|
947
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1256
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
948
1257
|
} & {
|
|
949
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1258
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
950
1259
|
} & {
|
|
951
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1260
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
952
1261
|
} & {
|
|
953
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1262
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
954
1263
|
} & {
|
|
955
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1264
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
956
1265
|
} & {
|
|
957
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1266
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
958
1267
|
} & {
|
|
959
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1268
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
960
1269
|
};
|
|
961
1270
|
app: import("backend-plus").ExpressPlus;
|
|
962
1271
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
963
1272
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
964
|
-
db:
|
|
965
|
-
config: any;
|
|
1273
|
+
db: import("backend-plus").MotorDb;
|
|
966
1274
|
rootPath: string;
|
|
967
1275
|
caches: import("backend-plus").Caches;
|
|
968
1276
|
fieldDomain: {
|
|
@@ -1008,19 +1316,19 @@ export declare var AppDmEncu: {
|
|
|
1008
1316
|
normal: string[];
|
|
1009
1317
|
};
|
|
1010
1318
|
optsGenericForAll: {
|
|
1011
|
-
allowedExts?: string[]
|
|
1319
|
+
allowedExts?: string[];
|
|
1012
1320
|
} & {
|
|
1013
|
-
allowedExts?: string[]
|
|
1321
|
+
allowedExts?: string[];
|
|
1014
1322
|
} & {
|
|
1015
|
-
allowedExts?: string[]
|
|
1323
|
+
allowedExts?: string[];
|
|
1016
1324
|
} & {
|
|
1017
1325
|
allowedExts?: string[];
|
|
1018
1326
|
} & {
|
|
1019
|
-
allowedExts?: string[]
|
|
1327
|
+
allowedExts?: string[];
|
|
1020
1328
|
} & {
|
|
1021
|
-
allowedExts?: string[]
|
|
1329
|
+
allowedExts?: string[];
|
|
1022
1330
|
} & {
|
|
1023
|
-
allowedExts?: string[]
|
|
1331
|
+
allowedExts?: string[];
|
|
1024
1332
|
} & {
|
|
1025
1333
|
allowedExts?: string[];
|
|
1026
1334
|
};
|
|
@@ -1094,30 +1402,30 @@ export declare var AppDmEncu: {
|
|
|
1094
1402
|
} & {
|
|
1095
1403
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1096
1404
|
};
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1405
|
+
} & {
|
|
1406
|
+
config: import("consistencias").ConsistenciasAppConfig;
|
|
1407
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
|
|
1099
1408
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1100
1409
|
configStaticConfig(): void;
|
|
1101
|
-
getMenu():
|
|
1410
|
+
getMenu(): import("consistencias").MenuDefinition;
|
|
1102
1411
|
postConfig(): Promise<void>;
|
|
1103
1412
|
prepareGetTables(): void;
|
|
1104
1413
|
generateAndLoadTableDefs(): import("backend-plus").TableDefinitions;
|
|
1105
|
-
tablasDatos: import("
|
|
1414
|
+
tablasDatos: import("consistencias").TablaDatos[];
|
|
1106
1415
|
procedures: import("backend-plus").ProcedureDef[];
|
|
1107
1416
|
procedure: {
|
|
1108
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1417
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
1109
1418
|
} & {
|
|
1110
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1419
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
1111
1420
|
} & {
|
|
1112
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1421
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
1113
1422
|
} & {
|
|
1114
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1423
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
1115
1424
|
};
|
|
1116
1425
|
app: import("backend-plus").ExpressPlus;
|
|
1117
1426
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
1118
1427
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
1119
|
-
db:
|
|
1120
|
-
config: any;
|
|
1428
|
+
db: import("backend-plus").MotorDb;
|
|
1121
1429
|
rootPath: string;
|
|
1122
1430
|
caches: import("backend-plus").Caches;
|
|
1123
1431
|
fieldDomain: {
|
|
@@ -1143,11 +1451,11 @@ export declare var AppDmEncu: {
|
|
|
1143
1451
|
normal: string[];
|
|
1144
1452
|
};
|
|
1145
1453
|
optsGenericForAll: {
|
|
1146
|
-
allowedExts?: string[]
|
|
1454
|
+
allowedExts?: string[];
|
|
1147
1455
|
} & {
|
|
1148
|
-
allowedExts?: string[]
|
|
1456
|
+
allowedExts?: string[];
|
|
1149
1457
|
} & {
|
|
1150
|
-
allowedExts?: string[]
|
|
1458
|
+
allowedExts?: string[];
|
|
1151
1459
|
} & {
|
|
1152
1460
|
allowedExts?: string[];
|
|
1153
1461
|
};
|
|
@@ -1189,29 +1497,29 @@ export declare var AppDmEncu: {
|
|
|
1189
1497
|
} & {
|
|
1190
1498
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1191
1499
|
};
|
|
1192
|
-
}
|
|
1500
|
+
} & {
|
|
1193
1501
|
configStaticConfig(): void;
|
|
1194
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1502
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
|
|
1195
1503
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1196
|
-
generateAndLoadTableDefs():
|
|
1197
|
-
generateBaseTableDef(tablaDatos:
|
|
1504
|
+
generateAndLoadTableDefs(): import("backend-plus").TableDefinitions;
|
|
1505
|
+
generateBaseTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinition;
|
|
1198
1506
|
prepareGetTables(): void;
|
|
1199
|
-
tablasDatos:
|
|
1507
|
+
tablasDatos: import("consistencias").TablaDatos[];
|
|
1200
1508
|
cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
|
|
1201
|
-
getTableDefFunction(tableDef:
|
|
1202
|
-
loadTableDef(tableDef:
|
|
1203
|
-
generateAndLoadTableDef(tablaDatos:
|
|
1509
|
+
getTableDefFunction(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1510
|
+
loadTableDef(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1511
|
+
generateAndLoadTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinitionFunction;
|
|
1204
1512
|
procedures: import("backend-plus").ProcedureDef[];
|
|
1205
1513
|
procedure: {
|
|
1206
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1514
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
1207
1515
|
} & {
|
|
1208
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
1516
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
1209
1517
|
};
|
|
1210
1518
|
app: import("backend-plus").ExpressPlus;
|
|
1211
1519
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
1212
|
-
tableStructures:
|
|
1213
|
-
db:
|
|
1214
|
-
config:
|
|
1520
|
+
tableStructures: import("backend-plus").TableDefinitions;
|
|
1521
|
+
db: import("backend-plus").MotorDb;
|
|
1522
|
+
config: import("backend-plus").AppConfig;
|
|
1215
1523
|
rootPath: string;
|
|
1216
1524
|
caches: import("backend-plus").Caches;
|
|
1217
1525
|
fieldDomain: {
|
|
@@ -1227,9 +1535,9 @@ export declare var AppDmEncu: {
|
|
|
1227
1535
|
normal: string[];
|
|
1228
1536
|
};
|
|
1229
1537
|
optsGenericForAll: {
|
|
1230
|
-
allowedExts?: string[]
|
|
1538
|
+
allowedExts?: string[];
|
|
1231
1539
|
} & {
|
|
1232
|
-
allowedExts?: string[]
|
|
1540
|
+
allowedExts?: string[];
|
|
1233
1541
|
};
|
|
1234
1542
|
sqls: {
|
|
1235
1543
|
[k: string]: string;
|
|
@@ -1253,17 +1561,17 @@ export declare var AppDmEncu: {
|
|
|
1253
1561
|
} & {
|
|
1254
1562
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
1255
1563
|
};
|
|
1256
|
-
}
|
|
1564
|
+
} & {
|
|
1257
1565
|
configStaticConfig(): void;
|
|
1258
|
-
generateBaseTableDef(tablaDatos:
|
|
1566
|
+
generateBaseTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinition;
|
|
1259
1567
|
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1260
1568
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1261
1569
|
prepareGetTables(): void;
|
|
1262
|
-
tablasDatos:
|
|
1570
|
+
tablasDatos: import("consistencias").TablaDatos[];
|
|
1263
1571
|
cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
|
|
1264
1572
|
getTableDefFunction(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1265
1573
|
loadTableDef(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1266
|
-
generateAndLoadTableDef(tablaDatos:
|
|
1574
|
+
generateAndLoadTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinitionFunction;
|
|
1267
1575
|
procedures: import("backend-plus").ProcedureDef[];
|
|
1268
1576
|
procedure: {
|
|
1269
1577
|
[key: string]: import("backend-plus").ProcedureDef;
|
|
@@ -1276,18 +1584,178 @@ export declare var AppDmEncu: {
|
|
|
1276
1584
|
db: typeof import("pg-promise-strict");
|
|
1277
1585
|
config: any;
|
|
1278
1586
|
rootPath: string;
|
|
1279
|
-
caches:
|
|
1587
|
+
caches: {
|
|
1588
|
+
procedures: {
|
|
1589
|
+
[k: string]: {
|
|
1590
|
+
timestamp: number;
|
|
1591
|
+
result: any;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
} & {
|
|
1595
|
+
procedures: {
|
|
1596
|
+
[k: string]: {
|
|
1597
|
+
timestamp: number;
|
|
1598
|
+
result: any;
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
1601
|
+
};
|
|
1280
1602
|
fieldDomain: {
|
|
1281
|
-
[k: string]: Partial<import("backend-plus").
|
|
1603
|
+
[k: string]: Partial<import("backend-plus").EditableDbDefinition & {
|
|
1604
|
+
name: string;
|
|
1605
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
1606
|
+
label?: string | undefined;
|
|
1607
|
+
title?: string | undefined;
|
|
1608
|
+
nullable?: boolean | undefined;
|
|
1609
|
+
dbNullable?: boolean | undefined;
|
|
1610
|
+
defaultValue?: any;
|
|
1611
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1612
|
+
clientSide?: string | undefined;
|
|
1613
|
+
isName?: boolean | undefined;
|
|
1614
|
+
isPk?: number | undefined;
|
|
1615
|
+
serverSide?: boolean | undefined;
|
|
1616
|
+
inTable?: boolean | undefined;
|
|
1617
|
+
allowEmtpyText?: boolean | undefined;
|
|
1618
|
+
mobileInputType?: string | undefined;
|
|
1619
|
+
extraRow?: number | undefined;
|
|
1620
|
+
inexactNumber?: number | undefined;
|
|
1621
|
+
visible?: boolean | undefined;
|
|
1622
|
+
width?: number | undefined;
|
|
1623
|
+
references?: string | undefined;
|
|
1624
|
+
referencesField?: string | undefined;
|
|
1625
|
+
aggregate?: string | undefined;
|
|
1626
|
+
specialDefaultValue?: string | undefined;
|
|
1627
|
+
specialValueWhenInsert?: string | undefined;
|
|
1628
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
1629
|
+
description?: string | undefined;
|
|
1630
|
+
dataLength?: number | undefined;
|
|
1631
|
+
options?: (string | {
|
|
1632
|
+
option: string | number;
|
|
1633
|
+
label: string;
|
|
1634
|
+
})[] | undefined;
|
|
1635
|
+
inView?: boolean | undefined;
|
|
1636
|
+
sortMethod?: string | undefined;
|
|
1637
|
+
generatedAs?: string | undefined;
|
|
1638
|
+
}> | Partial<import("backend-plus").EditableDbDefinition & {
|
|
1639
|
+
name: string;
|
|
1640
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
1641
|
+
label?: string | undefined;
|
|
1642
|
+
title?: string | undefined;
|
|
1643
|
+
nullable?: boolean | undefined;
|
|
1644
|
+
dbNullable?: boolean | undefined;
|
|
1645
|
+
defaultValue?: any;
|
|
1646
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1647
|
+
clientSide?: string | undefined;
|
|
1648
|
+
isName?: boolean | undefined;
|
|
1649
|
+
isPk?: number | undefined;
|
|
1650
|
+
serverSide?: boolean | undefined;
|
|
1651
|
+
inTable?: boolean | undefined;
|
|
1652
|
+
allowEmtpyText?: boolean | undefined;
|
|
1653
|
+
mobileInputType?: string | undefined;
|
|
1654
|
+
extraRow?: number | undefined;
|
|
1655
|
+
inexactNumber?: number | undefined;
|
|
1656
|
+
visible?: boolean | undefined;
|
|
1657
|
+
width?: number | undefined;
|
|
1658
|
+
references?: string | undefined;
|
|
1659
|
+
referencesField?: string | undefined;
|
|
1660
|
+
aggregate?: string | undefined;
|
|
1661
|
+
specialDefaultValue?: string | undefined;
|
|
1662
|
+
specialValueWhenInsert?: string | undefined;
|
|
1663
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
1664
|
+
description?: string | undefined;
|
|
1665
|
+
dataLength?: number | undefined;
|
|
1666
|
+
options?: (string | {
|
|
1667
|
+
option: string | number;
|
|
1668
|
+
label: string;
|
|
1669
|
+
})[] | undefined;
|
|
1670
|
+
inView?: boolean | undefined;
|
|
1671
|
+
sortMethod?: string | undefined;
|
|
1672
|
+
generatedAs?: string | undefined;
|
|
1673
|
+
} & {
|
|
1674
|
+
sequence: import("backend-plus").SequenceDefinition;
|
|
1675
|
+
nullable: true;
|
|
1676
|
+
editable: false;
|
|
1677
|
+
}>;
|
|
1282
1678
|
} & {
|
|
1283
|
-
[k: string]: Partial<import("backend-plus").
|
|
1679
|
+
[k: string]: Partial<import("backend-plus").EditableDbDefinition & {
|
|
1680
|
+
name: string;
|
|
1681
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
1682
|
+
label?: string | undefined;
|
|
1683
|
+
title?: string | undefined;
|
|
1684
|
+
nullable?: boolean | undefined;
|
|
1685
|
+
dbNullable?: boolean | undefined;
|
|
1686
|
+
defaultValue?: any;
|
|
1687
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1688
|
+
clientSide?: string | undefined;
|
|
1689
|
+
isName?: boolean | undefined;
|
|
1690
|
+
isPk?: number | undefined;
|
|
1691
|
+
serverSide?: boolean | undefined;
|
|
1692
|
+
inTable?: boolean | undefined;
|
|
1693
|
+
allowEmtpyText?: boolean | undefined;
|
|
1694
|
+
mobileInputType?: string | undefined;
|
|
1695
|
+
extraRow?: number | undefined;
|
|
1696
|
+
inexactNumber?: number | undefined;
|
|
1697
|
+
visible?: boolean | undefined;
|
|
1698
|
+
width?: number | undefined;
|
|
1699
|
+
references?: string | undefined;
|
|
1700
|
+
referencesField?: string | undefined;
|
|
1701
|
+
aggregate?: string | undefined;
|
|
1702
|
+
specialDefaultValue?: string | undefined;
|
|
1703
|
+
specialValueWhenInsert?: string | undefined;
|
|
1704
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
1705
|
+
description?: string | undefined;
|
|
1706
|
+
dataLength?: number | undefined;
|
|
1707
|
+
options?: (string | {
|
|
1708
|
+
option: string | number;
|
|
1709
|
+
label: string;
|
|
1710
|
+
})[] | undefined;
|
|
1711
|
+
inView?: boolean | undefined;
|
|
1712
|
+
sortMethod?: string | undefined;
|
|
1713
|
+
generatedAs?: string | undefined;
|
|
1714
|
+
}> | Partial<import("backend-plus").EditableDbDefinition & {
|
|
1715
|
+
name: string;
|
|
1716
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
1717
|
+
label?: string | undefined;
|
|
1718
|
+
title?: string | undefined;
|
|
1719
|
+
nullable?: boolean | undefined;
|
|
1720
|
+
dbNullable?: boolean | undefined;
|
|
1721
|
+
defaultValue?: any;
|
|
1722
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1723
|
+
clientSide?: string | undefined;
|
|
1724
|
+
isName?: boolean | undefined;
|
|
1725
|
+
isPk?: number | undefined;
|
|
1726
|
+
serverSide?: boolean | undefined;
|
|
1727
|
+
inTable?: boolean | undefined;
|
|
1728
|
+
allowEmtpyText?: boolean | undefined;
|
|
1729
|
+
mobileInputType?: string | undefined;
|
|
1730
|
+
extraRow?: number | undefined;
|
|
1731
|
+
inexactNumber?: number | undefined;
|
|
1732
|
+
visible?: boolean | undefined;
|
|
1733
|
+
width?: number | undefined;
|
|
1734
|
+
references?: string | undefined;
|
|
1735
|
+
referencesField?: string | undefined;
|
|
1736
|
+
aggregate?: string | undefined;
|
|
1737
|
+
specialDefaultValue?: string | undefined;
|
|
1738
|
+
specialValueWhenInsert?: string | undefined;
|
|
1739
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
1740
|
+
description?: string | undefined;
|
|
1741
|
+
dataLength?: number | undefined;
|
|
1742
|
+
options?: (string | {
|
|
1743
|
+
option: string | number;
|
|
1744
|
+
label: string;
|
|
1745
|
+
})[] | undefined;
|
|
1746
|
+
inView?: boolean | undefined;
|
|
1747
|
+
sortMethod?: string | undefined;
|
|
1748
|
+
generatedAs?: string | undefined;
|
|
1749
|
+
} & {
|
|
1750
|
+
sequence: import("backend-plus").SequenceDefinition;
|
|
1751
|
+
nullable: true;
|
|
1752
|
+
editable: false;
|
|
1753
|
+
}>;
|
|
1284
1754
|
};
|
|
1285
1755
|
exts: {
|
|
1286
|
-
img
|
|
1287
|
-
normal: string[];
|
|
1756
|
+
img?: string[] | undefined;
|
|
1288
1757
|
} & {
|
|
1289
|
-
img
|
|
1290
|
-
normal: string[];
|
|
1758
|
+
img?: string[] | undefined;
|
|
1291
1759
|
};
|
|
1292
1760
|
optsGenericForAll: {
|
|
1293
1761
|
allowedExts?: string[] | undefined;
|
|
@@ -1306,111 +1774,102 @@ export declare var AppDmEncu: {
|
|
|
1306
1774
|
};
|
|
1307
1775
|
dbUserNameExpr: string;
|
|
1308
1776
|
dbUserRolExpr: string;
|
|
1777
|
+
} & {
|
|
1778
|
+
tablasDatos: import("consistencias").TablaDatos[];
|
|
1779
|
+
configStaticConfig(): void;
|
|
1780
|
+
cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
|
|
1781
|
+
postConfig(): Promise<void>;
|
|
1782
|
+
generateBaseTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinition;
|
|
1783
|
+
getTableDefFunction(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1784
|
+
loadTableDef(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
|
|
1785
|
+
generateAndLoadTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinitionFunction;
|
|
1786
|
+
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
1787
|
+
getMenu(): import("consistencias").MenuDefinition;
|
|
1788
|
+
prepareGetTables(): void;
|
|
1789
|
+
checkDatabaseStructure(client: import("pg-promise-strict").Client): Promise<void>;
|
|
1790
|
+
getDbFunctions(opts: import("backend-plus").DumpOptions): Promise<{
|
|
1791
|
+
dumpText: string;
|
|
1792
|
+
}[]>;
|
|
1793
|
+
procedures: import("backend-plus").ProcedureDef[];
|
|
1794
|
+
procedure: {
|
|
1795
|
+
[key: string]: import("backend-plus").ProcedureDef;
|
|
1796
|
+
};
|
|
1797
|
+
app: import("backend-plus").ExpressPlus;
|
|
1798
|
+
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
1799
|
+
tableStructures: import("backend-plus").TableDefinitions;
|
|
1800
|
+
db: import("backend-plus").MotorDb;
|
|
1801
|
+
config: import("backend-plus").AppConfig;
|
|
1802
|
+
rootPath: string;
|
|
1803
|
+
caches: import("backend-plus").Caches;
|
|
1804
|
+
fieldDomain: {
|
|
1805
|
+
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
1806
|
+
};
|
|
1807
|
+
exts: {
|
|
1808
|
+
img: string[];
|
|
1809
|
+
normal: string[];
|
|
1810
|
+
};
|
|
1811
|
+
optsGenericForAll: {
|
|
1812
|
+
allowedExts?: string[];
|
|
1813
|
+
};
|
|
1814
|
+
sqls: {
|
|
1815
|
+
[k: string]: string;
|
|
1816
|
+
};
|
|
1817
|
+
messages: {
|
|
1818
|
+
[k: string]: string;
|
|
1819
|
+
};
|
|
1820
|
+
dbUserNameExpr: string;
|
|
1821
|
+
dbUserRolExpr: string;
|
|
1309
1822
|
specialValueWhenInsert: {
|
|
1310
1823
|
[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
1824
|
};
|
|
1825
|
+
clearCaches(): void;
|
|
1826
|
+
start(opts?: import("backend-plus").StartOptions): Promise<void>;
|
|
1827
|
+
getTables(): import("backend-plus").TableItemDef[];
|
|
1828
|
+
appendToTableDefinition(tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void): void;
|
|
1829
|
+
getContext(req: Request): import("backend-plus").Context;
|
|
1830
|
+
addSchrödingerServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
1831
|
+
addUnloggedServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
1832
|
+
addLoggedServices(): void;
|
|
1833
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
1834
|
+
isAdmin(reqOrContext: Request | import("backend-plus").Context): boolean;
|
|
1835
|
+
canChangePass(): Promise<boolean>;
|
|
1836
|
+
inDbClient<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>): Promise<T_1>;
|
|
1837
|
+
inTransaction<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>): Promise<T_1>;
|
|
1838
|
+
inTransactionProcedureContext<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>): Promise<T_1>;
|
|
1839
|
+
procedureDefCompleter<T_1>(procedureDef: import("backend-plus").ProcedureDef): import("backend-plus").ProcedureDef<T_1>;
|
|
1840
|
+
tableDefAdapt(tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context): import("backend-plus").TableDefinition;
|
|
1841
|
+
pushApp(dirname: string): void;
|
|
1842
|
+
dumpDbTableFields(tableDefinition: import("backend-plus").TableDefinition): string[];
|
|
1843
|
+
dumpDbSchemaPartial(partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions): Promise<{
|
|
1844
|
+
mainSql: string;
|
|
1845
|
+
enancePart: string;
|
|
1846
|
+
}>;
|
|
1847
|
+
getContextForDump(): import("backend-plus").ContextForDump;
|
|
1848
|
+
getClientSetupForSendToFrontEnd(req: Request): Promise<import("backend-plus").ClientSetup>;
|
|
1849
|
+
configList(): (object | string)[];
|
|
1850
|
+
setStaticConfig(defConfigYamlString: string): void;
|
|
1851
|
+
mainPage(req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage): {
|
|
1852
|
+
toHtmlDoc: () => string;
|
|
1853
|
+
};
|
|
1854
|
+
isThisProcedureAllowed<T_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
1855
|
+
[key: string]: T_1;
|
|
1856
|
+
}): Promise<boolean>;
|
|
1314
1857
|
i18n: {
|
|
1315
1858
|
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
1859
|
};
|
|
1414
|
-
|
|
1415
|
-
|
|
1860
|
+
shutdownCallbackListAdd(param: {
|
|
1861
|
+
message: string;
|
|
1862
|
+
fun: () => Promise<void>;
|
|
1863
|
+
}): void;
|
|
1864
|
+
shutdownBackend(): Promise<void>;
|
|
1865
|
+
setLog(opts: {
|
|
1866
|
+
until: string;
|
|
1867
|
+
results?: boolean;
|
|
1868
|
+
}): void;
|
|
1869
|
+
getDataDumpTransformations(rawData: string): Promise<{
|
|
1870
|
+
rawData: string;
|
|
1871
|
+
prepareTransformationSql: string[];
|
|
1872
|
+
endTransformationSql: string[];
|
|
1873
|
+
}>;
|
|
1874
|
+
} & procesamiento.AppBackend>;
|
|
1416
1875
|
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.
|
|
4
|
+
"version": "2.0.18",
|
|
5
5
|
"author": "Codenautas <codenautas@googlegroups.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/server/server/app-dmencu.js",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@mui/material": "^5.16.7",
|
|
15
15
|
"memoize-one": "~6.0.0",
|
|
16
|
-
"meta-enc": "^1.4.
|
|
17
|
-
"procesamiento": "^2.0.
|
|
16
|
+
"meta-enc": "^1.4.15",
|
|
17
|
+
"procesamiento": "^2.0.9",
|
|
18
18
|
"backend-plus": "^2.5.1-betha.0",
|
|
19
19
|
"qrcode": "^1.5.3",
|
|
20
20
|
"react": "~17.0.2",
|