meta-enc 1.4.17 → 1.4.19

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.
@@ -95,6 +95,7 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
95
95
  } & {
96
96
  [k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
97
97
  };
98
+ specialSqlDefaultExpressions: Record<string, string>;
98
99
  i18n: {
99
100
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
100
101
  } & {
@@ -104,6 +105,7 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
104
105
  } & {
105
106
  messages: Record<relEnc.LangId, Record<string, string>>;
106
107
  };
108
+ activeSkinFiles: Set<string>;
107
109
  /* mixin-patch: postConfig: (() => Promise<void>) & ((...params: any[]) => Promise<void>); */
108
110
  /* mixin-patch: checkDatabaseStructure: ((client: relEnc.Client) => Promise<void>) & ((client: relEnc.Client) => Promise<void>); */
109
111
  /* mixin-patch: getDbFunctions: ((opts: relEnc.DumpOptions) => Promise<{
@@ -154,7 +156,13 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
154
156
  message: string;
155
157
  fun: () => Promise<void>;
156
158
  }) => void); */
157
- /* mixin-patch: shutdownBackend: (() => Promise<void>) & (() => Promise<void>); */
159
+ /* mixin-patch: shutdownBackend: ((opts?: {
160
+ skipTurnOff?: boolean;
161
+ onlyTurnOff?: boolean;
162
+ }) => Promise<void>) & ((opts?: {
163
+ skipTurnOff?: boolean;
164
+ onlyTurnOff?: boolean;
165
+ }) => Promise<void>); */
158
166
  /* mixin-patch: setLog: ((opts: {
159
167
  until: string;
160
168
  results?: boolean;
@@ -171,6 +179,7 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
171
179
  prepareTransformationSql: string[];
172
180
  endTransformationSql: string[];
173
181
  }>); */
182
+ /* mixin-patch: transformInput: (<T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1) & (<T_1>(fieldDefinition: relEnc.FieldDefinitionInternal, value: T_1) => T_1); */
174
183
  };
175
184
  } & T;
176
185
  export declare var AppMetaEnc: {
@@ -266,6 +275,7 @@ export declare var AppMetaEnc: {
266
275
  } & {
267
276
  [k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
268
277
  };
278
+ specialSqlDefaultExpressions: Record<string, string>;
269
279
  i18n: {
270
280
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
271
281
  } & {
@@ -275,6 +285,7 @@ export declare var AppMetaEnc: {
275
285
  } & {
276
286
  messages: Record<relEnc.LangId, Record<string, string>>;
277
287
  };
288
+ activeSkinFiles: Set<string>;
278
289
  /* mixin-patch: postConfig: (() => Promise<void>) & ((...params: any[]) => Promise<void>); */
279
290
  /* mixin-patch: checkDatabaseStructure: ((client: relEnc.Client) => Promise<void>) & ((client: relEnc.Client) => Promise<void>); */
280
291
  /* mixin-patch: getDbFunctions: ((opts: relEnc.DumpOptions) => Promise<{
@@ -325,7 +336,13 @@ export declare var AppMetaEnc: {
325
336
  message: string;
326
337
  fun: () => Promise<void>;
327
338
  }) => void); */
328
- /* mixin-patch: shutdownBackend: (() => Promise<void>) & (() => Promise<void>); */
339
+ /* mixin-patch: shutdownBackend: ((opts?: {
340
+ skipTurnOff?: boolean;
341
+ onlyTurnOff?: boolean;
342
+ }) => Promise<void>) & ((opts?: {
343
+ skipTurnOff?: boolean;
344
+ onlyTurnOff?: boolean;
345
+ }) => Promise<void>); */
329
346
  /* mixin-patch: setLog: ((opts: {
330
347
  until: string;
331
348
  results?: boolean;
@@ -342,6 +359,7 @@ export declare var AppMetaEnc: {
342
359
  prepareTransformationSql: string[];
343
360
  endTransformationSql: string[];
344
361
  }>); */
362
+ /* mixin-patch: transformInput: (<T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1) & (<T>(fieldDefinition: relEnc.FieldDefinitionInternal, value: T) => T); */
345
363
  };
346
364
  } & (new (...args: any[]) => {
347
365
  clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): relEnc.ClientModuleDefinition[];
@@ -399,11 +417,13 @@ export declare var AppMetaEnc: {
399
417
  } & {
400
418
  [k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
401
419
  };
420
+ specialSqlDefaultExpressions: Record<string, string>;
402
421
  i18n: {
403
422
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
404
423
  } & {
405
424
  messages: Record<relEnc.LangId, Record<string, string>>;
406
425
  };
426
+ activeSkinFiles: Set<string>;
407
427
  }) & {
408
428
  new (...args: any[]): {
409
429
  tablasDatos: relEnc.TablaDatos[];
@@ -453,6 +473,7 @@ export declare var AppMetaEnc: {
453
473
  specialValueWhenInsert: {
454
474
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
455
475
  };
476
+ specialSqlDefaultExpressions: Record<string, string>;
456
477
  clearCaches(): void;
457
478
  start(opts?: import("backend-plus").StartOptions): Promise<void>;
458
479
  getTables(): import("backend-plus").TableItemDef[];
@@ -492,7 +513,10 @@ export declare var AppMetaEnc: {
492
513
  message: string;
493
514
  fun: () => Promise<void>;
494
515
  }): void;
495
- shutdownBackend(): Promise<void>;
516
+ shutdownBackend(opts?: {
517
+ skipTurnOff?: boolean;
518
+ onlyTurnOff?: boolean;
519
+ }): Promise<void>;
496
520
  setLog(opts: {
497
521
  until: string;
498
522
  results?: boolean;
@@ -502,6 +526,8 @@ export declare var AppMetaEnc: {
502
526
  prepareTransformationSql: string[];
503
527
  endTransformationSql: string[];
504
528
  }>;
529
+ activeSkinFiles: Set<string>;
530
+ transformInput: <T>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T) => T;
505
531
  };
506
532
  prefixTableName(tableName: string, prefix: string): string;
507
533
  } & typeof relEnc.AppBackend;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "meta-enc",
3
3
  "description": "Metadatos de encuestas",
4
- "version": "1.4.17",
4
+ "version": "1.4.19",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/meta-enc",
@@ -13,7 +13,7 @@
13
13
  "unlogged"
14
14
  ],
15
15
  "dependencies": {
16
- "rel-enc": "^1.3.14"
16
+ "rel-enc": "^1.3.17"
17
17
  },
18
18
  "devDependencies": {
19
19
  "types.d.ts": "^0.6.7",