@devtron-labs/devtron-fe-common-lib 0.0.98-beta-1 → 0.0.98-beta-3

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 (94) hide show
  1. package/dist/Common/Api.d.ts +1 -1
  2. package/dist/Common/AppStatus/constants.d.ts +0 -5
  3. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
  4. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +2 -0
  5. package/dist/Common/BreadCrumb/Types.d.ts +4 -0
  6. package/dist/Common/Checkbox.d.ts +1 -1
  7. package/dist/Common/CodeEditor/CodeEditor.d.ts +1 -1
  8. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +1 -1
  9. package/dist/Common/Common.service.d.ts +1 -1
  10. package/dist/Common/Constants.d.ts +2 -3
  11. package/dist/Common/CustomTagSelector/Types.d.ts +1 -1
  12. package/dist/Common/Dialogs/DeleteDialog.d.ts +1 -1
  13. package/dist/Common/Dialogs/DialogForm.d.ts +1 -1
  14. package/dist/Common/Helper.d.ts +2 -2
  15. package/dist/Common/Hooks/useStateFilters/types.d.ts +4 -1
  16. package/dist/Common/Modals/Modal.d.ts +1 -1
  17. package/dist/Common/MultiSelectCustomization.d.ts +8 -0
  18. package/dist/Common/Policy.Types.d.ts +1 -1
  19. package/dist/Common/RJSF/config.d.ts +1 -1
  20. package/dist/Common/RJSF/types.d.ts +1 -1
  21. package/dist/Common/RJSF/utils.d.ts +1 -1
  22. package/dist/Common/RadioGroup/RadioGroup.d.ts +1 -1
  23. package/dist/Common/ResizableTextarea.d.ts +1 -1
  24. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  25. package/dist/Common/SearchBar/types.d.ts +4 -0
  26. package/dist/Common/SegmentedBarChart/SegmentedBarChart.d.ts +1 -1
  27. package/dist/Common/Select/Select.d.ts +1 -1
  28. package/dist/Common/Types.d.ts +4 -4
  29. package/dist/Common/index.d.ts +1 -1
  30. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  31. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +1 -1
  32. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +1 -1
  33. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +1 -1
  34. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +1 -1
  35. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +1 -1
  36. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +1 -1
  37. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +1 -1
  38. package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +1 -1
  39. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
  40. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +1 -1
  41. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +3 -3
  42. package/dist/Shared/Components/APIResponseHandler/types.d.ts +2 -2
  43. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +1 -1
  44. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  45. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  46. package/dist/Shared/Components/CICDHistory/service.d.ts +1 -1
  47. package/dist/Shared/Components/CICDHistory/types.d.ts +3 -3
  48. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +4 -0
  49. package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +3 -0
  50. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +12 -0
  51. package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +3 -0
  52. package/dist/Shared/Components/DatePicker/constants.d.ts +143 -0
  53. package/dist/Shared/Components/DatePicker/index.d.ts +7 -0
  54. package/dist/Shared/Components/DatePicker/types.d.ts +116 -0
  55. package/dist/Shared/Components/DatePicker/utils.d.ts +46 -0
  56. package/dist/Shared/Components/EnvironmentSelector/types.d.ts +2 -2
  57. package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +2 -2
  58. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  59. package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +22 -0
  60. package/dist/Shared/Components/Header/service.d.ts +1 -1
  61. package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
  62. package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -2
  63. package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
  64. package/dist/Shared/Components/ReactSelect/constants.d.ts +14 -0
  65. package/dist/Shared/Components/ReactSelect/index.d.ts +1 -0
  66. package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +1 -1
  67. package/dist/Shared/Components/index.d.ts +1 -0
  68. package/dist/Shared/Helpers.d.ts +4 -3
  69. package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +1 -1
  70. package/dist/Shared/Providers/types.d.ts +2 -2
  71. package/dist/Shared/Services/types.d.ts +1 -1
  72. package/dist/Shared/constants.d.ts +1 -24
  73. package/dist/Shared/types.d.ts +15 -3
  74. package/dist/assets/index.css +1 -1
  75. package/dist/assets/{yaml.worker-632eebb8.js → yaml.worker-9ae72aad.js} +237 -236
  76. package/dist/{cssMode-10427767.js → cssMode-4a3e634d.js} +1 -1
  77. package/dist/{freemarker2-342491e6.js → freemarker2-9afac70c.js} +1 -1
  78. package/dist/{handlebars-ee7e135f.js → handlebars-ba5d2e62.js} +1 -1
  79. package/dist/{html-44057333.js → html-415618ad.js} +1 -1
  80. package/dist/{htmlMode-f207dc17.js → htmlMode-52d84a19.js} +1 -1
  81. package/dist/{index-dae34b8a.js → index-7ec48bdb.js} +66218 -50662
  82. package/dist/index.d.ts +0 -2
  83. package/dist/index.js +408 -386
  84. package/dist/{javascript-48befdfc.js → javascript-484a2399.js} +1 -1
  85. package/dist/{jsonMode-b42c91c6.js → jsonMode-fc5ce045.js} +1 -1
  86. package/dist/{liquid-c4d575e2.js → liquid-373c4aec.js} +1 -1
  87. package/dist/{mdx-b50c381f.js → mdx-37438f49.js} +1 -1
  88. package/dist/{python-31a26ec9.js → python-db1d5a6e.js} +1 -1
  89. package/dist/{razor-840cb647.js → razor-91bce504.js} +1 -1
  90. package/dist/{tsMode-e802fd84.js → tsMode-280c0a69.js} +1 -1
  91. package/dist/{typescript-0fd0d62f.js → typescript-b5a81059.js} +1 -1
  92. package/dist/{xml-50ca031e.js → xml-5e4e297e.js} +1 -1
  93. package/dist/{yaml-0b87d940.js → yaml-54e4631b.js} +1 -1
  94. package/package.json +3 -2
