dmencu 2.1.19 → 2.1.21

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.
@@ -6,6 +6,8 @@ export * from "./types-dmencu";
6
6
  import { ProcedureDef } from "backend-plus";
7
7
  export declare function emergeAppDmEncu<T extends procesamiento.Constructor<procesamiento.AppProcesamientoType>>(Base: T): {
8
8
  new (...args: any[]): {
9
+ getSufijoFrombaseUrl: (baseUrl: string) => "" | "_test" | "_capa";
10
+ getAppName: () => Promise<string>;
9
11
  canChangePass(reqOrContext: any, userToChangePass: any): Promise<boolean>;
10
12
  getProcedures(): Promise<procesamiento.ProcedureDef<any>[]>;
11
13
  checkDatabaseStructure(_client: Client): Promise<void>;
@@ -29,16 +31,13 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
29
31
  setup: Record<string, any>;
30
32
  procedures: ProcedureDef[];
31
33
  }>;
32
- createResourcesForCacheJson(): {
34
+ createResourcesForCacheJson(): Promise<{
33
35
  version: string;
34
36
  appName: string;
35
37
  cache: string[];
36
- fallback: {
37
- path: string;
38
- fallback: string;
39
- }[];
40
- };
41
- getMenuControles(context: Context): ({
38
+ defaultFallback: string;
39
+ }>;
40
+ getMenuControles(_context: Context): ({
42
41
  menuType: string;
43
42
  name: string;
44
43
  label: string;
@@ -636,6 +635,8 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
636
635
  } & T;
637
636
  export declare var AppDmEncu: {
638
637
  new (...args: any[]): {
638
+ getSufijoFrombaseUrl: (baseUrl: string) => "" | "_test" | "_capa";
639
+ getAppName: () => Promise<string>;
639
640
  canChangePass(reqOrContext: any, userToChangePass: any): Promise<boolean>;
640
641
  getProcedures(): Promise<procesamiento.ProcedureDef<any>[]>;
641
642
  checkDatabaseStructure(_client: Client): Promise<void>;
@@ -659,16 +660,13 @@ export declare var AppDmEncu: {
659
660
  setup: Record<string, any>;
660
661
  procedures: ProcedureDef[];
661
662
  }>;
662
- createResourcesForCacheJson(): {
663
+ createResourcesForCacheJson(): Promise<{
663
664
  version: string;
664
665
  appName: string;
665
666
  cache: string[];
666
- fallback: {
667
- path: string;
668
- fallback: string;
669
- }[];
670
- };
671
- getMenuControles(context: Context): ({
667
+ defaultFallback: string;
668
+ }>;
669
+ getMenuControles(_context: Context): ({
672
670
  menuType: string;
673
671
  name: string;
674
672
  label: string;
@@ -1759,7 +1757,7 @@ export declare var AppDmEncu: {
1759
1757
  exportMetadata?: import("backend-plus").ExportMetadataDefinition | undefined;
1760
1758
  description?: string | undefined;
1761
1759
  dataLength?: number | undefined;
1762
- options? /** @type {{type:'js', src:string}[]} */: (string | {
1760
+ options?: (string | {
1763
1761
  option: string | number;
1764
1762
  label: string;
1765
1763
  })[] | undefined;