@devtron-labs/devtron-fe-common-lib 0.0.95-beta-4 → 0.0.95-beta-6

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.
@@ -3,6 +3,7 @@ import { RegistryTypeDetailType } from './Types';
3
3
  export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
4
4
  export declare const Host: string;
5
5
  export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
6
+ export declare const DOCUMENTATION_VERSION = "/v/v0.7";
6
7
  export declare const DISCORD_LINK = "https://discord.devtron.ai/";
7
8
  export declare const DOCUMENTATION: {
8
9
  APP_TAGS: string;
@@ -60,35 +60,11 @@ export declare const customStyles: {
60
60
  dropdownIndicator: (base: any, state: any) => any;
61
61
  };
62
62
  export declare const getFilteredChartVersions: (charts: any, selectedChartType: any) => any;
63
- /**
64
- * This function takes a list of strings and checks if the strings
65
- * have prefix matches in the list of prefixes
66
- * @param strings check if a @string has a prefix match in @prefixes
67
- * @param prefixes list of prefixes
68
- * @returns array of booleans corresponding to each string in @strings
69
- */
70
- export declare const getPrefixMatches: (strings: string[], prefixes: string[]) => boolean[];
71
- /**
72
- * Merges @objects into one
73
- * @param objects list of js objects
74
- * @returns object after the merge
75
- */
76
- export declare const joinObjects: (objects: object[]) => {};
77
- /**
78
- * Builds an object from the provided @path
79
- * @param path JSON pointer path of the form /path/to/1/...
80
- * @param value property value
81
- * @returns final object formed from the path
82
- */
83
- export declare const buildObjectFromPath: (path: string, value: any) => any;
84
- /**
85
- * Returns the list of indices at which the regex matched
86
- * @param string the string to process
87
- * @param regex @RegExp
88
- * @returns array of indices where the @regex matched in @string
89
- */
90
- export declare const getRegexMatchPositions: (string: string, regex: RegExp) => number[];
91
- export declare const powerSetOfSubstringsFromStart: (strings: string[]) => string[];
63
+ export declare function getUnlockedJSON(json: any, jsonPathArray: any, removeParentKeysAndEmptyArrays?: boolean): {
64
+ newDocument: any;
65
+ removedPatches: any[];
66
+ };
67
+ export declare function getLockedJSON(json: any, jsonPathArray: string[]): any;
92
68
  /**
93
69
  * Returns a debounced variant of the function
94
70
  */
@@ -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-059e8326.js";
4
+ import { m as Ne } from "./index-cdf4c791.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-059e8326.js";
1
+ import { m as F } from "./index-cdf4c791.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-059e8326.js";
1
+ import { m as i } from "./index-cdf4c791.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-059e8326.js";
1
+ import { m as d } from "./index-cdf4c791.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-059e8326.js";
4
+ import { m as Qe } from "./index-cdf4c791.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)