@devtron-labs/devtron-fe-common-lib 1.22.8-beta-5 → 1.22.8-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.
@@ -1,7 +1,7 @@
1
1
  import { j as n, aM as v, aO as J, aN as K } from "./@vendor-CtCMPfdc.js";
2
2
  import V, { useState as q, useEffect as Y, forwardRef as G, useMemo as E } from "react";
3
3
  import z, { getDefaultRegistry as Q } from "@rjsf/core";
4
- import { T as O, j as w, c as N, b as F, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-DIeTHBtL.js";
4
+ import { T as O, j as w, c as N, b as F, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-D0Mb4nKr.js";
5
5
  import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as re, ADDITIONAL_PROPERTY_FLAG as L, errorId as se, englishStringTranslator as ae, TranslatableString as oe, titleId as le, canExpand as ie, deepEquals as ce } from "@rjsf/utils";
6
6
  import { ReactComponent as de } from "./assets/ic-add.cfaa779b.svg";
7
7
  import { ReactComponent as ue } from "./assets/ic-warning.ecf7ff97.svg";
@@ -8,9 +8,6 @@ export type ClipboardProps = ({
8
8
  } | {
9
9
  variant: 'button--secondary';
10
10
  size: ComponentSizeType;
11
- } | {
12
- variant: 'borderLess';
13
- size: ComponentSizeType;
14
11
  }) & {
15
12
  content: string;
16
13
  /**
@@ -1,5 +1,5 @@
1
1
  import { MutableRefObject } from 'react';
2
- import { RegistryType, RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
2
+ import { RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
3
3
  import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps, EnvironmentsGroupedByClustersType, AppsGroupedByProjectsType, ClusterDetailListType } from './Types';
4
4
  import { ApiResourceType } from '../Pages';
5
5
  export declare const getTeamListMin: () => Promise<TeamList>;
@@ -39,14 +39,3 @@ export declare const getAppsInfoForEnv: ({ envId, appIds }: GetAppsInfoForEnvPro
39
39
  export declare const getAppOptionsGroupedByProjects: () => Promise<AppsGroupedByProjectsType>;
40
40
  export declare const getEnvironmentOptionsGroupedByClusters: () => Promise<EnvironmentsGroupedByClustersType>;
41
41
  export declare const getDetailedClusterList: (clusterIds?: number[], signal?: AbortSignal) => Promise<ClusterDetailListType[]>;
42
- export declare const getDockerRegistriesListMin: (signal: AbortSignal) => Promise<ResponseType<{
43
- id: string;
44
- registryType: RegistryType;
45
- isDefault: boolean;
46
- }[]>>;
47
- export declare const getGitProvidersListMin: (signal: AbortSignal) => Promise<ResponseType<{
48
- id: number;
49
- name: string;
50
- url: string;
51
- authMode: "SSH" | "USERNAME_PASSWORD" | "ANONYMOUS";
52
- }[]>>;
@@ -10,7 +10,6 @@ export declare const LICENSE_DASHBOARD_HOME_PAGE = "https://license.devtron.ai/d
10
10
  export declare const DEVTRON_GPT_LINK = "https://chatgpt.com/g/g-6826efa4362c8191b23e7bfa0ac036db-devtron-expert";
11
11
  export declare const PATTERNS: {
12
12
  STRING: RegExp;
13
- APP_NAME: string;
14
13
  DECIMAL_NUMBERS: RegExp;
15
14
  POSITIVE_DECIMAL_NUMBERS: RegExp;
16
15
  NATURAL_NUMBERS: RegExp;
@@ -180,8 +179,6 @@ export declare const ROUTES: {
180
179
  readonly ENV: "env";
181
180
  readonly APP_METADATA: "app-metadata";
182
181
  readonly RESOURCE_CONFLICTS_LIST: "app/:appId/cd-pipeline/:pipelineId/history/:wfrId/helm-ownership-conflicts";
183
- readonly GIT_PROVIDER_MIN: "git/provider/autocomplete";
184
- readonly DOCKER_REGISTRY_MIN: "docker/registry/autocomplete";
185
182
  };
186
183
  export declare enum KEY_VALUE {
187
184
  KEY = "key",
@@ -211,7 +211,6 @@ export declare const iconMap: {
211
211
  'ic-magic-wand': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
212
212
  'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
213
213
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
214
- 'ic-medium-megaphone': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
215
214
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
216
215
  'ic-megaphone-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
217
216
  'ic-megaphone-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -301,9 +300,7 @@ export declare const iconMap: {
301
300
  'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
302
301
  'ic-terminal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
303
302
  'ic-thermometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
304
- 'ic-thumb-down-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
305
303
  'ic-thumb-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
306
- 'ic-thumb-up-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
307
304
  'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
308
305
  'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
309
306
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- export { getProjectOptions } from './service';
2
1
  export type { UseGetResourceKindOptionsReturnType, UseGetResourceKindsOptionsProps } from './types';
3
2
  export { default as useGetResourceKindsOptions } from './useGetResourceKindsOptions';
@@ -152,7 +152,6 @@ export type MainContext = CommonMainContextProps & ({
152
152
  setTempAppWindowConfig: Dispatch<SetStateAction<TempAppWindowConfig>>;
153
153
  AIRecommendations?: FunctionComponent;
154
154
  featureAskDevtronExpert: EnvironmentDataValuesDTO['featureAskDevtronExpert'];
155
- AskDevtronButton?: FunctionComponent;
156
155
  } | {
157
156
  isLicenseDashboard: true;
158
157
  serverMode: null;
@@ -172,7 +171,6 @@ export type MainContext = CommonMainContextProps & ({
172
171
  setTempAppWindowConfig: null;
173
172
  AIRecommendations?: null;
174
173
  featureAskDevtronExpert?: null;
175
- AskDevtronButton?: null;
176
174
  });
177
175
  export interface MainContextProviderProps {
178
176
  children: ReactNode;
@@ -62,4 +62,3 @@ export declare const validateYAML: (yamlString: string, isRequired?: boolean) =>
62
62
  export declare const validateEmail: (email: string) => ValidationResponseType;
63
63
  export declare const getIsRegexValid: (regexString: string) => ValidationResponseType;
64
64
  export declare const validateCronExpression: (expression: string) => ValidationResponseType;
65
- export declare const validateAppName: (value: string) => Required<ValidationResponseType>;