@devtron-labs/devtron-fe-common-lib 0.5.0-beta-2 → 0.5.0-beta-4

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.
@@ -585,4 +585,32 @@ export declare enum ACCESS_TYPE_MAP {
585
585
  HELM_APPS = "helm-app",// helm app work flow
586
586
  JOBS = ""
587
587
  }
588
+ export declare enum EntityTypes {
589
+ CHART_GROUP = "chart-group",
590
+ DIRECT = "apps",
591
+ JOB = "jobs",
592
+ DOCKER = "docker",
593
+ GIT = "git",
594
+ CLUSTER = "cluster",
595
+ NOTIFICATION = "notification"
596
+ }
597
+ export interface CustomRoles {
598
+ id: number;
599
+ roleName: string;
600
+ roleDisplayName: string;
601
+ roleDescription: string;
602
+ entity: EntityTypes;
603
+ accessType: ACCESS_TYPE_MAP.DEVTRON_APPS | ACCESS_TYPE_MAP.HELM_APPS;
604
+ }
605
+ export type MetaPossibleRoles = Record<CustomRoles['roleName'], {
606
+ value: CustomRoles['roleDisplayName'];
607
+ description: CustomRoles['roleDescription'];
608
+ }>;
609
+ export interface CustomRoleAndMeta {
610
+ customRoles: CustomRoles[];
611
+ possibleRolesMeta: MetaPossibleRoles;
612
+ possibleRolesMetaForHelm: MetaPossibleRoles;
613
+ possibleRolesMetaForCluster: MetaPossibleRoles;
614
+ possibleRolesMetaForJob: MetaPossibleRoles;
615
+ }
588
616
  export {};
@@ -1,7 +1,7 @@
1
1
  var Fe = Object.defineProperty;
2
2
  var Le = (e, n, i) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => Le(e, typeof n != "symbol" ? n + "" : n, i);
4
- import { m as je } from "./index-DpTHdQ8I.js";
4
+ import { m as je } from "./index-C4yFLnbQ.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as f } from "./index-DpTHdQ8I.js";
1
+ import { m as f } from "./index-C4yFLnbQ.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-DpTHdQ8I.js";
1
+ import { m as l } from "./index-C4yFLnbQ.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-DpTHdQ8I.js";
1
+ import { m as s } from "./index-C4yFLnbQ.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var Be = Object.defineProperty;
2
2
  var $e = (e, n, i) => n in e ? Be(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => $e(e, typeof n != "symbol" ? n + "" : n, i);
4
- import { m as qe } from "./index-DpTHdQ8I.js";
4
+ import { m as qe } from "./index-C4yFLnbQ.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)