@devtron-labs/devtron-fe-common-lib 0.0.88-beta-8 → 0.0.89-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.
- package/dist/Common/Api.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +0 -2
- package/dist/Common/BreadCrumb/Types.d.ts +0 -4
- package/dist/Common/Checkbox.d.ts +1 -1
- package/dist/Common/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +1 -1
- package/dist/Common/Common.service.d.ts +1 -1
- package/dist/Common/CustomTagSelector/Types.d.ts +1 -1
- package/dist/Common/Dialogs/DeleteDialog.d.ts +1 -1
- package/dist/Common/Dialogs/DialogForm.d.ts +1 -1
- package/dist/Common/Helper.d.ts +2 -2
- package/dist/Common/Hooks/useStateFilters/types.d.ts +1 -4
- package/dist/Common/Modals/Modal.d.ts +1 -1
- package/dist/Common/MultiSelectCustomization.d.ts +0 -8
- package/dist/Common/Policy.Types.d.ts +1 -1
- package/dist/Common/RJSF/common/FieldRow.d.ts +1 -4
- package/dist/Common/RJSF/config.d.ts +1 -1
- package/dist/Common/RJSF/constants.d.ts +4 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
- package/dist/Common/RJSF/types.d.ts +1 -1
- package/dist/Common/RJSF/utils.d.ts +2 -1
- package/dist/Common/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/Common/ResizableTextarea.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +0 -4
- package/dist/Common/SegmentedBarChart/SegmentedBarChart.d.ts +1 -1
- package/dist/Common/Select/Select.d.ts +1 -1
- package/dist/Common/Types.d.ts +5 -6
- package/dist/Common/index.d.ts +1 -2
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +3 -3
- package/dist/Shared/Components/APIResponseHandler/types.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/service.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +3 -3
- package/dist/Shared/Components/Header/service.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -2
- package/dist/Shared/Components/ReactSelect/index.d.ts +0 -1
- package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -4
- package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +0 -2
- package/dist/Shared/Helpers.d.ts +2 -2
- package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +1 -1
- package/dist/Shared/Providers/types.d.ts +2 -2
- package/dist/Shared/types.d.ts +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/{yaml.worker-23754585.js → yaml.worker-632eebb8.js} +28 -28
- package/dist/{cssMode-737c2ae4.js → cssMode-46eab4e3.js} +1 -1
- package/dist/{freemarker2-8fa6ffb9.js → freemarker2-8048b11c.js} +1 -1
- package/dist/{handlebars-446e0789.js → handlebars-ecf52a03.js} +1 -1
- package/dist/{html-fd748031.js → html-12b3f587.js} +1 -1
- package/dist/{htmlMode-3ded316b.js → htmlMode-e55f1dd3.js} +1 -1
- package/dist/{index-894b7670.js → index-8d64a3b4.js} +50388 -65636
- package/dist/index.js +387 -397
- package/dist/{javascript-12c768f4.js → javascript-b9d8cee9.js} +1 -1
- package/dist/{jsonMode-3d012233.js → jsonMode-1bcaac69.js} +1 -1
- package/dist/{liquid-fd922791.js → liquid-15ad3065.js} +1 -1
- package/dist/{mdx-5e8fa3a5.js → mdx-e41c6f21.js} +1 -1
- package/dist/{python-c82dbf5c.js → python-2ae67f23.js} +1 -1
- package/dist/{razor-e8be9cf0.js → razor-d19d456f.js} +1 -1
- package/dist/{tsMode-029b3084.js → tsMode-e0ff5061.js} +1 -1
- package/dist/{typescript-f5b8955d.js → typescript-bf041925.js} +1 -1
- package/dist/{xml-7b502d63.js → xml-a2895b28.js} +1 -1
- package/dist/{yaml-f7bc54f5.js → yaml-e5fd086f.js} +1 -1
- package/package.json +3 -10
- package/dist/Common/Modals/OpaqueModal.d.ts +0 -13
- package/dist/Shared/Components/DatePicker/DateSelect.d.ts +0 -3
- package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +0 -12
- package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +0 -3
- package/dist/Shared/Components/DatePicker/constants.d.ts +0 -122
- package/dist/Shared/Components/DatePicker/index.d.ts +0 -4
- package/dist/Shared/Components/DatePicker/types.d.ts +0 -58
- package/dist/Shared/Components/DatePicker/utils.d.ts +0 -47
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +0 -3
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +0 -4
- package/dist/Shared/Components/FeatureDescription/constant.d.ts +0 -8
- package/dist/Shared/Components/FeatureDescription/index.d.ts +0 -2
- package/dist/Shared/Components/FeatureDescription/types.d.ts +0 -19
- package/dist/Shared/Components/FeatureDescription/utils.d.ts +0 -6
- package/dist/Shared/Components/ReactSelect/constants.d.ts +0 -14
package/dist/Common/Api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MutableRefObject } from 'react';
|
|
2
1
|
import { ResponseType, APIOptions } from './Types';
|
|
2
|
+
import { MutableRefObject } from 'react';
|
|
3
3
|
|
|
4
4
|
export declare const post: (url: string, data: object, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType>;
|
|
5
5
|
export declare const put: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { Breadcrumbs, UseBreadcrumbOptionalProps, UseBreadcrumbState } from './Types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
export declare const BreadcrumbContext: React.Context<any>;
|
|
5
5
|
export declare function useBreadcrumb(props?: UseBreadcrumbOptionalProps, deps?: any[]): UseBreadcrumbState;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BreadcrumbTextProps } from './Types';
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { CodeEditorComposition, CodeEditorInterface } from './types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const CodeEditor: React.FC<CodeEditorInterface> & CodeEditorComposition;
|
|
5
5
|
export default CodeEditor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MODES } from '../Constants';
|
|
2
1
|
import { Action, CodeEditorInitialValueType, CodeEditorState, CodeEditorThemesKeys } from './types';
|
|
2
|
+
import { MODES } from '../Constants';
|
|
3
3
|
|
|
4
4
|
export declare const CodeEditorReducer: (state: CodeEditorState, action: Action) => {
|
|
5
5
|
mode: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse } from './Types';
|
|
2
1
|
import { ApiResourceType } from '../Pages';
|
|
2
|
+
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse } from './Types';
|
|
3
3
|
|
|
4
4
|
export declare const getTeamListMin: () => Promise<TeamList>;
|
|
5
5
|
interface UserRole extends ResponseType {
|
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as React, SyntheticEvent } from 'react';
|
|
2
|
-
import { AsyncOptions, UseSearchString } from './Types';
|
|
3
1
|
import { scrollableInterface } from '../Shared';
|
|
2
|
+
import { AsyncOptions, UseSearchString } from './Types';
|
|
3
|
+
import { default as React, SyntheticEvent } from 'react';
|
|
4
4
|
|
|
5
5
|
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
|
6
6
|
interface ConditionalWrapper<T> {
|
|
@@ -2,8 +2,5 @@ import { UseUrlFiltersProps, UseUrlFiltersReturnType } from '../useUrlFilters';
|
|
|
2
2
|
|
|
3
3
|
export interface UseStateFiltersProps<T> extends Pick<UseUrlFiltersProps<T, never>, 'initialSortKey'> {
|
|
4
4
|
}
|
|
5
|
-
export interface UseStateFiltersReturnType<T> extends Pick<UseUrlFiltersReturnType<T>, 'sortBy' | 'sortOrder' | 'handleSorting' | 'clearFilters'
|
|
6
|
-
}
|
|
7
|
-
export interface PaginationType<T> extends Pick<UseUrlFiltersReturnType<T>, 'pageSize'> {
|
|
8
|
-
pageNumber: number;
|
|
5
|
+
export interface UseStateFiltersReturnType<T> extends Pick<UseUrlFiltersReturnType<T>, 'sortBy' | 'sortOrder' | 'handleSorting' | 'clearFilters'> {
|
|
9
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { ModalType } from '../Types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
export declare const Modal: ({ style, children, modal, rootClassName, onClick, callbackRef, preventWheelDisable, noBackDrop, }: ModalType) => React.ReactPortal;
|
|
@@ -2,15 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
|
|
3
3
|
export declare const Option: (props: any) => JSX.Element;
|
|
4
4
|
export declare const SingleSelectOption: (props: any) => JSX.Element;
|
|
5
|
-
/**
|
|
6
|
-
* Multi value container
|
|
7
|
-
*/
|
|
8
5
|
export declare const MultiValueContainer: (props: any) => JSX.Element;
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* Multi value container with count
|
|
12
|
-
*/
|
|
13
|
-
export declare const MultiValueContainerWithCount: (props: any) => JSX.Element;
|
|
14
6
|
export declare const ClearIndicator: (props: any) => JSX.Element;
|
|
15
7
|
export declare const MultiValueRemove: (props: any) => JSX.Element;
|
|
16
8
|
export declare const MultiValueChipContainer: ({ validator, isAllSelected, ...props }: {
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import { FieldRowProps } from './types';
|
|
2
|
-
import { DO_NOT_SHOW_LABEL } from '../constants';
|
|
3
2
|
|
|
4
|
-
export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, shouldAlignCenter, }:
|
|
5
|
-
label: FieldRowProps['label'] | typeof DO_NOT_SHOW_LABEL;
|
|
6
|
-
}) => JSX.Element;
|
|
3
|
+
export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, shouldAlignCenter, }: FieldRowProps) => JSX.Element;
|
|
@@ -4,4 +4,7 @@ export declare const PLACEHOLDERS: {
|
|
|
4
4
|
OBJECT_KEY: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const DEFAULT_FIELD_TITLE = "Key not available";
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ADD_BUTTON_WIDTH: {
|
|
8
|
+
MAX_WIDTH_VALUE: number;
|
|
9
|
+
MAX_WIDTH_CLASSNAME: string;
|
|
10
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconButtonProps } from '@rjsf/utils';
|
|
2
2
|
|
|
3
|
-
export declare const AddButton: ({ icon, iconType, registry, uiSchema, ...props }: IconButtonProps) => JSX.Element;
|
|
3
|
+
export declare const AddButton: ({ label, icon, iconType, registry, uiSchema, ...props }: IconButtonProps & Partial<Record<'label', string>>) => JSX.Element;
|
|
@@ -12,7 +12,7 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
|
|
|
12
12
|
valueContainer: (base: any, state: any) => any;
|
|
13
13
|
loadingMessage: (base: any) => any;
|
|
14
14
|
noOptionsMessage: (base: any) => any;
|
|
15
|
-
multiValue: (base: any
|
|
15
|
+
multiValue: (base: any) => any;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* Returns the redirection props for a url
|
|
@@ -24,3 +24,4 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
|
|
|
24
24
|
* Infers the type for json schema from value type
|
|
25
25
|
*/
|
|
26
26
|
export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
27
|
+
export declare const getTippyWrapperWithContent: (content: any) => (children: any) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { RadioGroupComposition, RadioGroupInterface } from '../Types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const RadioGroup: React.FC<RadioGroupInterface> & RadioGroupComposition;
|
|
5
5
|
export default RadioGroup;
|
|
@@ -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,
|
|
37
|
+
declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, noBackgroundAndBorder, }: SearchBarProps) => JSX.Element;
|
|
38
38
|
export default SearchBar;
|
|
@@ -32,10 +32,6 @@ 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
|
/**
|
|
40
36
|
* Hide the background and border of the search
|
|
41
37
|
*/
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { default as React, ReactNode, CSSProperties } from 'react';
|
|
2
|
-
import { Placement } from 'tippy.js';
|
|
3
|
-
import { ImageComment, ReleaseTag } from './ImageTags.Types';
|
|
4
|
-
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
|
|
5
1
|
import { RegistryType } from '../Shared';
|
|
2
|
+
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
|
|
3
|
+
import { ImageComment, ReleaseTag } from './ImageTags.Types';
|
|
4
|
+
import { Placement } from 'tippy.js';
|
|
5
|
+
import { default as React, ReactNode, CSSProperties } from 'react';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Generic response type object with support for overriding the result type
|
|
@@ -140,8 +140,7 @@ export interface ErrorScreenNotAuthorizedProps {
|
|
|
140
140
|
}
|
|
141
141
|
export declare enum ImageType {
|
|
142
142
|
Large = "large",
|
|
143
|
-
Medium = "medium"
|
|
144
|
-
SMALL = "small"
|
|
143
|
+
Medium = "medium"
|
|
145
144
|
}
|
|
146
145
|
export interface InfoColourBarType {
|
|
147
146
|
message: React.ReactNode;
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -10,11 +10,10 @@ export * from './Helper';
|
|
|
10
10
|
export * from './Progressing';
|
|
11
11
|
export * from './Drawer/Drawer';
|
|
12
12
|
export * from './Modals/Modal';
|
|
13
|
-
export * from './Modals/OpaqueModal';
|
|
14
13
|
export * from './Modals/VisibleModal';
|
|
15
14
|
export * from './Modals/VisibleModal2';
|
|
16
15
|
export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
|
|
17
|
-
export { default as BreadcrumbStore
|
|
16
|
+
export { default as BreadcrumbStore } from './BreadCrumb/BreadcrumbStore';
|
|
18
17
|
export { default as RadioGroup } from './RadioGroup';
|
|
19
18
|
export { default as RadioGroupItem } from './RadioGroupItem';
|
|
20
19
|
export { default as PopupMenu } from './PopupMenu';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UserRoleGroupsTableProps } from './types';
|
|
2
1
|
import { UserRoleGroup } from '../../../types';
|
|
2
|
+
import { UserRoleGroupsTableProps } from './types';
|
|
3
3
|
|
|
4
4
|
declare const UserRoleGroupTableRow: ({ id, name, description, status, timeToLive, modifierClassName, disableStatusComponent, handleStatusUpdate, handleDelete, statusComponent: StatusComponent, showStatus, showDelete, }: UserRoleGroup & Pick<UserRoleGroupsTableProps, "disableStatusComponent" | "handleStatusUpdate" | "handleDelete" | "statusComponent" | "showStatus"> & {
|
|
5
5
|
modifierClassName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
2
1
|
import { BuildInfraInputFieldComponentProps } from './types';
|
|
2
|
+
import { FunctionComponent } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const BuildInfraProfileDescriptionField: FunctionComponent<BuildInfraInputFieldComponentProps>;
|
|
5
5
|
export default BuildInfraProfileDescriptionField;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
2
1
|
import { BuildInfraInputFieldComponentProps } from './types';
|
|
2
|
+
import { FunctionComponent } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const BuildInfraProfileNameField: FunctionComponent<BuildInfraInputFieldComponentProps>;
|
|
5
5
|
export default BuildInfraProfileNameField;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UseBreadcrumbProps } from '../../../Common/BreadCrumb/Types';
|
|
2
1
|
import { BuildInfraFormFieldType, BuildInfraMetaConfigTypes, ProfileInputErrorType, BuildInfraProfileBase, HandleProfileInputChangeType } from './types';
|
|
2
|
+
import { UseBreadcrumbProps } from '../../../Common/BreadCrumb/Types';
|
|
3
3
|
|
|
4
4
|
export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
|
|
5
5
|
readonly STEP: "any";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResponseType } from '../../../Common';
|
|
2
1
|
import { BuildInfraProfileResponseType, BuildInfraProfileTransformerType, CreateBuildInfraProfileType, GetBuildInfraProfileType, UpdateBuildInfraProfileType } from './types';
|
|
2
|
+
import { ResponseType } from '../../../Common';
|
|
3
3
|
|
|
4
4
|
export declare const getTransformedBuildInfraProfileResponse: ({ configurationUnits, defaultConfigurations, profile, fromCreateView, }: BuildInfraProfileTransformerType) => BuildInfraProfileResponseType;
|
|
5
5
|
export declare const getBuildInfraProfileByName: ({ name, fromCreateView, }: GetBuildInfraProfileType) => Promise<BuildInfraProfileResponseType>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FormEvent, FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
|
3
|
-
import { ValidationResponseType } from '../../../Shared';
|
|
4
1
|
import { ServerErrors } from '../../../Common';
|
|
2
|
+
import { ValidationResponseType } from '../../../Shared';
|
|
3
|
+
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
|
4
|
+
import { FormEvent, FunctionComponent, ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Unique actions that will be dispatched and,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ErrorScreenManagerProps, GenericEmptyStateType, ProgressingProps, ReloadType, ServerErrors } from '../../../Common';
|
|
3
1
|
import { GenericSectionErrorStateProps } from '../GenericSectionErrorState/types';
|
|
2
|
+
import { ErrorScreenManagerProps, GenericEmptyStateType, ProgressingProps, ReloadType, ServerErrors } from '../../../Common';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
4
|
|
|
5
5
|
export interface EmptyPageTextType {
|
|
6
6
|
title?: GenericEmptyStateType['title'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { SidebarType } from './types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const Sidebar: React.MemoExoticComponent<({ type, filterOptions, triggerHistory, hasMore, setPagination, fetchIdData, handleViewAllHistory, children, renderRunSource, resourceId, }: SidebarType) => JSX.Element>;
|
|
5
5
|
export default Sidebar;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { TriggerDetailsType, TriggerOutputProps } from './types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
|
|
4
4
|
export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText, }: TriggerDetailsType) => JSX.Element>;
|
|
5
5
|
declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, }: TriggerOutputProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResponseType } from '../../../Common';
|
|
2
1
|
import { DeploymentConfigurationsRes, DeploymentHistoryDetail, DeploymentHistoryDetailRes, DeploymentHistoryResult, DeploymentHistorySingleValue, DeploymentStatusDetailsResponse, HistoryDiffSelectorRes, ModuleConfigResponse, TriggerDetailsResponseType, TriggerHistoryParamsType } from './types';
|
|
2
|
+
import { ResponseType } from '../../../Common';
|
|
3
3
|
|
|
4
4
|
export declare function getTriggerDetails({ appId, envId, pipelineId, triggerId, fetchIdData, }: {
|
|
5
5
|
appId: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps } from '../../../Common';
|
|
3
|
-
import { DeploymentStageType } from '../../constants';
|
|
4
1
|
import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
|
|
2
|
+
import { DeploymentStageType } from '../../constants';
|
|
3
|
+
import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps } from '../../../Common';
|
|
4
|
+
import { CSSProperties } from 'react';
|
|
5
5
|
|
|
6
6
|
export declare enum HistoryComponentType {
|
|
7
7
|
CI = "CI",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResponseType } from '../../../Common';
|
|
2
1
|
import { ServerInfoResponse } from './types';
|
|
2
|
+
import { ResponseType } from '../../../Common';
|
|
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 { ReactNode } from 'react';
|
|
2
|
-
import { ImageTaggingContainerType } from '../../../Common';
|
|
3
1
|
import { RegistryType } from '../..';
|
|
2
|
+
import { ImageTaggingContainerType } from '../../../Common';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
4
|
|
|
5
5
|
export interface ArtifactInfoProps {
|
|
6
6
|
imagePath: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { CDModalTabType, VulnerabilityType } from '../../../Common';
|
|
3
1
|
import { MaterialSecurityInfoType } from '../../types';
|
|
2
|
+
import { CDModalTabType, VulnerabilityType } from '../../../Common';
|
|
3
|
+
import { default as React, ReactNode } from 'react';
|
|
4
4
|
|
|
5
5
|
export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
|
|
6
6
|
isSecurityModuleInstalled: boolean;
|
|
@@ -17,8 +17,6 @@ export * from './Header';
|
|
|
17
17
|
export * from './AnnouncementBanner';
|
|
18
18
|
export * from './ButtonWithLoader';
|
|
19
19
|
export * from './ButtonWithSelector';
|
|
20
|
-
export * from './FeatureDescription';
|
|
21
|
-
export * from './DatePicker';
|
|
22
20
|
export * from './CICDHistory';
|
|
23
21
|
export * from './GitCommitInfoGeneric';
|
|
24
22
|
export * from './Error';
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MaterialInfo, SortingOrder } from '../Common';
|
|
2
|
-
import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
|
|
3
1
|
import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
|
|
2
|
+
import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
|
|
3
|
+
import { MaterialInfo, SortingOrder } from '../Common';
|
|
4
4
|
|
|
5
5
|
interface HighlightSearchTextProps {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MutableRefObject, ReactNode } from 'react';
|
|
2
|
-
import { ServerInfo } from '../Components/Header/types';
|
|
3
1
|
import { SERVER_MODE } from '../../Common';
|
|
2
|
+
import { ServerInfo } from '../Components/Header/types';
|
|
3
|
+
import { MutableRefObject, ReactNode } from 'react';
|
|
4
4
|
|
|
5
5
|
export interface MainContext {
|
|
6
6
|
serverMode: SERVER_MODE;
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes } from '../Common';
|
|
2
1
|
import { PatchOperationType } from './constants';
|
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes } from '../Common';
|
|
3
3
|
|
|
4
4
|
export declare enum EnvType {
|
|
5
5
|
CHART = "helm_charts",
|