@devtron-labs/devtron-fe-common-lib 1.4.7 → 1.4.8-beta-1

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.
@@ -6,4 +6,4 @@ export declare const uploadCDPipelineFile: ({ file, appId, envId, allowedExtensi
6
6
  envId: number;
7
7
  abortControllerRef?: MutableRefObject<AbortController>;
8
8
  }) => Promise<UploadFileDTO>;
9
- export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
9
+ export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
@@ -106,9 +106,11 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
106
106
  * Would be available only case of PRE/POST CD
107
107
  */
108
108
  runtimeParamsPayload?: RuntimeParamsTriggerPayloadType;
109
+ isRollbackTrigger?: boolean;
109
110
  }
110
111
  export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'> {
111
112
  cdWorkflowType: (typeof STAGE_MAP)[keyof typeof STAGE_MAP];
113
+ isRollbackDeployment: boolean;
112
114
  wfrIdForDeploymentWithSpecificTrigger?: number;
113
115
  }
114
116
  export {};
@@ -4,3 +4,4 @@ export declare const diffStateTextMap: Record<DeploymentConfigDiffState, string>
4
4
  export declare const diffStateIconMap: Record<DeploymentConfigDiffState, FunctionComponent<SVGProps<SVGSVGElement>>>;
5
5
  export declare const diffStateTooltipTextMap: Record<DeploymentConfigDiffState, string>;
6
6
  export declare const diffStateTextColorMap: Record<DeploymentConfigDiffState, `c${string}`>;
7
+ export declare const DEPLOYMENT_CONFIG_DIFF_SORT_KEY = "sort-config";