procesamiento 2.0.2 → 2.0.6
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 +1 @@
|
|
|
1
|
-
{"root":["../../src/client/procesamiento.ts"],"version":"5.8.
|
|
1
|
+
{"root":["../../src/client/procesamiento.ts"],"version":"5.8.3"}
|
|
@@ -3,9 +3,10 @@ import { Request } from "datos-ext";
|
|
|
3
3
|
export * from "./types-procesamiento";
|
|
4
4
|
export declare function emergeAppProcesamiento<T extends Constructor<AppConsistenciasType>>(Base: T): {
|
|
5
5
|
new (...args: any[]): {
|
|
6
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
6
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
|
|
7
7
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
8
8
|
configStaticConfig(): void;
|
|
9
|
+
config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
|
|
9
10
|
/* mixin-patch: getMenu: (() => import("consistencias").MenuDefinition) & (() => import("consistencias").MenuDefinition) & ((context?: import("backend-plus").Context) => import("backend-plus").MenuDefinition); */
|
|
10
11
|
/* mixin-patch: postConfig: (() => Promise<void>) & (() => Promise<void>) & ((...params: any[]) => Promise<void>); */
|
|
11
12
|
/* mixin-patch: prepareGetTables: (() => void) & (() => void) & (() => void) & (() => void); */
|
|
@@ -13,27 +14,26 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
13
14
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
14
15
|
procedures: import("backend-plus").ProcedureDef[];
|
|
15
16
|
procedure: {
|
|
16
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
17
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
17
18
|
} & {
|
|
18
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
19
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
19
20
|
} & {
|
|
20
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
21
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
21
22
|
} & {
|
|
22
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
23
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
23
24
|
} & {
|
|
24
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
25
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
25
26
|
} & {
|
|
26
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
27
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
27
28
|
} & {
|
|
28
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
29
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
29
30
|
} & {
|
|
30
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
31
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
31
32
|
};
|
|
32
33
|
app: import("backend-plus").ExpressPlus;
|
|
33
34
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
34
35
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
35
|
-
db:
|
|
36
|
-
config: any;
|
|
36
|
+
db: import("backend-plus").MotorDb;
|
|
37
37
|
rootPath: string;
|
|
38
38
|
caches: import("backend-plus").Caches;
|
|
39
39
|
fieldDomain: {
|
|
@@ -79,19 +79,19 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
79
79
|
normal: string[];
|
|
80
80
|
};
|
|
81
81
|
optsGenericForAll: {
|
|
82
|
-
allowedExts?: string[]
|
|
82
|
+
allowedExts?: string[];
|
|
83
83
|
} & {
|
|
84
|
-
allowedExts?: string[]
|
|
84
|
+
allowedExts?: string[];
|
|
85
85
|
} & {
|
|
86
|
-
allowedExts?: string[]
|
|
86
|
+
allowedExts?: string[];
|
|
87
87
|
} & {
|
|
88
88
|
allowedExts?: string[];
|
|
89
89
|
} & {
|
|
90
|
-
allowedExts?: string[]
|
|
90
|
+
allowedExts?: string[];
|
|
91
91
|
} & {
|
|
92
|
-
allowedExts?: string[]
|
|
92
|
+
allowedExts?: string[];
|
|
93
93
|
} & {
|
|
94
|
-
allowedExts?: string[]
|
|
94
|
+
allowedExts?: string[];
|
|
95
95
|
} & {
|
|
96
96
|
allowedExts?: string[];
|
|
97
97
|
};
|
|
@@ -177,23 +177,23 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
177
177
|
dumpText: string;
|
|
178
178
|
}[]>); */
|
|
179
179
|
/* mixin-patch: clearCaches: (() => void) & (() => void); */
|
|
180
|
-
/* mixin-patch: start: ((opts?: import("backend-plus").StartOptions
|
|
180
|
+
/* mixin-patch: start: ((opts?: import("backend-plus").StartOptions) => Promise<void>) & ((opts?: import("backend-plus").StartOptions) => Promise<void>); */
|
|
181
181
|
/* mixin-patch: getTables: (() => import("backend-plus").TableItemDef[]) & (() => import("backend-plus").TableItemDef[]); */
|
|
182
|
-
/* mixin-patch: appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext
|
|
182
|
+
/* mixin-patch: appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void) & ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void); */
|
|
183
183
|
/* mixin-patch: getContext: ((req: Request) => import("backend-plus").Context) & ((req: Request) => import("backend-plus").Context); */
|
|
184
184
|
/* mixin-patch: addSchrödingerServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
185
185
|
/* mixin-patch: addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
186
186
|
/* mixin-patch: addLoggedServices: (() => void) & (() => void); */
|
|
187
|
-
/* mixin-patch: isAdmin: (() => boolean) & (() => boolean); */
|
|
187
|
+
/* mixin-patch: isAdmin: ((reqOrContext: Request | import("backend-plus").Context) => boolean) & ((reqOrContext: Request | import("backend-plus").Context) => boolean); */
|
|
188
188
|
/* mixin-patch: canChangePass: (() => Promise<boolean>) & (() => Promise<boolean>); */
|
|
189
|
-
/* mixin-patch: inDbClient: (<T_1>(req:
|
|
190
|
-
/* mixin-patch: inTransaction: (<T_1>(req:
|
|
191
|
-
/* mixin-patch: inTransactionProcedureContext: (<
|
|
192
|
-
/* mixin-patch: procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef); */
|
|
189
|
+
/* mixin-patch: 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: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>); */
|
|
190
|
+
/* mixin-patch: 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: import("backend-plus").RequestDb | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>); */
|
|
191
|
+
/* mixin-patch: 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: import("backend-plus").ProcedureContext) => Promise<T_1>) => Promise<T_1>); */
|
|
192
|
+
/* mixin-patch: procedureDefCompleter: (<T_1>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T_1>) & (<T_1>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T_1>); */
|
|
193
193
|
/* mixin-patch: tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition); */
|
|
194
194
|
/* mixin-patch: pushApp: ((dirname: string) => void) & ((dirname: string) => void); */
|
|
195
195
|
/* mixin-patch: dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: import("backend-plus").TableDefinition) => string[]); */
|
|
196
|
-
/* mixin-patch: dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions
|
|
196
|
+
/* mixin-patch: dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
|
|
197
197
|
mainSql: string;
|
|
198
198
|
enancePart: string;
|
|
199
199
|
}>) & ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
|
|
@@ -202,22 +202,29 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
202
202
|
}>); */
|
|
203
203
|
/* mixin-patch: getContextForDump: (() => import("backend-plus").ContextForDump) & (() => import("backend-plus").ContextForDump); */
|
|
204
204
|
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) => Promise<import("backend-plus").ClientSetup>) & ((req: Request) => Promise<import("backend-plus").ClientSetup>); */
|
|
205
|
-
/* mixin-patch: configList: (() => (
|
|
205
|
+
/* mixin-patch: configList: (() => (object | string)[]) & (() => (object | string)[]); */
|
|
206
206
|
/* mixin-patch: setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void); */
|
|
207
|
-
/* mixin-patch: mainPage: ((req:
|
|
207
|
+
/* mixin-patch: mainPage: ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
208
208
|
toHtmlDoc: () => string;
|
|
209
209
|
}) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
210
210
|
toHtmlDoc: () => string;
|
|
211
211
|
}); */
|
|
212
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
213
|
-
[key: string]:
|
|
212
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
213
|
+
[key: string]: T_1;
|
|
214
214
|
}) => Promise<boolean>) & (<T_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
215
215
|
[key: string]: T_1;
|
|
216
216
|
}) => Promise<boolean>); */
|
|
217
|
-
/* mixin-patch:
|
|
217
|
+
/* mixin-patch: shutdownCallbackListAdd: ((param: {
|
|
218
|
+
message: string;
|
|
219
|
+
fun: () => Promise<void>;
|
|
220
|
+
}) => void) & ((param: {
|
|
221
|
+
message: string;
|
|
222
|
+
fun: () => Promise<void>;
|
|
223
|
+
}) => void); */
|
|
224
|
+
/* mixin-patch: shutdownBackend: (() => Promise<void>) & (() => Promise<void>); */
|
|
218
225
|
/* mixin-patch: setLog: ((opts: {
|
|
219
226
|
until: string;
|
|
220
|
-
results?: boolean
|
|
227
|
+
results?: boolean;
|
|
221
228
|
}) => void) & ((opts: {
|
|
222
229
|
until: string;
|
|
223
230
|
results?: boolean;
|
|
@@ -235,9 +242,10 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
235
242
|
} & T;
|
|
236
243
|
export declare var AppProcesamiento: {
|
|
237
244
|
new (...args: any[]): {
|
|
238
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
245
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
|
|
239
246
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
240
247
|
configStaticConfig(): void;
|
|
248
|
+
config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
|
|
241
249
|
/* mixin-patch: getMenu: (() => import("consistencias").MenuDefinition) & (() => import("consistencias").MenuDefinition) & ((context?: import("backend-plus").Context) => import("backend-plus").MenuDefinition); */
|
|
242
250
|
/* mixin-patch: postConfig: (() => Promise<void>) & (() => Promise<void>) & ((...params: any[]) => Promise<void>); */
|
|
243
251
|
/* mixin-patch: prepareGetTables: (() => void) & (() => void) & (() => void) & (() => void); */
|
|
@@ -245,27 +253,26 @@ export declare var AppProcesamiento: {
|
|
|
245
253
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
246
254
|
procedures: import("backend-plus").ProcedureDef[];
|
|
247
255
|
procedure: {
|
|
248
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
256
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
249
257
|
} & {
|
|
250
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
258
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
251
259
|
} & {
|
|
252
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
260
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
253
261
|
} & {
|
|
254
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
262
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
255
263
|
} & {
|
|
256
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
264
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
257
265
|
} & {
|
|
258
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
266
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
259
267
|
} & {
|
|
260
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
268
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
261
269
|
} & {
|
|
262
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
270
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
263
271
|
};
|
|
264
272
|
app: import("backend-plus").ExpressPlus;
|
|
265
273
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
266
274
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
267
|
-
db:
|
|
268
|
-
config: any;
|
|
275
|
+
db: import("backend-plus").MotorDb;
|
|
269
276
|
rootPath: string;
|
|
270
277
|
caches: import("backend-plus").Caches;
|
|
271
278
|
fieldDomain: {
|
|
@@ -311,19 +318,19 @@ export declare var AppProcesamiento: {
|
|
|
311
318
|
normal: string[];
|
|
312
319
|
};
|
|
313
320
|
optsGenericForAll: {
|
|
314
|
-
allowedExts?: string[]
|
|
321
|
+
allowedExts?: string[];
|
|
315
322
|
} & {
|
|
316
|
-
allowedExts?: string[]
|
|
323
|
+
allowedExts?: string[];
|
|
317
324
|
} & {
|
|
318
|
-
allowedExts?: string[]
|
|
325
|
+
allowedExts?: string[];
|
|
319
326
|
} & {
|
|
320
327
|
allowedExts?: string[];
|
|
321
328
|
} & {
|
|
322
|
-
allowedExts?: string[]
|
|
329
|
+
allowedExts?: string[];
|
|
323
330
|
} & {
|
|
324
|
-
allowedExts?: string[]
|
|
331
|
+
allowedExts?: string[];
|
|
325
332
|
} & {
|
|
326
|
-
allowedExts?: string[]
|
|
333
|
+
allowedExts?: string[];
|
|
327
334
|
} & {
|
|
328
335
|
allowedExts?: string[];
|
|
329
336
|
};
|
|
@@ -409,23 +416,23 @@ export declare var AppProcesamiento: {
|
|
|
409
416
|
dumpText: string;
|
|
410
417
|
}[]>); */
|
|
411
418
|
/* mixin-patch: clearCaches: (() => void) & (() => void); */
|
|
412
|
-
/* mixin-patch: start: ((opts?: import("backend-plus").StartOptions
|
|
419
|
+
/* mixin-patch: start: ((opts?: import("backend-plus").StartOptions) => Promise<void>) & ((opts?: import("backend-plus").StartOptions) => Promise<void>); */
|
|
413
420
|
/* mixin-patch: getTables: (() => import("backend-plus").TableItemDef[]) & (() => import("backend-plus").TableItemDef[]); */
|
|
414
|
-
/* mixin-patch: appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext
|
|
421
|
+
/* mixin-patch: appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void) & ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void); */
|
|
415
422
|
/* mixin-patch: getContext: ((req: Request) => import("backend-plus").Context) & ((req: Request) => import("backend-plus").Context); */
|
|
416
423
|
/* mixin-patch: addSchrödingerServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
417
424
|
/* mixin-patch: addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
418
425
|
/* mixin-patch: addLoggedServices: (() => void) & (() => void); */
|
|
419
|
-
/* mixin-patch: isAdmin: (() => boolean) & (() => boolean); */
|
|
426
|
+
/* mixin-patch: isAdmin: ((reqOrContext: Request | import("backend-plus").Context) => boolean) & ((reqOrContext: Request | import("backend-plus").Context) => boolean); */
|
|
420
427
|
/* mixin-patch: canChangePass: (() => Promise<boolean>) & (() => Promise<boolean>); */
|
|
421
|
-
/* mixin-patch: inDbClient: (<
|
|
422
|
-
/* mixin-patch: inTransaction: (<T_1>(req:
|
|
423
|
-
/* mixin-patch: inTransactionProcedureContext: (<
|
|
424
|
-
/* mixin-patch: procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef); */
|
|
428
|
+
/* mixin-patch: inDbClient: (<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T>(req: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T>) => Promise<T>); */
|
|
429
|
+
/* mixin-patch: inTransaction: (<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T>(req: import("backend-plus").RequestDb | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T>) => Promise<T>); */
|
|
430
|
+
/* mixin-patch: inTransactionProcedureContext: (<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>) => Promise<T_1>) & (<T>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T>) => Promise<T>); */
|
|
431
|
+
/* mixin-patch: procedureDefCompleter: (<T_1>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T_1>) & (<T>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T>); */
|
|
425
432
|
/* mixin-patch: tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition); */
|
|
426
433
|
/* mixin-patch: pushApp: ((dirname: string) => void) & ((dirname: string) => void); */
|
|
427
434
|
/* mixin-patch: dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: import("backend-plus").TableDefinition) => string[]); */
|
|
428
|
-
/* mixin-patch: dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions
|
|
435
|
+
/* mixin-patch: dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
|
|
429
436
|
mainSql: string;
|
|
430
437
|
enancePart: string;
|
|
431
438
|
}>) & ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
|
|
@@ -434,22 +441,29 @@ export declare var AppProcesamiento: {
|
|
|
434
441
|
}>); */
|
|
435
442
|
/* mixin-patch: getContextForDump: (() => import("backend-plus").ContextForDump) & (() => import("backend-plus").ContextForDump); */
|
|
436
443
|
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) => Promise<import("backend-plus").ClientSetup>) & ((req: Request) => Promise<import("backend-plus").ClientSetup>); */
|
|
437
|
-
/* mixin-patch: configList: (() => (
|
|
444
|
+
/* mixin-patch: configList: (() => (object | string)[]) & (() => (object | string)[]); */
|
|
438
445
|
/* mixin-patch: setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void); */
|
|
439
|
-
/* mixin-patch: mainPage: ((req:
|
|
446
|
+
/* mixin-patch: mainPage: ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
440
447
|
toHtmlDoc: () => string;
|
|
441
448
|
}) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
|
|
442
449
|
toHtmlDoc: () => string;
|
|
443
450
|
}); */
|
|
444
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
445
|
-
[key: string]:
|
|
451
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
452
|
+
[key: string]: T_1;
|
|
446
453
|
}) => Promise<boolean>) & (<T>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
447
454
|
[key: string]: T;
|
|
448
455
|
}) => Promise<boolean>); */
|
|
449
|
-
/* mixin-patch:
|
|
456
|
+
/* mixin-patch: shutdownCallbackListAdd: ((param: {
|
|
457
|
+
message: string;
|
|
458
|
+
fun: () => Promise<void>;
|
|
459
|
+
}) => void) & ((param: {
|
|
460
|
+
message: string;
|
|
461
|
+
fun: () => Promise<void>;
|
|
462
|
+
}) => void); */
|
|
463
|
+
/* mixin-patch: shutdownBackend: (() => Promise<void>) & (() => Promise<void>); */
|
|
450
464
|
/* mixin-patch: setLog: ((opts: {
|
|
451
465
|
until: string;
|
|
452
|
-
results?: boolean
|
|
466
|
+
results?: boolean;
|
|
453
467
|
}) => void) & ((opts: {
|
|
454
468
|
until: string;
|
|
455
469
|
results?: boolean;
|
|
@@ -465,7 +479,8 @@ export declare var AppProcesamiento: {
|
|
|
465
479
|
}>); */
|
|
466
480
|
};
|
|
467
481
|
} & (new (...args: any[]) => {
|
|
468
|
-
|
|
482
|
+
config: import("consistencias").ConsistenciasAppConfig;
|
|
483
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
|
|
469
484
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
470
485
|
configStaticConfig(): void;
|
|
471
486
|
getMenu(): import("consistencias").MenuDefinition;
|
|
@@ -475,19 +490,18 @@ export declare var AppProcesamiento: {
|
|
|
475
490
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
476
491
|
procedures: import("backend-plus").ProcedureDef[];
|
|
477
492
|
procedure: {
|
|
478
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
493
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
479
494
|
} & {
|
|
480
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
495
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
481
496
|
} & {
|
|
482
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
497
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
483
498
|
} & {
|
|
484
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
499
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
485
500
|
};
|
|
486
501
|
app: import("backend-plus").ExpressPlus;
|
|
487
502
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
488
503
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
489
|
-
db:
|
|
490
|
-
config: any;
|
|
504
|
+
db: import("backend-plus").MotorDb;
|
|
491
505
|
rootPath: string;
|
|
492
506
|
caches: import("backend-plus").Caches;
|
|
493
507
|
fieldDomain: {
|
|
@@ -513,11 +527,11 @@ export declare var AppProcesamiento: {
|
|
|
513
527
|
normal: string[];
|
|
514
528
|
};
|
|
515
529
|
optsGenericForAll: {
|
|
516
|
-
allowedExts?: string[]
|
|
530
|
+
allowedExts?: string[];
|
|
517
531
|
} & {
|
|
518
|
-
allowedExts?: string[]
|
|
532
|
+
allowedExts?: string[];
|
|
519
533
|
} & {
|
|
520
|
-
allowedExts?: string[]
|
|
534
|
+
allowedExts?: string[];
|
|
521
535
|
} & {
|
|
522
536
|
allowedExts?: string[];
|
|
523
537
|
};
|
|
@@ -561,7 +575,7 @@ export declare var AppProcesamiento: {
|
|
|
561
575
|
};
|
|
562
576
|
}) & (new (...args: any[]) => {
|
|
563
577
|
configStaticConfig(): void;
|
|
564
|
-
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
578
|
+
getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
|
|
565
579
|
clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
|
|
566
580
|
generateAndLoadTableDefs(): import("backend-plus").TableDefinitions;
|
|
567
581
|
generateBaseTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinition;
|
|
@@ -573,15 +587,15 @@ export declare var AppProcesamiento: {
|
|
|
573
587
|
generateAndLoadTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinitionFunction;
|
|
574
588
|
procedures: import("backend-plus").ProcedureDef[];
|
|
575
589
|
procedure: {
|
|
576
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
590
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
577
591
|
} & {
|
|
578
|
-
[key: string]: import("backend-plus").ProcedureDef
|
|
592
|
+
[key: string]: import("backend-plus").ProcedureDef<any>;
|
|
579
593
|
};
|
|
580
594
|
app: import("backend-plus").ExpressPlus;
|
|
581
595
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
582
596
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
583
|
-
db:
|
|
584
|
-
config:
|
|
597
|
+
db: import("backend-plus").MotorDb;
|
|
598
|
+
config: import("backend-plus").AppConfig;
|
|
585
599
|
rootPath: string;
|
|
586
600
|
caches: import("backend-plus").Caches;
|
|
587
601
|
fieldDomain: {
|
|
@@ -597,9 +611,9 @@ export declare var AppProcesamiento: {
|
|
|
597
611
|
normal: string[];
|
|
598
612
|
};
|
|
599
613
|
optsGenericForAll: {
|
|
600
|
-
allowedExts?: string[]
|
|
614
|
+
allowedExts?: string[];
|
|
601
615
|
} & {
|
|
602
|
-
allowedExts?: string[]
|
|
616
|
+
allowedExts?: string[];
|
|
603
617
|
};
|
|
604
618
|
sqls: {
|
|
605
619
|
[k: string]: string;
|
|
@@ -646,18 +660,178 @@ export declare var AppProcesamiento: {
|
|
|
646
660
|
db: typeof import("pg-promise-strict");
|
|
647
661
|
config: any;
|
|
648
662
|
rootPath: string;
|
|
649
|
-
caches:
|
|
663
|
+
caches: {
|
|
664
|
+
procedures: {
|
|
665
|
+
[k: string]: {
|
|
666
|
+
timestamp: number;
|
|
667
|
+
result: any;
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
} & {
|
|
671
|
+
procedures: {
|
|
672
|
+
[k: string]: {
|
|
673
|
+
timestamp: number;
|
|
674
|
+
result: any;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
};
|
|
650
678
|
fieldDomain: {
|
|
651
|
-
[k: string]: Partial<import("backend-plus").
|
|
679
|
+
[k: string]: Partial<import("backend-plus").EditableDbDefinition & {
|
|
680
|
+
name: string;
|
|
681
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
682
|
+
label?: string | undefined;
|
|
683
|
+
title?: string | undefined;
|
|
684
|
+
nullable?: boolean | undefined;
|
|
685
|
+
dbNullable?: boolean | undefined;
|
|
686
|
+
defaultValue?: any;
|
|
687
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
688
|
+
clientSide?: string | undefined;
|
|
689
|
+
isName?: boolean | undefined;
|
|
690
|
+
isPk?: number | undefined;
|
|
691
|
+
serverSide?: boolean | undefined;
|
|
692
|
+
inTable?: boolean | undefined;
|
|
693
|
+
allowEmtpyText?: boolean | undefined;
|
|
694
|
+
mobileInputType?: string | undefined;
|
|
695
|
+
extraRow?: number | undefined;
|
|
696
|
+
inexactNumber?: number | undefined;
|
|
697
|
+
visible?: boolean | undefined;
|
|
698
|
+
width?: number | undefined;
|
|
699
|
+
references?: string | undefined;
|
|
700
|
+
referencesField?: string | undefined;
|
|
701
|
+
aggregate?: string | undefined;
|
|
702
|
+
specialDefaultValue?: string | undefined;
|
|
703
|
+
specialValueWhenInsert?: string | undefined;
|
|
704
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
705
|
+
description?: string | undefined;
|
|
706
|
+
dataLength?: number | undefined;
|
|
707
|
+
options?: (string | {
|
|
708
|
+
option: string | number;
|
|
709
|
+
label: string;
|
|
710
|
+
})[] | undefined;
|
|
711
|
+
inView?: boolean | undefined;
|
|
712
|
+
sortMethod?: string | undefined;
|
|
713
|
+
generatedAs?: string | undefined;
|
|
714
|
+
}> | Partial<import("backend-plus").EditableDbDefinition & {
|
|
715
|
+
name: string;
|
|
716
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
717
|
+
label?: string | undefined;
|
|
718
|
+
title?: string | undefined;
|
|
719
|
+
nullable?: boolean | undefined;
|
|
720
|
+
dbNullable?: boolean | undefined;
|
|
721
|
+
defaultValue?: any;
|
|
722
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
723
|
+
clientSide?: string | undefined;
|
|
724
|
+
isName?: boolean | undefined;
|
|
725
|
+
isPk?: number | undefined;
|
|
726
|
+
serverSide?: boolean | undefined;
|
|
727
|
+
inTable?: boolean | undefined;
|
|
728
|
+
allowEmtpyText?: boolean | undefined;
|
|
729
|
+
mobileInputType?: string | undefined;
|
|
730
|
+
extraRow?: number | undefined;
|
|
731
|
+
inexactNumber?: number | undefined;
|
|
732
|
+
visible?: boolean | undefined;
|
|
733
|
+
width?: number | undefined;
|
|
734
|
+
references?: string | undefined;
|
|
735
|
+
referencesField?: string | undefined;
|
|
736
|
+
aggregate?: string | undefined;
|
|
737
|
+
specialDefaultValue?: string | undefined;
|
|
738
|
+
specialValueWhenInsert?: string | undefined;
|
|
739
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
740
|
+
description?: string | undefined;
|
|
741
|
+
dataLength?: number | undefined;
|
|
742
|
+
options?: (string | {
|
|
743
|
+
option: string | number;
|
|
744
|
+
label: string;
|
|
745
|
+
})[] | undefined;
|
|
746
|
+
inView?: boolean | undefined;
|
|
747
|
+
sortMethod?: string | undefined;
|
|
748
|
+
generatedAs?: string | undefined;
|
|
749
|
+
} & {
|
|
750
|
+
sequence: import("backend-plus").SequenceDefinition;
|
|
751
|
+
nullable: true;
|
|
752
|
+
editable: false;
|
|
753
|
+
}>;
|
|
652
754
|
} & {
|
|
653
|
-
[k: string]: Partial<import("backend-plus").
|
|
755
|
+
[k: string]: Partial<import("backend-plus").EditableDbDefinition & {
|
|
756
|
+
name: string;
|
|
757
|
+
typeName: import("backend-plus").PgKnownTypes;
|
|
758
|
+
label?: string | undefined;
|
|
759
|
+
title?: string | undefined;
|
|
760
|
+
nullable?: boolean | undefined;
|
|
761
|
+
dbNullable?: boolean | undefined;
|
|
762
|
+
defaultValue?: any;
|
|
763
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
764
|
+
clientSide?: string | undefined;
|
|
765
|
+
isName?: boolean | undefined;
|
|
766
|
+
isPk?: number | undefined;
|
|
767
|
+
serverSide?: boolean | undefined;
|
|
768
|
+
inTable?: boolean | undefined;
|
|
769
|
+
allowEmtpyText?: boolean | undefined;
|
|
770
|
+
mobileInputType?: string | undefined;
|
|
771
|
+
extraRow?: number | undefined;
|
|
772
|
+
inexactNumber?: number | undefined;
|
|
773
|
+
visible?: boolean | undefined;
|
|
774
|
+
width?: number | undefined;
|
|
775
|
+
references?: string | undefined;
|
|
776
|
+
referencesField?: string | undefined;
|
|
777
|
+
aggregate?: string | undefined;
|
|
778
|
+
specialDefaultValue?: string | undefined;
|
|
779
|
+
specialValueWhenInsert?: string | undefined;
|
|
780
|
+
exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
|
|
781
|
+
description?: string | undefined;
|
|
782
|
+
dataLength?: number | undefined;
|
|
783
|
+
options?: (string | {
|
|
784
|
+
option: string | number;
|
|
785
|
+
label: string;
|
|
786
|
+
})[] | undefined;
|
|
787
|
+
inView?: boolean | undefined;
|
|
788
|
+
sortMethod?: string | undefined;
|
|
789
|
+
generatedAs?: string | undefined;
|
|
790
|
+
}> | Partial<import("backend-plus").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
|
+
} & {
|
|
826
|
+
sequence: import("backend-plus").SequenceDefinition;
|
|
827
|
+
nullable: true;
|
|
828
|
+
editable: false;
|
|
829
|
+
}>;
|
|
654
830
|
};
|
|
655
831
|
exts: {
|
|
656
|
-
img
|
|
657
|
-
normal: string[];
|
|
832
|
+
img?: string[] | undefined;
|
|
658
833
|
} & {
|
|
659
|
-
img
|
|
660
|
-
normal: string[];
|
|
834
|
+
img?: string[] | undefined;
|
|
661
835
|
};
|
|
662
836
|
optsGenericForAll: {
|
|
663
837
|
allowedExts?: string[] | undefined;
|
|
@@ -676,16 +850,6 @@ export declare var AppProcesamiento: {
|
|
|
676
850
|
};
|
|
677
851
|
dbUserNameExpr: string;
|
|
678
852
|
dbUserRolExpr: string;
|
|
679
|
-
specialValueWhenInsert: {
|
|
680
|
-
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
681
|
-
} & {
|
|
682
|
-
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
683
|
-
};
|
|
684
|
-
i18n: {
|
|
685
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
686
|
-
} & {
|
|
687
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
688
|
-
};
|
|
689
853
|
}) & {
|
|
690
854
|
new (...args: any[]): {
|
|
691
855
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
@@ -710,8 +874,8 @@ export declare var AppProcesamiento: {
|
|
|
710
874
|
app: import("backend-plus").ExpressPlus;
|
|
711
875
|
getTableDefinition: import("backend-plus").TableDefinitionsGetters;
|
|
712
876
|
tableStructures: import("backend-plus").TableDefinitions;
|
|
713
|
-
db:
|
|
714
|
-
config:
|
|
877
|
+
db: import("backend-plus").MotorDb;
|
|
878
|
+
config: import("backend-plus").AppConfig;
|
|
715
879
|
rootPath: string;
|
|
716
880
|
caches: import("backend-plus").Caches;
|
|
717
881
|
fieldDomain: {
|
|
@@ -722,7 +886,7 @@ export declare var AppProcesamiento: {
|
|
|
722
886
|
normal: string[];
|
|
723
887
|
};
|
|
724
888
|
optsGenericForAll: {
|
|
725
|
-
allowedExts?: string[]
|
|
889
|
+
allowedExts?: string[];
|
|
726
890
|
};
|
|
727
891
|
sqls: {
|
|
728
892
|
[k: string]: string;
|
|
@@ -736,44 +900,48 @@ export declare var AppProcesamiento: {
|
|
|
736
900
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
737
901
|
};
|
|
738
902
|
clearCaches(): void;
|
|
739
|
-
start(opts?: import("backend-plus").StartOptions
|
|
903
|
+
start(opts?: import("backend-plus").StartOptions): Promise<void>;
|
|
740
904
|
getTables(): import("backend-plus").TableItemDef[];
|
|
741
|
-
appendToTableDefinition(tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext
|
|
905
|
+
appendToTableDefinition(tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void): void;
|
|
742
906
|
getContext(req: Request): import("backend-plus").Context;
|
|
743
907
|
addSchrödingerServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
744
908
|
addUnloggedServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
745
909
|
addLoggedServices(): void;
|
|
746
910
|
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
747
|
-
isAdmin(): boolean;
|
|
911
|
+
isAdmin(reqOrContext: Request | import("backend-plus").Context): boolean;
|
|
748
912
|
canChangePass(): Promise<boolean>;
|
|
749
|
-
inDbClient<
|
|
750
|
-
inTransaction<T_1>(req:
|
|
751
|
-
inTransactionProcedureContext<
|
|
752
|
-
procedureDefCompleter(procedureDef: import("backend-plus").ProcedureDef): import("backend-plus").ProcedureDef
|
|
913
|
+
inDbClient<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>): Promise<T_1>;
|
|
914
|
+
inTransaction<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>): Promise<T_1>;
|
|
915
|
+
inTransactionProcedureContext<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>): Promise<T_1>;
|
|
916
|
+
procedureDefCompleter<T_1>(procedureDef: import("backend-plus").ProcedureDef): import("backend-plus").ProcedureDef<T_1>;
|
|
753
917
|
tableDefAdapt(tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context): import("backend-plus").TableDefinition;
|
|
754
918
|
pushApp(dirname: string): void;
|
|
755
919
|
dumpDbTableFields(tableDefinition: import("backend-plus").TableDefinition): string[];
|
|
756
|
-
dumpDbSchemaPartial(partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions
|
|
920
|
+
dumpDbSchemaPartial(partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions): Promise<{
|
|
757
921
|
mainSql: string;
|
|
758
922
|
enancePart: string;
|
|
759
923
|
}>;
|
|
760
924
|
getContextForDump(): import("backend-plus").ContextForDump;
|
|
761
925
|
getClientSetupForSendToFrontEnd(req: Request): Promise<import("backend-plus").ClientSetup>;
|
|
762
|
-
configList(): (
|
|
926
|
+
configList(): (object | string)[];
|
|
763
927
|
setStaticConfig(defConfigYamlString: string): void;
|
|
764
|
-
mainPage(req:
|
|
928
|
+
mainPage(req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage): {
|
|
765
929
|
toHtmlDoc: () => string;
|
|
766
930
|
};
|
|
767
|
-
isThisProcedureAllowed<
|
|
768
|
-
[key: string]:
|
|
931
|
+
isThisProcedureAllowed<T_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
932
|
+
[key: string]: T_1;
|
|
769
933
|
}): Promise<boolean>;
|
|
770
934
|
i18n: {
|
|
771
935
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
772
936
|
};
|
|
773
|
-
|
|
937
|
+
shutdownCallbackListAdd(param: {
|
|
938
|
+
message: string;
|
|
939
|
+
fun: () => Promise<void>;
|
|
940
|
+
}): void;
|
|
941
|
+
shutdownBackend(): Promise<void>;
|
|
774
942
|
setLog(opts: {
|
|
775
943
|
until: string;
|
|
776
|
-
results?: boolean
|
|
944
|
+
results?: boolean;
|
|
777
945
|
}): void;
|
|
778
946
|
getDataDumpTransformations(rawData: string): Promise<{
|
|
779
947
|
rawData: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../../src/server/app-procesamiento.ts","../../src/server/def-config.ts","../../src/server/procedures-procesamiento.ts","../../src/server/server-procesamiento.ts","../../src/server/types-procesamiento.ts"],"version":"5.8.
|
|
1
|
+
{"root":["../../src/server/app-procesamiento.ts","../../src/server/def-config.ts","../../src/server/procedures-procesamiento.ts","../../src/server/server-procesamiento.ts","../../src/server/types-procesamiento.ts"],"version":"5.8.3"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "procesamiento",
|
|
3
3
|
"description": "Módulo de Procesamiento",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.6",
|
|
5
5
|
"author": "Codenautas <codenautas@googlegroups.com>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Raquel N Salva <raquelzssalva@gmail.com>",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"consistencias": "^2.0.
|
|
20
|
-
"datos-ext": "^1.0.
|
|
19
|
+
"consistencias": "^2.0.5",
|
|
20
|
+
"datos-ext": "^1.0.17"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"mixin-patch": "~0.4.1"
|