@@ -0,0 +1,116 @@
1
+ import { Moment } from 'moment';
2
+ import { SelectInstance } from 'react-select';
3
+ import { OptionType } from '../../../Common';
4
+
5
+ export interface SingleDatePickerProps {
6
+ /**
7
+ * Date value to be displayed
8
+ */
9
+ date: Moment;
10
+ /**
11
+ * Function to handle date change
12
+ */
13
+ handleDatesChange: (e: any) => void;
14
+ /**
15
+ * Value to make date picker read only
16
+ */
17
+ readOnly?: boolean;
18
+ /**
19
+ * Value to block today's date
20
+ */
21
+ isTodayBlocked?: boolean;
22
+ /**
23
+ * Value to block today's date
24
+ */
25
+ datePickerProps?: any;
26
+ /**
27
+ * Display format for the date
28
+ */
29
+ displayFormat?: string;
30
+ /**
31
+ * Data test id for date picker
32
+ */
33
+ dataTestId?: string;
34
+ }
35
+ export interface MonthlySelectProps extends Pick<SingleDatePickerProps, 'dataTestId'> {
36
+ /**
37
+ * Current selected date object
38
+ *
39
+ * @default 'new Date()'
40
+ */
41
+ selectedMonthlyDate: OptionType;
42
+ /**
43
+ * Onchange handle picker type
44
+ */
45
+ onChange?: (event: any) => void;
46
+ }
47
+ export interface TimeSelectProps {
48
+ /**
49
+ * Current selected date object
50
+ *
51
+ * @default 'new Date()'
52
+ */
53
+ date?: Date;
54
+ /**
55
+ * Handler for updating the date from the parent component
56
+ */
57
+ onChange: (date: Date) => void;
58
+ /**
59
+ * Props for the time picker
60
+ */
61
+ timePickerProps?: SelectInstance;
62
+ /**
63
+ * Error message for the DateTime picker component
64
+ */
65
+ error?: string;
66
+ /**
67
+ * If true, both the date and time picker are disabled
68
+ */
69
+ disabled?: boolean;
70
+ /**
71
+ * Id for the component
72
+ */
73
+ default12HourTime: OptionType;
74
+ /**
75
+ * Data test id for time picker
76
+ */
77
+ dataTestIdForTime?: string;
78
+ /**
79
+ * To hide time selector
80
+ */
81
+ selectedTimeOption: OptionType;
82
+ }
83
+ export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'onChange' | 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'> {
84
+ /**
85
+ * Props for the date picker
86
+ */
87
+ datePickerProps?: any;
88
+ /**
89
+ * Id for the component
90
+ */
91
+ id: string;
92
+ /**
93
+ * Label for the component
94
+ */
95
+ label?: string;
96
+ /**
97
+ * If true, the field is required and asterisk is shown
98
+ */
99
+ required?: boolean;
100
+ /**
101
+ * To hide time selector
102
+ */
103
+ hideTimeSelect?: boolean;
104
+ /**
105
+ * To make the field read only
106
+ */
107
+ readOnly?: boolean;
108
+ /**
109
+ * To block today's date
110
+ */
111
+ isTodayBlocked?: boolean;
112
+ /**
113
+ * Data test id for date picker
114
+ */
115
+ dataTestidForDate?: string;
116
+ }
@@ -0,0 +1,46 @@
1
+ import { OptionType } from '../../../Common';
2
+
3
+ export declare const getTimePickerStyles: () => {
4
+ container: (base: any) => any;
5
+ control: (base: any, state: any) => any;
6
+ menu: (base: any) => any;
7
+ singleValue: (base: any) => any;
8
+ placeholder: (base: any) => any;
9
+ option: (base: any, state: any) => any;
10
+ valueContainer: (base: any) => any;
11
+ dropdownIndicator: (base: any) => any;
12
+ };
13
+ /**
14
+ * Return the options for the dates in label and value format
15
+ */
16
+ export declare const MONTHLY_DATE_OPTIONS: {
17
+ label: string;
18
+ value: string;
19
+ }[];
20
+ /**
21
+ * Return the options for the time in label and value format
22
+ * @type {OptionType[]}
23
+ */
24
+ export declare const DEFAULT_TIME_OPTIONS: OptionType[];
25
+ /**
26
+ * Get the time value from the date object in the format: `hh:mm:ss`
27
+ */
28
+ export declare const getTimeValue: (currentDateObj: Date) => string;
29
+ /**
30
+ * Updates the time in the given date object and returns the updated object
31
+ */
32
+ export declare const updateTime: (currentDateObj: Date, timeString: string) => Date;
33
+ /**
34
+ * Updates the date in the given date object and returns the updated object
35
+ */
36
+ export declare const updateDate: (currentDateObj: Date, newDate: Date) => Date;
37
+ /**
38
+ * Get the default date from the time to live
39
+ * @param timeToLive
40
+ * @returns
41
+ */
42
+ export declare const getDefaultDateFromTimeToLive: (timeToLive: string, isTomorrow?: boolean) => Date;
43
+ /**
44
+ * Clock icon for the time picker
45
+ */
46
+ export declare const DropdownIndicatorTimePicker: (props: any) => JSX.Element;
@@ -1,6 +1,6 @@
1
- import { commonSelectStyles } from '../ReactSelect';
2
- import { GroupedOptionsType } from '../../types';
3
1
  import { OptionType } from '../../../Common';
