@common-stack/core 7.2.1-alpha.66 → 7.2.1-alpha.71

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,3 +1,4 @@
1
+ import { IPermissionsFlattenedKeys } from 'common';
1
2
  export declare enum IMenuPosition {
2
3
  Logo = "LOGO",
3
4
  Upper = "UPPER",
@@ -70,7 +71,7 @@ export interface IMenuDataItem {
70
71
  /**
71
72
  * @name permissions to determine whether to render menu or not
72
73
  */
73
- authority?: string[];
74
+ authority?: IPermissionsFlattenedKeys[];
74
75
  /**
75
76
  * @name priority of the menu to display in the order. Lower values shows first.
76
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"menu.js","sources":["../../../src/component/interfaces/menu.ts"],"sourcesContent":[null],"names":[],"mappings":"IAAY,cAMX;AAND,CAAA,UAAY,aAAa,EAAA;AACrB,IAAA,aAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,aAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,aAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,GAMxB,EAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"menu.js","sources":["../../../src/component/interfaces/menu.ts"],"sourcesContent":[null],"names":[],"mappings":"IAEY,cAMX;AAND,CAAA,UAAY,aAAa,EAAA;AACrB,IAAA,aAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,aAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,aAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,GAMxB,EAAA,CAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { ContributionExtensionName, ContributionSchemaId } from 'common';
1
+ import { ContributionExtensionName, ContributionSchemaId, IPermissionsFlattenedKeys, IConfigurationsFlattenedKeys } from 'common';
2
2
  import { IAuthorityConfig } from './authority';
3
3
  import { IRollupBuildGenerated } from './rollupRouteGenerated';
4
4
  import { IViteSettings } from './viteSettings';
@@ -79,7 +79,7 @@ export interface IGeneratedWrapperOptions {
79
79
  * @name Authority
80
80
  * @description List of permissions required to access the route.
81
81
  */
82
- authority?: string[];
82
+ authority?: IPermissionsFlattenedKeys[];
83
83
  /**
84
84
  * @name Additional Parameters
85
85
  * @description Additional parameters for resource configuration.
@@ -96,12 +96,12 @@ export interface IGeneratedWrapperOptions {
96
96
  * @name Configurations
97
97
  * @description Configuration keys related to the route.
98
98
  */
99
- configurations?: string[];
99
+ configurations?: IConfigurationsFlattenedKeys[] | ['*'];
100
100
  /**
101
101
  * @name Extra Permissions
102
102
  * @description Additional permissions required for the UI.
103
103
  */
104
- extraPermissions?: string[];
104
+ extraPermissions?: IPermissionsFlattenedKeys[] | ['*'];
105
105
  /**
106
106
  * @name Resource Endpoint
107
107
  * @description Designates the route as a resource endpoint.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/core",
3
- "version": "7.2.1-alpha.66",
3
+ "version": "7.2.1-alpha.71",
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": "d3c2c265bbbdb95d037fe1fbca7910f6f0ad8d4d",
29
+ "gitHead": "a7cb492c3f7fcb90aa23986128250e3b160c0286",
30
30
  "typescript": {
31
31
  "definition": "lib/index.d.ts"
32
32
  }