@devtron-labs/devtron-fe-common-lib 1.7.10-beta-2 → 1.7.10-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.
Files changed (27) hide show
  1. package/dist/{@code-editor-cPK3vAAi.js → @code-editor-BCG3AK-g.js} +2420 -2428
  2. package/dist/{@common-rjsf-Dt-_4d0S.js → @common-rjsf-Cl7zyA1S.js} +1 -1
  3. package/dist/Common/CodeEditor/types.d.ts +1 -1
  4. package/dist/Common/Common.service.d.ts +1 -8
  5. package/dist/Common/Constants.d.ts +0 -1
  6. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  7. package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +1 -1
  8. package/dist/Common/Hooks/UseSuperAdmin/types.d.ts +4 -0
  9. package/dist/Common/RJSF/Form.d.ts +1 -1
  10. package/dist/Common/Types.d.ts +20 -2
  11. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +0 -4
  12. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +1 -1
  13. package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
  14. package/dist/Shared/Components/CICDHistory/types.d.ts +0 -8
  15. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -1
  16. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -18
  17. package/dist/Shared/Components/Icon/Icon.d.ts +2 -0
  18. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
  19. package/dist/Shared/Providers/types.d.ts +1 -15
  20. package/dist/Shared/Services/common.service.d.ts +1 -2
  21. package/dist/Shared/Services/types.d.ts +0 -6
  22. package/dist/Shared/Store/IndexStore.d.ts +1 -1
  23. package/dist/Shared/types.d.ts +24 -3
  24. package/dist/assets/ic-crown.868ff2a9.svg +3 -0
  25. package/dist/assets/ic-user-key.e13c191e.svg +4 -0
  26. package/dist/index.js +759 -761
  27. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { j as t, J as P } from "./@vendor-CIA81cZg.js";
2
2
  import R, { forwardRef as $ } from "react";
3
3
  import L, { getDefaultRegistry as D } from "@rjsf/core";
4
- import { T as v, c as H, a as U, i as k, b as y, d as S, S as J } from "./@code-editor-cPK3vAAi.js";
4
+ import { T as v, c as H, a as U, i as k, b as y, d as S, S as J } from "./@code-editor-BCG3AK-g.js";
5
5
  import M, { components as A } from "react-select";
6
6
  import { ReactComponent as V } from "./assets/ic-chevron-down.fc70d7a7.svg";
7
7
  import { getUiOptions as C, getTemplate as B, getSubmitButtonOptions as W, ADDITIONAL_PROPERTY_FLAG as I, errorId as q, englishStringTranslator as K, TranslatableString as Y, titleId as z, canExpand as G, deepEquals as Q } from "@rjsf/utils";
@@ -74,7 +74,7 @@ export interface CodeEditorHeaderComposition {
74
74
  ValidationError?: React.FC<any>;
75
75
  Clipboard?: React.FC<any>;
76
76
  }
77
- export type ActionTypes = 'changeLanguage' | 'setDiff' | 'setTheme' | 'setCode' | 'setDefaultCode' | 'setHeight';
77
+ type ActionTypes = 'changeLanguage' | 'setDiff' | 'setTheme' | 'setCode' | 'setDefaultCode' | 'setHeight';
78
78
  export interface Action {
79
79
  type: ActionTypes;
80
80
  value: any;
@@ -1,14 +1,8 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
3
- import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType } from './Types';
3
+ import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole } from './Types';
4
4
  import { ApiResourceType } from '../Pages';
5
5
  export declare const getTeamListMin: () => Promise<TeamList>;
6
- interface UserRole extends ResponseType {
7
- result?: {
8
- roles: string[];
9
- superAdmin: boolean;
10
- };
11
- }
12
6
  export declare const SourceTypeMap: {
13
7
  BranchFixed: string;
14
8
  WEBHOOK: string;
@@ -41,4 +35,3 @@ export declare const getGlobalVariables: ({ appId, isCD, abortControllerRef, }:
41
35
  isCD?: boolean;
42
36
  abortControllerRef?: MutableRefObject<AbortController>;
43
37
  }) => Promise<GlobalVariableOptionType[]>;
44
- export {};
@@ -118,7 +118,6 @@ export declare const ROUTES: {
118
118
  CD_TRIGGER_POST: string;
119
119
  DELETE_RESOURCE: string;
120
120
  NODE_CAPACITY: string;
121
- ENVIRONMENT_DATA: string;
122
121
  };
