dmencu 3.2.5 → 3.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,6 @@
1
1
  import * as procesamiento from "procesamiento";
2
2
  import { AppBackend, ClientModuleDefinition, OptsClientPage } from "procesamiento";
3
- import * as pg from "pg-promise-strict";
4
- import { Client, Context, Request, SufijosAmbiente } from "./types-dmencu";
3
+ import { Client, Context, MenuInfoBase, Request, SufijosAmbiente } from "./types-dmencu";
5
4
  export * from "./types-dmencu";
6
5
  import { ProcedureDef } from "backend-plus";
7
6
  import { ProcedureContext } from "backend-plus";
@@ -85,11 +84,12 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
85
84
  label: string;
86
85
  menuContent: procesamiento.MenuInfoBase[];
87
86
  } | null;
87
+ getMenuConfigurar(context: Context): MenuInfoBase[];
88
88
  getMenu(context: Context): {
89
89
  menu: procesamiento.MenuInfoBase[];
90
90
  };
91
91
  prepareGetTables(): void;
92
- config: any;
92
+ config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
93
93
  tablasDatos: import("consistencias").TablaDatos[];
94
94
  procedures: import("backend-plus").ProcedureDef[];
95
95
  procedure: {
@@ -134,21 +134,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
134
134
  tableStructures: import("backend-plus").TableDefinitions;
135
135
  db: import("backend-plus").MotorDb;
136
136
  rootPath: string;
137
- caches: procesamiento.Caches & {
138
- procedures: {
139
- [k: string]: {
140
- timestamp: number;
141
- result: any;
142
- };
143
- };
144
- } & {
145
- procedures: {
146
- [k: string]: {
147
- timestamp: number;
148
- result: any;
149
- };
150
- };
151
- };
137
+ caches: import("backend-plus").Caches;
152
138
  fieldDomain: {
153
139
  [k: string]: Partial<procesamiento.FieldDefinition>;
154
140
  } & {
@@ -178,157 +164,9 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
178
164
  } & {
179
165
  [k: string]: Partial<procesamiento.FieldDefinition>;
180
166
  } & {
181
- [k: string]: Partial<procesamiento.EditableDbDefinition & {
182
- name: string;
183
- typeName: import("backend-plus").PgKnownTypes;
184
- label?: string | undefined;
185
- title?: string | undefined;
186
- nullable?: boolean | undefined;
187
- dbNullable?: boolean | undefined;
188
- defaultValue?: any;
189
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
190
- clientSide?: string | undefined;
191
- isName?: boolean | undefined;
192
- isPk?: number | undefined;
193
- serverSide?: boolean | undefined;
194
- inTable?: boolean | undefined;
195
- allowEmtpyText?: boolean | undefined;
196
- mobileInputType?: string | undefined;
197
- extraRow?: number | undefined;
198
- inexactNumber?: number | undefined;
199
- visible?: boolean | undefined;
200
- width?: number | undefined;
201
- references?: string | undefined;
202
- referencesField?: string | undefined;
203
- aggregate?: string | undefined;
204
- specialDefaultValue?: string | undefined;
205
- specialValueWhenInsert?: string | undefined;
206
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
207
- description?: string | undefined;
208
- dataLength?: number | undefined;
209
- options?: (string | {
210
- option: string | number;
211
- label: string;
212
- })[] | undefined;
213
- inView?: boolean | undefined;
214
- sortMethod?: string | undefined;
215
- generatedAs?: string | undefined;
216
- }> | Partial<procesamiento.EditableDbDefinition & {
217
- name: string;
218
- typeName: import("backend-plus").PgKnownTypes;
219
- label?: string | undefined;
220
- title?: string | undefined;
221
- nullable?: boolean | undefined;
222
- dbNullable?: boolean | undefined;
223
- defaultValue?: any;
224
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
225
- clientSide?: string | undefined;
226
- isName?: boolean | undefined;
227
- isPk?: number | undefined;
228
- serverSide?: boolean | undefined;
229
- inTable?: boolean | undefined;
230
- allowEmtpyText?: boolean | undefined;
231
- mobileInputType?: string | undefined;
232
- extraRow?: number | undefined;
233
- inexactNumber?: number | undefined;
234
- visible?: boolean | undefined;
235
- width?: number | undefined;
236
- references?: string | undefined;
237
- referencesField?: string | undefined;
238
- aggregate?: string | undefined;
239
- specialDefaultValue?: string | undefined;
240
- specialValueWhenInsert?: string | undefined;
241
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
242
- description?: string | undefined;
243
- dataLength?: number | undefined;
244
- options?: (string | {
245
- option: string | number;
246
- label: string;
247
- })[] | undefined;
248
- inView?: boolean | undefined;
249
- sortMethod?: string | undefined;
250
- generatedAs?: string | undefined;
251
- } & {
252
- sequence: import("backend-plus").SequenceDefinition;
253
- nullable: true;
254
- editable: false;
255
- }>;
256
- } & {
257
- [k: string]: Partial<procesamiento.EditableDbDefinition & {
258
- name: string;
259
- typeName: import("backend-plus").PgKnownTypes;
260
- label?: string | undefined;
261
- title?: string | undefined;
262
- nullable?: boolean | undefined;
263
- dbNullable?: boolean | undefined;
264
- defaultValue?: any;
265
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
266
- clientSide?: string | undefined;
267
- isName?: boolean | undefined;
268
- isPk?: number | undefined;
269
- serverSide?: boolean | undefined;
270
- inTable?: boolean | undefined;
271
- allowEmtpyText?: boolean | undefined;
272
- mobileInputType?: string | undefined;
273
- extraRow?: number | undefined;
274
- inexactNumber?: number | undefined;
275
- visible?: boolean | undefined;
276
- width?: number | undefined;
277
- references?: string | undefined;
278
- referencesField?: string | undefined;
279
- aggregate?: string | undefined;
280
- specialDefaultValue?: string | undefined;
281
- specialValueWhenInsert?: string | undefined;
282
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
283
- description?: string | undefined;
284
- dataLength?: number | undefined;
285
- options?: (string | {
286
- option: string | number;
287
- label: string;
288
- })[] | undefined;
289
- inView?: boolean | undefined;
290
- sortMethod?: string | undefined;
291
- generatedAs?: string | undefined;
292
- }> | Partial<procesamiento.EditableDbDefinition & {
293
- name: string;
294
- typeName: import("backend-plus").PgKnownTypes;
295
- label?: string | undefined;
296
- title?: string | undefined;
297
- nullable?: boolean | undefined;
298
- dbNullable?: boolean | undefined;
299
- defaultValue?: any;
300
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
301
- clientSide?: string | undefined;
302
- isName?: boolean | undefined;
303
- isPk?: number | undefined;
304
- serverSide?: boolean | undefined;
305
- inTable?: boolean | undefined;
306
- allowEmtpyText?: boolean | undefined;
307
- mobileInputType?: string | undefined;
308
- extraRow?: number | undefined;
309
- inexactNumber?: number | undefined;
310
- visible?: boolean | undefined;
311
- width?: number | undefined;
312
- references?: string | undefined;
313
- referencesField?: string | undefined;
314
- aggregate?: string | undefined;
315
- specialDefaultValue?: string | undefined;
316
- specialValueWhenInsert?: string | undefined;
317
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
318
- description?: string | undefined;
319
- dataLength?: number | undefined;
320
- options?: (string | {
321
- option: string | number;
322
- label: string;
323
- })[] | undefined;
324
- inView?: boolean | undefined;
325
- sortMethod?: string | undefined;
326
- generatedAs?: string | undefined;
327
- } & {
328
- sequence: import("backend-plus").SequenceDefinition;
329
- nullable: true;
330
- editable: false;
331
- }>;
167
+ [k: string]: Partial<procesamiento.FieldDefinition>;
168
+ } & {
169
+ [k: string]: Partial<procesamiento.FieldDefinition>;
332
170
  } & {
333
171
  [k: string]: Partial<procesamiento.FieldDefinition>;
334
172
  } & {
@@ -377,9 +215,11 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
377
215
  img: string[];
378
216
  normal: string[];
379
217
  } & {
380
- img?: string[] | undefined;
218
+ img: string[];
219
+ normal: string[];
381
220
  } & {
382
- img?: string[] | undefined;
221
+ img: string[];
222
+ normal: string[];
383
223
  } & {
384
224
  img: string[];
385
225
  normal: string[];
@@ -416,9 +256,9 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
416
256
  } & {
417
257
  allowedExts?: string[];
418
258
  } & {
419
- allowedExts?: string[] | undefined;
259
+ allowedExts?: string[];
420
260
  } & {
421
- allowedExts?: string[] | undefined;
261
+ allowedExts?: string[];
422
262
  } & {
423
263
  allowedExts?: string[];
424
264
  } & {
@@ -530,9 +370,14 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
530
370
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
531
371
  } & {
532
372
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
373
+ } & {
374
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
375
+ } & {
376
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
533
377
  } & {
534
378
  [k: string]: (context: ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
535
379
  };
380
+ specialSqlDefaultExpressions: Record<string, string>;
536
381
  i18n: {
537
382
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
538
383
  } & {
@@ -563,9 +408,14 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
563
408
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
564
409
  } & {
565
410
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
411
+ } & {
412
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
413
+ } & {
414
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
566
415
  } & {
567
416
  messages: Record<procesamiento.LangId, Record<string, string>>;
568
417
  };
418
+ activeSkinFiles: Set<string>;
569
419
  generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
570
420
  generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition);
571
421
  cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>);
