@common-stack/core 6.0.6-alpha.86 → 6.0.8-alpha.0

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.
@@ -25,6 +25,7 @@ export interface IMenuDataItem {
25
25
  icon?: string | {
26
26
  name: string;
27
27
  props?: Record<string, any>;
28
+ style?: Record<string, any>;
28
29
  };
29
30
  /**
30
31
  * @name Internationalization key for custom menus
@@ -16,6 +16,7 @@ export interface IRoutePageExportFlags {
16
16
  hasShouldRevalidate?: boolean;
17
17
  hasHandle?: boolean;
18
18
  hasHeaders?: boolean;
19
+ disableQueryGenerator?: boolean;
19
20
  }
20
21
  export interface ILoaderReturnInfo {
21
22
  returnType?: 'json' | 'defer' | '';
@@ -35,7 +35,7 @@ export interface IRouteModule extends IMenuDataItem, IGeneratedWrapperOptions {
35
35
  * @description Dynamic import of the Component to render for the route.
36
36
  */
37
37
  component?: () => Promise<{
38
- default: LazyExoticComponent<ComponentType<any>>;
38
+ default: ComponentType<any>;
39
39
  }>;
40
40
  /**
41
41
  * @name Modal Route
@@ -17,6 +17,33 @@ export interface IWrapperBuildOptions {
17
17
  settings?: IViteSettings;
18
18
  paths?: IWrapperConfigPaths;
19
19
  }
20
+ export interface IResourceParams {
21
+ /**
22
+ * @name Fragment
23
+ * @description Fragment of the resource path.
24
+ */
25
+ fragment?: string;
26
+ /**
27
+ * @name Query Parameters
28
+ * @description Query parameters for resource handling.
29
+ */
30
+ query?: Record<string, string>;
31
+ /**
32
+ * @name Configuration Key
33
+ * @description Configuration key for resource parameters.
34
+ */
35
+ configKey?: string;
36
+ /**
37
+ * @name Resource Path
38
+ * @description Path related to the resource.
39
+ */
40
+ path?: string;
41
+ isExternal?: boolean;
42
+ organization?: string;
43
+ projectId?: string;
44
+ resourceType?: string;
45
+ resourceId?: string;
46
+ }
20
47
  /**
21
48
  * @name IMissingWrapperOptions
22
49
  * @description Fields missing from IWrapperOptions that exist in IOptions.
@@ -51,28 +78,7 @@ export interface IGeneratedWrapperOptions {
51
78
  * @name Resource Parameters
52
79
  * @description Parameters specific to resource handling.
53
80
  */
54
- resourceParams?: {
55
- /**
56
- * @name Fragment
57
- * @description Fragment of the resource path.
58
- */
59
- fragment?: string;
60
- /**
61
- * @name Query Parameters
62
- * @description Query parameters for resource handling.
63
- */
64
- query?: Record<string, string>;
65
- /**
66
- * @name Configuration Key
67
- * @description Configuration key for resource parameters.
68
- */
69
- configKey?: string;
70
- /**
71
- * @name Resource Path
72
- * @description Path related to the resource.
73
- */
74
- path?: string;
75
- };
81
+ resourceParams?: IResourceParams;
76
82
  };
77
83
  /**
78
84
  * @name Configurations
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/core",
3
- "version": "6.0.6-alpha.86",
3
+ "version": "6.0.8-alpha.0",
4
4
  "description": "Common core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -26,5 +26,5 @@
26
26
  "typescript": {
27
27
  "definition": "lib/index.d.ts"
28
28
  },
29
- "gitHead": "c40c812388b7d264e164731664263c6597dc77e0"
29
+ "gitHead": "c2cf7919f46791e092714b9db5e4d01280929437"
30
30
  }