123
122
  export declare enum KEY_VALUE {
124
123
  KEY = "key",
@@ -1,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("Escape" | "Control" | "Alt" | "F" | "E" | "R" | "K" | "Shift" | "Meta" | "Enter")[];
3
+ keys: ("Alt" | "F" | "E" | "R" | "K" | "Control" | "Shift" | "Meta" | "Escape" | "Enter")[];
4
4
  id: string;
5
5
  };
6
6
  export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
@@ -1,6 +1,6 @@
1
1
  import { useSuperAdminType } from './types';
2
2
  /**
3
3
  * @description It will return isSuperAdmin and would be set to false by default, might need few optimizations like dep, etc
4
- * @returns {useSuperAdminType} isSuperAdmin
4
+ * @returns {useSuperAdminType} isSuperAdmin, canManageAllAccess
5
5
  */
6
6
  export declare const useSuperAdmin: () => useSuperAdminType;
@@ -1,3 +1,7 @@
1
1
  export interface useSuperAdminType {
2
2
  isSuperAdmin: boolean;
3
+ /**
4
+ * User can give access to all other users
5
+ */
6
+ canManageAllAccess?: boolean;
3
7
  }
@@ -1,3 +1,3 @@
1
1
  import { default as RJSF } from '@rjsf/core';
2
2
  import { FormProps } from './types';
3
- export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "className" | "children" | "disabled" | "id" | "name" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "noValidate" | "tagName" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "action" | "enctype" | "method" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<unknown, import('json-schema').JSONSchema7, import('@rjsf/utils').GenericObjectType>>>;
3
+ export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "name" | "id" | "children" | "className" | "disabled" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "action" | "method" | "autoComplete" | "tagName" | "noValidate" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<unknown, import('json-schema').JSONSchema7, import('@rjsf/utils').GenericObjectType>>>;
@@ -2,7 +2,7 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
2
2
  import { TippyProps } from '@tippyjs/react';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
- import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType } from '../Shared';
5
+ import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType } from '../Shared';
6
6
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
7
  /**
8
8
  * Generic response type object with support for overriding the result type
@@ -158,7 +158,6 @@ interface InfoColourBarTextConfigType {
158
158
  * If given would be shown below the heading (if given)
159
159
  */
160
160
  description: string;
161
- actionButtonConfig?: ButtonProps;
162
161
  }
