@adminide-stack/core 1.1.1-alpha.294 → 1.1.1-alpha.300

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,11 +1,12 @@
1
- import { IMenuPosition } from '@common-stack/client-react';
2
- export interface IPageStore {
1
+ import { IMenuPosition, IMappedData } from '@common-stack/client-react';
2
+ export interface IPageStore extends IMappedData {
3
3
  key: string;
4
4
  tab?: string;
5
5
  tabTitle?: string;
6
6
  path: string;
7
7
  exact?: boolean;
8
8
  name?: string;
9
+ authority?: string[];
9
10
  /**
10
11
  * When `exact: false` we may not have an component
11
12
  */
@@ -1,15 +1,19 @@
1
1
  export declare enum IPreDefineAccountPermissions {
2
+ secureUser = "account.user.secure",
3
+ guestUser = "account.user.guest",
2
4
  inviteMember = "organization.teams.inviteMember",
3
5
  viewTeams = "organization.teams.view",
4
6
  createTeams = "organization.teams.create",
5
7
  editTeams = "organization.teams.edit",
6
8
  deleteTeams = "organization.teams.delete",
7
9
  manageTeams = "organization.teams.manage",
10
+ accessTeamDashboard = "organization.teams.dashboard.access",
8
11
  viewProjects = "organization.projects.view",
9
12
  createProjects = "organization.projects.create",
10
13
  editProjects = "organization.projects.edit",
11
14
  deleteProjects = "organization.projects.delete",
12
15
  manageProjects = "organization.projects.manage",
16
+ viewProjectStatus = "organization.projects.status.view",
13
17
  viewClients = "organization.clients.view",
14
18
  createClients = "organization.clients.create",
15
19
  editClients = "organization.clients.edit",
@@ -37,5 +41,6 @@ export declare enum IPreDefineAccountPermissions {
37
41
  viewPolicies = "organization.policies.view",
38
42
  editPolicies = "organization.policies.edit",
39
43
  viewSettings = "organization.settings.view",
40
- editSettings = "organization.settings.edit"
44
+ editSettings = "organization.settings.edit",
45
+ viewReports = "organization.reports.view"
41
46
  }
@@ -3,17 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IPreDefineAccountPermissions = void 0;
4
4
  var IPreDefineAccountPermissions;
5
5
  (function (IPreDefineAccountPermissions) {
6
+ IPreDefineAccountPermissions["secureUser"] = "account.user.secure";
7
+ IPreDefineAccountPermissions["guestUser"] = "account.user.guest";
6
8
  IPreDefineAccountPermissions["inviteMember"] = "organization.teams.inviteMember";
7
9
  IPreDefineAccountPermissions["viewTeams"] = "organization.teams.view";
8
10
  IPreDefineAccountPermissions["createTeams"] = "organization.teams.create";
9
11
  IPreDefineAccountPermissions["editTeams"] = "organization.teams.edit";
10
12
  IPreDefineAccountPermissions["deleteTeams"] = "organization.teams.delete";
11
13
  IPreDefineAccountPermissions["manageTeams"] = "organization.teams.manage";
14
+ IPreDefineAccountPermissions["accessTeamDashboard"] = "organization.teams.dashboard.access";
12
15
  IPreDefineAccountPermissions["viewProjects"] = "organization.projects.view";
13
16
  IPreDefineAccountPermissions["createProjects"] = "organization.projects.create";
14
17
  IPreDefineAccountPermissions["editProjects"] = "organization.projects.edit";
15
18
  IPreDefineAccountPermissions["deleteProjects"] = "organization.projects.delete";
16
19
  IPreDefineAccountPermissions["manageProjects"] = "organization.projects.manage";
20
+ IPreDefineAccountPermissions["viewProjectStatus"] = "organization.projects.status.view";
17
21
  IPreDefineAccountPermissions["viewClients"] = "organization.clients.view";
18
22
  IPreDefineAccountPermissions["createClients"] = "organization.clients.create";
19
23
  IPreDefineAccountPermissions["editClients"] = "organization.clients.edit";
@@ -42,5 +46,6 @@ var IPreDefineAccountPermissions;
42
46
  IPreDefineAccountPermissions["editPolicies"] = "organization.policies.edit";
43
47
  IPreDefineAccountPermissions["viewSettings"] = "organization.settings.view";
44
48
  IPreDefineAccountPermissions["editSettings"] = "organization.settings.edit";
49
+ IPreDefineAccountPermissions["viewReports"] = "organization.reports.view";
45
50
  })(IPreDefineAccountPermissions = exports.IPreDefineAccountPermissions || (exports.IPreDefineAccountPermissions = {}));
46
51
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/account-api/enums/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,4BA8CX;AA9CD,WAAY,4BAA4B;IACtC,gFAAgD,CAAA;IAChD,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,yEAAyC,CAAA;IAEzC,2EAA2C,CAAA;IAC3C,+EAA+C,CAAA;IAC/C,2EAA2C,CAAA;IAC3C,+EAA+C,CAAA;IAC/C,+EAA+C,CAAA;IAE/C,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,6EAA6C,CAAA;IAE7C,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,yEAAyC,CAAA;IAEzC,mEAAmC,CAAA;IACnC,uEAAuC,CAAA;IACvC,mEAAmC,CAAA;IACnC,uEAAuC,CAAA;IACvC,uEAAuC,CAAA;IAEvC,sEAAsC,CAAA;IACtC,0EAA0C,CAAA;IAC1C,sEAAsC,CAAA;IACtC,0EAA0C,CAAA;IAC1C,0EAA0C,CAAA;IAE1C,qEAAqC,CAAA;IACrC,qEAAsC,CAAA;IACtC,iFAAiD,CAAA;IACjD,iFAAiD,CAAA;IACjD,2EAA2C,CAAA;IAC3C,2EAA2C,CAAA;IAC3C,2EAA2C,CAAA;IAC3C,2EAA2C,CAAA;AAC7C,CAAC,EA9CW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA8CvC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/account-api/enums/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,4BAoDX;AApDD,WAAY,4BAA4B;IACtC,kEAAkC,CAAA;IAClC,gEAAgC,CAAA;IAChC,gFAAgD,CAAA;IAChD,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,yEAAyC,CAAA;IACzC,2FAA2D,CAAA;IAE3D,2EAA2C,CAAA;IAC3C,+EAA+C,CAAA;IAC/C,2EAA2C,CAAA;IAC3C,+EAA+C,CAAA;IAC/C,+EAA+C,CAAA;IAC/C,uFAAuD,CAAA;IAEvD,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,6EAA6C,CAAA;IAE7C,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,yEAAyC,CAAA;IAEzC,mEAAmC,CAAA;IACnC,uEAAuC,CAAA;IACvC,mEAAmC,CAAA;IACnC,uEAAuC,CAAA;IACvC,uEAAuC,CAAA;IAEvC,sEAAsC,CAAA;IACtC,0EAA0C,CAAA;IAC1C,sEAAsC,CAAA;IACtC,0EAA0C,CAAA;IAC1C,0EAA0C,CAAA;IAE1C,qEAAqC,CAAA;IACrC,qEAAsC,CAAA;IACtC,iFAAiD,CAAA;IACjD,iFAAiD,CAAA;IACjD,2EAA2C,CAAA;IAC3C,2EAA2C,CAAA;IAC3C,2EAA2C,CAAA;IAC3C,2EAA2C,CAAA;IAE3C,yEAAyC,CAAA;AAC3C,CAAC,EApDW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAoDvC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminide-stack/core",
3
- "version": "1.1.1-alpha.294",
3
+ "version": "1.1.1-alpha.300",
4
4
  "description": "AdminIDE core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -52,5 +52,5 @@
52
52
  "typescript": {
53
53
  "definition": "lib/index.d.ts"
54
54
  },
55
- "gitHead": "7072b9a5979da372a00bad0790a1354c17045a4a"
55
+ "gitHead": "e575ad2238d94091918087c816c16e421ea3748d"
56
56
  }