@devtron-labs/devtron-fe-common-lib 0.2.3 → 0.2.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/Common/CodeEditor/types.d.ts +2 -1
- package/dist/Common/Constants.d.ts +4 -0
- package/dist/Shared/types.d.ts +7 -0
- package/dist/Shared/validations.d.ts +3 -0
- package/dist/{cssMode-8bbe7b26.js → cssMode-fd39d23a.js} +1 -1
- package/dist/{freemarker2-4e38f3fa.js → freemarker2-b0c1b42f.js} +1 -1
- package/dist/{handlebars-6a218f19.js → handlebars-4f8604db.js} +1 -1
- package/dist/{html-1e977516.js → html-e27eca1d.js} +1 -1
- package/dist/{htmlMode-1f60bcaa.js → htmlMode-cd7005f2.js} +1 -1
- package/dist/{index-1677d859.js → index-333d39d1.js} +6518 -6484
- package/dist/index.d.ts +2 -0
- package/dist/index.js +201 -199
- package/dist/{javascript-8e82bcb7.js → javascript-e1905ef8.js} +1 -1
- package/dist/{jsonMode-1a629e71.js → jsonMode-e6af9770.js} +1 -1
- package/dist/{liquid-e957c145.js → liquid-070f6f2b.js} +1 -1
- package/dist/{mdx-5fda765d.js → mdx-4017fc34.js} +1 -1
- package/dist/{python-ba467742.js → python-f87167e9.js} +1 -1
- package/dist/{razor-ddd16486.js → razor-6ad674f6.js} +1 -1
- package/dist/{tsMode-b43d8821.js → tsMode-822cce51.js} +1 -1
- package/dist/{typescript-7315f3a1.js → typescript-45b0a845.js} +1 -1
- package/dist/{xml-19a6afe6.js → xml-548f7e19.js} +1 -1
- package/dist/{yaml-605c2eab.js → yaml-8ba27eeb.js} +1 -1
- package/package.json +1 -1
|
@@ -62,7 +62,8 @@ export declare enum CodeEditorThemesKeys {
|
|
|
62
62
|
vsDarkDT = "vs-dark--dt",
|
|
63
63
|
deleteDraft = "delete-draft",
|
|
64
64
|
unpublished = "unpublished",
|
|
65
|
-
vs = "vs"
|
|
65
|
+
vs = "vs",
|
|
66
|
+
networkStatusInterface = "network-status-interface"
|
|
66
67
|
}
|
|
67
68
|
export interface CodeEditorInitialValueType {
|
|
68
69
|
mode: string;
|
|
@@ -43,6 +43,7 @@ export declare const URLS: {
|
|
|
43
43
|
GLOBAL_CONFIG_DOCKER: string;
|
|
44
44
|
DEPLOYMENT_HISTORY_CONFIGURATIONS: string;
|
|
45
45
|
GLOBAL_CONFIG_SCOPED_VARIABLES: string;
|
|
46
|
+
NETWORK_STATUS_INTERFACE: string;
|
|
46
47
|
};
|
|
47
48
|
export declare const ROUTES: {
|
|
48
49
|
APP: string;
|
|
@@ -76,6 +77,9 @@ export declare const ROUTES: {
|
|
|
76
77
|
CONFIG_CD_PIPELINE: string;
|
|
77
78
|
MODULE_CONFIGURED: string;
|
|
78
79
|
RESOURCE_HISTORY_DEPLOYMENT: string;
|
|
80
|
+
ATTRIBUTES: string;
|
|
81
|
+
ATTRIBUTES_CREATE: string;
|
|
82
|
+
ATTRIBUTES_UPDATE: string;
|
|
79
83
|
APP_LIST_MIN: string;
|
|
80
84
|
CLUSTER_LIST_MIN: string;
|
|
81
85
|
PLUGIN_GLOBAL_LIST_DETAIL_V2: string;
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -541,6 +541,13 @@ export interface BatchConfigType {
|
|
|
541
541
|
export interface scrollableInterface {
|
|
542
542
|
autoBottomScroll: boolean;
|
|
543
543
|
}
|
|
544
|
+
export declare enum URLProtocolType {
|
|
545
|
+
HTTP = "http:",
|
|
546
|
+
HTTPS = "https:",
|
|
547
|
+
SSH = "ssh:",
|
|
548
|
+
SMTP = "smtp:",
|
|
549
|
+
S3 = "s3:"
|
|
550
|
+
}
|
|
544
551
|
export type BaseFilterQueryParams<T> = {
|
|
545
552
|
/**
|
|
546
553
|
* Offset for the list result
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { URLProtocolType } from './types';
|
|
2
|
+
|
|
1
3
|
export interface ValidationResponseType {
|
|
2
4
|
isValid: boolean;
|
|
3
5
|
message?: string;
|
|
@@ -20,6 +22,7 @@ export declare const validateStringLength: (value: string, maxLimit: number, min
|
|
|
20
22
|
export declare const validateRequiredPositiveNumber: (value: string | number) => ValidationResponseType;
|
|
21
23
|
export declare const validateRequiredPositiveInteger: (value: string | number) => ValidationResponseType;
|
|
22
24
|
export declare const validateURL: (url: string, allowBase64Url?: boolean) => ValidationResponseType;
|
|
25
|
+
export declare const validateProtocols: (url: string, protocols: URLProtocolType[], isRequired?: boolean) => ValidationResponseType;
|
|
23
26
|
export declare const validateIfImageExist: (url: string) => Promise<ValidationResponseType>;
|
|
24
27
|
export declare const validateUniqueKeys: (keys: string[]) => {
|
|
25
28
|
isValid: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Le = Object.defineProperty;
|
|
2
2
|
var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Ne } from "./index-
|
|
4
|
+
import { m as Ne } from "./index-333d39d1.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as F } from "./index-
|
|
1
|
+
import { m as F } from "./index-333d39d1.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as i } from "./index-
|
|
1
|
+
import { m as i } from "./index-333d39d1.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as d } from "./index-
|
|
1
|
+
import { m as d } from "./index-333d39d1.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var $e = Object.defineProperty;
|
|
2
2
|
var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Qe } from "./index-
|
|
4
|
+
import { m as Qe } from "./index-333d39d1.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|