@devtron-labs/devtron-fe-common-lib 0.2.20-beta-8 → 0.2.21
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/Common/CodeEditor/types.d.ts +5 -0
- package/dist/Common/CustomInput/CustomInput.d.ts +1 -1
- package/dist/Common/CustomInput/Types.d.ts +1 -0
- package/dist/Pages/index.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/types.d.ts +3 -18
- package/dist/Shared/Components/Collapse/Collapse.d.ts +1 -1
- package/dist/Shared/types.d.ts +0 -1
- package/dist/Shared/validations.d.ts +0 -11
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-a07b9a3e.js → cssMode-3d7a8944.js} +1 -1
- package/dist/{freemarker2-12957804.js → freemarker2-b3120be4.js} +1 -1
- package/dist/{handlebars-d42afe24.js → handlebars-ab0fb2f4.js} +1 -1
- package/dist/{html-0e435bea.js → html-af9cbe0d.js} +1 -1
- package/dist/{htmlMode-6cb23af9.js → htmlMode-b4803b0c.js} +1 -1
- package/dist/{index-faac5ae2.js → index-e0deebd0.js} +18504 -18541
- package/dist/index.js +294 -297
- package/dist/{javascript-274caf90.js → javascript-356455e6.js} +1 -1
- package/dist/{jsonMode-ffc2664f.js → jsonMode-402b4a64.js} +1 -1
- package/dist/{liquid-54415d1b.js → liquid-7a0ac147.js} +1 -1
- package/dist/{mdx-9b0b21cc.js → mdx-eaff30b0.js} +1 -1
- package/dist/{python-8a79b80d.js → python-e6b2eb9f.js} +1 -1
- package/dist/{razor-65f24f35.js → razor-82adb0cc.js} +1 -1
- package/dist/{tsMode-6aa8ab48.js → tsMode-e8dbc0d5.js} +1 -1
- package/dist/{typescript-acb68e10.js → typescript-0e6c4e29.js} +1 -1
- package/dist/{xml-eace9504.js → xml-00eaaec9.js} +1 -1
- package/dist/{yaml-e9dab7a3.js → yaml-c867fe95.js} +1 -1
- package/package.json +1 -1
- package/dist/Pages/App/AppConfigurations/index.d.ts +0 -1
- package/dist/Pages/App/AppConfigurations/utils.d.ts +0 -3
- package/dist/Pages/App/index.d.ts +0 -1
|
@@ -30,6 +30,11 @@ interface CodeEditorBaseInterface {
|
|
|
30
30
|
isKubernetes?: boolean;
|
|
31
31
|
cleanData?: boolean;
|
|
32
32
|
chartVersion?: any;
|
|
33
|
+
/**
|
|
34
|
+
* If true, disable the in-built search of monaco editor
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
disableSearch?: boolean;
|
|
33
38
|
}
|
|
34
39
|
export type CodeEditorInterface = CodeEditorBaseInterface & ({
|
|
35
40
|
adjustEditorHeightToContent?: boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CustomInputProps } from './Types';
|
|
2
2
|
|
|
3
|
-
export declare const CustomInput: ({ name, value, error, onChange, onFocus, label, type, disabled, labelClassName, placeholder, tabIndex, dataTestid, isRequiredField, autoFocus, rootClassName, autoComplete, helperText, handleOnBlur, readOnly, noTrim, onKeyPress, defaultValue, onKeyDown, required, additionalErrorInfo, inputWrapClassName, inputProps, }: CustomInputProps) => JSX.Element;
|
|
3
|
+
export declare const CustomInput: ({ name, value, error, onChange, onFocus, label, type, disabled, labelClassName, placeholder, tabIndex, dataTestid, isRequiredField, autoFocus, rootClassName, autoComplete, helperText, handleOnBlur, readOnly, noTrim, ref, onKeyPress, defaultValue, onKeyDown, required, additionalErrorInfo, inputWrapClassName, inputProps, }: CustomInputProps) => JSX.Element;
|
|
@@ -21,6 +21,7 @@ export interface CustomInputProps {
|
|
|
21
21
|
handleOnBlur?: (e: any) => void;
|
|
22
22
|
readOnly?: boolean;
|
|
23
23
|
noTrim?: boolean;
|
|
24
|
+
ref?: React.LegacyRef<HTMLInputElement>;
|
|
24
25
|
onKeyPress?: (e: any) => void;
|
|
25
26
|
defaultValue?: string | number | ReadonlyArray<string> | undefined;
|
|
26
27
|
onKeyDown?: (e: any) => void;
|
package/dist/Pages/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TriggerDetailsType, TriggerOutputProps } from './types';
|
|
3
3
|
|
|
4
|
-
export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText,
|
|
5
|
-
declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, scrollToTop, scrollToBottom,
|
|
4
|
+
export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText, }: TriggerDetailsType) => JSX.Element>;
|
|
5
|
+
declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, scrollToTop, scrollToBottom, }: TriggerOutputProps) => JSX.Element;
|
|
6
6
|
export default TriggerOutput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
2
|
import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps, useScrollable, SortingOrder } from '../../../Common';
|
|
3
3
|
import { DeploymentStageType } from '../../constants';
|
|
4
4
|
import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
|
|
@@ -47,15 +47,6 @@ export interface CICDSidebarFilterOptionType extends OptionType {
|
|
|
47
47
|
pipelineType?: string;
|
|
48
48
|
deploymentAppDeleteRequest?: boolean;
|
|
49
49
|
}
|
|
50
|
-
export interface TargetConfigType {
|
|
51
|
-
tenantIcon?: string;
|
|
52
|
-
tenantId?: string;
|
|
53
|
-
tenantName?: string;
|
|
54
|
-
installationId?: string;
|
|
55
|
-
installationName?: string;
|
|
56
|
-
releaseChannelId?: string;
|
|
57
|
-
releaseChannelName?: string;
|
|
58
|
-
}
|
|
59
50
|
export interface History {
|
|
60
51
|
id: number;
|
|
61
52
|
name: string;
|
|
@@ -90,7 +81,6 @@ export interface History {
|
|
|
90
81
|
promotionApprovalMetadata?: PromotionApprovalMetadataType;
|
|
91
82
|
triggerMetadata?: string;
|
|
92
83
|
runSource?: RunSourceType;
|
|
93
|
-
targetConfig?: TargetConfigType;
|
|
94
84
|
}
|
|
95
85
|
export interface DeploymentHistoryResultObject {
|
|
96
86
|
cdWorkflows: History[];
|
|
@@ -168,13 +158,8 @@ export interface StartDetailsType {
|
|
|
168
158
|
isJobView?: boolean;
|
|
169
159
|
triggerMetadata?: string;
|
|
170
160
|
renderDeploymentHistoryTriggerMetaText: (triggerMetaData: string) => JSX.Element;
|
|
171
|
-
/**
|
|
172
|
-
* Callback handler for showing the target config
|
|
173
|
-
*/
|
|
174
|
-
renderTargetConfigInfo?: () => ReactElement;
|
|
175
|
-
stage: DeploymentStageType;
|
|
176
161
|
}
|
|
177
|
-
export interface TriggerDetailsType
|
|
162
|
+
export interface TriggerDetailsType {
|
|
178
163
|
status: string;
|
|
179
164
|
startedOn: string;
|
|
180
165
|
finishedOn: string;
|
|
@@ -309,7 +294,7 @@ export interface VirtualHistoryArtifactProps {
|
|
|
309
294
|
workflowId: number;
|
|
310
295
|
};
|
|
311
296
|
}
|
|
312
|
-
export interface TriggerOutputProps extends RenderRunSourceType
|
|
297
|
+
export interface TriggerOutputProps extends RenderRunSourceType {
|
|
313
298
|
fullScreenView: boolean;
|
|
314
299
|
triggerHistory: Map<number, History>;
|
|
315
300
|
setFullScreenView: React.Dispatch<React.SetStateAction<boolean>>;
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -367,7 +367,6 @@ export declare enum ResourceKindType {
|
|
|
367
367
|
cluster = "cluster",
|
|
368
368
|
release = "release",
|
|
369
369
|
releaseTrack = "release-track",
|
|
370
|
-
releaseChannel = "release-channel",
|
|
371
370
|
tenant = "tenant",
|
|
372
371
|
installation = "installation",
|
|
373
372
|
environment = "environment",
|
|
@@ -14,7 +14,6 @@ export declare const MESSAGES: {
|
|
|
14
14
|
VALID_POSITIVE_NUMBER: string;
|
|
15
15
|
VALID_POSITIVE_INTEGER: string;
|
|
16
16
|
MAX_SAFE_INTEGER: string;
|
|
17
|
-
INVALID_SEMANTIC_VERSION: string;
|
|
18
17
|
};
|
|
19
18
|
export declare const requiredField: (value: string) => ValidationResponseType;
|
|
20
19
|
export declare const validateName: (name: string) => ValidationResponseType;
|
|
@@ -32,14 +31,4 @@ export declare const validateUniqueKeys: (keys: string[]) => {
|
|
|
32
31
|
isValid: boolean;
|
|
33
32
|
message: string;
|
|
34
33
|
};
|
|
35
|
-
/**
|
|
36
|
-
* Rules for valid semantic version:
|
|
37
|
-
* 1. version.length < 128 and not empty
|
|
38
|
-
* 2. version should follow semantic versioning regex from https://semver.org/
|
|
39
|
-
*/
|
|
40
|
-
export declare const validateSemanticVersioning: (version: string) => ValidationResponseType;
|
|
41
|
-
/**
|
|
42
|
-
* A valid display name should be between 3 and 50 characters
|
|
43
|
-
*/
|
|
44
|
-
export declare const validateDisplayName: (name: string) => ValidationResponseType;
|
|
45
34
|
export declare const validateJSON: (json: string) => ValidationResponseType;
|