163
162
  type InfoColourBarMessageProp = {
164
163
  message: ReactNode;
@@ -918,4 +917,23 @@ export type GlobalVariableOptionType = Omit<GlobalVariableDTO, 'name'> & {
918
917
  value: string;
919
918
  variableType: Extract<RefVariableType, RefVariableType.GLOBAL>;
920
919
  };
920
+ export interface UserRole extends ResponseType {
921
+ result?: {
922
+ roles: string[];
923
+ superAdmin: boolean;
924
+ /**
925
+ * Defines if a user is access manager and can manage all access
926
+ */
927
+ canManageAllAccess?: boolean;
928
+ };
929
+ }
930
+ export declare enum ActionTypes {
931
+ MANAGER = "manager",
932
+ ADMIN = "admin",
933
+ TRIGGER = "trigger",
934
+ VIEW = "view",
935
+ UPDATE = "update",
936
+ EDIT = "edit",
937
+ APPROVER = "approver"
938
+ }
921
939
  export {};
@@ -96,10 +96,6 @@ export interface SelectedChartDetailsType {
96
96
  selectedChartRefId: number;
97
97
  selectedChart: DeploymentChartVersionType;
98
98
  }
99
- export declare enum PipelineMigratedFromType {
100
- HELM_RELEASE = "helmRelease",
101
- ARGO_APPLICATION = "argoApplication"
102
- }
103
99
  interface EnvironmentConfigType {
104
100
  id: number;
105
101
  status: number;
@@ -28,7 +28,7 @@ export interface CustomTagType {
28
28
  }
29
29
  export declare enum ReleaseMode {
30
30
  NEW_DEPLOYMENT = "create",
31
- MIGRATE_EXTERNAL_APPS = "link"
31
+ MIGRATE_HELM = "link"
32
32
  }
33
33
  export interface CDFormType {
34
34
  name: string;
@@ -81,6 +81,6 @@ export declare const TERMINAL_STATUS_COLOR_CLASS_MAP: {
81
81
  readonly [x: string]: "cr-5" | "cg-5" | "co-5";
82
82
  };
83
83
  export declare const PROGRESSING_STATUS: {
84
- readonly [x: string]: "running" | "progressing" | "starting" | "initiating" | "queued";
84
+ readonly [x: string]: "progressing" | "starting" | "initiating" | "queued" | "running";
85
85
  };
86
86
  export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
@@ -519,14 +519,6 @@ export interface StatusFilterButtonType {
519
519
  handleFilterClick?: (selectedFilter: string) => void;
520
520
  maxInlineFiltersCount?: number;
521
521
  }
522
- export declare enum NodeStatusDTO {
523
- Healthy = "Healthy",
524
- Progressing = "Progressing",
525
- Unknown = "Unknown",
526
- Suspended = "Suspended",
527
- Degraded = "Degraded",
528
- Missing = "Missing"
529
- }
530
522
  export declare enum NodeStatus {
531
523
  Degraded = "degraded",
532
524
  Healthy = "healthy",
@@ -1,3 +1,3 @@
1
1
  import { GenericSectionErrorStateProps } from './types';
2
- declare const GenericSectionErrorState: ({ reload, withBorder, title, subTitle, description, buttonText, rootClassName, useInfoIcon, progressingProps, }: GenericSectionErrorStateProps) => JSX.Element;
2
+ declare const GenericSectionErrorState: ({ reload, withBorder, title, subTitle, description, buttonText, rootClassName, useInfoIcon, }: GenericSectionErrorStateProps) => JSX.Element;
3
3
  export default GenericSectionErrorState;
@@ -1,6 +1,4 @@
1
- import { ReactNode } from 'react';
2
- import { ProgressingProps } from '../../../Common/Types';
3
- export type GenericSectionErrorStateProps = {
1
+ export interface GenericSectionErrorStateProps {
4
2
  /**
5
3
  * Handler for reloading the section
6
4
  */
@@ -18,11 +16,11 @@ export type GenericSectionErrorStateProps = {
18
16
  /**
19
17
  * @default 'We could not load the information on this page.'
20
18
  */
21
- subTitle?: ReactNode;
19
+ subTitle?: string;
22
20
  /**
23
21
  * @default 'Please reload or try again later'
24
22
  */
25
- description?: ReactNode;
23
+ description?: string;
26
24
  /**
27
25
  * @default 'Reload'
28
26
  */
@@ -31,21 +29,10 @@ export type GenericSectionErrorStateProps = {
31
29
  * to be applied on parent div
32
30
  */
33
31
  rootClassName?: string;
34
- } & ({
35
- /**
36
- * If provided, would render the Progressing component with given props instead of error icon
37
- */
38
- progressingProps: ProgressingProps;
39
- useInfoIcon?: never;
40
- } | {
41
- progressingProps?: never;
42
32
  /**
43
33
  * If true, info icon would be used instead of error
44
34
  *
45
35
  * @default false
46
36
  */
47
- useInfoIcon: boolean;
48
- } | {
49
- progressingProps?: never;
50
- useInfoIcon?: never;
51
- });
37
+ useInfoIcon?: boolean;
38
+ }
@@ -12,6 +12,7 @@ export declare const iconMap: {
12
12
  'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
13
13
  'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
14
14
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
15
+ 'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
15
16
  'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
16
17
  'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
17
18
  'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -41,6 +42,7 @@ export declare const iconMap: {
41
42
  'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
42
43
  'ic-timeout-two-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
43
44
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
45
+ 'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
44
46
  'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
45
47
  };
46
48
  export type IconName = keyof typeof iconMap;
@@ -1,8 +1,8 @@
1
1
  import { ScanResultDTO, SeveritiesDTO, GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, VulnerabilityCountType } from './types';
2
2
  import { SEVERITIES } from './constants';
3
3
  export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
4
- color: "var(--G500)" | "var(--N300)" | "var(--R700)" | "var(--R500)" | "var(--O500)" | "var(--Y500)";
5
- label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
4
+ color: "var(--N300)" | "var(--R700)" | "var(--R500)" | "var(--O500)" | "var(--Y500)" | "var(--G500)";
5
+ label: "Critical" | "High" | "Medium" | "Low" | "Unknown" | "Failures" | "Successes" | "Exceptions";
6
6
  value: number;
7
7
  }[];
8
8
  export declare const stringifySeverities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => string;
@@ -22,22 +22,8 @@ export interface MainContext {
22
22
  };
23
23
  isAirgapped: boolean;
24
24
  isSuperAdmin: boolean;
25
- featureGitOpsFlags: {
26
- /**
27
- * Would define whether gitops (Global config tab) feature is enabled or not
28
- */
29
- isFeatureGitOpsEnabled: boolean;
30
- /**
31
- * Would define whether user can select allow custom repo in gitops global config
32
- */
33
- isFeatureUserDefinedGitOpsEnabled: boolean;
34
- /**
35
- * Feature flag for Migrate to devtron from argo cd
36
- */
37
- isFeatureArgoCdMigrationEnabled: boolean;
38
- };
39
25
  isManifestScanningEnabled: boolean;
40
- canOnlyViewPermittedEnvOrgLevel: boolean;
26
+ isOrgLevelRBACViewEnforced: boolean;
41
27
  viewIsPipelineRBACConfiguredNode: ReactNode;
42
28
  }
43
29
  export interface MainContextProviderProps {
@@ -1,7 +1,6 @@
1
- import { EnvironmentDataValuesDTO, GetPolicyApiUrlProps, GetResourceApiUrlProps, UserPreferencesType } from './types';
1
+ import { GetPolicyApiUrlProps, GetResourceApiUrlProps, UserPreferencesType } from './types';
2
2
  export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, suffix, queryParams }: GetResourceApiUrlProps<T>) => string;
3
3
  export declare const getPolicyApiUrl: <T>({ kind, version, queryParams, suffix }: GetPolicyApiUrlProps<T>) => string;
4
4
  export declare const saveCDPipeline: (request: any) => Promise<import('../../Common').ResponseType<any>>;
5
- export declare const getEnvironmentData: () => Promise<import('../../Common').ResponseType<EnvironmentDataValuesDTO>>;
6
5
  export declare const getUserPreferences: () => Promise<UserPreferencesType>;
7
6
  export declare const updateUserPreferences: (updatedUserPreferences: UserPreferencesType, shouldThrowError?: boolean) => Promise<boolean>;
@@ -1,4 +1,3 @@
1
- import { MainContext } from '../Providers';
2
1
  import { getUrlWithSearchParams } from '../../Common';
3
2
  import { PolicyKindType, ResourceKindType, ResourceVersionType, ViewIsPipelineRBACConfiguredRadioTabs } from '../types';
4
3
  import { USER_PREFERENCES_ATTRIBUTE_KEY } from './constants';
@@ -30,11 +29,6 @@ export interface GetResourceApiUrlProps<T> extends BaseGetApiUrlProps<T, Resourc
30
29
  }
31
30
  export interface GetPolicyApiUrlProps<T> extends Omit<BaseGetApiUrlProps<T, PolicyKindType, ResourceVersionType>, 'baseUrl'> {
32
31
  }
33
- export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitOpsFlags'> {
34
- isAirGapEnvironment: boolean;
35
- isManifestScanningEnabled: boolean;
36
- canOnlyViewPermittedEnvOrgLevel: boolean;
37
- }
38
32
  export interface GetUserPreferencesQueryParamsType {
39
33
  key: typeof USER_PREFERENCES_ATTRIBUTE_KEY;
40
34
  }
@@ -1,6 +1,6 @@
1
1
  import { AppDetails, AppType, EnvDetails, Node, PodMetaData, iNode } from '../types';
2
2
  export declare function getiNodesByRootNodeWithChildNodes(_nodes: Array<Node>, rootNodes: Array<iNode>, podMetadata?: Array<PodMetaData>): Array<iNode>;
3
- export declare const reduceKindStatus: (aggregatedStatus: string, newStatus: string) => "progressing" | "healthy" | "degraded";
3
+ export declare const reduceKindStatus: (aggregatedStatus: string, newStatus: string) => "healthy" | "progressing" | "degraded";
4
4
  export declare function getiNodesByKindWithChildNodes(_nodes: Array<Node>, _kind: string): Array<iNode>;
5
5
  export declare function getPodsRootParentNameAndStatus(_nodes: Array<Node>): Array<[string, string]>;
6
6
  export declare const getPodsForRootNodeName: (_rootNode: string, _treeNodes: Array<Node>) => Array<iNode>;
@@ -2,6 +2,7 @@ import { Dayjs } from 'dayjs';
2
2
  import { APIOptions, ApprovalConfigDataType } from '../Common/Types';
3
3
  import { OptionType, CommonNodeAttr, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams, TriggerBlockType, ValueConstraintType, VariableType, RefVariableType, PluginType } from '../Common';
4
4
  import { BASE_CONFIGURATION_ENV_ID, EnvironmentTypeEnum, PatchOperationType } from './constants';
5
+ import { SelectPickerOptionType } from './Components';
5
6
  export declare enum EnvType {
6
7
  CHART = "helm_charts",
7
8
  APPLICATION = "apps"
@@ -640,11 +641,26 @@ export type MetaPossibleRoles = Record<CustomRoles['roleName'], {
640
641
  }>;
641
642
  export interface CustomRoleAndMeta {
642
643
  customRoles: CustomRoles[];
643
- possibleRolesMeta: MetaPossibleRoles;
644
- possibleRolesMetaForHelm: MetaPossibleRoles;
644
+ possibleRolesMetaForDevtron: MetaPossibleRoles;
645
+ possibleJobRoles: SelectPickerOptionType<string>[];
645
646
  possibleRolesMetaForCluster: MetaPossibleRoles;
646
- possibleRolesMetaForJob: MetaPossibleRoles;
647
647
  }
648
+ export interface UserRoleConfig {
649
+ baseRole: string;
650
+ /**
651
+ * Only for devtron apps
652
+ */
653
+ additionalRoles?: Set<string>;
654
+ /**
655
+ * Only for devtron apps
656
+ */
657
+ accessManagerRoles?: Set<string>;
658
+ }
659
+ export type RoleType = keyof UserRoleConfig;
660
+ export type RoleSelectorOptionType = Pick<SelectPickerOptionType, 'label' | 'description'> & {
661
+ value: string;
662
+ roleType: RoleType;
663
+ };
648
664
  interface CommonTabArgsType {
649
665
  /**
650
666
  * Name for the tab.
@@ -828,6 +844,11 @@ export declare enum ViewIsPipelineRBACConfiguredRadioTabs {
828
844
  ALL_ENVIRONMENTS = "All environments",
829
845
  ACCESS_ONLY = "Access only"
830
846
  }
847
+ export interface EnvironmentDataValuesDTO {
848
+ isAirGapEnvironment: boolean;
849
+ isManifestScanningEnabled: boolean;
850
+ canOnlyViewPermittedEnvOrgLevel: boolean;
851
+ }
831
852
  export type ComponentLayoutType = 'row' | 'column';
832
853
  export interface BorderConfigType {
833
854
  /**
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9.052 14.108a29.982 29.982 0 0 1 5.897 0M4.364 18.466a.675.675 0 0 0 .125.252.706.706 0 0 0 .22.186.768.768 0 0 0 .574.07 26.805 26.805 0 0 1 13.43-.001.786.786 0 0 0 .575-.07.725.725 0 0 0 .22-.186.674.674 0 0 0 .124-.252l2.348-9.377a.653.653 0 0 0-.018-.38.693.693 0 0 0-.229-.312.78.78 0 0 0-.77-.1l-4.66 1.947a.781.781 0 0 1-.534.024.729.729 0 0 1-.41-.321l-2.714-4.59a.714.714 0 0 0-.27-.26.774.774 0 0 0-.748 0 .714.714 0 0 0-.271.26l-2.714 4.59a.728.728 0 0 1-.41.32.781.781 0 0 1-.534-.023L3.037 8.296a.78.78 0 0 0-.77.1.693.693 0 0 0-.229.312.653.653 0 0 0-.018.38l2.344 9.378Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path fill="#3B444C" d="M11.003 14.768v.75-.75Zm-8.62 3.806a.75.75 0 0 0 1.234.852l-1.234-.852ZM15.96 8.016a.75.75 0 0 0 1.48-.246l-1.48.246Zm-4.683 7.507a.75.75 0 1 0 .046-1.5l-.046 1.5Zm-.275-1.505c-2.765 0-5.03-2.286-5.03-5.134h-1.5c0 3.651 2.911 6.634 6.53 6.634v-1.5Zm-5.03-5.134c0-2.848 2.265-5.134 5.03-5.134v-1.5c-3.619 0-6.53 2.983-6.53 6.634h1.5ZM3.617 19.426a9.09 9.09 0 0 1 3.227-2.874l-.7-1.326a10.59 10.59 0 0 0-3.761 3.348l1.234.852Zm3.227-2.874a8.896 8.896 0 0 1 4.16-1.034v-1.5c-1.693 0-3.36.415-4.86 1.208l.7 1.326Zm4.16-12.802c2.477 0 4.552 1.835 4.957 4.266l1.48-.246c-.52-3.124-3.195-5.52-6.438-5.52v1.5Zm0 11.768c.09 0 .183.002.274.005l.046-1.5a10.424 10.424 0 0 0-.32-.005v1.5Z"/>
3
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m19.096 14.168-.047-.047M15.06 16.2a3.6 3.6 0 1 1 2.002 2l-3.06 3.06H12v-2l3.06-3.06Z" vector-effect="non-scaling-stroke"/>
4
+ </svg>