@devtron-labs/devtron-fe-common-lib 4.0.13-pre-0 → 4.0.13-pre-2
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/{@code-editor-DLYyAC6O.js → @code-editor-4sEW_owT.js} +2251 -2249
- package/dist/{@common-rjsf-BXuj9d2F.js → @common-rjsf-K-uMpVsy.js} +2402 -2402
- package/dist/{@framer-motion-RnHQV3Xi.js → @framer-motion-CWWYfPAa.js} +54 -54
- package/dist/{@react-virtualized-sticky-tree-Cd4SYVNM.js → @react-virtualized-sticky-tree-CPqsd1m_.js} +12 -12
- package/dist/{@src-assets-images-h2C7PTpr.js → @src-assets-images-nlc2MY-F.js} +1 -1
- package/dist/{@vendor-Dw5D3ytC.js → @vendor-oE_zEXu8.js} +1282 -1282
- package/dist/Common/CIPipeline.Types.d.ts +12 -0
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +10 -0
- package/dist/Shared/types.d.ts +4 -4
- package/dist/index.d.ts +0 -2
- package/dist/index.js +7128 -7128
- package/package.json +1 -1
|
@@ -190,6 +190,16 @@ export interface BuildPackConfigType {
|
|
|
190
190
|
buildPacks?: any;
|
|
191
191
|
args?: Record<string, string>;
|
|
192
192
|
}
|
|
193
|
+
export declare enum BuildSecretSourceType {
|
|
194
|
+
BUILD_INFRA = "BUILD_INFRA",
|
|
195
|
+
SOURCE_CODE = "SOURCE_CODE"
|
|
196
|
+
}
|
|
197
|
+
export interface BuildSecretType {
|
|
198
|
+
type: BuildSecretSourceType;
|
|
199
|
+
id: string;
|
|
200
|
+
secretName: string;
|
|
201
|
+
key: string;
|
|
202
|
+
}
|
|
193
203
|
export interface DockerBuildConfigType {
|
|
194
204
|
dockerfileContent: string;
|
|
195
205
|
dockerfileRelativePath: string;
|
|
@@ -200,6 +210,8 @@ export interface DockerBuildConfigType {
|
|
|
200
210
|
targetPlatform?: any;
|
|
201
211
|
language?: string;
|
|
202
212
|
languageFramework?: string;
|
|
213
|
+
secrets?: BuildSecretType[];
|
|
214
|
+
ssh?: BuildSecretType[];
|
|
203
215
|
}
|
|
204
216
|
export interface CIBuildConfigType {
|
|
205
217
|
buildPackConfig: BuildPackConfigType;
|
|
@@ -99,6 +99,16 @@ type CommonMainContextProps = {
|
|
|
99
99
|
};
|
|
100
100
|
isAirgapped: boolean;
|
|
101
101
|
isSuperAdmin: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Whether the logged-in user holds at least one Argo CD app permission row (or is a super-admin).
|
|
104
|
+
* Used to show/hide the Argo Apps tab in the Applications listing.
|
|
105
|
+
*/
|
|
106
|
+
hasArgoAppAccess: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Whether the logged-in user holds at least one Flux CD app permission row (or is a super-admin).
|
|
109
|
+
* Used to show/hide the Flux Apps tab in the Applications listing.
|
|
110
|
+
*/
|
|
111
|
+
hasFluxAppAccess: boolean;
|
|
102
112
|
featureGitOpsFlags: {
|
|
103
113
|
/**
|
|
104
114
|
* Would define whether gitops (Global config tab) feature is enabled or not
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -56,7 +56,6 @@ export interface customEnv {
|
|
|
56
56
|
REACT_APP_GIT_SHA?: string;
|
|
57
57
|
NODE_ENV?: string;
|
|
58
58
|
SIDEBAR_DT_LOGO?: string;
|
|
59
|
-
ENABLE_EXTERNAL_ARGO_CD: boolean;
|
|
60
59
|
API_BATCH_SIZE: number;
|
|
61
60
|
SERVICE_WORKER_TIMEOUT?: string;
|
|
62
61
|
/**
|
|
@@ -64,7 +63,6 @@ export interface customEnv {
|
|
|
64
63
|
*/
|
|
65
64
|
FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: boolean;
|
|
66
65
|
ORGANIZATION_NAME: string;
|
|
67
|
-
FEATURE_EXTERNAL_FLUX_CD_ENABLE: boolean;
|
|
68
66
|
/**
|
|
69
67
|
* If true, the direct permissions are hidden for non-super admins in user permissions
|
|
70
68
|
*
|
|
@@ -834,7 +832,9 @@ export declare enum RuntimeParamsHeadingType {
|
|
|
834
832
|
export declare enum ACCESS_TYPE_MAP {
|
|
835
833
|
DEVTRON_APPS = "devtron-app",// devtron app work flow
|
|
836
834
|
HELM_APPS = "helm-app",// helm app work flow
|
|
837
|
-
JOBS = ""
|
|
835
|
+
JOBS = "",// Empty string is intentional since there is no bifurcation in jobs as of now
|
|
836
|
+
ARGO_APPS = "argo-app",// argo cd app work flow
|
|
837
|
+
FLUX_APPS = "flux-app"
|
|
838
838
|
}
|
|
839
839
|
export declare enum EntityTypes {
|
|
840
840
|
CHART_GROUP = "chart-group",
|
|
@@ -851,7 +851,7 @@ export interface CustomRoles {
|
|
|
851
851
|
roleDisplayName: string;
|
|
852
852
|
roleDescription: string;
|
|
853
853
|
entity: EntityTypes;
|
|
854
|
-
accessType: ACCESS_TYPE_MAP.DEVTRON_APPS | ACCESS_TYPE_MAP.HELM_APPS;
|
|
854
|
+
accessType: ACCESS_TYPE_MAP.DEVTRON_APPS | ACCESS_TYPE_MAP.HELM_APPS | ACCESS_TYPE_MAP.ARGO_APPS | ACCESS_TYPE_MAP.FLUX_APPS;
|
|
855
855
|
}
|
|
856
856
|
export type MetaPossibleRoles = Record<CustomRoles['roleName'], {
|
|
857
857
|
value: CustomRoles['roleDisplayName'];
|
package/dist/index.d.ts
CHANGED
|
@@ -50,7 +50,6 @@ export interface customEnv {
|
|
|
50
50
|
REACT_APP_GIT_SHA?: string;
|
|
51
51
|
NODE_ENV?: string;
|
|
52
52
|
SIDEBAR_DT_LOGO?: string;
|
|
53
|
-
ENABLE_EXTERNAL_ARGO_CD: boolean;
|
|
54
53
|
API_BATCH_SIZE: number;
|
|
55
54
|
SERVICE_WORKER_TIMEOUT?: string;
|
|
56
55
|
/**
|
|
@@ -58,7 +57,6 @@ export interface customEnv {
|
|
|
58
57
|
*/
|
|
59
58
|
FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: boolean;
|
|
60
59
|
ORGANIZATION_NAME: string;
|
|
61
|
-
FEATURE_EXTERNAL_FLUX_CD_ENABLE: boolean;
|
|
62
60
|
/**
|
|
63
61
|
* If true, the direct permissions are hidden for non-super admins in user permissions
|
|
64
62
|
*
|