procesamiento 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +2 -2
- package/dist/server/app-procesamiento.d.ts +219 -158
- package/dist/server/app-procesamiento.js +6 -2
- package/dist/server/def-config.js +64 -64
- package/dist/server/types-procesamiento.js +6 -2
- package/package.json +49 -49
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018 Codenautas
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Codenautas
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# procesamiento
|
|
2
|
-
Módulo de Procesamiento
|
|
1
|
+
# procesamiento
|
|
2
|
+
Módulo de Procesamiento
|
|
@@ -36,7 +36,63 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
36
36
|
db: typeof import("pg-promise-strict");
|
|
37
37
|
config: any;
|
|
38
38
|
rootPath: string;
|
|
39
|
-
caches:
|
|
39
|
+
caches: {
|
|
40
|
+
procedures: {
|
|
41
|
+
[k: string]: {
|
|
42
|
+
timestamp: number;
|
|
43
|
+
result: any;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
} & {
|
|
47
|
+
procedures: {
|
|
48
|
+
[k: string]: {
|
|
49
|
+
timestamp: number;
|
|
50
|
+
result: any;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
} & {
|
|
54
|
+
procedures: {
|
|
55
|
+
[k: string]: {
|
|
56
|
+
timestamp: number;
|
|
57
|
+
result: any;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
} & {
|
|
61
|
+
procedures: {
|
|
62
|
+
[k: string]: {
|
|
63
|
+
timestamp: number;
|
|
64
|
+
result: any;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
} & {
|
|
68
|
+
procedures: {
|
|
69
|
+
[k: string]: {
|
|
70
|
+
timestamp: number;
|
|
71
|
+
result: any;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
} & {
|
|
75
|
+
procedures: {
|
|
76
|
+
[k: string]: {
|
|
77
|
+
timestamp: number;
|
|
78
|
+
result: any;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
} & {
|
|
82
|
+
procedures: {
|
|
83
|
+
[k: string]: {
|
|
84
|
+
timestamp: number;
|
|
85
|
+
result: any;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
} & {
|
|
89
|
+
procedures: {
|
|
90
|
+
[k: string]: {
|
|
91
|
+
timestamp: number;
|
|
92
|
+
result: any;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
40
96
|
fieldDomain: {
|
|
41
97
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
42
98
|
} & {
|
|
@@ -55,23 +111,18 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
55
111
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
56
112
|
};
|
|
57
113
|
exts: {
|
|
58
|
-
img
|
|
59
|
-
normal: string[];
|
|
114
|
+
img?: string[] | undefined;
|
|
60
115
|
} & {
|
|
61
|
-
img
|
|
62
|
-
normal: string[];
|
|
116
|
+
img?: string[] | undefined;
|
|
63
117
|
} & {
|
|
64
|
-
img
|
|
65
|
-
normal: string[];
|
|
118
|
+
img?: string[] | undefined;
|
|
66
119
|
} & {
|
|
67
120
|
img: string[];
|
|
68
121
|
normal: string[];
|
|
69
122
|
} & {
|
|
70
|
-
img
|
|
71
|
-
normal: string[];
|
|
123
|
+
img?: string[] | undefined;
|
|
72
124
|
} & {
|
|
73
|
-
img
|
|
74
|
-
normal: string[];
|
|
125
|
+
img?: string[] | undefined;
|
|
75
126
|
} & {
|
|
76
127
|
img: string[];
|
|
77
128
|
normal: string[];
|
|
@@ -153,18 +204,6 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
153
204
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
154
205
|
} & {
|
|
155
206
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
156
|
-
} & {
|
|
157
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
158
|
-
} & {
|
|
159
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
160
|
-
} & {
|
|
161
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
162
|
-
} & {
|
|
163
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
164
|
-
} & {
|
|
165
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
166
|
-
} & {
|
|
167
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
168
207
|
};
|
|
169
208
|
/* mixin-patch: generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition); */
|
|
170
209
|
/* mixin-patch: cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>); */
|
|
@@ -185,15 +224,11 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
185
224
|
/* mixin-patch: addSchrödingerServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
186
225
|
/* mixin-patch: addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
187
226
|
/* mixin-patch: addLoggedServices: (() => void) & (() => void); */
|
|
188
|
-
/* mixin-patch:
|
|
189
|
-
/* mixin-patch:
|
|
190
|
-
/* mixin-patch: inDbClient: (<T_4>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_4>) => Promise<T_4>) & (<T_1>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>); */
|
|
191
|
-
/* mixin-patch: inTransaction: (<T_1>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T_2>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_2>) => Promise<T_2>); */
|
|
192
|
-
/* mixin-patch: inTransactionProcedureContext: (<T_2>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_2>) => Promise<T_2>) & (<T_3>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_3>) => Promise<T_3>); */
|
|
227
|
+
/* mixin-patch: inDbClient: (<T_1>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T_2>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_2>) => Promise<T_2>); */
|
|
228
|
+
/* mixin-patch: inTransaction: (<T_2>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_2>) => Promise<T_2>) & (<T_3>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_3>) => Promise<T_3>); */
|
|
193
229
|
/* mixin-patch: procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef); */
|
|
194
230
|
/* 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); */
|
|
195
231
|
/* mixin-patch: pushApp: ((dirname: string) => void) & ((dirname: string) => void); */
|
|
196
|
-
/* mixin-patch: dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: import("backend-plus").TableDefinition) => string[]); */
|
|
197
232
|
/* mixin-patch: dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
|
|
198
233
|
mainSql: string;
|
|
199
234
|
enancePart: string;
|
|
@@ -202,7 +237,7 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
202
237
|
enancePart: string;
|
|
203
238
|
}>); */
|
|
204
239
|
/* mixin-patch: getContextForDump: (() => import("backend-plus").ContextForDump) & (() => import("backend-plus").ContextForDump); */
|
|
205
|
-
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) =>
|
|
240
|
+
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) => import("backend-plus").ClientSetup) & ((req: Request) => import("backend-plus").ClientSetup); */
|
|
206
241
|
/* mixin-patch: configList: (() => (string | object)[]) & (() => (string | object)[]); */
|
|
207
242
|
/* mixin-patch: setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void); */
|
|
208
243
|
/* mixin-patch: mainPage: ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
@@ -210,28 +245,12 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
210
245
|
}) & ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
211
246
|
toHtmlDoc: () => string;
|
|
212
247
|
}); */
|
|
213
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
214
|
-
[key: string]:
|
|
215
|
-
}) => Promise<boolean>) & (<
|
|
216
|
-
[key: string]:
|
|
248
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_3_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
249
|
+
[key: string]: T_3_1;
|
|
250
|
+
}) => Promise<boolean>) & (<T_4>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
251
|
+
[key: string]: T_4;
|
|
217
252
|
}) => Promise<boolean>); */
|
|
218
|
-
|
|
219
|
-
/* mixin-patch: setLog: ((opts: {
|
|
220
|
-
until: string;
|
|
221
|
-
results?: boolean | undefined;
|
|
222
|
-
}) => void) & ((opts: {
|
|
223
|
-
until: string;
|
|
224
|
-
results?: boolean | undefined;
|
|
225
|
-
}) => void); */
|
|
226
|
-
/* mixin-patch: getDataDumpTransformations: ((rawData: string) => Promise<{
|
|
227
|
-
rawData: string;
|
|
228
|
-
prepareTransformationSql: string[];
|
|
229
|
-
endTransformationSql: string[];
|
|
230
|
-
}>) & ((rawData: string) => Promise<{
|
|
231
|
-
rawData: string;
|
|
232
|
-
prepareTransformationSql: string[];
|
|
233
|
-
endTransformationSql: string[];
|
|
234
|
-
}>); */
|
|
253
|
+
dumpDbTableFields(tableDefinition: import("backend-plus").TableDefinition): string[];
|
|
235
254
|
};
|
|
236
255
|
} & T;
|
|
237
256
|
export declare var AppProcesamiento: {
|
|
@@ -268,7 +287,63 @@ export declare var AppProcesamiento: {
|
|
|
268
287
|
db: typeof import("pg-promise-strict");
|
|
269
288
|
config: any;
|
|
270
289
|
rootPath: string;
|
|
271
|
-
caches:
|
|
290
|
+
caches: {
|
|
291
|
+
procedures: {
|
|
292
|
+
[k: string]: {
|
|
293
|
+
timestamp: number;
|
|
294
|
+
result: any;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
} & {
|
|
298
|
+
procedures: {
|
|
299
|
+
[k: string]: {
|
|
300
|
+
timestamp: number;
|
|
301
|
+
result: any;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
} & {
|
|
305
|
+
procedures: {
|
|
306
|
+
[k: string]: {
|
|
307
|
+
timestamp: number;
|
|
308
|
+
result: any;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
} & {
|
|
312
|
+
procedures: {
|
|
313
|
+
[k: string]: {
|
|
314
|
+
timestamp: number;
|
|
315
|
+
result: any;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
} & {
|
|
319
|
+
procedures: {
|
|
320
|
+
[k: string]: {
|
|
321
|
+
timestamp: number;
|
|
322
|
+
result: any;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
} & {
|
|
326
|
+
procedures: {
|
|
327
|
+
[k: string]: {
|
|
328
|
+
timestamp: number;
|
|
329
|
+
result: any;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
} & {
|
|
333
|
+
procedures: {
|
|
334
|
+
[k: string]: {
|
|
335
|
+
timestamp: number;
|
|
336
|
+
result: any;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
} & {
|
|
340
|
+
procedures: {
|
|
341
|
+
[k: string]: {
|
|
342
|
+
timestamp: number;
|
|
343
|
+
result: any;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
};
|
|
272
347
|
fieldDomain: {
|
|
273
348
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
274
349
|
} & {
|
|
@@ -287,23 +362,18 @@ export declare var AppProcesamiento: {
|
|
|
287
362
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
288
363
|
};
|
|
289
364
|
exts: {
|
|
290
|
-
img
|
|
291
|
-
normal: string[];
|
|
365
|
+
img?: string[] | undefined;
|
|
292
366
|
} & {
|
|
293
|
-
img
|
|
294
|
-
normal: string[];
|
|
367
|
+
img?: string[] | undefined;
|
|
295
368
|
} & {
|
|
296
|
-
img
|
|
297
|
-
normal: string[];
|
|
369
|
+
img?: string[] | undefined;
|
|
298
370
|
} & {
|
|
299
371
|
img: string[];
|
|
300
372
|
normal: string[];
|
|
301
373
|
} & {
|
|
302
|
-
img
|
|
303
|
-
normal: string[];
|
|
374
|
+
img?: string[] | undefined;
|
|
304
375
|
} & {
|
|
305
|
-
img
|
|
306
|
-
normal: string[];
|
|
376
|
+
img?: string[] | undefined;
|
|
307
377
|
} & {
|
|
308
378
|
img: string[];
|
|
309
379
|
normal: string[];
|
|
@@ -385,18 +455,6 @@ export declare var AppProcesamiento: {
|
|
|
385
455
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
386
456
|
} & {
|
|
387
457
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
388
|
-
} & {
|
|
389
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
390
|
-
} & {
|
|
391
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
392
|
-
} & {
|
|
393
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
394
|
-
} & {
|
|
395
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
396
|
-
} & {
|
|
397
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
398
|
-
} & {
|
|
399
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
400
458
|
};
|
|
401
459
|
/* mixin-patch: generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition); */
|
|
402
460
|
/* mixin-patch: cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>); */
|
|
@@ -417,15 +475,11 @@ export declare var AppProcesamiento: {
|
|
|
417
475
|
/* mixin-patch: addSchrödingerServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
418
476
|
/* mixin-patch: addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
419
477
|
/* mixin-patch: addLoggedServices: (() => void) & (() => void); */
|
|
420
|
-
/* mixin-patch:
|
|
421
|
-
/* mixin-patch:
|
|
422
|
-
/* mixin-patch: inDbClient: (<T_4>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_4>) => Promise<T_4>) & (<T>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T>) => Promise<T>); */
|
|
423
|
-
/* mixin-patch: inTransaction: (<T_1>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T_2>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_2>) => Promise<T_2>); */
|
|
424
|
-
/* mixin-patch: inTransactionProcedureContext: (<T_2>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_2>) => Promise<T_2>) & (<T_3>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_3>) => Promise<T_3>); */
|
|
478
|
+
/* mixin-patch: inDbClient: (<T_1>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T>) => Promise<T>); */
|
|
479
|
+
/* mixin-patch: inTransaction: (<T_2>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_2>) => Promise<T_2>) & (<T_3>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_3>) => Promise<T_3>); */
|
|
425
480
|
/* mixin-patch: procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef); */
|
|
426
481
|
/* 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); */
|
|
427
482
|
/* mixin-patch: pushApp: ((dirname: string) => void) & ((dirname: string) => void); */
|
|
428
|
-
/* mixin-patch: dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: import("backend-plus").TableDefinition) => string[]); */
|
|
429
483
|
/* mixin-patch: dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
|
|
430
484
|
mainSql: string;
|
|
431
485
|
enancePart: string;
|
|
@@ -434,7 +488,7 @@ export declare var AppProcesamiento: {
|
|
|
434
488
|
enancePart: string;
|
|
435
489
|
}>); */
|
|
436
490
|
/* mixin-patch: getContextForDump: (() => import("backend-plus").ContextForDump) & (() => import("backend-plus").ContextForDump); */
|
|
437
|
-
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) =>
|
|
491
|
+
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) => import("backend-plus").ClientSetup) & ((req: Request) => import("backend-plus").ClientSetup); */
|
|
438
492
|
/* mixin-patch: configList: (() => (string | object)[]) & (() => (string | object)[]); */
|
|
439
493
|
/* mixin-patch: setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void); */
|
|
440
494
|
/* mixin-patch: mainPage: ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
@@ -442,28 +496,12 @@ export declare var AppProcesamiento: {
|
|
|
442
496
|
}) & ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
443
497
|
toHtmlDoc: () => string;
|
|
444
498
|
}); */
|
|
445
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
446
|
-
[key: string]:
|
|
447
|
-
}) => Promise<boolean>) & (<
|
|
448
|
-
[key: string]:
|
|
499
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_3_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
500
|
+
[key: string]: T_3_1;
|
|
501
|
+
}) => Promise<boolean>) & (<T_4>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
502
|
+
[key: string]: T_4;
|
|
449
503
|
}) => Promise<boolean>); */
|
|
450
|
-
|
|
451
|
-
/* mixin-patch: setLog: ((opts: {
|
|
452
|
-
until: string;
|
|
453
|
-
results?: boolean | undefined;
|
|
454
|
-
}) => void) & ((opts: {
|
|
455
|
-
until: string;
|
|
456
|
-
results?: boolean | undefined;
|
|
457
|
-
}) => void); */
|
|
458
|
-
/* mixin-patch: getDataDumpTransformations: ((rawData: string) => Promise<{
|
|
459
|
-
rawData: string;
|
|
460
|
-
prepareTransformationSql: string[];
|
|
461
|
-
endTransformationSql: string[];
|
|
462
|
-
}>) & ((rawData: string) => Promise<{
|
|
463
|
-
rawData: string;
|
|
464
|
-
prepareTransformationSql: string[];
|
|
465
|
-
endTransformationSql: string[];
|
|
466
|
-
}>); */
|
|
504
|
+
dumpDbTableFields(tableDefinition: import("backend-plus").TableDefinition): string[];
|
|
467
505
|
};
|
|
468
506
|
} & (new (...args: any[]) => {
|
|
469
507
|
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
@@ -490,7 +528,35 @@ export declare var AppProcesamiento: {
|
|
|
490
528
|
db: typeof import("pg-promise-strict");
|
|
491
529
|
config: any;
|
|
492
530
|
rootPath: string;
|
|
493
|
-
caches:
|
|
531
|
+
caches: {
|
|
532
|
+
procedures: {
|
|
533
|
+
[k: string]: {
|
|
534
|
+
timestamp: number;
|
|
535
|
+
result: any;
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
} & {
|
|
539
|
+
procedures: {
|
|
540
|
+
[k: string]: {
|
|
541
|
+
timestamp: number;
|
|
542
|
+
result: any;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
} & {
|
|
546
|
+
procedures: {
|
|
547
|
+
[k: string]: {
|
|
548
|
+
timestamp: number;
|
|
549
|
+
result: any;
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
} & {
|
|
553
|
+
procedures: {
|
|
554
|
+
[k: string]: {
|
|
555
|
+
timestamp: number;
|
|
556
|
+
result: any;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
};
|
|
494
560
|
fieldDomain: {
|
|
495
561
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
496
562
|
} & {
|
|
@@ -501,14 +567,11 @@ export declare var AppProcesamiento: {
|
|
|
501
567
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
502
568
|
};
|
|
503
569
|
exts: {
|
|
504
|
-
img
|
|
505
|
-
normal: string[];
|
|
570
|
+
img?: string[] | undefined;
|
|
506
571
|
} & {
|
|
507
|
-
img
|
|
508
|
-
normal: string[];
|
|
572
|
+
img?: string[] | undefined;
|
|
509
573
|
} & {
|
|
510
|
-
img
|
|
511
|
-
normal: string[];
|
|
574
|
+
img?: string[] | undefined;
|
|
512
575
|
} & {
|
|
513
576
|
img: string[];
|
|
514
577
|
normal: string[];
|
|
@@ -553,12 +616,6 @@ export declare var AppProcesamiento: {
|
|
|
553
616
|
};
|
|
554
617
|
i18n: {
|
|
555
618
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
556
|
-
} & {
|
|
557
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
558
|
-
} & {
|
|
559
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
560
|
-
} & {
|
|
561
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
562
619
|
};
|
|
563
620
|
}) & (new (...args: any[]) => {
|
|
564
621
|
configStaticConfig(): void;
|
|
@@ -584,18 +641,30 @@ export declare var AppProcesamiento: {
|
|
|
584
641
|
db: typeof import("pg-promise-strict");
|
|
585
642
|
config: any;
|
|
586
643
|
rootPath: string;
|
|
587
|
-
caches:
|
|
644
|
+
caches: {
|
|
645
|
+
procedures: {
|
|
646
|
+
[k: string]: {
|
|
647
|
+
timestamp: number;
|
|
648
|
+
result: any;
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
} & {
|
|
652
|
+
procedures: {
|
|
653
|
+
[k: string]: {
|
|
654
|
+
timestamp: number;
|
|
655
|
+
result: any;
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
};
|
|
588
659
|
fieldDomain: {
|
|
589
660
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
590
661
|
} & {
|
|
591
662
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
592
663
|
};
|
|
593
664
|
exts: {
|
|
594
|
-
img
|
|
595
|
-
normal: string[];
|
|
665
|
+
img?: string[] | undefined;
|
|
596
666
|
} & {
|
|
597
|
-
img
|
|
598
|
-
normal: string[];
|
|
667
|
+
img?: string[] | undefined;
|
|
599
668
|
};
|
|
600
669
|
optsGenericForAll: {
|
|
601
670
|
allowedExts?: string[] | undefined;
|
|
@@ -619,11 +688,6 @@ export declare var AppProcesamiento: {
|
|
|
619
688
|
} & {
|
|
620
689
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
621
690
|
};
|
|
622
|
-
i18n: {
|
|
623
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
624
|
-
} & {
|
|
625
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
626
|
-
};
|
|
627
691
|
}) & (new (...args: any[]) => {
|
|
628
692
|
configStaticConfig(): void;
|
|
629
693
|
generateBaseTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinition;
|
|
@@ -647,18 +711,30 @@ export declare var AppProcesamiento: {
|
|
|
647
711
|
db: typeof import("pg-promise-strict");
|
|
648
712
|
config: any;
|
|
649
713
|
rootPath: string;
|
|
650
|
-
caches:
|
|
714
|
+
caches: {
|
|
715
|
+
procedures: {
|
|
716
|
+
[k: string]: {
|
|
717
|
+
timestamp: number;
|
|
718
|
+
result: any;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
} & {
|
|
722
|
+
procedures: {
|
|
723
|
+
[k: string]: {
|
|
724
|
+
timestamp: number;
|
|
725
|
+
result: any;
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
};
|
|
651
729
|
fieldDomain: {
|
|
652
730
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
653
731
|
} & {
|
|
654
732
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
655
733
|
};
|
|
656
734
|
exts: {
|
|
657
|
-
img
|
|
658
|
-
normal: string[];
|
|
735
|
+
img?: string[] | undefined;
|
|
659
736
|
} & {
|
|
660
|
-
img
|
|
661
|
-
normal: string[];
|
|
737
|
+
img?: string[] | undefined;
|
|
662
738
|
};
|
|
663
739
|
optsGenericForAll: {
|
|
664
740
|
allowedExts?: string[] | undefined;
|
|
@@ -682,11 +758,6 @@ export declare var AppProcesamiento: {
|
|
|
682
758
|
} & {
|
|
683
759
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
684
760
|
};
|
|
685
|
-
i18n: {
|
|
686
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
687
|
-
} & {
|
|
688
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
689
|
-
};
|
|
690
761
|
}) & {
|
|
691
762
|
new (...args: any[]): {
|
|
692
763
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
@@ -714,7 +785,14 @@ export declare var AppProcesamiento: {
|
|
|
714
785
|
db: typeof import("pg-promise-strict");
|
|
715
786
|
config: any;
|
|
716
787
|
rootPath: string;
|
|
717
|
-
caches:
|
|
788
|
+
caches: {
|
|
789
|
+
procedures: {
|
|
790
|
+
[k: string]: {
|
|
791
|
+
timestamp: number;
|
|
792
|
+
result: any;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
};
|
|
718
796
|
fieldDomain: {
|
|
719
797
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
720
798
|
};
|
|
@@ -745,42 +823,25 @@ export declare var AppProcesamiento: {
|
|
|
745
823
|
addUnloggedServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
746
824
|
addLoggedServices(): void;
|
|
747
825
|
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
inDbClient<T_6>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_6>): Promise<T_6>;
|
|
751
|
-
inTransaction<T_1_1>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1_1>): Promise<T_1_1>;
|
|
752
|
-
inTransactionProcedureContext<T_2_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_2_1>): Promise<T_2_1>;
|
|
826
|
+
inDbClient<T_1_1>(req: Request | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1_1>): Promise<T_1_1>;
|
|
827
|
+
inTransaction<T_2_1>(req: Request | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_2_1>): Promise<T_2_1>;
|
|
753
828
|
procedureDefCompleter(procedureDef: import("backend-plus").ProcedureDef): import("backend-plus").ProcedureDef;
|
|
754
829
|
tableDefAdapt(tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context): import("backend-plus").TableDefinition;
|
|
755
830
|
pushApp(dirname: string): void;
|
|
756
|
-
dumpDbTableFields(tableDefinition: import("backend-plus").TableDefinition): string[];
|
|
757
831
|
dumpDbSchemaPartial(partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined): Promise<{
|
|
758
832
|
mainSql: string;
|
|
759
833
|
enancePart: string;
|
|
760
834
|
}>;
|
|
761
835
|
getContextForDump(): import("backend-plus").ContextForDump;
|
|
762
|
-
getClientSetupForSendToFrontEnd(req: Request):
|
|
836
|
+
getClientSetupForSendToFrontEnd(req: Request): import("backend-plus").ClientSetup;
|
|
763
837
|
configList(): (string | object)[];
|
|
764
838
|
setStaticConfig(defConfigYamlString: string): void;
|
|
765
839
|
mainPage(req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined): {
|
|
766
840
|
toHtmlDoc: () => string;
|
|
767
841
|
};
|
|
768
|
-
isThisProcedureAllowed<
|
|
769
|
-
[key: string]:
|
|
842
|
+
isThisProcedureAllowed<T_3>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
843
|
+
[key: string]: T_3;
|
|
770
844
|
}): Promise<boolean>;
|
|
771
|
-
i18n: {
|
|
772
|
-
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
773
|
-
};
|
|
774
|
-
shootDownBackend(): Promise<void>;
|
|
775
|
-
setLog(opts: {
|
|
776
|
-
until: string;
|
|
777
|
-
results?: boolean | undefined;
|
|
778
|
-
}): void;
|
|
779
|
-
getDataDumpTransformations(rawData: string): Promise<{
|
|
780
|
-
rawData: string;
|
|
781
|
-
prepareTransformationSql: string[];
|
|
782
|
-
endTransformationSql: string[];
|
|
783
|
-
}>;
|
|
784
845
|
};
|
|
785
846
|
prefixTableName(tableName: string, prefix: string): string;
|
|
786
847
|
} & typeof AppBackend;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2
2
|
if (k2 === undefined) k2 = k;
|
|
3
|
-
Object.
|
|
3
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
5
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(o, k2, desc);
|
|
4
8
|
}) : (function(o, m, k, k2) {
|
|
5
9
|
if (k2 === undefined) k2 = k;
|
|
6
10
|
o[k2] = m[k];
|
|
@@ -48,4 +52,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
48
52
|
exports.emergeAppProcesamiento = emergeAppProcesamiento;
|
|
49
53
|
exports.AppProcesamiento = emergeAppProcesamiento((0, consistencias_1.emergeAppConsistencias)((0, consistencias_1.emergeAppVarCal)((0, datos_ext_1.emergeAppDatosExt)((0, consistencias_1.emergeAppOperativos)(consistencias_1.AppBackend)))));
|
|
50
54
|
});
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXByb2Nlc2FtaWVudG8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc2VydmVyL2FwcC1wcm9jZXNhbWllbnRvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBQUEsWUFBWSxDQUFDOzs7SUFFYixpREFBNEo7SUFDNUoseUNBQXVEO0lBQ3ZELDZDQUF1QztJQUN2Qyx5RUFBcUQ7SUFDckQsd0RBQXNDO0lBRXRDLFNBQWdCLHNCQUFzQixDQUE4QyxJQUFNO1FBRXRGLE9BQU8sTUFBTSxnQkFBaUIsU0FBUSxJQUFJO1lBQ3RDLFlBQVksR0FBRyxJQUFVO2dCQUNyQixLQUFLLENBQUMsSUFBSSxDQUFDLENBQUM7WUFDaEI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kZUJFUGx1c0luY2x1c2lvbnMpLmNvbmNhdChbXHJcbiAgICAgICAgICAgICAgICB7dHlwZTonanMnLCBtb2R1bGU6ICdwcm9jZXNhbWllbnRvJywgbW9kUGF0aDogJy4uL2NsaWVudCcsIGZpbGU6ICdwcm9jZXNhbWllbnRvLmpzJywgcGF0aDogJ2NsaWVudF9tb2R1bGVzJ31cclxuICAgICAgICAgICAgXSlcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGNvbmZpZ1N0YXRpY0NvbmZpZygpe1xyXG4gICAgICAgICAgc3VwZXIuY29uZmlnU3RhdGljQ29uZmlnKCk7XHJcbiAgICAgICAgICB0aGlzLnNldFN0YXRpY0NvbmZpZyhkZWZDb25maWcpO1xyXG4gICAgICB9XHJcbiAgICB9XHJcbn1cclxuXHJcbmV4cG9ydCB2YXIgQXBwUHJvY2VzYW1pZW50byA9IGVtZXJnZUFwcFByb2Nlc2FtaWVudG8oZW1lcmdlQXBwQ29uc2lzdGVuY2lhcyhlbWVyZ2VBcHBWYXJDYWwoZW1lcmdlQXBwRGF0b3NFeHQoZW1lcmdlQXBwT3BlcmF0aXZvcyhBcHBCYWNrZW5kKSkpKSk7XHJcbmV4cG9ydCB0eXBlIEFwcFByb2Nlc2FtaWVudG9UeXBlID0gSW5zdGFuY2VUeXBlPHR5cGVvZiBBcHBQcm9jZXNhbWllbnRvPjsiXX0=
|
|
@@ -10,69 +10,69 @@
|
|
|
10
10
|
"use strict";
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.defConfig = void 0;
|
|
13
|
-
exports.defConfig = `
|
|
14
|
-
server:
|
|
15
|
-
port: 3034
|
|
16
|
-
base-url: /procesamiento
|
|
17
|
-
session-store: memory
|
|
18
|
-
db:
|
|
19
|
-
motor: postgresql
|
|
20
|
-
host: localhost
|
|
21
|
-
database: procesamiento_db
|
|
22
|
-
schema: procesamiento
|
|
23
|
-
user: procesamiento_user
|
|
24
|
-
install:
|
|
25
|
-
dump:
|
|
26
|
-
db:
|
|
27
|
-
owner: procesamiento_owner
|
|
28
|
-
admin-can-create-tables: true
|
|
29
|
-
enances: inline
|
|
30
|
-
skip-content: true
|
|
31
|
-
scripts:
|
|
32
|
-
post-adapt:
|
|
33
|
-
- para-install.sql
|
|
34
|
-
- ../node_modules/datos-ext/install/controlar_modificacion_generada.sql
|
|
35
|
-
- ../node_modules/varcal/install/wrappers.sql
|
|
36
|
-
- ../node_modules/pg-triggers/lib/recreate-his.sql
|
|
37
|
-
- ../node_modules/pg-triggers/lib/table-changes.sql
|
|
38
|
-
- ../node_modules/pg-triggers/lib/function-changes-trg.sql
|
|
39
|
-
- ../node_modules/pg-triggers/lib/enance.sql
|
|
40
|
-
login:
|
|
41
|
-
table: usuarios
|
|
42
|
-
userFieldName: usuario
|
|
43
|
-
passFieldName: md5clave
|
|
44
|
-
rolFieldName: rol
|
|
45
|
-
infoFieldList: [usuario, rol]
|
|
46
|
-
activeClausule: activo
|
|
47
|
-
plus:
|
|
48
|
-
maxAge-5-sec: 5000
|
|
49
|
-
maxAge: 864000000
|
|
50
|
-
maxAge-10-day: 864000000
|
|
51
|
-
allowHttpLogin: true
|
|
52
|
-
fileStore: false
|
|
53
|
-
skipCheckAlreadyLoggedIn: true
|
|
54
|
-
loginForm:
|
|
55
|
-
formTitle: Procesamiento
|
|
56
|
-
usernameLabel: usuario
|
|
57
|
-
passwordLabel: md5clave
|
|
58
|
-
buttonLabel: entrar
|
|
59
|
-
formImg: img/login-lock-icon.png
|
|
60
|
-
chPassForm:
|
|
61
|
-
usernameLabel: usuario
|
|
62
|
-
oldPasswordLabel: clave anterior
|
|
63
|
-
newPasswordLabel: nueva clave
|
|
64
|
-
repPasswordLabel: repetir nueva clave
|
|
65
|
-
buttonLabel: Cambiar
|
|
66
|
-
formTitle: Cambio de clave
|
|
67
|
-
messages:
|
|
68
|
-
userOrPassFail: el nombre de usuario no existe o la clave no corresponde
|
|
69
|
-
lockedFail: el usuario se encuentra bloqueado
|
|
70
|
-
inactiveFail: es usuario está marcado como inactivo
|
|
71
|
-
client-setup:
|
|
72
|
-
title: Procesamiento
|
|
73
|
-
cursors: true
|
|
74
|
-
lang: es
|
|
75
|
-
menu: true
|
|
13
|
+
exports.defConfig = `
|
|
14
|
+
server:
|
|
15
|
+
port: 3034
|
|
16
|
+
base-url: /procesamiento
|
|
17
|
+
session-store: memory
|
|
18
|
+
db:
|
|
19
|
+
motor: postgresql
|
|
20
|
+
host: localhost
|
|
21
|
+
database: procesamiento_db
|
|
22
|
+
schema: procesamiento
|
|
23
|
+
user: procesamiento_user
|
|
24
|
+
install:
|
|
25
|
+
dump:
|
|
26
|
+
db:
|
|
27
|
+
owner: procesamiento_owner
|
|
28
|
+
admin-can-create-tables: true
|
|
29
|
+
enances: inline
|
|
30
|
+
skip-content: true
|
|
31
|
+
scripts:
|
|
32
|
+
post-adapt:
|
|
33
|
+
- para-install.sql
|
|
34
|
+
- ../node_modules/datos-ext/install/controlar_modificacion_generada.sql
|
|
35
|
+
- ../node_modules/varcal/install/wrappers.sql
|
|
36
|
+
- ../node_modules/pg-triggers/lib/recreate-his.sql
|
|
37
|
+
- ../node_modules/pg-triggers/lib/table-changes.sql
|
|
38
|
+
- ../node_modules/pg-triggers/lib/function-changes-trg.sql
|
|
39
|
+
- ../node_modules/pg-triggers/lib/enance.sql
|
|
40
|
+
login:
|
|
41
|
+
table: usuarios
|
|
42
|
+
userFieldName: usuario
|
|
43
|
+
passFieldName: md5clave
|
|
44
|
+
rolFieldName: rol
|
|
45
|
+
infoFieldList: [usuario, rol]
|
|
46
|
+
activeClausule: activo
|
|
47
|
+
plus:
|
|
48
|
+
maxAge-5-sec: 5000
|
|
49
|
+
maxAge: 864000000
|
|
50
|
+
maxAge-10-day: 864000000
|
|
51
|
+
allowHttpLogin: true
|
|
52
|
+
fileStore: false
|
|
53
|
+
skipCheckAlreadyLoggedIn: true
|
|
54
|
+
loginForm:
|
|
55
|
+
formTitle: Procesamiento
|
|
56
|
+
usernameLabel: usuario
|
|
57
|
+
passwordLabel: md5clave
|
|
58
|
+
buttonLabel: entrar
|
|
59
|
+
formImg: img/login-lock-icon.png
|
|
60
|
+
chPassForm:
|
|
61
|
+
usernameLabel: usuario
|
|
62
|
+
oldPasswordLabel: clave anterior
|
|
63
|
+
newPasswordLabel: nueva clave
|
|
64
|
+
repPasswordLabel: repetir nueva clave
|
|
65
|
+
buttonLabel: Cambiar
|
|
66
|
+
formTitle: Cambio de clave
|
|
67
|
+
messages:
|
|
68
|
+
userOrPassFail: el nombre de usuario no existe o la clave no corresponde
|
|
69
|
+
lockedFail: el usuario se encuentra bloqueado
|
|
70
|
+
inactiveFail: es usuario está marcado como inactivo
|
|
71
|
+
client-setup:
|
|
72
|
+
title: Procesamiento
|
|
73
|
+
cursors: true
|
|
74
|
+
lang: es
|
|
75
|
+
menu: true
|
|
76
76
|
`;
|
|
77
77
|
});
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmLWNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2ZXIvZGVmLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7SUFBYSxRQUFBLFNBQVMsR0FBQzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0NBK0R0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IGRlZkNvbmZpZz1gXHJcbnNlcnZlcjpcclxuICBwb3J0OiAzMDM0XHJcbiAgYmFzZS11cmw6IC9wcm9jZXNhbWllbnRvXHJcbiAgc2Vzc2lvbi1zdG9yZTogbWVtb3J5XHJcbmRiOlxy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GVcclxuICAgIGxvY2tlZEZhaWw6IGVsIHVzdWFyaW8gc2UgZW5jdWVudHJhIGJsb3F1ZWFkb1xyXG4gICAgaW5hY3RpdmVGYWlsOiBlcyB1c3VhcmlvIGVzdMOhIG1hcmNhZG8gY29tbyBpbmFjdGl2b1xyXG5jbGllbnQtc2V0dXA6XHJcbiAgdGl0bGU6IFByb2Nlc2FtaWVudG9cclxuICBjdXJzb3JzOiB0cnVlXHJcbiAgbGFuZzogZXNcclxuICBtZW51OiB0cnVlXHJcbmA7Il19
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2
2
|
if (k2 === undefined) k2 = k;
|
|
3
|
-
Object.
|
|
3
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
5
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(o, k2, desc);
|
|
4
8
|
}) : (function(o, m, k, k2) {
|
|
5
9
|
if (k2 === undefined) k2 = k;
|
|
6
10
|
o[k2] = m[k];
|
|
@@ -22,4 +26,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
22
26
|
__exportStar(require("consistencias"), exports);
|
|
23
27
|
__exportStar(require("datos-ext"), exports);
|
|
24
28
|
});
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMtcHJvY2VzYW1pZW50by5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2ZXIvdHlwZXMtcHJvY2VzYW1pZW50by50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztJQUFBLFlBQVksQ0FBQzs7SUFFYixnREFBOEI7SUFDOUIsNENBQTBCIiwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XHJcblxyXG5leHBvcnQgKiBmcm9tICdjb25zaXN0ZW5jaWFzJztcclxuZXhwb3J0ICogZnJvbSAnZGF0b3MtZXh0JztcclxuXHJcbiJdfQ==
|
package/package.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "procesamiento",
|
|
3
|
-
"description": "Módulo de Procesamiento",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"author": "Codenautas <codenautas@googlegroups.com>",
|
|
6
|
-
"contributors": [
|
|
7
|
-
"Raquel N Salva <raquelzssalva@gmail.com>",
|
|
8
|
-
"Eugenio Arosteguy <eugenio.arosteguy@gmail.com>",
|
|
9
|
-
"Emilio Platzer <emilioplatzer@gmail.com>"
|
|
10
|
-
],
|
|
11
|
-
"repository": "codenautas/procesamiento",
|
|
12
|
-
"license": "MIT",
|
|
13
|
-
"main": "dist/server/app-procesamiento.js",
|
|
14
|
-
"types": "dist/server/app-procesamiento.d.ts",
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"consistencias": "^1.3.
|
|
20
|
-
"datos-ext": "^1.0.
|
|
21
|
-
},
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"mixin-patch": "~0.4.1"
|
|
24
|
-
},
|
|
25
|
-
"engines": {
|
|
26
|
-
"node": ">= 14.0.0"
|
|
27
|
-
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"prepare": "npm run build",
|
|
30
|
-
"prebuild": "tsc -b src/server src/client",
|
|
31
|
-
"build": "npm run prebuild && mixin-patch",
|
|
32
|
-
"watch:build": "npm run prebuild -- --watch",
|
|
33
|
-
"x-test": "tsc || echo \"continue with errors\" && mocha --reporter spec --bail --check-leaks tests\\tests\\*.js",
|
|
34
|
-
"test": "(npm run build || echo \"continue with errors\") && mocha --reporter spec --bail --check-leaks tests/tests/*.js",
|
|
35
|
-
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks tests/tests/",
|
|
36
|
-
"start": "node dist/server/server-procesamiento.js",
|
|
37
|
-
"clink": "npm prune && npm i && npm run build && npm link consistencias && npm link datos-ext && npm run build",
|
|
38
|
-
"git-commit": "git add package.json && (git commit -m \"upgrading stack dependencies\" || true)",
|
|
39
|
-
"push-publish": "npm version patch && ncu -u && npm run git-commit && npm publish && git push"
|
|
40
|
-
},
|
|
41
|
-
"qa-control": {
|
|
42
|
-
"package-version": "0.3.0",
|
|
43
|
-
"coverage": 90,
|
|
44
|
-
"run-in": "server",
|
|
45
|
-
"stability": "extending",
|
|
46
|
-
"type": "lib",
|
|
47
|
-
"ecmaVersion": 6
|
|
48
|
-
}
|
|
49
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "procesamiento",
|
|
3
|
+
"description": "Módulo de Procesamiento",
|
|
4
|
+
"version": "1.0.17",
|
|
5
|
+
"author": "Codenautas <codenautas@googlegroups.com>",
|
|
6
|
+
"contributors": [
|
|
7
|
+
"Raquel N Salva <raquelzssalva@gmail.com>",
|
|
8
|
+
"Eugenio Arosteguy <eugenio.arosteguy@gmail.com>",
|
|
9
|
+
"Emilio Platzer <emilioplatzer@gmail.com>"
|
|
10
|
+
],
|
|
11
|
+
"repository": "codenautas/procesamiento",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"main": "dist/server/app-procesamiento.js",
|
|
14
|
+
"types": "dist/server/app-procesamiento.d.ts",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"consistencias": "^1.3.18",
|
|
20
|
+
"datos-ext": "^1.0.13"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"mixin-patch": "~0.4.1"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">= 14.0.0"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"prepare": "npm run build",
|
|
30
|
+
"prebuild": "tsc -b src/server src/client",
|
|
31
|
+
"build": "npm run prebuild && mixin-patch",
|
|
32
|
+
"watch:build": "npm run prebuild -- --watch",
|
|
33
|
+
"x-test": "tsc || echo \"continue with errors\" && mocha --reporter spec --bail --check-leaks tests\\tests\\*.js",
|
|
34
|
+
"test": "(npm run build || echo \"continue with errors\") && mocha --reporter spec --bail --check-leaks tests/tests/*.js",
|
|
35
|
+
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks tests/tests/",
|
|
36
|
+
"start": "node dist/server/server-procesamiento.js",
|
|
37
|
+
"clink": "npm prune && npm i && npm run build && npm link consistencias && npm link datos-ext && npm run build",
|
|
38
|
+
"git-commit": "git add package.json && (git commit -m \"upgrading stack dependencies\" || true)",
|
|
39
|
+
"push-publish": "npm version patch && ncu -u && npm run git-commit && npm publish && git push"
|
|
40
|
+
},
|
|
41
|
+
"qa-control": {
|
|
42
|
+
"package-version": "0.3.0",
|
|
43
|
+
"coverage": 90,
|
|
44
|
+
"run-in": "server",
|
|
45
|
+
"stability": "extending",
|
|
46
|
+
"type": "lib",
|
|
47
|
+
"ecmaVersion": 6
|
|
48
|
+
}
|
|
49
|
+
}
|