@common-stack/core 7.1.1-alpha.52 → 7.1.1-alpha.63
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.
|
@@ -79,5 +79,20 @@ export interface IMenuDataItem {
|
|
|
79
79
|
* The path displayed by the menuItem's tooltip
|
|
80
80
|
*/
|
|
81
81
|
tooltip?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @name System Type
|
|
84
|
+
* @description Determines visibility based on user role - 'system' for admin only, 'user' for common users and owners
|
|
85
|
+
*/
|
|
86
|
+
systemType?: 'system' | 'user';
|
|
87
|
+
/**
|
|
88
|
+
* @name Category
|
|
89
|
+
* @description Main category for hierarchical organization (e.g., 'communication', 'administration', 'business', 'content')
|
|
90
|
+
*/
|
|
91
|
+
category?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @name Sub Category
|
|
94
|
+
* @description Sub-category for more granular organization (e.g., 'email', 'chat' under 'communication')
|
|
95
|
+
*/
|
|
96
|
+
subCategory?: string;
|
|
82
97
|
[key: string]: any;
|
|
83
98
|
}
|
|
@@ -88,7 +88,7 @@ export interface IRouteModule extends IMenuDataItem, IGeneratedWrapperOptions {
|
|
|
88
88
|
* @name Authentication Requirement
|
|
89
89
|
* @description Indicates if authentication is required for the route.
|
|
90
90
|
*/
|
|
91
|
-
auth?: boolean;
|
|
91
|
+
auth?: boolean | 'optional';
|
|
92
92
|
/**
|
|
93
93
|
* @name Props
|
|
94
94
|
* @description Extra properties for the route, including initial parameters and UI options.
|
|
@@ -163,6 +163,21 @@ export interface IRouteModule extends IMenuDataItem, IGeneratedWrapperOptions {
|
|
|
163
163
|
* @description Key for the previous step in a multi-step process, such as onboarding.
|
|
164
164
|
*/
|
|
165
165
|
prev?: string;
|
|
166
|
+
/**
|
|
167
|
+
* @name System Type
|
|
168
|
+
* @description Determines visibility based on user role - 'system' for admin only, 'user' for common users and owners
|
|
169
|
+
*/
|
|
170
|
+
systemType?: 'system' | 'user';
|
|
171
|
+
/**
|
|
172
|
+
* @name Category
|
|
173
|
+
* @description Main category for hierarchical organization (e.g., 'communication', 'administration', 'business', 'content')
|
|
174
|
+
*/
|
|
175
|
+
category?: string;
|
|
176
|
+
/**
|
|
177
|
+
* @name Sub Category
|
|
178
|
+
* @description Sub-category for more granular organization (e.g., 'email', 'chat' under 'communication')
|
|
179
|
+
*/
|
|
180
|
+
subCategory?: string;
|
|
166
181
|
/**
|
|
167
182
|
* @name Additional Properties
|
|
168
183
|
* @description Allows additional properties to be added as needed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/core",
|
|
3
|
-
"version": "7.1.1-alpha.
|
|
3
|
+
"version": "7.1.1-alpha.63",
|
|
4
4
|
"description": "Common core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "36b42c7531b523a1bbc1572ef964a071feb5f181",
|
|
30
30
|
"typescript": {
|
|
31
31
|
"definition": "lib/index.d.ts"
|
|
32
32
|
}
|