@devtron-labs/devtron-fe-common-lib 1.9.5-beta-4 → 1.9.6-beta-1

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 (99) hide show
  1. package/dist/{@code-editor-CJb79OaZ.js → @code-editor-0ze0wq4Z.js} +7860 -7867
  2. package/dist/{@common-rjsf-BQNbv8mg.js → @common-rjsf-BaGU4GjS.js} +2 -2
  3. package/dist/{@framer-motion-Cx1gSa6-.js → @framer-motion--UCnj55s.js} +1 -1
  4. package/dist/{@react-dates-ukcBEyJ1.js → @react-dates-B3_Y9Kyv.js} +243 -243
  5. package/dist/{@react-select-Cas7oOFN.js → @react-select-DMzK6fkF.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-DRihF7_6.js → @react-virtualized-sticky-tree-Ck5oyLp9.js} +1 -1
  7. package/dist/{@vendor-xG1dUtf3.js → @vendor-DXbFZ041.js} +30911 -25065
  8. package/dist/Common/Api.d.ts +15 -0
  9. package/dist/Common/Constants.d.ts +94 -92
  10. package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +1 -1
  11. package/dist/Common/DeleteCINodeButton/types.d.ts +2 -1
  12. package/dist/Common/DeleteCINodeButton/utils.d.ts +5 -2
  13. package/dist/Common/GenericDescription/utils.d.ts +1 -0
  14. package/dist/Common/Helper.d.ts +0 -1
  15. package/dist/Common/Tooltip/constants.d.ts +1 -0
  16. package/dist/Common/Types.d.ts +4 -7
  17. package/dist/Common/index.d.ts +1 -1
  18. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +38 -0
  19. package/dist/Shared/Components/CustomInput/CustomInput.d.ts +1 -1
  20. package/dist/Shared/Components/CustomInput/types.d.ts +1 -5
  21. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
  22. package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +3 -1
  23. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +2 -1
  24. package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +3 -0
  25. package/dist/Shared/Components/GenericInfoCard/index.d.ts +2 -0
  26. package/dist/Shared/Components/GenericInfoCard/types.d.ts +26 -0
  27. package/dist/Shared/Components/GenericInfoCard/utils.d.ts +2 -0
  28. package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +1 -1
  29. package/dist/Shared/Components/GitProviderIcon/types.d.ts +8 -3
  30. package/dist/Shared/Components/GitProviderIcon/utils.d.ts +2 -0
  31. package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +2 -0
  32. package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +2 -0
  33. package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +3 -0
  34. package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +3 -0
  35. package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +3 -0
  36. package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +4 -0
  37. package/dist/Shared/Components/GraphVisualizer/components/types.d.ts +19 -0
  38. package/dist/Shared/Components/GraphVisualizer/constants.d.ts +15 -0
  39. package/dist/Shared/Components/GraphVisualizer/index.d.ts +2 -0
  40. package/dist/Shared/Components/GraphVisualizer/types.d.ts +12 -0
  41. package/dist/Shared/Components/GraphVisualizer/utils.d.ts +17 -0
  42. package/dist/Shared/Components/Header/types.d.ts +1 -0
  43. package/dist/Shared/Components/Icon/Icon.d.ts +3 -9
  44. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  45. package/dist/Shared/Components/Icon/constants.d.ts +2 -0
  46. package/dist/Shared/Components/Icon/types.d.ts +2 -2
  47. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -1
  48. package/dist/Shared/Components/ReactSelect/constants.d.ts +7 -15
  49. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
  50. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  51. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +2 -1
  52. package/dist/Shared/Components/index.d.ts +2 -6
  53. package/dist/Shared/Helpers.d.ts +0 -1
  54. package/dist/Shared/Providers/types.d.ts +1 -1
  55. package/dist/Shared/Services/app.service.d.ts +4 -1
  56. package/dist/Shared/Services/common.service.d.ts +2 -1
  57. package/dist/Shared/Services/index.d.ts +1 -0
  58. package/dist/Shared/Services/template.service.d.ts +2 -0
  59. package/dist/Shared/constants.d.ts +0 -3
  60. package/dist/Shared/types.d.ts +0 -33
  61. package/dist/Shared/validations.d.ts +1 -0
  62. package/dist/assets/@code-editor.css +1 -1
  63. package/dist/assets/@vendor.css +1 -1
  64. package/dist/assets/ic-card-stack.efd37c91.svg +3 -0
  65. package/dist/assets/{ic-caret-left.3df25a7c.svg → ic-copy.416d85f3.svg} +1 -1
  66. package/dist/assets/ic-new.2c179139.svg +3 -0
  67. package/dist/index.d.ts +8 -0
  68. package/dist/index.js +800 -806
  69. package/package.json +2 -2
  70. package/dist/Common/API/CoreAPI.d.ts +0 -17
  71. package/dist/Common/API/constants.d.ts +0 -70
  72. package/dist/Common/API/index.d.ts +0 -3
  73. package/dist/Common/API/types.d.ts +0 -23
  74. package/dist/Common/API/utils.d.ts +0 -12
  75. package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +0 -3
  76. package/dist/Shared/Components/CountrySelect/index.d.ts +0 -1
  77. package/dist/Shared/Components/CountrySelect/types.d.ts +0 -7
  78. package/dist/Shared/Components/CountrySelect/utils.d.ts +0 -4
  79. package/dist/Shared/Components/DevtronLicenseCard/DevtronLicenseCard.d.ts +0 -3
  80. package/dist/Shared/Components/DevtronLicenseCard/index.d.ts +0 -3
  81. package/dist/Shared/Components/DevtronLicenseCard/types.d.ts +0 -18
  82. package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +0 -6
  83. package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +0 -3
  84. package/dist/Shared/Components/FlagImage/index.d.ts +0 -1
  85. package/dist/Shared/Components/FlagImage/types.d.ts +0 -5
  86. package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +0 -2
  87. package/dist/Shared/Components/LoginBanner/constants.d.ts +0 -2
  88. package/dist/Shared/Components/LoginBanner/index.d.ts +0 -1
  89. package/dist/Shared/Components/LoginBanner/types.d.ts +0 -7
  90. package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +0 -3
  91. package/dist/Shared/Components/PhoneInput/index.d.ts +0 -1
  92. package/dist/Shared/Components/PhoneInput/types.d.ts +0 -11
  93. package/dist/assets/ic-book-open.e839bbda.svg +0 -3
  94. package/dist/assets/ic-chat-circle-dots.b5afd171.svg +0 -3
  95. package/dist/assets/ic-devtron-header-logo.7dc157aa.svg +0 -4
  96. package/dist/assets/ic-devtron.aca6cbaa.svg +0 -3
  97. package/dist/assets/ic-key.56432553.svg +0 -19
  98. package/dist/assets/ic-quote.68f093fe.svg +0 -3
  99. package/dist/assets/ic-timer.ae5f10fa.svg +0 -19
