@devtron-labs/devtron-fe-common-lib 0.0.94-beta-1 → 0.0.94-beta-2

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 (41) hide show
  1. package/dist/Common/Reload.d.ts +0 -3
  2. package/dist/Shared/Components/index.d.ts +0 -4
  3. package/dist/Shared/Helpers.d.ts +1 -0
  4. package/dist/Shared/Services/index.d.ts +0 -2
  5. package/dist/Shared/constants.d.ts +1 -0
  6. package/dist/Shared/types.d.ts +13 -0
  7. package/dist/assets/index.css +1 -1
  8. package/dist/{cssMode-47260d27.js → cssMode-86baa526.js} +1 -1
  9. package/dist/{freemarker2-dfdf1e8a.js → freemarker2-1a67f23f.js} +1 -1
  10. package/dist/{handlebars-851a624f.js → handlebars-b9d0b595.js} +1 -1
  11. package/dist/{html-4d33a861.js → html-be4b5f78.js} +1 -1
  12. package/dist/{htmlMode-dea4933c.js → htmlMode-5c0c3616.js} +1 -1
  13. package/dist/{index-f805e9d1.js → index-5a78d018.js} +17124 -17332
  14. package/dist/index.d.ts +0 -1
  15. package/dist/index.js +389 -392
  16. package/dist/{javascript-5d11c26a.js → javascript-7acf9c8d.js} +1 -1
  17. package/dist/{jsonMode-736c0d98.js → jsonMode-e0de67f4.js} +1 -1
  18. package/dist/{liquid-c1c0f05a.js → liquid-b809116f.js} +1 -1
  19. package/dist/{mdx-e54bb483.js → mdx-c160144d.js} +1 -1
  20. package/dist/{python-1a047dfc.js → python-eac2ced8.js} +1 -1
  21. package/dist/{razor-2d05283c.js → razor-e0d839e6.js} +1 -1
  22. package/dist/{tsMode-e91237a4.js → tsMode-e06fa3ef.js} +1 -1
  23. package/dist/{typescript-bb3c2d0e.js → typescript-bb217cdc.js} +1 -1
  24. package/dist/{xml-fe2639e5.js → xml-6ef3921d.js} +1 -1
  25. package/dist/{yaml-2cbcea8f.js → yaml-2b1222b8.js} +1 -1
  26. package/package.json +1 -1
  27. package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +0 -4
  28. package/dist/Shared/Components/ArtifactInfoModal/index.d.ts +0 -2
  29. package/dist/Shared/Components/ArtifactInfoModal/types.d.ts +0 -15
  30. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +0 -4
  31. package/dist/Shared/Components/CommitChipCell/index.d.ts +0 -2
  32. package/dist/Shared/Components/CommitChipCell/types.d.ts +0 -6
  33. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +0 -4
  34. package/dist/Shared/Components/ImageChipCell/index.d.ts +0 -2
  35. package/dist/Shared/Components/ImageChipCell/types.d.ts +0 -9
  36. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +0 -4
  37. package/dist/Shared/Components/MaterialHistory/index.d.ts +0 -2
  38. package/dist/Shared/Components/MaterialHistory/types.d.ts +0 -8
  39. package/dist/Shared/Services/app.service.d.ts +0 -7
  40. package/dist/Shared/Services/app.types.d.ts +0 -95
  41. package/dist/Shared/Services/utils.d.ts +0 -3
@@ -1,6 +1,3 @@
1
1
  import { ReloadType } from './Types';
2
2
 
3
- /**
4
- * @deprecated Use APIResponseHandler (Preferred) or error screen manager instead
5
- */
6
3
  export default function Reload({ reload, className, heightToDeduct }: ReloadType): JSX.Element;
@@ -23,8 +23,4 @@ export * from './FeatureDescription';
23
23
  export * from './CICDHistory';
24
24
  export * from './GitCommitInfoGeneric';
25
25
  export * from './Error';
26
- export * from './CommitChipCell';
27
- export * from './ImageChipCell';
28
- export * from './ArtifactInfoModal';
29
- export * from './MaterialHistory';
30
26
  export * from './IframeContainer';
@@ -26,6 +26,7 @@ export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrd
26
26
  export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
27
27
  export declare const useIntersection: (target: React.RefObject<Element> | Element | null, options?: IntersectionOptions, callback?: IntersectionChangeHandler) => boolean;
28
28
  export declare const isNullOrUndefined: (value: unknown) => boolean;
29
+ export declare const handleDisableSubmitOnEnter: (event: React.KeyboardEvent<HTMLFormElement>) => void;
29
30
  export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
30
31
  export declare const renderValidInputButtonTippy: (children: ReactElement) => JSX.Element;
31
32
  export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
@@ -1,4 +1,2 @@
1
1
  export * from './types';
2
- export * from './app.types';
3
- export * from './app.service';
4
2
  export * from './common.service';
@@ -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"
@@ -418,6 +418,19 @@ export declare enum AggregationKeys {
418
418
  Namespaces = "Namespaces"
419
419
  }
420
420
  export type AggregationKeysType = keyof typeof AggregationKeys;
421
+ export declare enum GitOpsAuthModeType {
422
+ SSH = "SSH",
423
+ PASSWORD = "PASSWORD",
424
+ SSH_AND_PASSWORD = "PAT_AND_SSH"
425
+ }
426
+ export interface BaseGitOpsType {
427
+ authMode: GitOpsAuthModeType;
428
+ sshKey: string;
429
+ sshHost: string;
430
+ username: string;
431
+ token: string;
432
+ }
433
+ export type GitOpsFieldKeyType = 'host' | 'username' | 'token' | 'gitHubOrgId' | 'azureProjectName' | 'gitLabGroupId' | 'bitBucketWorkspaceId' | 'bitBucketProjectKey' | 'sshHost' | 'sshKey';
421
434
  export interface EnvironmentType {
422
435
  /**
423
436
  * Unique identifier for the environment