@devtron-labs/devtron-fe-common-lib 1.2.5-beta-2 → 1.2.5-beta-4
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-FfpW9Zgu.js → @code-editor-5-4154yS.js} +2334 -2023
- package/dist/{@common-rjsf-BPMGz1JV.js → @common-rjsf-CBLLPePy.js} +2 -2
- package/dist/{@framer-motion-ttHHVvcU.js → @framer-motion-DHY98qq3.js} +1 -1
- package/dist/{@react-dates-BYL_9BKq.js → @react-dates-WNnwjI5S.js} +20 -20
- package/dist/{@react-select-C2X4wjQ5.js → @react-select-BbR996pa.js} +1 -1
- package/dist/{@vendor-qw62fvSw.js → @vendor-RU8AW1bK.js} +3948 -3909
- package/dist/Common/CodeEditor/jsonSchema.json.d.ts +237 -0
- 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/index.d.ts +1 -0
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +1 -1
- package/dist/Shared/types.d.ts +1 -0
- package/dist/index.js +554 -551
- package/package.json +1 -1
- package/dist/@monaco-editor-34kqzg3G.js +0 -70451
- package/dist/assets/@monaco-editor.css +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;
|
@@ -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/index.d.ts
CHANGED
@@ -11,7 +11,7 @@ export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
|
|
11
11
|
isScanned: boolean;
|
12
12
|
isScanEnabled: boolean;
|
13
13
|
SecurityModalSidebar: React.FC<SidebarPropsType>;
|
14
|
-
getSecurityScan: (props: Pick<AppDetailsPayload, 'appId' | 'artifactId'>) => Promise<ResponseType<ApiResponseResultType>>;
|
14
|
+
getSecurityScan: (props: Pick<AppDetailsPayload, 'appId' | 'envId' | 'artifactId'>) => Promise<ResponseType<ApiResponseResultType>>;
|
15
15
|
}
|
16
16
|
export interface SecurityDetailsType {
|
17
17
|
vulnerabilities: VulnerabilityType[];
|
package/dist/Shared/types.d.ts
CHANGED
@@ -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;
|