@devtron-labs/devtron-fe-common-lib 0.0.23 → 0.0.25
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.
|
@@ -57,3 +57,8 @@ export declare const BuildStageVariable: {
|
|
|
57
57
|
PostBuild: string;
|
|
58
58
|
};
|
|
59
59
|
export declare const REGISTRY_TYPE_MAP: Record<string, RegistryTypeDetailType>;
|
|
60
|
+
export declare const RepositoryAction: {
|
|
61
|
+
CONTAINER: string;
|
|
62
|
+
CHART_PULL: string;
|
|
63
|
+
CHART_PUSH: string;
|
|
64
|
+
};
|
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -42,5 +42,4 @@ export declare function CustomInput({ name, value, error, onChange, onBlur, onFo
|
|
|
42
42
|
}): JSX.Element;
|
|
43
43
|
export declare function handleUTCTime(ts: string, isRelativeTime?: boolean): string;
|
|
44
44
|
export declare function useSearchString(): UseSearchString;
|
|
45
|
-
export declare const closeOnEscKeyPressed: (e: any, actionClose: () => void) => void;
|
|
46
45
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -116,7 +116,7 @@ var REGISTRY_TYPE_MAP = {
|
|
|
116
116
|
defaultRegistryURL: 'docker.io',
|
|
117
117
|
registryURL: {
|
|
118
118
|
label: 'Registry URL',
|
|
119
|
-
defaultValue: '
|
|
119
|
+
defaultValue: '',
|
|
120
120
|
placeholder: '',
|
|
121
121
|
},
|
|
122
122
|
id: {
|
|
@@ -208,7 +208,7 @@ var REGISTRY_TYPE_MAP = {
|
|
|
208
208
|
defaultRegistryURL: 'quay.io',
|
|
209
209
|
registryURL: {
|
|
210
210
|
label: 'Registry URL',
|
|
211
|
-
defaultValue: '
|
|
211
|
+
defaultValue: '',
|
|
212
212
|
placeholder: '',
|
|
213
213
|
},
|
|
214
214
|
id: {
|
|
@@ -245,6 +245,11 @@ var REGISTRY_TYPE_MAP = {
|
|
|
245
245
|
placeholder: '',
|
|
246
246
|
},
|
|
247
247
|
},
|
|
248
|
+
};
|
|
249
|
+
var RepositoryAction = {
|
|
250
|
+
CONTAINER: "CONTAINER",
|
|
251
|
+
CHART_PULL: "CHART_PULL",
|
|
252
|
+
CHART_PUSH: "CHART_PUSH"
|
|
248
253
|
};
|
|
249
254
|
|
|
250
255
|
/******************************************************************************
|
|
@@ -10094,12 +10099,7 @@ function useSearchString() {
|
|
|
10094
10099
|
return agg;
|
|
10095
10100
|
}, {});
|
|
10096
10101
|
return { queryParams: queryParams, searchParams: searchParams };
|
|
10097
|
-
}
|
|
10098
|
-
var closeOnEscKeyPressed = function (e, actionClose) {
|
|
10099
|
-
if (e.keyCode === 27 || e.key === 'Escape') {
|
|
10100
|
-
actionClose();
|
|
10101
|
-
}
|
|
10102
|
-
};
|
|
10102
|
+
}
|
|
10103
10103
|
|
|
10104
10104
|
function Progressing(_a) {
|
|
10105
10105
|
var pageLoader = _a.pageLoader, size = _a.size, theme = _a.theme, styles = _a.styles, fillColor = _a.fillColor;
|
|
@@ -23392,6 +23392,7 @@ exports.ROUTES = ROUTES;
|
|
|
23392
23392
|
exports.RadioGroup = RadioGroup$1;
|
|
23393
23393
|
exports.RadioGroupItem = RadioGroupItem;
|
|
23394
23394
|
exports.Reload = Reload;
|
|
23395
|
+
exports.RepositoryAction = RepositoryAction;
|
|
23395
23396
|
exports.RequestTimeout = RequestTimeout;
|
|
23396
23397
|
exports.ResizableTagTextArea = ResizableTagTextArea;
|
|
23397
23398
|
exports.ResizableTextarea = ResizableTextarea;
|
|
@@ -23415,7 +23416,6 @@ exports.TriggerTypeMap = TriggerTypeMap;
|
|
|
23415
23416
|
exports.URLS = URLS;
|
|
23416
23417
|
exports.VisibleModal = VisibleModal;
|
|
23417
23418
|
exports.VisibleModal2 = VisibleModal2;
|
|
23418
|
-
exports.closeOnEscKeyPressed = closeOnEscKeyPressed;
|
|
23419
23419
|
exports.createGitCommitUrl = createGitCommitUrl;
|
|
23420
23420
|
exports.extractImage = extractImage;
|
|
23421
23421
|
exports.get = get;
|
package/package.json
CHANGED
package/src/Common/Constants.ts
CHANGED
|
@@ -102,7 +102,7 @@ export const REGISTRY_TYPE_MAP: Record<string, RegistryTypeDetailType> = {
|
|
|
102
102
|
defaultRegistryURL: 'docker.io',
|
|
103
103
|
registryURL: {
|
|
104
104
|
label: 'Registry URL',
|
|
105
|
-
defaultValue: '
|
|
105
|
+
defaultValue: '',
|
|
106
106
|
placeholder: '',
|
|
107
107
|
},
|
|
108
108
|
id: {
|
|
@@ -195,7 +195,7 @@ export const REGISTRY_TYPE_MAP: Record<string, RegistryTypeDetailType> = {
|
|
|
195
195
|
defaultRegistryURL: 'quay.io',
|
|
196
196
|
registryURL: {
|
|
197
197
|
label: 'Registry URL',
|
|
198
|
-
defaultValue: '
|
|
198
|
+
defaultValue: '',
|
|
199
199
|
placeholder: '',
|
|
200
200
|
},
|
|
201
201
|
id: {
|
|
@@ -232,4 +232,10 @@ export const REGISTRY_TYPE_MAP: Record<string, RegistryTypeDetailType> = {
|
|
|
232
232
|
placeholder: '',
|
|
233
233
|
},
|
|
234
234
|
},
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export const RepositoryAction = {
|
|
238
|
+
CONTAINER: "CONTAINER",
|
|
239
|
+
CHART_PULL: "CHART_PULL",
|
|
240
|
+
CHART_PUSH: "CHART_PUSH"
|
|
235
241
|
}
|
package/src/Common/Helper.tsx
CHANGED