@devtron-labs/devtron-fe-common-lib 0.0.83-beta-6 → 0.0.83-beta-8

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.
Files changed (37) hide show
  1. package/dist/Common/Api.d.ts +1 -1
  2. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +0 -2
  3. package/dist/Common/BreadCrumb/Types.d.ts +0 -4
  4. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  5. package/dist/Common/SearchBar/types.d.ts +0 -4
  6. package/dist/Common/Types.d.ts +1 -2
  7. package/dist/Common/index.d.ts +1 -1
  8. package/dist/Shared/Components/ReactSelect/index.d.ts +0 -1
  9. package/dist/Shared/Components/index.d.ts +0 -1
  10. package/dist/Shared/constants.d.ts +1 -0
  11. package/dist/Shared/types.d.ts +11 -0
  12. package/dist/assets/index.css +1 -1
  13. package/dist/{cssMode-af56683d.js → cssMode-23b0cd7f.js} +1 -1
  14. package/dist/{freemarker2-d260d220.js → freemarker2-9814449c.js} +1 -1
  15. package/dist/{handlebars-1b003e23.js → handlebars-594a035b.js} +1 -1
  16. package/dist/{html-12fcd27e.js → html-bc6230a8.js} +1 -1
  17. package/dist/{htmlMode-70ae3edc.js → htmlMode-91b229f0.js} +1 -1
  18. package/dist/{index-9efaed8a.js → index-f2eddf63.js} +12502 -12720
  19. package/dist/index.js +302 -304
  20. package/dist/{javascript-fd2f7dc3.js → javascript-2020b19a.js} +1 -1
  21. package/dist/{jsonMode-d1406945.js → jsonMode-10d83de8.js} +1 -1
  22. package/dist/{liquid-bd83a538.js → liquid-15729374.js} +1 -1
  23. package/dist/{mdx-09fefedd.js → mdx-206632c4.js} +1 -1
  24. package/dist/{python-4ec0ce62.js → python-737e2fe6.js} +1 -1
  25. package/dist/{razor-6175e50e.js → razor-18933201.js} +1 -1
  26. package/dist/{tsMode-213a5cd7.js → tsMode-414f94b0.js} +1 -1
  27. package/dist/{typescript-a2c97a6d.js → typescript-ec120bb2.js} +1 -1
  28. package/dist/{xml-9ff2eed9.js → xml-7ecec7e0.js} +1 -1
  29. package/dist/{yaml-8e94b7f3.js → yaml-0fa29038.js} +1 -1
  30. package/package.json +1 -1
  31. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +0 -3
  32. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +0 -4
  33. package/dist/Shared/Components/FeatureDescription/constant.d.ts +0 -8
  34. package/dist/Shared/Components/FeatureDescription/index.d.ts +0 -2
  35. package/dist/Shared/Components/FeatureDescription/types.d.ts +0 -20
  36. package/dist/Shared/Components/FeatureDescription/utils.d.ts +0 -6
  37. package/dist/Shared/Components/ReactSelect/constants.d.ts +0 -14
@@ -13,4 +13,4 @@ export declare const abortPreviousRequests: <T>(callback: () => Promise<T>, abor
13
13
  /**
14
14
  * Returns true if the error is due to a aborted request
15
15
  */
16
- export declare const getIsRequestAborted: (error: any) => boolean;
16
+ export declare const getIsRequestAborted: (error: any) => any;
@@ -1,7 +1,5 @@
1
- import { BreadcrumbTextProps } from './Types';
2
1
  import { default as React } from 'react';
3
2
 
4
- export declare const BreadcrumbText: ({ heading, isActive }: BreadcrumbTextProps) => JSX.Element;
5
3
  declare const Store: ({ children }: {
6
4
  children: any;
7
5
  }) => JSX.Element;
@@ -26,7 +26,3 @@ export interface Breadcrumbs {
26
26
  className?: string;
27
27
  }
28
28
  export type UseBreadcrumbOptionalProps = UseBreadcrumbProps | null;
29
- export interface BreadcrumbTextProps {
30
- heading: string;
31
- isActive?: boolean;
32
- }
@@ -34,5 +34,5 @@ import { SearchBarProps } from './types';
34
34
  * <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
35
35
  * ```
36
36
  */
37
- declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, }: SearchBarProps) => JSX.Element;
37
+ declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, }: SearchBarProps) => JSX.Element;
38
38
  export default SearchBar;
@@ -32,8 +32,4 @@ export interface SearchBarProps {
32
32
  * Timeout for the debounce handler to be triggered
33
33
  */
34
34
  debounceTimeout?: number;
35
- /**
36
- * Data test id for the search input
37
- */
38
- dataTestId?: string;
39
35
  }
@@ -136,8 +136,7 @@ export interface ErrorScreenNotAuthorizedProps {
136
136
  }
137
137
  export declare enum ImageType {
138
138
  Large = "large",
139
- Medium = "medium",
140
- SMALL = "small"
139
+ Medium = "medium"
141
140
  }
142
141
  export interface InfoColourBarType {
143
142
  message: React.ReactNode;
@@ -14,7 +14,7 @@ export * from './Modals/OpaqueModal';
14
14
  export * from './Modals/VisibleModal';
15
15
  export * from './Modals/VisibleModal2';
16
16
  export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
17
- export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
17
+ export { default as BreadcrumbStore } from './BreadCrumb/BreadcrumbStore';
18
18
  export { default as RadioGroup } from './RadioGroup';
19
19
  export { default as RadioGroupItem } from './RadioGroupItem';
20
20
  export { default as PopupMenu } from './PopupMenu';
@@ -1,2 +1 @@
1
1
  export * from './utils';
2
- export * from './constants';
@@ -17,4 +17,3 @@ export * from './Header';
17
17
  export * from './AnnouncementBanner';
18
18
  export * from './ButtonWithLoader';
19
19
  export * from './ButtonWithSelector';
20
- export * from './FeatureDescription';
@@ -29,6 +29,7 @@ export declare const ModuleNameMap: {
29
29
  };
30
30
  export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
31
31
  export declare const API_TOKEN_PREFIX = "API-TOKEN:";
32
+ export declare const DEFAULT_SECRET_PLACEHOLDER = "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022";
32
33
  export declare enum PatchOperationType {
33
34
  replace = "replace",
34
35
  remove = "remove"
@@ -265,3 +265,14 @@ export declare enum AggregationKeys {
265
265
  Namespaces = "Namespaces"
266
266
  }
267
267
  export type AggregationKeysType = keyof typeof AggregationKeys;
268
+ export declare enum GitOpsAuthModeType {
269
+ SSH = "SSH",
270
+ PASSWORD = "PASSWORD"
271
+ }
272
+ export interface BaseGitOpsType {
273
+ authMode: GitOpsAuthModeType;
274
+ sshKey: string;
275
+ sshHost: string;
276
+ username: string;
277
+ }
278
+ export type GitOpsFieldKeyType = 'host' | 'username' | 'token' | 'gitHubOrgId' | 'azureProjectName' | 'gitLabGroupId' | 'bitBucketWorkspaceId' | 'bitBucketProjectKey' | 'sshHost' | 'sshKey';