@devtron-labs/devtron-fe-common-lib 1.2.5-beta-5 → 1.2.5-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.
- package/dist/{@code-editor-zCN6KFbh.js → @code-editor-BlrBCZSA.js} +6027 -6232
- package/dist/{@common-rjsf-Dm0JsTUD.js → @common-rjsf-DnT8mRYJ.js} +2 -2
- package/dist/{@framer-motion-DHY98qq3.js → @framer-motion-DpqjsVGY.js} +1 -1
- package/dist/{@react-dates-WNnwjI5S.js → @react-dates-DB0ptR9r.js} +1 -1
- package/dist/{@react-select-BbR996pa.js → @react-select-CWpbugQg.js} +50 -50
- package/dist/@vendor-BlZS9Ity.js +24918 -0
- package/dist/Common/CodeEditor/jsonSchema.json.d.ts +237 -0
- package/dist/Common/Constants.d.ts +0 -1
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -1
- package/dist/Common/CustomTagSelector/Types.d.ts +15 -20
- package/dist/Common/Helper.d.ts +1 -2
- package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +3 -0
- package/dist/Common/SegmentedControl/index.d.ts +2 -0
- package/dist/Common/SegmentedControl/types.d.ts +14 -0
- package/dist/Common/Types.d.ts +5 -21
- package/dist/Common/index.d.ts +1 -0
- package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +3 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +0 -2
- package/dist/Shared/types.d.ts +2 -19
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.js +516 -520
- package/package.json +2 -1
- package/dist/@monaco-editor-34kqzg3G.js +0 -70451
- package/dist/@vendor-RU8AW1bK.js +0 -20473
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +0 -2
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +0 -2
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +0 -2
- package/dist/Shared/Components/DynamicDataTable/constants.d.ts +0 -2
- package/dist/Shared/Components/DynamicDataTable/index.d.ts +0 -2
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +0 -157
- package/dist/Shared/Components/DynamicDataTable/utils.d.ts +0 -5
- package/dist/Shared/Components/SelectTextArea/SelectTextArea.d.ts +0 -2
- package/dist/Shared/Components/SelectTextArea/index.d.ts +0 -2
- package/dist/Shared/Components/SelectTextArea/types.d.ts +0 -12
- package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +0 -3
- package/dist/Shared/Components/TagsKeyValueTable/constants.d.ts +0 -4
- package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +0 -3
- package/dist/Shared/Components/TagsKeyValueTable/types.d.ts +0 -9
- package/dist/Shared/Components/TagsKeyValueTable/utils.d.ts +0 -3
- package/dist/assets/@monaco-editor.css +0 -1
- package/dist/assets/ic-clear-square.e60de021.svg +0 -1
- package/dist/yaml.worker.d.ts +0 -0
@@ -0,0 +1,237 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"$id": "http://json-schema.org/draft-07/schema#",
|
4
|
+
"title": "Core schema meta-schema",
|
5
|
+
"definitions": {
|
6
|
+
"schemaArray": {
|
7
|
+
"type": "array",
|
8
|
+
"minItems": 1,
|
9
|
+
"items": {
|
10
|
+
"$ref": "#"
|
11
|
+
}
|
12
|
+
},
|
13
|
+
"nonNegativeInteger": {
|
14
|
+
"type": "integer",
|
15
|
+
"minimum": 0
|
16
|
+
},
|
17
|
+
"nonNegativeIntegerDefault0": {
|
18
|
+
"allOf": [
|
19
|
+
{
|
20
|
+
"$ref": "#/definitions/nonNegativeInteger"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"default": 0
|
24
|
+
}
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"simpleTypes": {
|
28
|
+
"enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
|
29
|
+
},
|
30
|
+
"stringArray": {
|
31
|
+
"type": "array",
|
32
|
+
"items": {
|
33
|
+
"type": "string"
|
34
|
+
},
|
35
|
+
"uniqueItems": true,
|
36
|
+
"default": []
|
37
|
+
}
|
38
|
+
},
|
39
|
+
"type": ["object", "boolean"],
|
40
|
+
"properties": {
|
41
|
+
"$id": {
|
42
|
+
"type": "string",
|
43
|
+
"format": "uri-reference"
|
44
|
+
},
|
45
|
+
"$schema": {
|
46
|
+
"type": "string",
|
47
|
+
"format": "uri"
|
48
|
+
},
|
49
|
+
"$ref": {
|
50
|
+
"type": "string",
|
51
|
+
"format": "uri-reference"
|
52
|
+
},
|
53
|
+
"$comment": {
|
54
|
+
"type": "string"
|
55
|
+
},
|
56
|
+
"title": {
|
57
|
+
"type": "string"
|
58
|
+
},
|
59
|
+
"description": {
|
60
|
+
"type": "string"
|
61
|
+
},
|
62
|
+
"default": true,
|
63
|
+
"readOnly": {
|
64
|
+
"type": "boolean",
|
65
|
+
"default": false
|
66
|
+
},
|
67
|
+
"writeOnly": {
|
68
|
+
"type": "boolean",
|
69
|
+
"default": false
|
70
|
+
},
|
71
|
+
"examples": {
|
72
|
+
"type": "array",
|
73
|
+
"items": true
|
74
|
+
},
|
75
|
+
"multipleOf": {
|
76
|
+
"type": "number",
|
77
|
+
"exclusiveMinimum": 0
|
78
|
+
},
|
79
|
+
"maximum": {
|
80
|
+
"type": "number"
|
81
|
+
},
|
82
|
+
"exclusiveMaximum": {
|
83
|
+
"type": "number"
|
84
|
+
},
|
85
|
+
"minimum": {
|
86
|
+
"type": "number"
|
87
|
+
},
|
88
|
+
"exclusiveMinimum": {
|
89
|
+
"type": "number"
|
90
|
+
},
|
91
|
+
"maxLength": {
|
92
|
+
"$ref": "#/definitions/nonNegativeInteger"
|
93
|
+
},
|
94
|
+
"minLength": {
|
95
|
+
"$ref": "#/definitions/nonNegativeIntegerDefault0"
|
96
|
+
},
|
97
|
+
"pattern": {
|
98
|
+
"type": "string",
|
99
|
+
"format": "regex"
|
100
|
+
},
|
101
|
+
"additionalItems": {
|
102
|
+
"$ref": "#"
|
103
|
+
},
|
104
|
+
"items": {
|
105
|
+
"anyOf": [
|
106
|
+
{
|
107
|
+
"$ref": "#"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"$ref": "#/definitions/schemaArray"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"default": true
|
114
|
+
},
|
115
|
+
"maxItems": {
|
116
|
+
"$ref": "#/definitions/nonNegativeInteger"
|
117
|
+
},
|
118
|
+
"minItems": {
|
119
|
+
"$ref": "#/definitions/nonNegativeIntegerDefault0"
|
120
|
+
},
|
121
|
+
"uniqueItems": {
|
122
|
+
"type": "boolean",
|
123
|
+
"default": false
|
124
|
+
},
|
125
|
+
"contains": {
|
126
|
+
"$ref": "#"
|
127
|
+
},
|
128
|
+
"maxProperties": {
|
129
|
+
"$ref": "#/definitions/nonNegativeInteger"
|
130
|
+
},
|
131
|
+
"minProperties": {
|
132
|
+
"$ref": "#/definitions/nonNegativeIntegerDefault0"
|
133
|
+
},
|
134
|
+
"required": {
|
135
|
+
"$ref": "#/definitions/stringArray"
|
136
|
+
},
|
137
|
+
"additionalProperties": {
|
138
|
+
"$ref": "#"
|
139
|
+
},
|
140
|
+
"definitions": {
|
141
|
+
"type": "object",
|
142
|
+
"additionalProperties": {
|
143
|
+
"$ref": "#"
|
144
|
+
},
|
145
|
+
"default": {}
|
146
|
+
},
|
147
|
+
"properties": {
|
148
|
+
"type": "object",
|
149
|
+
"additionalProperties": {
|
150
|
+
"$ref": "#"
|
151
|
+
},
|
152
|
+
"default": {}
|
153
|
+
},
|
154
|
+
"patternProperties": {
|
155
|
+
"type": "object",
|
156
|
+
"additionalProperties": {
|
157
|
+
"$ref": "#"
|
158
|
+
},
|
159
|
+
"propertyNames": {
|
160
|
+
"format": "regex"
|
161
|
+
},
|
162
|
+
"default": {}
|
163
|
+
},
|
164
|
+
"dependencies": {
|
165
|
+
"type": "object",
|
166
|
+
"additionalProperties": {
|
167
|
+
"anyOf": [
|
168
|
+
{
|
169
|
+
"$ref": "#"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"$ref": "#/definitions/stringArray"
|
173
|
+
}
|
174
|
+
]
|
175
|
+
}
|
176
|
+
},
|
177
|
+
"propertyNames": {
|
178
|
+
"$ref": "#"
|
179
|
+
},
|
180
|
+
"const": true,
|
181
|
+
"enum": {
|
182
|
+
"type": "array",
|
183
|
+
"items": true,
|
184
|
+
"minItems": 1,
|
185
|
+
"uniqueItems": true
|
186
|
+
},
|
187
|
+
"type": {
|
188
|
+
"anyOf": [
|
189
|
+
{
|
190
|
+
"$ref": "#/definitions/simpleTypes"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"type": "array",
|
194
|
+
"items": {
|
195
|
+
"$ref": "#/definitions/simpleTypes"
|
196
|
+
},
|
197
|
+
"minItems": 1,
|
198
|
+
"uniqueItems": true
|
199
|
+
}
|
200
|
+
]
|
201
|
+
},
|
202
|
+
"format": {
|
203
|
+
"type": "string"
|
204
|
+
},
|
205
|
+
"contentMediaType": {
|
206
|
+
"type": "string"
|
207
|
+
},
|
208
|
+
"contentEncoding": {
|
209
|
+
"type": "string"
|
210
|
+
},
|
211
|
+
"if": {
|
212
|
+
"$ref": "#"
|
213
|
+
},
|
214
|
+
"then": {
|
215
|
+
"$ref": "#"
|
216
|
+
},
|
217
|
+
"else": {
|
218
|
+
"$ref": "#"
|
219
|
+
},
|
220
|
+
"allOf": {
|
221
|
+
"$ref": "#/definitions/schemaArray"
|
222
|
+
},
|
223
|
+
"anyOf": {
|
224
|
+
"$ref": "#/definitions/schemaArray"
|
225
|
+
},
|
226
|
+
"oneOf": {
|
227
|
+
"$ref": "#/definitions/schemaArray"
|
228
|
+
},
|
229
|
+
"not": {
|
230
|
+
"$ref": "#"
|
231
|
+
}
|
232
|
+
},
|
233
|
+
"default": true
|
234
|
+
}
|
235
|
+
;
|
236
|
+
|
237
|
+
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { ResizableTagTextAreaProps } from './Types';
|
2
|
-
export declare const ResizableTagTextArea: ({
|
2
|
+
export declare const ResizableTagTextArea: ({ className, minHeight, maxHeight, value, onChange, onBlur, onFocus, placeholder, tabIndex, refVar, dependentRef, dataTestId, handleKeyDown, disabled, disableOnBlurResizeToMinHeight, }: ResizableTagTextAreaProps) => JSX.Element;
|
@@ -1,20 +1,9 @@
|
|
1
|
-
import { DetailedHTMLProps, MutableRefObject, TextareaHTMLAttributes } from 'react';
|
2
1
|
import { KEY_VALUE } from '../Constants';
|
3
2
|
import { OptionType } from '../Types';
|
4
3
|
export interface SuggestedTagOptionType extends OptionType {
|
5
4
|
description: string;
|
6
5
|
propagate: boolean;
|
7
6
|
}
|
8
|
-
export declare enum DeploymentPolicy {
|
9
|
-
ALLOW = "allow",
|
10
|
-
BLOCK = "block",
|
11
|
-
BLOCK_PROD = "block-prod",
|
12
|
-
BLOCK_NON_PROD = "block-non-prod"
|
13
|
-
}
|
14
|
-
export interface VariableValueConstraintTypes {
|
15
|
-
choices?: string[];
|
16
|
-
blockCustomValue?: boolean;
|
17
|
-
}
|
18
7
|
export interface TagType {
|
19
8
|
id?: number;
|
20
9
|
key: string;
|
@@ -26,8 +15,6 @@ export interface TagType {
|
|
26
15
|
isInvalidValue?: boolean;
|
27
16
|
isSuggested?: boolean;
|
28
17
|
isPropagateDisabled?: boolean;
|
29
|
-
deploymentPolicy?: DeploymentPolicy;
|
30
|
-
valueConstraint?: VariableValueConstraintTypes;
|
31
18
|
}
|
32
19
|
export interface TagErrorType {
|
33
20
|
isValid: boolean;
|
@@ -61,16 +48,24 @@ export interface TagLabelValueSelectorType {
|
|
61
48
|
tagInputType?: KEY_VALUE;
|
62
49
|
placeholder?: string;
|
63
50
|
tabIndex?: number;
|
64
|
-
refVar?: MutableRefObject<HTMLTextAreaElement>;
|
65
|
-
dependentRef?: MutableRefObject<HTMLTextAreaElement>;
|
51
|
+
refVar?: React.MutableRefObject<HTMLTextAreaElement>;
|
52
|
+
dependentRef?: React.MutableRefObject<HTMLTextAreaElement>;
|
66
53
|
noBackDrop?: boolean;
|
67
54
|
}
|
68
|
-
export interface ResizableTagTextAreaProps
|
55
|
+
export interface ResizableTagTextAreaProps {
|
56
|
+
className?: string;
|
69
57
|
minHeight?: number;
|
70
58
|
maxHeight?: number;
|
71
|
-
value
|
72
|
-
|
73
|
-
|
74
|
-
|
59
|
+
value?: string;
|
60
|
+
onChange?: (e: any) => void;
|
61
|
+
onBlur?: (e: any) => void;
|
62
|
+
onFocus?: (e: any) => void;
|
63
|
+
placeholder?: string;
|
64
|
+
tabIndex?: number;
|
65
|
+
refVar?: React.MutableRefObject<HTMLTextAreaElement>;
|
66
|
+
dependentRef?: React.MutableRefObject<HTMLTextAreaElement>;
|
67
|
+
dataTestId?: string;
|
68
|
+
handleKeyDown?: any;
|
69
|
+
disabled?: boolean;
|
75
70
|
disableOnBlurResizeToMinHeight?: boolean;
|
76
71
|
}
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { default as React, SyntheticEvent } from 'react';
|
2
2
|
import { JSONPathOptions } from 'jsonpath-plus';
|
3
|
-
import { AsyncOptions,
|
3
|
+
import { AsyncOptions, UseSearchString } from './Types';
|
4
4
|
import { scrollableInterface } from '../Shared';
|
5
5
|
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
6
6
|
interface ConditionalWrapper<T> {
|
@@ -133,5 +133,4 @@ export declare const getSanitizedIframe: (iframeString: string) => string;
|
|
133
133
|
* This method adds default attributes to iframe - title, loading ="lazy", width="100%", height="100%"
|
134
134
|
*/
|
135
135
|
export declare const getIframeWithDefaultAttributes: (iframeString: string, defaultName?: string) => string;
|
136
|
-
export declare const getStageTitle: (stageType: DeploymentNodeType) => string;
|
137
136
|
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { OptionType } from '../Types';
|
2
|
+
export declare enum SegmentedControlVariant {
|
3
|
+
GRAY_ON_WHITE = "gui-yaml-switch",
|
4
|
+
WHITE_ON_GRAY = "gui-yaml-switch-window-bg"
|
5
|
+
}
|
6
|
+
export interface SegmentedControlProps {
|
7
|
+
tabs: OptionType[];
|
8
|
+
initialTab: string;
|
9
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
10
|
+
tooltips?: string[];
|
11
|
+
disabled?: boolean;
|
12
|
+
rootClassName?: string;
|
13
|
+
variant?: SegmentedControlVariant;
|
14
|
+
}
|
package/dist/Common/Types.d.ts
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObject } from 'react';
|
2
|
-
import { TippyProps } from '@tippyjs/react';
|
3
2
|
import { Placement } from 'tippy.js';
|
4
3
|
import { UserGroupDTO } from '../Pages/GlobalConfigurations';
|
5
4
|
import { ImageComment, ReleaseTag } from './ImageTags.Types';
|
6
|
-
import { MandatoryPluginBaseStateType,
|
5
|
+
import { MandatoryPluginBaseStateType, RegistryType, RuntimeParamsListItemType, Severity } from '../Shared';
|
7
6
|
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
|
8
7
|
/**
|
9
8
|
* Generic response type object with support for overriding the result type
|
@@ -66,7 +65,7 @@ export interface CheckboxProps {
|
|
66
65
|
id?: string;
|
67
66
|
dataTestId?: string;
|
68
67
|
}
|
69
|
-
export interface TippyCustomizedProps
|
68
|
+
export interface TippyCustomizedProps {
|
70
69
|
theme: TippyTheme;
|
71
70
|
visible?: boolean;
|
72
71
|
heading?: ReactNode | string;
|
@@ -432,10 +431,6 @@ export interface CDMaterialType {
|
|
432
431
|
* Would currently only be received in case of release
|
433
432
|
*/
|
434
433
|
appWorkflowId: number;
|
435
|
-
/**
|
436
|
-
* Denotes trigger blocking due to mandatory tags, (might be used for plugins and other features in future)
|
437
|
-
*/
|
438
|
-
deploymentBlockedState?: PolicyBlockInfo;
|
439
434
|
}
|
440
435
|
export declare enum CDMaterialServiceEnum {
|
441
436
|
ROLLBACK = "rollback",
|
@@ -472,14 +467,6 @@ export interface DownstreamNodesEnvironmentsType {
|
|
472
467
|
environmentId: number;
|
473
468
|
environmentName: string;
|
474
469
|
}
|
475
|
-
export declare enum TriggerBlockType {
|
476
|
-
MANDATORY_TAG = "mandatory-tags",
|
477
|
-
MANDATORY_PLUGIN = "mandatory-plugins"
|
478
|
-
}
|
479
|
-
export interface TriggerBlockedInfo {
|
480
|
-
blockedBy: TriggerBlockType;
|
481
|
-
blockedReason?: string;
|
482
|
-
}
|
483
470
|
export interface CommonNodeAttr extends Pick<MandatoryPluginBaseStateType, 'isTriggerBlocked' | 'pluginBlockState'> {
|
484
471
|
connectingCiPipelineId?: number;
|
485
472
|
parents: string | number[] | string[];
|
@@ -542,7 +529,6 @@ export interface CommonNodeAttr extends Pick<MandatoryPluginBaseStateType, 'isTr
|
|
542
529
|
downstreamEnvironments?: DownstreamNodesEnvironmentsType[];
|
543
530
|
cipipelineId?: number;
|
544
531
|
isDeploymentBlocked?: boolean;
|
545
|
-
triggerBlockedInfo?: TriggerBlockedInfo;
|
546
532
|
}
|
547
533
|
export declare enum DeploymentAppTypes {
|
548
534
|
HELM = "helm",
|
@@ -606,7 +592,6 @@ export interface CDMaterialsMetaInfo {
|
|
606
592
|
*/
|
607
593
|
requestedUserId: number;
|
608
594
|
runtimeParams: RuntimeParamsListItemType[];
|
609
|
-
deploymentBlockedState?: PolicyBlockInfo;
|
610
595
|
}
|
611
596
|
export interface ImagePromotionMaterialInfo {
|
612
597
|
isApprovalPendingForPromotion: boolean;
|
@@ -684,7 +669,7 @@ export interface Strategy {
|
|
684
669
|
config: any;
|
685
670
|
default?: boolean;
|
686
671
|
}
|
687
|
-
export interface CDStage
|
672
|
+
export interface CDStage {
|
688
673
|
status: string;
|
689
674
|
name: string;
|
690
675
|
triggerType: 'AUTOMATIC' | 'MANUAL';
|
@@ -694,14 +679,14 @@ export interface CDStageConfigMapSecretNames {
|
|
694
679
|
configMaps: any[];
|
695
680
|
secrets: any[];
|
696
681
|
}
|
697
|
-
export interface PrePostDeployStageType extends MandatoryPluginBaseStateType
|
682
|
+
export interface PrePostDeployStageType extends MandatoryPluginBaseStateType {
|
698
683
|
isValid: boolean;
|
699
684
|
steps: TaskErrorObj[];
|
700
685
|
triggerType: string;
|
701
686
|
name: string;
|
702
687
|
status: string;
|
703
688
|
}
|
704
|
-
export interface CdPipeline
|
689
|
+
export interface CdPipeline {
|
705
690
|
id: number;
|
706
691
|
environmentId: number;
|
707
692
|
environmentName?: string;
|
@@ -733,7 +718,6 @@ export interface CdPipeline extends Partial<Pick<CommonNodeAttr, 'triggerBlocked
|
|
733
718
|
isProdEnv?: boolean;
|
734
719
|
isGitOpsRepoNotConfigured?: boolean;
|
735
720
|
isDeploymentBlocked?: boolean;
|
736
|
-
isTriggerBlocked?: boolean;
|
737
721
|
}
|
738
722
|
export interface ExternalCiConfig {
|
739
723
|
id: number;
|
package/dist/Common/index.d.ts
CHANGED
@@ -1,2 +1,4 @@
|
|
1
1
|
import { InvalidYAMLTippyWrapperProps } from './types';
|
2
|
-
export declare const getInvalidTippyContent: ({ parsingError, restoreLastSavedYAML, }: Pick<InvalidYAMLTippyWrapperProps, "parsingError" | "restoreLastSavedYAML">
|
2
|
+
export declare const getInvalidTippyContent: ({ type, parsingError, restoreLastSavedYAML, }: Pick<InvalidYAMLTippyWrapperProps, "parsingError" | "restoreLastSavedYAML"> & {
|
3
|
+
type?: "yaml" | "json";
|
4
|
+
}) => JSX.Element;
|
@@ -18,7 +18,7 @@ export interface KeyValueHeader<K extends string> {
|
|
18
18
|
*/
|
19
19
|
export type KeyValueRow<K extends string> = {
|
20
20
|
data: {
|
21
|
-
[key in K]: Pick<ResizableTagTextAreaProps, 'value' | 'disabled' | 'tabIndex'> & {
|
21
|
+
[key in K]: Pick<ResizableTagTextAreaProps, 'value' | 'dataTestId' | 'disabled' | 'tabIndex'> & {
|
22
22
|
/** An optional boolean indicating if an asterisk should be shown. */
|
23
23
|
required?: boolean;
|
24
24
|
};
|
package/dist/Shared/types.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Dayjs } from 'dayjs';
|
2
|
-
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams } from '../Common';
|
3
3
|
import { KeyValueListType } from './Components';
|
4
4
|
import { EnvironmentTypeEnum, PatchOperationType } from './constants';
|
5
5
|
export declare enum EnvType {
|
@@ -585,6 +585,7 @@ export declare enum ConfigurationType {
|
|
585
585
|
GUI = "GUI",
|
586
586
|
YAML = "YAML"
|
587
587
|
}
|
588
|
+
export declare const CONFIGURATION_TYPE_OPTIONS: OptionType<ConfigurationType, ConfigurationType>[];
|
588
589
|
export interface BaseURLParams {
|
589
590
|
appId: string;
|
590
591
|
envId: string;
|
@@ -739,22 +740,4 @@ export interface PreventOutsideFocusProps {
|
|
739
740
|
identifier: string;
|
740
741
|
preventFocus: boolean;
|
741
742
|
}
|
742
|
-
export interface PolicyBlockInfo {
|
743
|
-
isBlocked: boolean;
|
744
|
-
blockedBy: TriggerBlockType;
|
745
|
-
reason: string;
|
746
|
-
}
|
747
|
-
export interface PipelineStageBlockInfo {
|
748
|
-
node: PolicyBlockInfo;
|
749
|
-
pre: PolicyBlockInfo;
|
750
|
-
post: PolicyBlockInfo;
|
751
|
-
}
|
752
|
-
export interface PolicyConsequencesDTO {
|
753
|
-
cd: PipelineStageBlockInfo;
|
754
|
-
ci: PipelineStageBlockInfo;
|
755
|
-
}
|
756
|
-
export interface GetPolicyConsequencesProps {
|
757
|
-
appId: number;
|
758
|
-
envId: number;
|
759
|
-
}
|
760
743
|
export {};
|