@devtron-labs/devtron-fe-common-lib 1.15.2-beta-5 → 1.15.2-beta-7

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,7 +1,7 @@
1
1
  import { j as n, as as y, au as k, at as W } from "./@vendor-STJ9h0oI.js";
2
2
  import V, { forwardRef as J, useMemo as P } from "react";
3
3
  import K, { getDefaultRegistry as q } from "@rjsf/core";
4
- import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-bdKbJVSm.js";
4
+ import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-O_mIinn2.js";
5
5
  import Q, { components as D } from "react-select";
6
6
  import { ReactComponent as X } from "./assets/ic-chevron-down.fc70d7a7.svg";
7
7
  import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as Z, ADDITIONAL_PROPERTY_FLAG as L, errorId as ee, englishStringTranslator as te, TranslatableString as ne, titleId as re, canExpand as se, deepEquals as ae } from "@rjsf/utils";
@@ -595,7 +595,7 @@ export declare enum DeploymentAppTypes {
595
595
  GITOPS = "argo_cd",
596
596
  MANIFEST_DOWNLOAD = "manifest_download",
597
597
  MANIFEST_PUSH = "manifest_push",
598
- FLUX = "flux_cd"
598
+ FLUX = "flux"
599
599
  }
600
600
  export interface VulnerabilityType {
601
601
  name: string;
@@ -40,6 +40,7 @@ export interface CDFormType {
40
40
  deploymentAppType: string;
41
41
  deploymentAppName?: string;
42
42
  releaseMode: ReleaseMode;
43
+ isCustomChart: boolean;
43
44
  triggerType: string;
44
45
  preBuildStage?: PipelineBuildStageType;
45
46
  postBuildStage?: PipelineBuildStageType;
@@ -1,4 +1,4 @@
1
1
  import { AppDetails, DeploymentStatusDetailsBreakdownDataType } from '../../types';
2
2
  import { GetAppDetailsParamsType, GetDeploymentStatusWithTimelineParamsType } from './types';
3
3
  export declare const getAppDetails: ({ appId, envId, abortControllerRef, }: GetAppDetailsParamsType) => Promise<AppDetails>;
4
- export declare const getDeploymentStatusWithTimeline: ({ abortControllerRef, appId, envId, showTimeline, virtualEnvironmentConfig, isHelmApp, deploymentAppType, }: GetDeploymentStatusWithTimelineParamsType) => Promise<DeploymentStatusDetailsBreakdownDataType>;
4
+ export declare const getDeploymentStatusWithTimeline: ({ abortControllerRef, appId, envId, showTimeline, virtualEnvironmentConfig, isHelmApp, }: GetDeploymentStatusWithTimelineParamsType) => Promise<DeploymentStatusDetailsBreakdownDataType>;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent, PropsWithChildren, ReactNode } from 'react';
2
- import { APIOptions, DeploymentAppTypes } from '../../../Common/Types';
2
+ import { APIOptions } from '../../../Common/Types';
3
3
  import { AppDetails, ConfigDriftModalProps, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, IntelligenceConfig } from '../../types';
4
4
  export declare enum AppStatusModalTabType {
5
5
  APP_STATUS = "appStatus",
@@ -65,7 +65,6 @@ export type GetDeploymentStatusWithTimelineParamsType = Pick<APIOptions, 'abortC
65
65
  wfrId: AppDetails['resourceTree']['wfrId'];
66
66
  };
67
67
  isHelmApp?: boolean;
68
- deploymentAppType: DeploymentAppTypes;
69
68
  };