2
+ import { GroupedOptionsType } from '../../types';
3
+ import { commonSelectStyles } from '../ReactSelect';
4
4
 
5
5
  export type SelectedEnvironmentsMapType<T> = Record<string, T>;
6
6
  export type BaseSelectorType = {
@@ -1,6 +1,6 @@
1
- import { SelectedEnvironmentsMapType } from './types';
2
- import { EnvListMinDTO, GroupedOptionsType } from '../../types';
3
1
  import { OptionType } from '../../../Common';
2
+ import { EnvListMinDTO, GroupedOptionsType } from '../../types';
3
+ import { SelectedEnvironmentsMapType } from './types';
4
4
 
5
5
  export declare const parseEnvironmentClusterListToOptions: (environmentClusterList: EnvListMinDTO[]) => GroupedOptionsType[];
6
6
  export declare const getSelectedOptions: <T>(selectedEnvironmentsMap: SelectedEnvironmentsMapType<T>, options: GroupedOptionsType[]) => OptionType[];
@@ -1,5 +1,5 @@
1
- import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
2
1
  import { ImageType } from '../../../Common';
2
+ import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
3
3
 
4
4
  export interface FeatureDescriptionModalProps {
5
5
  title: string;
@@ -0,0 +1,22 @@
1
+ declare const AppListConstants: {
2
+ SAMPLE_NODE_REPO_URL: string;
3
+ CREATE_DEVTRON_APP_URL: string;
4
+ AppTabs: {
5
+ DEVTRON_APPS: string;
6
+ HELM_APPS: string;
7
+ ARGO_APPS: string;
8
+ };
9
+ AppType: {
10
+ DEVTRON_APPS: string;
11
+ HELM_APPS: string;
12
+ ARGO_APPS: string;
13
+ };
14
+ FilterType: {
15
+ PROJECT: string;
16
+ CLUTSER: string;
17
+ NAMESPACE: string;
18
+ ENVIRONMENT: string;
19
+ APP_STATUS: string;
20
+ };
21
+ };
22
+ export default AppListConstants;
@@ -1,5 +1,5 @@
1
- import { ServerInfoResponse } from './types';
2
1
  import { ResponseType } from '../../../Common';
2
+ import { ServerInfoResponse } from './types';
3
3
 
4
4
  export declare const updatePostHogEvent: (payload: any) => Promise<ResponseType>;
5
5
  export declare const getServerInfo: (withoutStatus: boolean, isFormHeader: boolean) => Promise<ServerInfoResponse>;
@@ -1,6 +1,6 @@
1
- import { RegistryType } from '../..';
2
- import { ImageTaggingContainerType } from '../../../Common';
3
1
  import { ReactNode } from 'react';
2
+ import { ImageTaggingContainerType } from '../../../Common';
3
+ import { RegistryType } from '../..';
4
4
 
5
5
  export interface ArtifactInfoProps {
6
6
  imagePath: string;
@@ -1,6 +1,6 @@
1
- import { MaterialSecurityInfoType } from '../../types';
2
- import { CDModalTabType, VulnerabilityType } from '../../../Common';
3
1
  import { default as React, ReactNode } from 'react';
2
+ import { CDModalTabType, VulnerabilityType } from '../../../Common';
3
+ import { MaterialSecurityInfoType } from '../../types';
4
4
 
5
5
  export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
6
6
  isSecurityModuleInstalled: boolean;
@@ -1,5 +1,5 @@
1
- import { RegistryType } from '../../types';
2
1
  import { SyntheticEvent } from 'react';
2
+ import { RegistryType } from '../../types';
3
3
 
4
4
  export interface ImageChipCellProps {
5
5
  handleClick: (e: SyntheticEvent) => void;
@@ -0,0 +1,14 @@
1
+ export declare const CommonGroupedDropdownStyles: {
2
+ container: (base: any, state: any) => any;
3
+ control: (base: any, state: any) => any;
4
+ singleValue: (base: any) => any;
5
+ option: (base: any, state: any) => any;
6
+ valueContainer: (base: any) => any;
7
+ dropdownIndicator: (base: any, state: any) => any;
8
+ group: (base: any) => any;
9
+ groupHeading: (base: any) => any;
10
+ menuList: (base: any) => any;
11
+ multiValue: (base: any) => any;
12
+ multiValueLabel: (base: any) => any;
13
+ placeholder: (base: any) => any;
14
+ };
@@ -1 +1,2 @@
1
1
  export * from './utils';
2
+ export * from './constants';
@@ -1,5 +1,5 @@
1
- import { ScannedByToolModalProps } from './types';
2
1
  import { default as React } from 'react';
2
+ import { ScannedByToolModalProps } from './types';
3
3
 
4
4
  declare const ScannedByToolModal: React.FC<ScannedByToolModalProps>;
5
5
  export default ScannedByToolModal;
@@ -24,6 +24,7 @@ export * from './FeatureDescription';
24
24
  export * from './CICDHistory';
25
25
  export * from './GitCommitInfoGeneric';
26
26
  export * from './Error';
27
+ export * from './DatePicker';
27
28
  export * from './CommitChipCell';
28
29
  export * from './ImageChipCell';
29
30
  export * from './ArtifactInfoModal';
@@ -1,7 +1,7 @@
1
- import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
2
- import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
3
- import { MaterialInfo, SortingOrder } from '../Common';
4
1
  import { ReactElement } from 'react';
2
+ import { MaterialInfo, SortingOrder } from '../Common';
3
+ import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
4
+ import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
5
5
 
6
6
  interface HighlightSearchTextProps {
7
7
  /**
@@ -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,5 +1,5 @@
1
- import { UseUserEmailContextType } from './types';
2
1
  import { default as React } from 'react';
2
+ import { UseUserEmailContextType } from './types';
3
3
 
4
4
  export declare const useUserEmail: () => UseUserEmailContextType;
5
5
  export declare const UserEmailProvider: React.FC<{}>;
@@ -1,6 +1,6 @@
1
- import { SERVER_MODE } from '../../Common';
2
- import { ServerInfo } from '../Components/Header/types';
3
1
  import { MutableRefObject, ReactNode } from 'react';
2
+ import { ServerInfo } from '../Components/Header/types';
3
+ import { SERVER_MODE } from '../../Common';
4
4
 
5
5
  export interface MainContext {
6
6
  serverMode: SERVER_MODE;
@@ -1,5 +1,5 @@
1
- import { ResourceKindType, ResourceVersionType } from '../types';
2
1
  import { getUrlWithSearchParams } from '../../Common';
2
+ import { ResourceKindType, ResourceVersionType } from '../types';
3
3
 
4
4
  export interface ClusterType {
5
5
  id: number;
@@ -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"
@@ -347,27 +348,3 @@ export declare const statusColor: {
347
348
  };
348
349
  export declare const APP_STATUS_HEADERS: string[];
349
350
  export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
350
- export declare const AppListConstants: {
351
- SAMPLE_NODE_REPO_URL: string;
352
- CREATE_DEVTRON_APP_URL: string;
353
- AppTabs: {
354
- DEVTRON_APPS: string;
355
- HELM_APPS: string;
356
- ARGO_APPS: string;
357
- FLUX_APPS: string;
358
- };
359
- AppType: {
360
- DEVTRON_APPS: string;
361
- HELM_APPS: string;
362
- ARGO_APPS: string;
363
- FLUX_APPS: string;
364
- };
365
- FilterType: {
366
- PROJECT: string;
367
- CLUTSER: string;
368
- NAMESPACE: string;
369
- ENVIRONMENT: string;
370
- APP_STATUS: string;
371
- TEMPLATE_TYPE: string;
372
- };
373
- };
@@ -1,5 +1,5 @@
1
- import { EnvironmentTypeEnum, PatchOperationType } from './constants';
2
1
  import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors } from '../Common';
2
+ import { EnvironmentTypeEnum, PatchOperationType } from './constants';
3
3
 
4
4
  export declare enum EnvType {
5
5
  CHART = "helm_charts",
@@ -124,8 +124,7 @@ export declare enum AppType {
124
124
  DEVTRON_APP = "devtron_app",
125
125
  DEVTRON_HELM_CHART = "devtron_helm_chart",
126
126
  EXTERNAL_HELM_CHART = "external_helm_chart",
127
- EXTERNAL_ARGO_APP = "external_argo_app",
128
- EXTERNAL_FLUX_APP = "external_flux_app"
127
+ EXTERNAL_ARGO_APP = "external_argo_app"
129
128
  }
130
129
  export interface HelmReleaseStatus {
131
130
  status: string;
@@ -419,6 +418,19 @@ export declare enum AggregationKeys {
419
418
  Namespaces = "Namespaces"
420
419
  }
421
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';
422
434
  export interface AppInfoListType {
423
435
  application: string;
424
436
  appStatus: string;