@devtron-labs/devtron-fe-common-lib 0.3.14-beta-1 → 0.3.14-beta-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/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +4 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +6 -7
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +2 -0
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
- package/dist/Shared/Services/app.types.d.ts +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-IylcoDbx.js → cssMode-8G3MbCuv.js} +1 -1
- package/dist/{freemarker2-Dc0BAReS.js → freemarker2-Cdms4rgp.js} +1 -1
- package/dist/{handlebars-D8d3oeeL.js → handlebars-Dg3zpYFY.js} +1 -1
- package/dist/{html-DHIUzE39.js → html-iUPctsJZ.js} +1 -1
- package/dist/{htmlMode-C8ZDw4HO.js → htmlMode-CQTplCMn.js} +1 -1
- package/dist/{index-ByVomRMV.js → index-Cmo4Tc49.js} +13787 -13728
- package/dist/index.js +1 -1
- package/dist/{javascript-ietUe3zr.js → javascript-hGmfHDU3.js} +1 -1
- package/dist/{jsonMode-D-2SVjtk.js → jsonMode-Ba6fIHOv.js} +1 -1
- package/dist/{liquid-rTZVyZ7L.js → liquid-BwrItieM.js} +1 -1
- package/dist/{mdx-DlWEeuen.js → mdx-lZEgCFP3.js} +1 -1
- package/dist/{python-CoQh6-mN.js → python-OCkf3aBj.js} +1 -1
- package/dist/{razor-B7QZez8l.js → razor-BqWLThdb.js} +1 -1
- package/dist/{tsMode-PD0LurRg.js → tsMode-BQiLrbqV.js} +1 -1
- package/dist/{typescript-Cl3AgiB7.js → typescript-CUOLGMm7.js} +1 -1
- package/dist/{xml-DUme7BW4.js → xml-BIbLArL1.js} +1 -1
- package/dist/{yaml-CZ5BQ0MU.js → yaml-vEYtbKD4.js} +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentHistoryConfigDiffProps } from './types';
|
|
2
|
-
export declare const DeploymentHistoryConfigDiff: ({ appName, envName, pipelineId, wfrId, triggerHistory, setFullScreenView, }: DeploymentHistoryConfigDiffProps) => JSX.Element;
|
|
2
|
+
export declare const DeploymentHistoryConfigDiff: ({ appName, envName, pipelineId, wfrId, triggerHistory, setFullScreenView, runSource, resourceId, renderRunSource, }: DeploymentHistoryConfigDiffProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentHistoryDiffDetailedProps } from './types';
|
|
2
|
-
export declare const DeploymentHistoryConfigDiffCompare: ({ envName, setFullScreenView, pipelineDeployments, wfrId, previousWfrId, convertVariables, setConvertVariables, ...props }: DeploymentHistoryDiffDetailedProps) => JSX.Element;
|
|
2
|
+
export declare const DeploymentHistoryConfigDiffCompare: ({ envName, setFullScreenView, pipelineDeployments, wfrId, previousWfrId, convertVariables, setConvertVariables, runSource, renderRunSource, resourceId, ...props }: DeploymentHistoryDiffDetailedProps) => JSX.Element;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
|
2
|
+
import { History } from '../types';
|
|
3
|
+
import { DeploymentHistoryConfigDiffProps } from './types';
|
|
2
4
|
export declare const renderDeploymentHistoryConfig: (config: DeploymentConfigDiffProps["configList"], heading: string, pathname: string) => JSX.Element;
|
|
3
5
|
export declare const renderPipelineDeploymentStatusIcon: (status: string) => JSX.Element;
|
|
6
|
+
export declare const renderPipelineDeploymentOptionDescription: ({ stage, triggeredBy, triggeredByEmail, artifact, renderRunSource, resourceId, runSource, }: Pick<History, "triggeredBy" | "triggeredByEmail" | "artifact" | "stage"> & Pick<DeploymentHistoryConfigDiffProps, "renderRunSource" | "resourceId" | "runSource">) => JSX.Element;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
2
|
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
|
3
3
|
import { EnvResourceType } from '../../../Services';
|
|
4
|
-
import { History } from '../types';
|
|
5
|
-
export interface DeploymentHistoryConfigDiffProps {
|
|
4
|
+
import { History, HistoryLogsProps, RunSourceType } from '../types';
|
|
5
|
+
export interface DeploymentHistoryConfigDiffProps extends Required<Pick<HistoryLogsProps, 'renderRunSource' | 'resourceId'>> {
|
|
6
6
|
appName: string;
|
|
7
7
|
envName: string;
|
|
8
8
|
pipelineId: number;
|
|
9
9
|
wfrId: number;
|
|
10
|
+
runSource: RunSourceType;
|
|
10
11
|
triggerHistory: Map<number, History>;
|
|
11
12
|
setFullScreenView: (fullscreen: boolean) => void;
|
|
12
13
|
}
|
|
13
|
-
export type DeploymentHistoryDiffDetailedProps = Pick<DeploymentConfigDiffProps, 'collapsibleNavList' | 'configList' | 'errorConfig' | 'isLoading' | 'navList'> & Pick<DeploymentHistoryConfigDiffProps, 'setFullScreenView' | 'wfrId' | 'envName'
|
|
14
|
+
export type DeploymentHistoryDiffDetailedProps = Pick<DeploymentConfigDiffProps, 'collapsibleNavList' | 'configList' | 'errorConfig' | 'isLoading' | 'navList'> & Required<Pick<DeploymentHistoryConfigDiffProps, 'setFullScreenView' | 'wfrId' | 'envName' | 'renderRunSource' | 'resourceId' | 'runSource'>> & {
|
|
14
15
|
pipelineDeployments: History[];
|
|
15
16
|
previousWfrId: number;
|
|
16
17
|
convertVariables: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SelectPickerOptionType } from '@Shared/Components/SelectPicker';
|
|
1
2
|
import { History } from '../types';
|
|
2
3
|
import { DeploymentHistoryConfigDiffProps } from './types';
|
|
3
4
|
export declare const getPipelineDeployments: (triggerHistory: DeploymentHistoryConfigDiffProps["triggerHistory"]) => History[];
|
|
@@ -7,14 +8,12 @@ export declare const getPipelineDeploymentsWfrIds: ({ pipelineDeployments, wfrId
|
|
|
7
8
|
currentWfrId: number;
|
|
8
9
|
previousWfrId: number;
|
|
9
10
|
};
|
|
10
|
-
export declare const getPipelineDeploymentsOptions: (pipelineDeployments
|
|
11
|
+
export declare const getPipelineDeploymentsOptions: ({ pipelineDeployments, wfrId, renderRunSource, resourceId, runSource, }: Required<Pick<DeploymentHistoryConfigDiffProps, "renderRunSource" | "runSource" | "resourceId">> & {
|
|
12
|
+
pipelineDeployments: History[];
|
|
13
|
+
wfrId: number;
|
|
14
|
+
}) => {
|
|
11
15
|
currentDeployment: string;
|
|
12
|
-
pipelineDeploymentsOptions:
|
|
13
|
-
value: number;
|
|
14
|
-
label: string;
|
|
15
|
-
description: string;
|
|
16
|
-
startIcon: JSX.Element;
|
|
17
|
-
}[];
|
|
16
|
+
pipelineDeploymentsOptions: SelectPickerOptionType<number>[];
|
|
18
17
|
};
|
|
19
18
|
export declare const parseDeploymentHistoryDiffSearchParams: (compareWfrId: number) => (searchParams: URLSearchParams) => {
|
|
20
19
|
compareWfrId: number;
|
|
@@ -17,6 +17,8 @@ export interface DeploymentConfigType {
|
|
|
17
17
|
export interface DeploymentConfigListItem {
|
|
18
18
|
id: string;
|
|
19
19
|
title: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
pathType: EnvResourceType;
|
|
20
22
|
primaryConfig: DeploymentConfigType;
|
|
21
23
|
secondaryConfig: DeploymentConfigType;
|
|
22
24
|
diffState: DeploymentConfigDiffState;
|