@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.
@@ -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;
@@ -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-1677d859.js";
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-1677d859.js";
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-1677d859.js";
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-1677d859.js";
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-1677d859.js";
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)