@@ -616,7 +466,10 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
616
466
  message: string;
617
467
  fun: () => Promise<void>;
618
468
  }) => void);
619
- shutdownBackend: (() => Promise<void>) & ((opts?: {
469
+ shutdownBackend: ((opts?: {
470
+ skipTurnOff?: boolean;
471
+ onlyTurnOff?: boolean;
472
+ }) => Promise<void>) & ((opts?: {
620
473
  skipTurnOff?: boolean;
621
474
  onlyTurnOff?: boolean;
622
475
  }) => Promise<void>);
@@ -636,9 +489,7 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
636
489
  prepareTransformationSql: string[];
637
490
  endTransformationSql: string[];
638
491
  }>);
639
- specialSqlDefaultExpressions: Record<string, string>;
640
- activeSkinFiles: Set<string>;
641
- transformInput: <T_1>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T_1) => T_1;
492
+ transformInput: (<T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1) & (<T_1>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T_1) => T_1);
642
493
  };
643
494
  } & T;
644
495
  export declare var AppDmEncu: {
@@ -720,11 +571,12 @@ export declare var AppDmEncu: {
720
571
  label: string;
721
572
  menuContent: procesamiento.MenuInfoBase[];
722
573
  } | null;
574
+ getMenuConfigurar(context: Context): MenuInfoBase[];
723
575
  getMenu(context: Context): {
724
576
  menu: procesamiento.MenuInfoBase[];
725
577
  };
726
578
  prepareGetTables(): void;
727
- config: any;
579
+ config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
728
580
  tablasDatos: import("consistencias").TablaDatos[];
729
581
  procedures: import("backend-plus").ProcedureDef[];
730
582
  procedure: {
@@ -769,21 +621,7 @@ export declare var AppDmEncu: {
769
621
  tableStructures: import("backend-plus").TableDefinitions;
770
622
  db: import("backend-plus").MotorDb;
771
623
  rootPath: string;
772
- caches: procesamiento.Caches & {
773
- procedures: {
774
- [k: string]: {
775
- timestamp: number;
776
- result: any;
777
- };
778
- };
779
- } & {
780
- procedures: {
781
- [k: string]: {
782
- timestamp: number;
783
- result: any;
784
- };
785
- };
786
- };
624
+ caches: import("backend-plus").Caches;
787
625
  fieldDomain: {
788
626
  [k: string]: Partial<procesamiento.FieldDefinition>;
789
627
  } & {
@@ -813,157 +651,9 @@ export declare var AppDmEncu: {
813
651
  } & {
814
652
  [k: string]: Partial<procesamiento.FieldDefinition>;
815
653
  } & {
816
- [k: string]: Partial<procesamiento.EditableDbDefinition & {
817
- name: string;
818
- typeName: import("backend-plus").PgKnownTypes;
819
- label?: string | undefined;
820
- title?: string | undefined;
821
- nullable?: boolean | undefined;
822
- dbNullable?: boolean | undefined;
823
- defaultValue?: any;
824
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
825
- clientSide?: string | undefined;
826
- isName?: boolean | undefined;
827
- isPk?: number | undefined;
828
- serverSide?: boolean | undefined;
829
- inTable?: boolean | undefined;
830
- allowEmtpyText?: boolean | undefined;
831
- mobileInputType?: string | undefined;
832
- extraRow?: number | undefined;
833
- inexactNumber?: number | undefined;
834
- visible?: boolean | undefined;
835
- width?: number | undefined;
836
- references?: string | undefined;
837
- referencesField?: string | undefined;
838
- aggregate?: string | undefined;
839
- specialDefaultValue?: string | undefined;
840
- specialValueWhenInsert?: string | undefined;
841
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
842
- description?: string | undefined;
843
- dataLength?: number | undefined;
844
- options?: (string | {
845
- option: string | number;
846
- label: string;
847
- })[] | undefined;
848
- inView?: boolean | undefined;
849
- sortMethod?: string | undefined;
850
- generatedAs?: string | undefined;
851
- }> | Partial<procesamiento.EditableDbDefinition & {
852
- name: string;
853
- typeName: import("backend-plus").PgKnownTypes;
854
- label?: string | undefined;
855
- title?: string | undefined;
856
- nullable?: boolean | undefined;
857
- dbNullable?: boolean | undefined;
858
- defaultValue?: any;
859
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
860
- clientSide?: string | undefined;
861
- isName?: boolean | undefined;
862
- isPk?: number | undefined;
863
- serverSide?: boolean | undefined;
864
- inTable?: boolean | undefined;
865
- allowEmtpyText?: boolean | undefined;
866
- mobileInputType?: string | undefined;
867
- extraRow?: number | undefined;
868
- inexactNumber?: number | undefined;
869
- visible?: boolean | undefined;
870
- width?: number | undefined;
871
- references?: string | undefined;
872
- referencesField?: string | undefined;
873
- aggregate?: string | undefined;
874
- specialDefaultValue?: string | undefined;
875
- specialValueWhenInsert?: string | undefined;
876
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
877
- description?: string | undefined;
878
- dataLength?: number | undefined;
879
- options?: (string | {
880
- option: string | number;
881
- label: string;
882
- })[] | undefined;
883
- inView?: boolean | undefined;
884
- sortMethod?: string | undefined;
885
- generatedAs?: string | undefined;
886
- } & {
887
- sequence: import("backend-plus").SequenceDefinition;
888
- nullable: true;
889
- editable: false;
890
- }>;
891
- } & {
892
- [k: string]: Partial<procesamiento.EditableDbDefinition & {
893
- name: string;
894
- typeName: import("backend-plus").PgKnownTypes;
895
- label?: string | undefined;
896
- title?: string | undefined;
897
- nullable?: boolean | undefined;
898
- dbNullable?: boolean | undefined;
899
- defaultValue?: any;
900
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
901
- clientSide?: string | undefined;
902
- isName?: boolean | undefined;
903
- isPk?: number | undefined;
904
- serverSide?: boolean | undefined;
905
- inTable?: boolean | undefined;
906
- allowEmtpyText?: boolean | undefined;
907
- mobileInputType?: string | undefined;
908
- extraRow?: number | undefined;
909
- inexactNumber?: number | undefined;
910
- visible?: boolean | undefined;
911
- width?: number | undefined;
912
- references?: string | undefined;
913
- referencesField?: string | undefined;
914
- aggregate?: string | undefined;
915
- specialDefaultValue?: string | undefined;
916
- specialValueWhenInsert?: string | undefined;
917
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
918
- description?: string | undefined;
919
- dataLength?: number | undefined;
920
- options?: (string | {
921
- option: string | number;
922
- label: string;
923
- })[] | undefined;
924
- inView?: boolean | undefined;
925
- sortMethod?: string | undefined;
926
- generatedAs?: string | undefined;
927
- }> | Partial<procesamiento.EditableDbDefinition & {
928
- name: string;
929
- typeName: import("backend-plus").PgKnownTypes;
930
- label?: string | undefined;
931
- title?: string | undefined;
932
- nullable?: boolean | undefined;
933
- dbNullable?: boolean | undefined;
934
- defaultValue?: any;
935
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
936
- clientSide?: string | undefined;
937
- isName?: boolean | undefined;
938
- isPk?: number | undefined;
939
- serverSide?: boolean | undefined;
940
- inTable?: boolean | undefined;
941
- allowEmtpyText?: boolean | undefined;
942
- mobileInputType?: string | undefined;
943
- extraRow?: number | undefined;
944
- inexactNumber?: number | undefined;
945
- visible?: boolean | undefined;
946
- width?: number | undefined;
947
- references?: string | undefined;
948
- referencesField?: string | undefined;
949
- aggregate?: string | undefined;
950
- specialDefaultValue?: string | undefined;
951
- specialValueWhenInsert?: string | undefined;
952
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
953
- description?: string | undefined;
954
- dataLength?: number | undefined;
955
- options?: (string | {
956
- option: string | number;
957
- label: string;
958
- })[] | undefined;
959
- inView?: boolean | undefined;
960
- sortMethod?: string | undefined;
961
- generatedAs?: string | undefined;
962
- } & {
963
- sequence: import("backend-plus").SequenceDefinition;
964
- nullable: true;
965
- editable: false;
966
- }>;
654
+ [k: string]: Partial<procesamiento.FieldDefinition>;
655
+ } & {
656
+ [k: string]: Partial<procesamiento.FieldDefinition>;
967
657
  } & {
968
658
  [k: string]: Partial<procesamiento.FieldDefinition>;
969
659
  } & {
@@ -1012,9 +702,11 @@ export declare var AppDmEncu: {
1012
702
  img: string[];
1013
703
  normal: string[];
1014
704
  } & {
1015
- img?: string[] | undefined;
705
+ img: string[];
706
+ normal: string[];
1016
707
  } & {
1017
- img?: string[] | undefined;
708
+ img: string[];
709
+ normal: string[];
1018
710
  } & {
1019
711
  img: string[];
1020
712
  normal: string[];
@@ -1051,9 +743,9 @@ export declare var AppDmEncu: {
1051
743
  } & {
1052
744
  allowedExts?: string[];
1053
745
  } & {
1054
- allowedExts?: string[] | undefined;
746
+ allowedExts?: string[];
1055
747
  } & {
1056
- allowedExts?: string[] | undefined;
748
+ allowedExts?: string[];
1057
749
  } & {
1058
750
  allowedExts?: string[];
1059
751
  } & {
@@ -1165,9 +857,14 @@ export declare var AppDmEncu: {
1165
857
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1166
858
  } & {
1167
859
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
860
+ } & {
861
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
862
+ } & {
863
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1168
864
  } & {
1169
865
  [k: string]: (context: ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
1170
866
  };
867
+ specialSqlDefaultExpressions: Record<string, string>;
1171
868
  i18n: {
1172
869
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1173
870
  } & {
@@ -1198,9 +895,14 @@ export declare var AppDmEncu: {
1198
895
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1199
896
  } & {
1200
897
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
898
+ } & {
899
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
900
+ } & {
901
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1201
902
  } & {
1202
903
  messages: Record<procesamiento.LangId, Record<string, string>>;
1203
904
  };
905
+ activeSkinFiles: Set<string>;
1204
906
  generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
1205
907
  generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition);
1206
908
  cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>);
@@ -1251,7 +953,10 @@ export declare var AppDmEncu: {
1251
953
  message: string;
1252
954
  fun: () => Promise<void>;
1253
955
  }) => void);
1254
- shutdownBackend: (() => Promise<void>) & ((opts?: {
956
+ shutdownBackend: ((opts?: {
957
+ skipTurnOff?: boolean;
958
+ onlyTurnOff?: boolean;
959
+ }) => Promise<void>) & ((opts?: {
1255
960
  skipTurnOff?: boolean;
1256
961
  onlyTurnOff?: boolean;
1257
962
  }) => Promise<void>);
@@ -1271,9 +976,7 @@ export declare var AppDmEncu: {
1271
976
  prepareTransformationSql: string[];
1272
977
  endTransformationSql: string[];
1273
978
  }>);
1274
- specialSqlDefaultExpressions: Record<string, string>;
1275
- activeSkinFiles: Set<string>;
1276
- transformInput: <T>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T) => T;
979
+ transformInput: (<T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1) & (<T>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T) => T);
1277
980
  };
1278
981
  } & (new (...args: any[]) => {
1279
982
  getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
@@ -1417,6 +1120,7 @@ export declare var AppDmEncu: {
1417
1120
  } & {
1418
1121
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1419
1122
  };
1123
+ specialSqlDefaultExpressions: Record<string, string>;
1420
1124
  i18n: {
1421
1125
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1422
1126
  } & {
@@ -1434,6 +1138,7 @@ export declare var AppDmEncu: {
1434
1138
  } & {
1435
1139
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1436
1140
  };
1141
+ activeSkinFiles: Set<string>;
1437
1142
  }) & (new (...args: any[]) => {
1438
1143
  config: procesamiento.ConsistenciasAppConfig;
1439
1144
  getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
@@ -1520,6 +1225,7 @@ export declare var AppDmEncu: {
1520
1225
  } & {
1521
1226
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1522
1227
  };
1228
+ specialSqlDefaultExpressions: Record<string, string>;
1523
1229
  i18n: {
1524
1230
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1525
1231
  } & {
@@ -1529,6 +1235,7 @@ export declare var AppDmEncu: {
1529
1235
  } & {
1530
1236
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1531
1237
  };
1238
+ activeSkinFiles: Set<string>;
1532
1239
  }) & (new (...args: any[]) => {
1533
1240
  configStaticConfig(): void;
1534
1241
  getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
@@ -1588,15 +1295,17 @@ export declare var AppDmEncu: {
1588
1295
  } & {
1589
1296
  [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1590
1297
  };
1298
+ specialSqlDefaultExpressions: Record<string, string>;
1591
1299
  i18n: {
1592
1300
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1593
1301
  } & {
1594
1302
  messages: Record<import("backend-plus").LangId, Record<string, string>>;
1595
1303
  };
1304
+ activeSkinFiles: Set<string>;
1596
1305
  }) & (new (...args: any[]) => {
1597
1306
  configStaticConfig(): void;
1598
1307
  generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinition;
1599
- getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
1308
+ getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
1600
1309
  clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
1601
1310
  prepareGetTables(): void;
1602
1311
  tablasDatos: procesamiento.TablaDatos[];
@@ -1606,193 +1315,33 @@ export declare var AppDmEncu: {
1606
1315
  generateAndLoadTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinitionFunction;
1607
1316
  procedures: import("backend-plus").ProcedureDef[];
1608
1317
  procedure: {
1609
- [key: string]: import("backend-plus").ProcedureDef;
1318
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1610
1319
  } & {
1611
- [key: string]: import("backend-plus").ProcedureDef;
1320
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1612
1321
  };
1613
1322
  app: import("backend-plus").ExpressPlus;
1614
1323
  getTableDefinition: import("backend-plus").TableDefinitionsGetters;
1615
1324
  tableStructures: import("backend-plus").TableDefinitions;
1616
- db: typeof import("pg-promise-strict");
1617
- config: any;
1325
+ db: import("backend-plus").MotorDb;
1326
+ config: import("backend-plus").AppConfig;
1618
1327
  rootPath: string;
1619
- caches: {
1620
- procedures: {
1621
- [k: string]: {
1622
- timestamp: number;
1623
- result: any;
1624
- };
1625
- };
1626
- } & {
1627
- procedures: {
1628
- [k: string]: {
1629
- timestamp: number;
1630
- result: any;
1631
- };
1632
- };
1633
- };
1328
+ caches: import("backend-plus").Caches;
1634
1329
  fieldDomain: {
1635
- [k: string]: Partial<import("backend-plus").EditableDbDefinition & {
1636
- name: string;
1637
- typeName: import("backend-plus").PgKnownTypes;
1638
- label?: string | undefined;
1639
- title?: string | undefined;
1640
- nullable?: boolean | undefined;
1641
- dbNullable?: boolean | undefined;
1642
- defaultValue?: any;
1643
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
1644
- clientSide?: string | undefined;
1645
- isName?: boolean | undefined;
1646
- isPk?: number | undefined;
1647
- serverSide?: boolean | undefined;
1648
- inTable?: boolean | undefined;
1649
- allowEmtpyText?: boolean | undefined;
1650
- mobileInputType?: string | undefined;
1651
- extraRow?: number | undefined;
1652
- inexactNumber?: number | undefined;
1653
- visible?: boolean | undefined;
1654
- width?: number | undefined;
1655
- references?: string | undefined;
1656
- referencesField?: string | undefined;
1657
- aggregate?: string | undefined;
1658
- specialDefaultValue?: string | undefined;
1659
- specialValueWhenInsert?: string | undefined;
1660
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
1661
- description?: string | undefined;
1662
- dataLength?: number | undefined;
1663
- options?: (string | {
1664
- option: string | number;
1665
- label: string;
1666
- })[] | undefined;
1667
- inView?: boolean | undefined;
1668
- sortMethod?: string | undefined;
1669
- generatedAs?: string | undefined;
1670
- }> | Partial<import("backend-plus").EditableDbDefinition & {
1671
- name: string;
1672
- typeName: import("backend-plus").PgKnownTypes;
1673
- label?: string | undefined;
1674
- title?: string | undefined;
1675
- nullable?: boolean | undefined;
1676
- dbNullable?: boolean | undefined;
1677
- defaultValue?: any;
1678
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
1679
- clientSide?: string | undefined;
1680
- isName?: boolean | undefined;
1681
- isPk?: number | undefined;
1682
- serverSide?: boolean | undefined;
1683
- inTable?: boolean | undefined;
1684
- allowEmtpyText?: boolean | undefined;
1685
- mobileInputType?: string | undefined;
1686
- extraRow?: number | undefined;
1687
- inexactNumber?: number | undefined;
1688
- visible?: boolean | undefined;
1689
- width?: number | undefined;
1690
- references?: string | undefined;
1691
- referencesField?: string | undefined;
1692
- aggregate?: string | undefined;
1693
- specialDefaultValue?: string | undefined;
1694
- specialValueWhenInsert?: string | undefined;
1695
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
1696
- description?: string | undefined;
1697
- dataLength?: number | undefined;
1698
- options?: (string | {
1699
- option: string | number;
1700
- label: string;
1701
- })[] | undefined;
1702
- inView?: boolean | undefined;
1703
- sortMethod?: string | undefined;
1704
- generatedAs?: string | undefined;
1705
- } & {
1706
- sequence: import("backend-plus").SequenceDefinition;
1707
- nullable: true;
1708
- editable: false;
1709
- }>;
1330
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1710
1331
  } & {
1711
- [k: string]: Partial<import("backend-plus").EditableDbDefinition & {
1712
- name: string;
1713
- typeName: import("backend-plus").PgKnownTypes;
1714
- label?: string | undefined;
1715
- title?: string | undefined;
1716
- nullable?: boolean | undefined;
1717
- dbNullable?: boolean | undefined;
1718
- defaultValue?: any;
1719
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
1720
- clientSide?: string | undefined;
1721
- isName?: boolean | undefined;
1722
- isPk?: number | undefined;
1723
- serverSide?: boolean | undefined;
1724
- inTable?: boolean | undefined;
1725
- allowEmtpyText?: boolean | undefined;
1726
- mobileInputType?: string | undefined;
1727
- extraRow?: number | undefined;
1728
- inexactNumber?: number | undefined;
1729
- visible?: boolean | undefined;
1730
- width?: number | undefined;
1731
- references?: string | undefined;
1732
- referencesField?: string | undefined;
1733
- aggregate?: string | undefined;
1734
- specialDefaultValue?: string | undefined;
1735
- specialValueWhenInsert?: string | undefined;
1736
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
1737
- description?: string | undefined;
1738
- dataLength?: number | undefined;
1739
- options?: (string | {
1740
- option: string | number;
1741
- label: string;
1742
- })[] | undefined;
1743
- inView?: boolean | undefined;
1744
- sortMethod?: string | undefined;
1745
- generatedAs?: string | undefined;
1746
- }> | Partial<import("backend-plus").EditableDbDefinition & {
1747
- name: string;
1748
- typeName: import("backend-plus").PgKnownTypes;
1749
- label?: string | undefined;
1750
- title?: string | undefined;
1751
- nullable?: boolean | undefined;
1752
- dbNullable?: boolean | undefined;
1753
- defaultValue?: any;
1754
- defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
1755
- clientSide?: string | undefined;
1756
- isName?: boolean | undefined;
1757
- isPk?: number | undefined;
1758
- serverSide?: boolean | undefined;
1759
- inTable?: boolean | undefined;
1760
- allowEmtpyText?: boolean | undefined;
1761
- mobileInputType?: string | undefined;
1762
- extraRow?: number | undefined;
1763
- inexactNumber?: number | undefined;
1764
- visible?: boolean | undefined;
1765
- width?: number | undefined;
1766
- references?: string | undefined;
1767
- referencesField?: string | undefined;
1768
- aggregate?: string | undefined;
1769
- specialDefaultValue?: string | undefined;
1770
- specialValueWhenInsert?: string | undefined;
1771
- exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
1772
- description?: string | undefined;
1773
- dataLength?: number | undefined;
1774
- options?: (string | {
1775
- option: string | number;
1776
- label: string;
1777
- })[] | undefined;
1778
- inView?: boolean | undefined;
1779
- sortMethod?: string | undefined;
1780
- generatedAs?: string | undefined;
1781
- } & {
1782
- sequence: import("backend-plus").SequenceDefinition;
1783
- nullable: true;
1784
- editable: false;
1785
- }>;
1332
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1786
1333
  };
1787
1334
  exts: {
1788
- img?: string[] | undefined;
1335
+ img: string[];
1336
+ normal: string[];
1789
1337
  } & {
1790
- img?: string[] | undefined;
1338
+ img: string[];
1339
+ normal: string[];
1791
1340
  };
1792
1341
  optsGenericForAll: {
1793
- allowedExts?: string[] | undefined;
1342
+ allowedExts?: string[];
1794
1343
  } & {
1795
- allowedExts?: string[] | undefined;
1344
+ allowedExts?: string[];
1796
1345
  };
1797
1346
  sqls: {
1798
1347
  [k: string]: string;
@@ -1806,6 +1355,18 @@ export declare var AppDmEncu: {
1806
1355
  };
1807
1356
  dbUserNameExpr: string;
1808
1357
  dbUserRolExpr: string;
1358
+ specialValueWhenInsert: {
1359
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1360
+ } & {
1361
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1362
+ };
1363
+ specialSqlDefaultExpressions: Record<string, string>;
1364
+ i18n: {
1365
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1366
+ } & {
1367
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1368
+ };
1369
+ activeSkinFiles: Set<string>;
1809
1370
  }) & {
1810
1371
  new (...args: any[]): {
1811
1372
  tablasDatos: procesamiento.TablaDatos[];