@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.
- package/dist/Shared/types.d.ts +28 -0
- package/dist/{cssMode-BvJvbKaA.js → cssMode-CUNEXhu5.js} +1 -1
- package/dist/{freemarker2-C9G7ETHh.js → freemarker2-DV7POtuF.js} +1 -1
- package/dist/{handlebars-C220dYre.js → handlebars-CNDtQMEk.js} +1 -1
- package/dist/{html-DMWsDYdC.js → html-J67-LThI.js} +1 -1
- package/dist/{htmlMode-vxi6rcmt.js → htmlMode-C08l0cVM.js} +1 -1
- package/dist/{index-DpTHdQ8I.js → index-C4yFLnbQ.js} +5220 -5219
- package/dist/index.js +420 -419
- package/dist/{javascript-Cs1fcN1y.js → javascript-DhDpkmSb.js} +1 -1
- package/dist/{jsonMode-ChyGkUIW.js → jsonMode-B9M2gunx.js} +1 -1
- package/dist/{liquid-s1gUByg2.js → liquid-AWI3tjqW.js} +1 -1
- package/dist/{mdx-hAEnWIBP.js → mdx-B4YZV7v2.js} +1 -1
- package/dist/{python-D6LyLagZ.js → python-DlT9zfRV.js} +1 -1
- package/dist/{razor-CIGtW1vf.js → razor-DGhiFsZg.js} +1 -1
- package/dist/{tsMode-DNwZI3lD.js → tsMode-CzwEiyV0.js} +1 -1
- package/dist/{typescript-BmntBc8x.js → typescript-BXxjU9IA.js} +1 -1
- package/dist/{xml-CBrqQ3DR.js → xml-Cru83Tz2.js} +1 -1
- package/dist/{yaml-UA3rVhIU.js → yaml-CYKBclGP.js} +1 -1
- package/package.json +1 -1
package/dist/Shared/types.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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)
|