@@ -6,14 +6,11 @@ export declare const iconMap: {
6
6
  'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
7
7
  'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
8
8
  'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
9
- 'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
10
9
  'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
11
10
  'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
12
- 'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
13
11
  'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
14
- 'ic-caret-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
12
+ 'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
15
13
  'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
16
- 'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
17
14
  'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
18
15
  'ic-ci-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
19
16
  'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -21,11 +18,10 @@ export declare const iconMap: {
21
18
  'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
22
19
  'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
23
20
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
21
+ 'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
24
22
  'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
25
23
  'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
26
24
  'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
27
- 'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
28
- 'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
29
25
  'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
30
26
  'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
31
27
  'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -50,7 +46,6 @@ export declare const iconMap: {
50
46
  'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
51
47
  'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
48
  'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
53
- 'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
54
49
  'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
55
50
  'ic-login-devtron-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
51
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -58,6 +53,7 @@ export declare const iconMap: {
58
53
  'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
59
54
  'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
60
55
  'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
+ 'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
61
57
  'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
62
58
  'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
63
59
  'ic-open-box': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -66,13 +62,11 @@ export declare const iconMap: {
66
62
  'ic-out-of-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
67
63
  'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
68
64
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
69
- 'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
70
65
  'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
71
66
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
72
67
  'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
73
68
  'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
74
69
  'ic-timeout-two-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
75
- 'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
76
70
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
71
  'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
78
72
  'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -1,2 +1,2 @@
1
1
  import { IconBaseProps } from './types';
2
- export declare const IconBase: ({ name, iconMap, size, tooltipProps, color, strokeWidth }: IconBaseProps) => JSX.Element;
2
+ export declare const IconBase: ({ name, iconMap, size, tooltipProps, color }: IconBaseProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { IconBaseProps } from './types';
2
+ export declare const ICON_STROKE_WIDTH_MAP: Partial<Record<IconBaseProps['size'], number>>;
@@ -1,7 +1,7 @@
1
- import { FC, SVGAttributes, SVGProps } from 'react';
1
+ import { FC, SVGProps } from 'react';
2
2
  import { TooltipProps } from '@Common/Tooltip/types';
3
3
  type IconMap = Record<string, FC<SVGProps<SVGSVGElement>>>;
4
- export interface IconBaseProps extends Pick<SVGAttributes<SVGSVGElement>, 'strokeWidth'> {
4
+ export interface IconBaseProps {
5
5
  /** The name of the icon to render. */
6
6
  name: keyof IconMap;
7
7
  /** The map containing all available icons. */
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  export interface ModalSidebarPanelProps {
3
3
  rootClassName?: string;
4
- heading: string;
4
+ heading: string | null;
5
5
  icon?: JSX.Element;
6
6
  children?: ReactNode;
7
7
  documentationLink: string;
@@ -1,15 +1,7 @@
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
- menu: (base: any) => any;
15
- };
1
+ import { DropdownIndicatorProps, StylesConfig } from 'react-select';
2
+ export declare const CommonGroupedDropdownStyles: StylesConfig;
3
+ export declare const APP_SELECTOR_STYLES: StylesConfig;
4
+ export declare const AppSelectorDropdownIndicator: (props: DropdownIndicatorProps) => JSX.Element;
5
+ export declare const AppSelectorNoOptionsMessage: (inputObj: {
6
+ inputValue: string;
7
+ }) => string;
@@ -80,7 +80,7 @@ export declare enum SelectPickerVariantType {
80
80
  DEFAULT = "default",
81
81
  BORDER_LESS = "border-less"
82
82
  }
83
- export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue' | 'filterOption'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon' | 'renderOptionsFooter' | 'shouldRenderTextArea'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption' | 'formatCreateLabel' | 'menuPortalTarget'>> & Omit<FormFieldWrapperProps, 'children'> & {
83
+ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue' | 'filterOption' | 'noOptionsMessage'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon' | 'renderOptionsFooter' | 'shouldRenderTextArea'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption' | 'formatCreateLabel' | 'menuPortalTarget'>> & Omit<FormFieldWrapperProps, 'children'> & {
84
84
  /**
85
85
  * Custom selected options count for use cases like filters
86
86
  */
@@ -1,3 +1,3 @@
1
1
  import { WorkflowOptionsModalProps } from './types';
2
- declare const WorkflowOptionsModal: ({ handleCloseWorkflowOptionsModal, addCIPipeline, addWebhookCD, addLinkedCD, showLinkedCDSource, changeCIPayload, workflows, getWorkflows, resetChangeCIPayload, linkedCDSourceVariant, isAppGroup, }: Readonly<WorkflowOptionsModalProps>) => JSX.Element;
2
+ declare const WorkflowOptionsModal: ({ handleCloseWorkflowOptionsModal, addCIPipeline, addWebhookCD, addLinkedCD, showLinkedCDSource, changeCIPayload, workflows, getWorkflows, resetChangeCIPayload, linkedCDSourceVariant, isAppGroup, isTemplateView, }: Readonly<WorkflowOptionsModalProps>) => JSX.Element;
3
3
  export default WorkflowOptionsModal;
@@ -1,3 +1,4 @@
1
+ import { AppConfigProps } from '../../../Pages/index';
1
2
  import { ChangeCIPayloadType, CIPipelineNodeType, WorkflowType } from '../../types';
2
3
  interface LinkedCDSourceVariant {
3
4
  title: string;
@@ -12,7 +13,7 @@ export interface SourceTypeCardProps extends LinkedCDSourceVariant {
12
13
  disableInfo: string;
13
14
  isDisabled?: boolean;
14
15
  }
15
- export interface WorkflowOptionsModalProps {
16
+ export interface WorkflowOptionsModalProps extends Required<Pick<AppConfigProps, 'isTemplateView'>> {
16
17
  handleCloseWorkflowOptionsModal: () => void;
17
18
  addCIPipeline: (type: CIPipelineNodeType, workflowId?: number | string) => void;
18
19
  addWebhookCD: (workflowId?: number | string) => void;
@@ -59,6 +59,8 @@ export * from './ThemeSwitcher';
59
59
  export * from './TargetPlatforms';
60
60
  export * from './UnsavedChanges';
61
61
  export * from './UnsavedChangesDialog';
62
+ export * from './GraphVisualizer';
63
+ export * from './GenericInfoCard';
62
64
  export * from './Icon';
63
65
  export * from './StatusComponent';
64
66
  export * from './RegistryIcon';
@@ -67,10 +69,4 @@ export * from './CustomInput';
67
69
  export * from './InfoBlock';
68
70
  export * from './CodeEditorWrapper';
69
71
  export * from './SSOProviderIcon';
70
- export * from './Backdrop';
71
- export * from './CountrySelect';
72
- export * from './PhoneInput';
73
- export * from './FlagImage';
74
- export * from './DevtronLicenseCard';
75
- export * from './LoginBanner';
76
72
  export * from './Confetti';
@@ -100,5 +100,4 @@ export declare const deriveBorderRadiusAndBorderClassFromConfig: ({ borderConfig
100
100
  borderRadiusConfig: BorderConfigType | undefined;
101
101
  }) => string;
102
102
  export declare const getClassNameForStickyHeaderWithShadow: (isStuck: boolean, topClassName?: string) => string;
103
- export declare const clearCookieOnLogout: () => void;
104
103
  export {};
@@ -5,6 +5,7 @@ export interface MainContext {
5
5
  serverMode: SERVER_MODE;
6
6
  setServerMode: (serverMode: SERVER_MODE) => void;
7
7
  isHelpGettingStartedClicked: boolean;
8
+ setPageOverflowEnabled: (isPageOverflowEnabled: boolean) => void;
8
9
  showCloseButtonAfterGettingStartedClicked: () => void;
9
10
  loginCount: number;
10
11
  setLoginCount: (loginCount: number) => void;
@@ -38,7 +39,6 @@ export interface MainContext {
38
39
  isManifestScanningEnabled: boolean;
39
40
  canOnlyViewPermittedEnvOrgLevel: boolean;
40
41
  viewIsPipelineRBACConfiguredNode: ReactNode;
41
- handleOpenLicenseInfoDialog: () => void;
42
42
  }
43
43
  export interface MainContextProviderProps {
44
44
  children: ReactNode;
@@ -1,3 +1,4 @@
1
+ import { AppConfigProps } from '../../Pages/index';
1
2
  import { ResponseType } from '../../Common';
2
3
  import { CIMaterialInfoType, GetCITriggerInfoParamsType, AppEnvDeploymentConfigDTO, AppEnvDeploymentConfigPayloadType } from './app.types';
3
4
  export declare const getCITriggerInfo: (params: GetCITriggerInfoParamsType) => Promise<CIMaterialInfoType>;
@@ -5,8 +6,10 @@ export declare const getCITriggerInfo: (params: GetCITriggerInfoParamsType) => P
5
6
  * The only difference between this and getCITriggerInfo is it doesn't have env and trigger related meta info
6
7
  */
7
8
  export declare const getArtifactInfo: (params: Pick<GetCITriggerInfoParamsType, "ciArtifactId">) => Promise<CIMaterialInfoType>;
8
- export declare const getAppEnvDeploymentConfig: ({ params, signal, }: {
9
+ export declare const getAppEnvDeploymentConfig: ({ params, signal, isTemplateView, appId, }: {
9
10
  params: AppEnvDeploymentConfigPayloadType;
10
11
  signal?: AbortSignal;
12
+ isTemplateView: AppConfigProps["isTemplateView"];
13
+ appId: string | number | null;
11
14
  }) => Promise<ResponseType<AppEnvDeploymentConfigDTO>>;
12
15
  export declare const getCompareSecretsData: (params: AppEnvDeploymentConfigPayloadType[]) => Promise<AppEnvDeploymentConfigDTO[]>;
@@ -1,7 +1,8 @@
1
+ import { AppConfigProps } from '../../Pages/index';
1
2
  import { EnvironmentDataValuesDTO, GetPolicyApiUrlProps, GetResourceApiUrlProps, UpdatedUserPreferencesType, UserPreferencesType } from './types';
2
3
  export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, suffix, queryParams }: GetResourceApiUrlProps<T>) => string;
3
4
  export declare const getPolicyApiUrl: <T>({ kind, version, queryParams, suffix }: GetPolicyApiUrlProps<T>) => string;
4
- export declare const saveCDPipeline: (request: any) => Promise<import('../../Common').ResponseType<any>>;
5
+ export declare const saveCDPipeline: (request: any, { isTemplateView }: Required<Pick<AppConfigProps, "isTemplateView">>) => Promise<import('../../Common').ResponseType<any>>;
5
6
  export declare const getEnvironmentData: () => Promise<import('../../Common').ResponseType<EnvironmentDataValuesDTO>>;
6
7
  export declare const getUserPreferences: () => Promise<UserPreferencesType>;
7
8
  export declare const updateUserPreferences: (updatedUserPreferences: UpdatedUserPreferencesType, shouldThrowError?: boolean) => Promise<boolean>;
@@ -4,3 +4,4 @@ export * from './app.service';
4
4
  export * from './common.service';
5
5
  export * from './ToastManager';
6
6
  export * from './utils';
7
+ export * from './template.service';
@@ -0,0 +1,2 @@
1
+ import { GetTemplateAPIRouteProps } from '../../Pages/index';
2
+ export declare const getTemplateAPIRoute: ({ type, queryParams: { id, ...restQueryParams } }: GetTemplateAPIRouteProps) => string;
@@ -408,8 +408,6 @@ export declare const DC_DELETE_SUBTITLES: {
408
408
  DELETE_ENVIRONMENT_SUBTITLE: string;
409
409
  DELETE_CLUSTER_SUBTITLES: string;
410
410
  };
411
- export declare const EULA_LINK = "https://devtron.ai/end-user-license-agreement-eula";
412
- export declare const CONTACT_SUPPORT_LINK = "https://share.hsforms.com/1Yp3bvPAaRCaHUEH5vtMjEQ4368n";
413
411
  export declare const enum DeleteComponentsName {
414
412
  Cluster = "cluster",
415
413
  Job = "job pipeline",
@@ -419,4 +417,3 @@ export declare const Routes: {
419
417
  CI_PIPELINE_PATCH: string;
420
418
  WORKFLOW: string;
421
419
  };
422
- export declare const ENTERPRISE_SUPPORT_LINK = "enterprise@devtron.ai";
@@ -1,6 +1,5 @@
1
1
  import { Dayjs } from 'dayjs';
2
2
  import { APIOptions, ApprovalConfigDataType } from '../Common/Types';
3
- import { ParsedCountry } from 'react-international-phone';
4
3
  import { OptionType, CommonNodeAttr, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams, TriggerBlockType, ValueConstraintType, VariableType, RefVariableType, PluginType } from '../Common';
5
4
  import { BASE_CONFIGURATION_ENV_ID, EnvironmentTypeEnum, PatchOperationType } from './constants';
6
5
  import { SelectPickerOptionType } from './Components';
@@ -876,36 +875,4 @@ export interface AppEnvIdType {
876
875
  appId: number;
877
876
  envId: number;
878
877
  }
879
- export interface DevtronLicenseBaseDTO {
880
- fingerprint: string | null;
881
- isTrial: boolean | null;
882
- /**
883
- * In timestamp format
884
- */
885
- expiry: string | null;
886
- /**
887
- * Can be negative, depicts time left in seconds for license to expire
888
- */
889
- ttl: number | null;
890
- /**
891
- * Show a reminder after these many DAYS left for license to expire, i.e,
892
- * Show if `ttl` is less than `reminderThreshold` [converted to seconds]
893
- */
894
- reminderThreshold: number | null;
895
- organisationMetadata: {
896
- name: string | null;
897
- domain: string | null;
898
- } | null;
899
- license: string | null;
900
- }
901
- export type DevtronLicenseDTO<isCentralDashboard extends boolean = false> = DevtronLicenseBaseDTO & (isCentralDashboard extends true ? {
902
- claimedByUserDetails: {
903
- firstName: string | null;
904
- lastName: string | null;
905
- email: string | null;
906
- } | null;
907
- } : {
908
- claimedByUserDetails?: never;
909
- });
910
- export type CountryISO2Type = ParsedCountry['iso2'];
911
878
  export {};
@@ -17,6 +17,7 @@ export declare const MESSAGES: {
17
17
  INVALID_DATE: string;
18
18
  DATE_BEFORE_CURRENT_TIME: string;
19
19
  };
20
+ export declare const MAX_DESCRIPTION_LENGTH = 350;
20
21
  export declare const validateLabelValue: (value: string) => string[];
21
22
  export declare const validateLabelKey: (key: string, skipValidationIfSpecialPrefix?: boolean) => {
22
23
  isValid: boolean;