@devtron-labs/devtron-fe-common-lib 0.2.2-beta-20 → 0.2.2-beta-21

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.
@@ -24,6 +24,7 @@ export declare const getIsMaterialInfoAvailable: (materialInfo: MaterialInfo[])
24
24
  export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTriggers;
25
25
  export declare const stringComparatorBySortOrder: (a: string, b: string, sortOrder?: SortingOrder, isCaseSensitive?: boolean) => number;
26
26
  export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrder?: SortingOrder) => number;
27
+ export declare function versionComparatorBySortOrder(a: Record<string, any>, b: Record<string, any>, compareKey: string, orderBy: SortingOrder): any;
27
28
  export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
28
29
  export declare const useIntersection: (target: React.RefObject<Element> | Element | null, options?: IntersectionOptions, callback?: IntersectionChangeHandler) => boolean;
29
30
  export declare const isNullOrUndefined: (value: unknown) => boolean;
@@ -36,5 +37,4 @@ export declare const decode: (data: any, isEncoded?: boolean) => {};
36
37
  export declare const isTimeStringAvailable: (time: string) => boolean;
37
38
  export declare const getTimeDifference: (startTime: string, endTime: string) => string;
38
39
  export declare const getFileNameFromHeaders: (headers: Headers) => string;
39
- export declare function versionComparator(a: Record<string, any>, b: Record<string, any>, compareKey: string, orderBy: SortingOrder): any;
40
40
  export {};
@@ -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-e22e6c69.js";
4
+ import { m as Ne } from "./index-fa0a0c93.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-e22e6c69.js";
1
+ import { m as F } from "./index-fa0a0c93.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-e22e6c69.js";
1
+ import { m as i } from "./index-fa0a0c93.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-e22e6c69.js";
1
+ import { m as d } from "./index-fa0a0c93.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-e22e6c69.js";
4
+ import { m as Qe } from "./index-fa0a0c93.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)