70
69
  export interface AppStatusModalTabListProps extends Pick<AppStatusModalProps, 'appDetails' | 'type'> {
71
70
  handleSelectTab: (updatedTab: AppStatusModalTabType) => void;
@@ -1,3 +1,3 @@
1
1
  import { DeploymentStatusDetailBreakdownType } from './types';
2
- declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, appDetails, rootClassName, deploymentAppType, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
2
+ declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, appDetails, rootClassName, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
3
3
  export default DeploymentStatusDetailBreakdown;
@@ -402,7 +402,6 @@ export interface DeploymentStatusDetailBreakdownType {
402
402
  */
403
403
  appDetails: AppDetails | null;
404
404
  rootClassName?: string;
405
- deploymentAppType?: DeploymentAppTypes;
406
405
  }
407
406
  export interface DeploymentStatusDetailRowType extends Pick<DeploymentStatusDetailBreakdownType, 'appDetails'> {
408
407
  type: DeploymentStatusTimelineType;
@@ -6,6 +6,5 @@ export declare const WFR_STATUS_DTO_TO_DEPLOYMENT_STATUS_MAP: Readonly<Record<Wo
6
6
  export declare const PROGRESSING_DEPLOYMENT_STATUS: Readonly<(typeof DEPLOYMENT_STATUS)[keyof typeof DEPLOYMENT_STATUS][]>;
7
7
  export declare const SUCCESSFUL_DEPLOYMENT_STATUS: typeof PROGRESSING_DEPLOYMENT_STATUS;
8
8
  export declare const FAILED_DEPLOYMENT_STATUS: typeof PROGRESSING_DEPLOYMENT_STATUS;
9
- export declare const PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER_ARGO: Readonly<DeploymentStatusTimelineType[]>;
10
- export declare const PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER_FLUX: Readonly<DeploymentStatusTimelineType[]>;
9
+ export declare const PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER: Readonly<DeploymentStatusTimelineType[]>;
11
10
  export declare const DEPLOYMENT_PHASES: Readonly<DeploymentPhaseType[]>;
@@ -1,4 +1,3 @@
1
- import { DeploymentAppTypes } from '../../../Common/Types';
2
1
  import { DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType } from '../../types';
3
2
  /**
4
3
  * @description
@@ -18,4 +17,4 @@ import { DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType }
18
17
  * - If this timeline is not inprogress and deploymentStatus is progressing, we will set the current timeline to waiting.
19
18
  * - In similar fashion based on the deploymentStatus we will set the icon and display text for the timeline.
20
19
  */
21
- export declare const processDeploymentStatusDetailsData: (deploymentAppType: DeploymentAppTypes, data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
20
+ export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
@@ -1043,7 +1043,6 @@ export interface DeploymentStatusDetailsType {
1043
1043
  timelines: DeploymentStatusDetailsTimelineType[];
1044
1044
  wfrStatus?: WorkflowRunnerStatusDTO;
1045
1045
  isDeploymentWithoutApproval: boolean;
1046
- deploymentAppType: DeploymentAppTypes;
1047
1046
  }
1048
1047
  export type DeploymentStatusTimelineType = TIMELINE_STATUS.DEPLOYMENT_INITIATED | TIMELINE_STATUS.GIT_COMMIT | TIMELINE_STATUS.ARGOCD_SYNC | TIMELINE_STATUS.KUBECTL_APPLY | TIMELINE_STATUS.APP_HEALTH | TIMELINE_STATUS.HELM_PACKAGE_GENERATED | TIMELINE_STATUS.HELM_MANIFEST_PUSHED_TO_HELM_REPO;
1049
1048
  export type DeploymentStatusBreakdownItemIconType = 'success' | 'failed' | 'unknown' | 'inprogress' | 'unreachable' | 'loading' | 'disconnect' | 'timed_out' | '';
@@ -1088,7 +1087,6 @@ export interface DeploymentStatusDetailsBreakdownDataType {
1088
1087
  deploymentErrorMessage: string;
1089
1088
  nextTimelineToProcess: DeploymentStatusTimelineType;
1090
1089
  } | null;
1091
- deploymentAppType: DeploymentAppTypes;
1092
1090
  }
1093
1091
  export interface IntelligenceConfig {
1094
1092
  clusterId: number;
package/dist/index.d.ts CHANGED
@@ -148,11 +148,6 @@ export interface customEnv {
148
148
  */
149
149
  FEATURE_MANAGE_TRAFFIC_ENABLE?: boolean;
150
150
  FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE?: boolean;
151
- /**
152
- * If true, will add flux option to deployment types in devtron apps and devtron charts
153
- * @default false
154
- */
155
- FEATURE_FLUX_DEPLOYMENTS_ENABLE?: boolean;
156
151
  }
157
152
  declare global {
158
153
  interface Window {