@common-stack/core 7.0.4-alpha.14 → 7.0.4-alpha.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.
|
@@ -14,7 +14,7 @@ export interface IRouteModule extends IMenuDataItem, IGeneratedWrapperOptions {
|
|
|
14
14
|
* @name Path
|
|
15
15
|
* @description The path of the route.
|
|
16
16
|
*/
|
|
17
|
-
path
|
|
17
|
+
path: string;
|
|
18
18
|
/**
|
|
19
19
|
* @name Index Route
|
|
20
20
|
* @description Indicates if this is an index route.
|
|
@@ -47,7 +47,7 @@ export interface IRouteModule extends IMenuDataItem, IGeneratedWrapperOptions {
|
|
|
47
47
|
* @description Dynamic import of the Dialog component for modal routes.
|
|
48
48
|
*/
|
|
49
49
|
dialog?: () => Promise<{
|
|
50
|
-
default: LazyExoticComponent<ComponentType<any
|
|
50
|
+
default: LazyExoticComponent<ComponentType<any>> | ComponentType<any>;
|
|
51
51
|
}>;
|
|
52
52
|
/**
|
|
53
53
|
* @name Nested Routes
|
|
@@ -4,10 +4,10 @@ import { IRouteModule } from './routeCompute';
|
|
|
4
4
|
* @name IBaseRouteMap
|
|
5
5
|
* @description Base interface for route mapping that can be shared across platforms
|
|
6
6
|
*/
|
|
7
|
-
export interface IBaseRouteMap<T = unknown, R
|
|
7
|
+
export interface IBaseRouteMap<T = unknown, R = IRouteModule> {
|
|
8
8
|
[key: string]: R & T;
|
|
9
9
|
}
|
|
10
|
-
export type IRouteMap<T = unknown> = IBaseRouteMap<T, IRouteModule
|
|
10
|
+
export type IRouteMap<T = unknown> = IBaseRouteMap<T, Omit<IRouteModule, 'path'> & Partial<Pick<IRouteModule, 'path'>>>;
|
|
11
11
|
/**
|
|
12
12
|
* @name IComputedRoutesArray
|
|
13
13
|
* @description Represents an array of route objects, each containing dynamic keys mapped to route configurations. This is the `routes.json` file generated from rollup build
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/core",
|
|
3
|
-
"version": "7.0.4-alpha.
|
|
3
|
+
"version": "7.0.4-alpha.16",
|
|
4
4
|
"description": "Common core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "14332205d044adc07f2bd83da524634964fe2129",
|
|
27
27
|
"typescript": {
|
|
28
28
|
"definition": "lib/index.d.ts"
|
|
29
29
|
}
|
package/lib/index.component.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{IMenuPosition}from'./component/interfaces/menu.js';//# sourceMappingURL=index.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.component.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|