@devtron-labs/devtron-fe-common-lib 1.10.10 → 1.10.15

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.
@@ -1,7 +1,7 @@
1
1
  import { j as n, au as y, aw as k, av as W } from "./@vendor-DZHtXPTX.js";
2
2
  import V, { forwardRef as J, useMemo as P } from "react";
3
3
  import K, { getDefaultRegistry as q } from "@rjsf/core";
4
- import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-CZMd9qEI.js";
4
+ import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-BlW2glPL.js";
5
5
  import Q, { components as D } from "react-select";
6
6
  import { ReactComponent as X } from "./assets/ic-chevron-down.fc70d7a7.svg";
7
7
  import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as Z, ADDITIONAL_PROPERTY_FLAG as L, errorId as ee, englishStringTranslator as te, TranslatableString as ne, titleId as re, canExpand as se, deepEquals as ae } from "@rjsf/utils";
@@ -1,3 +1,4 @@
1
1
  import { HelpOptionType } from './types';
2
2
  export declare const EnterpriseHelpOptions: HelpOptionType[];
3
3
  export declare const OSSHelpOptions: HelpOptionType[];
4
+ export declare const TrialHelpOptions: HelpOptionType[];
@@ -3,3 +3,4 @@ export declare const getDateInMilliseconds: (days: any) => number;
3
3
  export declare const handlePostHogEventUpdate: (eventName: string) => Promise<void>;
4
4
  export declare const setActionWithExpiry: (key: string, days: number) => void;
5
5
  export declare const getIsShowingLicenseData: (licenseData: DevtronLicenseInfo) => boolean;
6
+ export declare const getHelpOptions: (isEnterprise: boolean, isTrial: boolean) => import('./types').HelpOptionType[];
@@ -4,7 +4,7 @@ import { Pair } from 'yaml';
4
4
  import { StrictRJSFSchema } from '@rjsf/utils';
5
5
  import { MaterialHistoryType } from '@Shared/Services/app.types';
6
6
  import { MaterialInfo, SortingOrder, UserApprovalConfigType, ApprovalConfigDataType, UserApprovalInfo } from '../Common';
7
- import { BorderConfigType, CentralAPILocalConfig, GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
7
+ import { BorderConfigType, GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
8
8
  import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
9
9
  interface HighlightSearchTextProps {
10
10
  /**
@@ -101,10 +101,4 @@ export declare const deriveBorderRadiusAndBorderClassFromConfig: ({ borderConfig
101
101
  }) => string;
102
102
  export declare const getClassNameForStickyHeaderWithShadow: (isStuck: boolean, topClassName?: string) => string;
103
103
  export declare const clearCookieOnLogout: () => void;
104
- export declare const getCentralAPIHealthObjectFromLocalStorage: () => CentralAPILocalConfig;
105
- /**
106
- *
107
- * @returns null if we do not know yet
108
- */
109
- export declare const getCentralAPIHealthFromLocalStorage: () => boolean | null;
110
104
  export {};
@@ -35,6 +35,7 @@ export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitO
35
35
  isAirGapEnvironment: boolean;
36
36
  isManifestScanningEnabled: boolean;
37
37
  canOnlyViewPermittedEnvOrgLevel: boolean;
38
+ devtronManagedLicensingEnabled: boolean;
38
39
  }
39
40
  export interface GetUserPreferencesQueryParamsType {
40
41
  key: typeof USER_PREFERENCES_ATTRIBUTE_KEY;
@@ -420,5 +420,4 @@ export declare const Routes: {
420
420
  WORKFLOW: string;
421
421
  };
422
422
  export declare const ENTERPRISE_SUPPORT_LINK = "enterprise@devtron.ai";
423
- export declare const CENTRAL_API_LOCAL_STORAGE_KEY = "central-api-connection-config";
424
423
  export declare const INVALID_LICENSE_KEY = "inValid";
@@ -931,11 +931,6 @@ export type DevtronLicenseDTO<isCentralDashboard extends boolean = false> = Devt
931
931
  licenseStatusError?: LicenseErrorStruct;
932
932
  });
933
933
  export type CountryISO2Type = ParsedCountry['iso2'];
934
- export interface CentralAPILocalConfig {
935
- lastUpdatedDate: string;
936
- isConnected: boolean | null;
937
- updateCount: number;
938
- }
939
934
  export declare enum ResponseHeaders {
940
935
  LICENSE_STATUS = "X-License-Status"
941
936
  }