procesamiento 1.0.15 → 1.0.16
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 +158 -219
- package/dist/server/app-procesamiento.js +2 -6
- package/dist/server/def-config.js +64 -64
- package/dist/server/types-procesamiento.js +2 -6
- 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,63 +36,7 @@ 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:
|
|
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
|
-
};
|
|
39
|
+
caches: import("backend-plus").Caches;
|
|
96
40
|
fieldDomain: {
|
|
97
41
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
98
42
|
} & {
|
|
@@ -111,18 +55,23 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
111
55
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
112
56
|
};
|
|
113
57
|
exts: {
|
|
114
|
-
img
|
|
58
|
+
img: string[];
|
|
59
|
+
normal: string[];
|
|
115
60
|
} & {
|
|
116
|
-
img
|
|
61
|
+
img: string[];
|
|
62
|
+
normal: string[];
|
|
117
63
|
} & {
|
|
118
|
-
img
|
|
64
|
+
img: string[];
|
|
65
|
+
normal: string[];
|
|
119
66
|
} & {
|
|
120
67
|
img: string[];
|
|
121
68
|
normal: string[];
|
|
122
69
|
} & {
|
|
123
|
-
img
|
|
70
|
+
img: string[];
|
|
71
|
+
normal: string[];
|
|
124
72
|
} & {
|
|
125
|
-
img
|
|
73
|
+
img: string[];
|
|
74
|
+
normal: string[];
|
|
126
75
|
} & {
|
|
127
76
|
img: string[];
|
|
128
77
|
normal: string[];
|
|
@@ -204,6 +153,18 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
204
153
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
205
154
|
} & {
|
|
206
155
|
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>>;
|
|
207
168
|
};
|
|
208
169
|
/* mixin-patch: generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition); */
|
|
209
170
|
/* mixin-patch: cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>); */
|
|
@@ -224,11 +185,15 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
224
185
|
/* mixin-patch: addSchrödingerServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
225
186
|
/* mixin-patch: addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
226
187
|
/* mixin-patch: addLoggedServices: (() => void) & (() => void); */
|
|
227
|
-
/* mixin-patch:
|
|
228
|
-
/* mixin-patch:
|
|
188
|
+
/* mixin-patch: isAdmin: (() => boolean) & (() => boolean); */
|
|
189
|
+
/* mixin-patch: canChangePass: (() => Promise<boolean>) & (() => Promise<boolean>); */
|
|
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>); */
|
|
229
193
|
/* mixin-patch: procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef); */
|
|
230
194
|
/* 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); */
|
|
231
195
|
/* 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[]); */
|
|
232
197
|
/* mixin-patch: dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
|
|
233
198
|
mainSql: string;
|
|
234
199
|
enancePart: string;
|
|
@@ -237,7 +202,7 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
237
202
|
enancePart: string;
|
|
238
203
|
}>); */
|
|
239
204
|
/* mixin-patch: getContextForDump: (() => import("backend-plus").ContextForDump) & (() => import("backend-plus").ContextForDump); */
|
|
240
|
-
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) => import("backend-plus").ClientSetup) & ((req: Request) => import("backend-plus").ClientSetup); */
|
|
205
|
+
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) => Promise<import("backend-plus").ClientSetup>) & ((req: Request) => Promise<import("backend-plus").ClientSetup>); */
|
|
241
206
|
/* mixin-patch: configList: (() => (string | object)[]) & (() => (string | object)[]); */
|
|
242
207
|
/* mixin-patch: setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void); */
|
|
243
208
|
/* mixin-patch: mainPage: ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
@@ -245,12 +210,28 @@ export declare function emergeAppProcesamiento<T extends Constructor<AppConsiste
|
|
|
245
210
|
}) & ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
246
211
|
toHtmlDoc: () => string;
|
|
247
212
|
}); */
|
|
248
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
249
|
-
[key: string]:
|
|
250
|
-
}) => Promise<boolean>) & (<
|
|
251
|
-
[key: string]:
|
|
213
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_3>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
214
|
+
[key: string]: T_3;
|
|
215
|
+
}) => Promise<boolean>) & (<T_5>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
216
|
+
[key: string]: T_5;
|
|
252
217
|
}) => Promise<boolean>); */
|
|
253
|
-
|
|
218
|
+
/* mixin-patch: shootDownBackend: (() => Promise<void>) & (() => Promise<void>); */
|
|
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
|
+
}>); */
|
|
254
235
|
};
|
|
255
236
|
} & T;
|
|
256
237
|
export declare var AppProcesamiento: {
|
|
@@ -287,63 +268,7 @@ export declare var AppProcesamiento: {
|
|
|
287
268
|
db: typeof import("pg-promise-strict");
|
|
288
269
|
config: any;
|
|
289
270
|
rootPath: string;
|
|
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
|
-
};
|
|
271
|
+
caches: import("backend-plus").Caches;
|
|
347
272
|
fieldDomain: {
|
|
348
273
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
349
274
|
} & {
|
|
@@ -362,18 +287,23 @@ export declare var AppProcesamiento: {
|
|
|
362
287
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
363
288
|
};
|
|
364
289
|
exts: {
|
|
365
|
-
img
|
|
290
|
+
img: string[];
|
|
291
|
+
normal: string[];
|
|
366
292
|
} & {
|
|
367
|
-
img
|
|
293
|
+
img: string[];
|
|
294
|
+
normal: string[];
|
|
368
295
|
} & {
|
|
369
|
-
img
|
|
296
|
+
img: string[];
|
|
297
|
+
normal: string[];
|
|
370
298
|
} & {
|
|
371
299
|
img: string[];
|
|
372
300
|
normal: string[];
|
|
373
301
|
} & {
|
|
374
|
-
img
|
|
302
|
+
img: string[];
|
|
303
|
+
normal: string[];
|
|
375
304
|
} & {
|
|
376
|
-
img
|
|
305
|
+
img: string[];
|
|
306
|
+
normal: string[];
|
|
377
307
|
} & {
|
|
378
308
|
img: string[];
|
|
379
309
|
normal: string[];
|
|
@@ -455,6 +385,18 @@ export declare var AppProcesamiento: {
|
|
|
455
385
|
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
456
386
|
} & {
|
|
457
387
|
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>>;
|
|
458
400
|
};
|
|
459
401
|
/* mixin-patch: generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition); */
|
|
460
402
|
/* mixin-patch: cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>); */
|
|
@@ -475,11 +417,15 @@ export declare var AppProcesamiento: {
|
|
|
475
417
|
/* mixin-patch: addSchrödingerServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
476
418
|
/* mixin-patch: addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void); */
|
|
477
419
|
/* mixin-patch: addLoggedServices: (() => void) & (() => void); */
|
|
478
|
-
/* mixin-patch:
|
|
479
|
-
/* mixin-patch:
|
|
420
|
+
/* mixin-patch: isAdmin: (() => boolean) & (() => boolean); */
|
|
421
|
+
/* mixin-patch: canChangePass: (() => Promise<boolean>) & (() => Promise<boolean>); */
|
|
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>); */
|
|
480
425
|
/* mixin-patch: procedureDefCompleter: ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef) & ((procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef); */
|
|
481
426
|
/* 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); */
|
|
482
427
|
/* 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[]); */
|
|
483
429
|
/* mixin-patch: dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined) => Promise<{
|
|
484
430
|
mainSql: string;
|
|
485
431
|
enancePart: string;
|
|
@@ -488,7 +434,7 @@ export declare var AppProcesamiento: {
|
|
|
488
434
|
enancePart: string;
|
|
489
435
|
}>); */
|
|
490
436
|
/* mixin-patch: getContextForDump: (() => import("backend-plus").ContextForDump) & (() => import("backend-plus").ContextForDump); */
|
|
491
|
-
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) => import("backend-plus").ClientSetup) & ((req: Request) => import("backend-plus").ClientSetup); */
|
|
437
|
+
/* mixin-patch: getClientSetupForSendToFrontEnd: ((req: Request) => Promise<import("backend-plus").ClientSetup>) & ((req: Request) => Promise<import("backend-plus").ClientSetup>); */
|
|
492
438
|
/* mixin-patch: configList: (() => (string | object)[]) & (() => (string | object)[]); */
|
|
493
439
|
/* mixin-patch: setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void); */
|
|
494
440
|
/* mixin-patch: mainPage: ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
@@ -496,12 +442,28 @@ export declare var AppProcesamiento: {
|
|
|
496
442
|
}) & ((req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined) => {
|
|
497
443
|
toHtmlDoc: () => string;
|
|
498
444
|
}); */
|
|
499
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
500
|
-
[key: string]:
|
|
501
|
-
}) => Promise<boolean>) & (<
|
|
502
|
-
[key: string]:
|
|
445
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_3>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
446
|
+
[key: string]: T_3;
|
|
447
|
+
}) => Promise<boolean>) & (<T_5>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
448
|
+
[key: string]: T_5;
|
|
503
449
|
}) => Promise<boolean>); */
|
|
504
|
-
|
|
450
|
+
/* mixin-patch: shootDownBackend: (() => Promise<void>) & (() => Promise<void>); */
|
|
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
|
+
}>); */
|
|
505
467
|
};
|
|
506
468
|
} & (new (...args: any[]) => {
|
|
507
469
|
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
@@ -528,35 +490,7 @@ export declare var AppProcesamiento: {
|
|
|
528
490
|
db: typeof import("pg-promise-strict");
|
|
529
491
|
config: any;
|
|
530
492
|
rootPath: string;
|
|
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
|
-
};
|
|
493
|
+
caches: import("backend-plus").Caches;
|
|
560
494
|
fieldDomain: {
|
|
561
495
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
562
496
|
} & {
|
|
@@ -567,11 +501,14 @@ export declare var AppProcesamiento: {
|
|
|
567
501
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
568
502
|
};
|
|
569
503
|
exts: {
|
|
570
|
-
img
|
|
504
|
+
img: string[];
|
|
505
|
+
normal: string[];
|
|
571
506
|
} & {
|
|
572
|
-
img
|
|
507
|
+
img: string[];
|
|
508
|
+
normal: string[];
|
|
573
509
|
} & {
|
|
574
|
-
img
|
|
510
|
+
img: string[];
|
|
511
|
+
normal: string[];
|
|
575
512
|
} & {
|
|
576
513
|
img: string[];
|
|
577
514
|
normal: string[];
|
|
@@ -616,6 +553,12 @@ export declare var AppProcesamiento: {
|
|
|
616
553
|
};
|
|
617
554
|
i18n: {
|
|
618
555
|
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>>;
|
|
619
562
|
};
|
|
620
563
|
}) & (new (...args: any[]) => {
|
|
621
564
|
configStaticConfig(): void;
|
|
@@ -641,30 +584,18 @@ export declare var AppProcesamiento: {
|
|
|
641
584
|
db: typeof import("pg-promise-strict");
|
|
642
585
|
config: any;
|
|
643
586
|
rootPath: string;
|
|
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
|
-
};
|
|
587
|
+
caches: import("backend-plus").Caches;
|
|
659
588
|
fieldDomain: {
|
|
660
589
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
661
590
|
} & {
|
|
662
591
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
663
592
|
};
|
|
664
593
|
exts: {
|
|
665
|
-
img
|
|
594
|
+
img: string[];
|
|
595
|
+
normal: string[];
|
|
666
596
|
} & {
|
|
667
|
-
img
|
|
597
|
+
img: string[];
|
|
598
|
+
normal: string[];
|
|
668
599
|
};
|
|
669
600
|
optsGenericForAll: {
|
|
670
601
|
allowedExts?: string[] | undefined;
|
|
@@ -688,6 +619,11 @@ export declare var AppProcesamiento: {
|
|
|
688
619
|
} & {
|
|
689
620
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
690
621
|
};
|
|
622
|
+
i18n: {
|
|
623
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
624
|
+
} & {
|
|
625
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
626
|
+
};
|
|
691
627
|
}) & (new (...args: any[]) => {
|
|
692
628
|
configStaticConfig(): void;
|
|
693
629
|
generateBaseTableDef(tablaDatos: import("consistencias").TablaDatos): import("backend-plus").TableDefinition;
|
|
@@ -711,30 +647,18 @@ export declare var AppProcesamiento: {
|
|
|
711
647
|
db: typeof import("pg-promise-strict");
|
|
712
648
|
config: any;
|
|
713
649
|
rootPath: string;
|
|
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
|
-
};
|
|
650
|
+
caches: import("backend-plus").Caches;
|
|
729
651
|
fieldDomain: {
|
|
730
652
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
731
653
|
} & {
|
|
732
654
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
733
655
|
};
|
|
734
656
|
exts: {
|
|
735
|
-
img
|
|
657
|
+
img: string[];
|
|
658
|
+
normal: string[];
|
|
736
659
|
} & {
|
|
737
|
-
img
|
|
660
|
+
img: string[];
|
|
661
|
+
normal: string[];
|
|
738
662
|
};
|
|
739
663
|
optsGenericForAll: {
|
|
740
664
|
allowedExts?: string[] | undefined;
|
|
@@ -758,6 +682,11 @@ export declare var AppProcesamiento: {
|
|
|
758
682
|
} & {
|
|
759
683
|
[k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
|
|
760
684
|
};
|
|
685
|
+
i18n: {
|
|
686
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
687
|
+
} & {
|
|
688
|
+
messages: Record<import("backend-plus").LangId, Record<string, string>>;
|
|
689
|
+
};
|
|
761
690
|
}) & {
|
|
762
691
|
new (...args: any[]): {
|
|
763
692
|
tablasDatos: import("consistencias").TablaDatos[];
|
|
@@ -785,14 +714,7 @@ export declare var AppProcesamiento: {
|
|
|
785
714
|
db: typeof import("pg-promise-strict");
|
|
786
715
|
config: any;
|
|
787
716
|
rootPath: string;
|
|
788
|
-
caches:
|
|
789
|
-
procedures: {
|
|
790
|
-
[k: string]: {
|
|
791
|
-
timestamp: number;
|
|
792
|
-
result: any;
|
|
793
|
-
};
|
|
794
|
-
};
|
|
795
|
-
};
|
|
717
|
+
caches: import("backend-plus").Caches;
|
|
796
718
|
fieldDomain: {
|
|
797
719
|
[k: string]: Partial<import("backend-plus").FieldDefinition>;
|
|
798
720
|
};
|
|
@@ -823,25 +745,42 @@ export declare var AppProcesamiento: {
|
|
|
823
745
|
addUnloggedServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
|
|
824
746
|
addLoggedServices(): void;
|
|
825
747
|
getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
|
|
826
|
-
|
|
827
|
-
|
|
748
|
+
isAdmin(): boolean;
|
|
749
|
+
canChangePass(): Promise<boolean>;
|
|
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>;
|
|
828
753
|
procedureDefCompleter(procedureDef: import("backend-plus").ProcedureDef): import("backend-plus").ProcedureDef;
|
|
829
754
|
tableDefAdapt(tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context): import("backend-plus").TableDefinition;
|
|
830
755
|
pushApp(dirname: string): void;
|
|
756
|
+
dumpDbTableFields(tableDefinition: import("backend-plus").TableDefinition): string[];
|
|
831
757
|
dumpDbSchemaPartial(partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions | undefined): Promise<{
|
|
832
758
|
mainSql: string;
|
|
833
759
|
enancePart: string;
|
|
834
760
|
}>;
|
|
835
761
|
getContextForDump(): import("backend-plus").ContextForDump;
|
|
836
|
-
getClientSetupForSendToFrontEnd(req: Request): import("backend-plus").ClientSetup
|
|
762
|
+
getClientSetupForSendToFrontEnd(req: Request): Promise<import("backend-plus").ClientSetup>;
|
|
837
763
|
configList(): (string | object)[];
|
|
838
764
|
setStaticConfig(defConfigYamlString: string): void;
|
|
839
765
|
mainPage(req: {} | Request, offlineMode?: boolean | undefined, opts?: OptsClientPage | undefined): {
|
|
840
766
|
toHtmlDoc: () => string;
|
|
841
767
|
};
|
|
842
|
-
isThisProcedureAllowed<
|
|
843
|
-
[key: string]:
|
|
768
|
+
isThisProcedureAllowed<T_3_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
|
|
769
|
+
[key: string]: T_3_1;
|
|
844
770
|
}): 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
|
+
}>;
|
|
845
784
|
};
|
|
846
785
|
prefixTableName(tableName: string, prefix: string): string;
|
|
847
786
|
} & typeof AppBackend;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2
2
|
if (k2 === undefined) k2 = k;
|
|
3
|
-
|
|
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);
|
|
3
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
8
4
|
}) : (function(o, m, k, k2) {
|
|
9
5
|
if (k2 === undefined) k2 = k;
|
|
10
6
|
o[k2] = m[k];
|
|
@@ -52,4 +48,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
52
48
|
exports.emergeAppProcesamiento = emergeAppProcesamiento;
|
|
53
49
|
exports.AppProcesamiento = emergeAppProcesamiento((0, consistencias_1.emergeAppConsistencias)((0, consistencias_1.emergeAppVarCal)((0, datos_ext_1.emergeAppDatosExt)((0, consistencias_1.emergeAppOperativos)(consistencias_1.AppBackend)))));
|
|
54
50
|
});
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXByb2Nlc2FtaWVudG8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc2VydmVyL2FwcC1wcm9jZXNhbWllbnRvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7SUFBQSxZQUFZLENBQUM7OztJQUViLGlEQUE0SjtJQUM1Six5Q0FBdUQ7SUFDdkQsNkNBQXVDO0lBQ3ZDLHlFQUFxRDtJQUNyRCx3REFBc0M7SUFFdEMsU0FBZ0Isc0JBQXNCLENBQThDLElBQU07UUFFdEYsT0FBTyxNQUFNLGdCQUFpQixTQUFRLElBQUk7WUFDdEMsWUFBWSxHQUFHLElBQVU7Z0JBQ3JCLEtBQUssQ0FBQyxJQUFJLENBQUMsQ0FBQztZQUNoQixDQUFDO1lBRUQsS0FBSyxDQUFDLGFBQWE7Z0JBQ2YsSUFBSSxVQUFVLEdBQUcsTUFBTSxLQUFLLENBQUMsYUFBYSxFQUFFLENBQUE7Z0JBQzVDLE9BQU8sVUFBVSxDQUFDLE1BQU0sQ0FBQyxxQ0FBVSxDQUFDLENBQUM7WUFDekMsQ0FBQztZQUVELGNBQWMsQ0FBQyxHQUFXLEVBQUUsb0JBQW1DO2dCQUMzRCxPQUFPLEtBQUssQ0FBQyxjQUFjLENBQUMsR0FBRyxFQUFFLG9CQUFvQixDQUFDLENBQUMsTUFBTSxDQUFDO29CQUMxRCxFQUFDLElBQUksRUFBQyxJQUFJLEVBQUUsTUFBTSxFQUFFLGVBQWUsRUFBRSxPQUFPLEVBQUUsV0FBVyxFQUFFLElBQUksRUFBRSxrQkFBa0IsRUFBRSxJQUFJLEVBQU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ZhciBBcHBQcm9jZXNhbWllbnRvID0gZW1lcmdlQXBwUHJvY2VzYW1pZW50byhlbWVyZ2VBcHBDb25zaXN0ZW5jaWFzKGVtZXJnZUFwcFZhckNhbChlbWVyZ2VBcHBEYXRvc0V4dChlbWVyZ2VBcHBPcGVyYXRpdm9zKEFwcEJhY2tlbmQpKSkpKTtcclxuZXhwb3J0IHR5cGUgQXBwUHJvY2VzYW1pZW50b1R5cGUgPSBJbnN0YW5jZVR5cGU8dHlwZW9mIEFwcFByb2Nlc2FtaWVudG8+OyJdfQ==
|
|
@@ -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
|
|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ICAgICAgZm9ybUltZzogaW1nL2xvZ2luLWxvY2staWNvbi5wbmdcbiAgICBjaFBhc3NGb3JtOlxuICAgICAgdXNlcm5hbWVMYWJlbDogdXN1YXJpb1xuICAgICAgb2xkUGFzc3dvcmRMYWJlbDogY2xhdmUgYW50ZXJpb3JcbiAgICAgIG5ld1Bhc3N3b3JkTGFiZWw6IG51ZXZhIGNsYXZlXG4gICAgICByZXBQYXNzd29yZExhYmVsOiByZXBldGlyIG51ZXZhIGNsYXZlXG4gICAgICBidXR0b25MYWJlbDogQ2FtYmlhclxuICAgICAgZm9ybVRpdGxlOiBDYW1iaW8gZGUgY2xhdmVcbiAgbWVzc2FnZXM6XG4gICAgdXNlck9yUGFzc0ZhaWw6IGVsIG5vbWJyZSBkZSB1c3VhcmlvIG5vIGV4aXN0ZSBvIGxhIGNsYXZlIG5vIGNvcnJlc3BvbmRlXG4gICAgbG9ja2VkRmFpbDogZWwgdXN1YXJpbyBzZSBlbmN1ZW50cmEgYmxvcXVlYWRvXG4gICAgaW5hY3RpdmVGYWlsOiBlcyB1c3VhcmlvIGVzdMOhIG1hcmNhZG8gY29tbyBpbmFjdGl2b1xuY2xpZW50LXNldHVwOlxuICB0aXRsZTogUHJvY2VzYW1pZW50b1xuICBjdXJzb3JzOiB0cnVlXG4gIGxhbmc6IGVzXG4gIG1lbnU6IHRydWVcbmA7Il19
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2
2
|
if (k2 === undefined) k2 = k;
|
|
3
|
-
|
|
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);
|
|
3
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
8
4
|
}) : (function(o, m, k, k2) {
|
|
9
5
|
if (k2 === undefined) k2 = k;
|
|
10
6
|
o[k2] = m[k];
|
|
@@ -26,4 +22,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
22
|
__exportStar(require("consistencias"), exports);
|
|
27
23
|
__exportStar(require("datos-ext"), exports);
|
|
28
24
|
});
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMtcHJvY2VzYW1pZW50by5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2ZXIvdHlwZXMtcHJvY2VzYW1pZW50by50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBQUEsWUFBWSxDQUFDOztJQUViLGdEQUE4QjtJQUM5Qiw0Q0FBMEIiLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcclxuXHJcbmV4cG9ydCAqIGZyb20gJ2NvbnNpc3RlbmNpYXMnO1xyXG5leHBvcnQgKiBmcm9tICdkYXRvcy1leHQnO1xyXG5cclxuIl19
|
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.16",
|
|
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.17",
|
|
20
|
+
"datos-ext": "^1.0.14"
|
|
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
|
+
}
|