@devtron-labs/devtron-fe-common-lib 1.2.7-beta-5 → 1.2.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.
- package/dist/{@code-editor-HL5a1btU.js → @code-editor-AFKVuTPt.js} +3327 -3470
- package/dist/{@common-rjsf-DFgZpQQ7.js → @common-rjsf-D4NzXP7Z.js} +2 -2
- package/dist/{@framer-motion-DHY98qq3.js → @framer-motion-B6d1rF48.js} +1 -1
- package/dist/@monaco-editor-CVagbUeH.js +138960 -0
- package/dist/{@react-dates-WNnwjI5S.js → @react-dates-DUsXL6Ns.js} +1 -1
- package/dist/{@react-select-BbR996pa.js → @react-select--zt85pEZ.js} +50 -50
- package/dist/{@vendor-RU8AW1bK.js → @vendor-DI8rS9OQ.js} +8755 -7936
- package/dist/Common/CIPipeline.Types.d.ts +5 -41
- package/dist/Common/Common.service.d.ts +3 -9
- package/dist/Common/Constants.d.ts +0 -4
- package/dist/Common/Helper.d.ts +0 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +3 -0
- package/dist/Common/SegmentedControl/index.d.ts +2 -0
- package/dist/Common/SegmentedControl/types.d.ts +15 -0
- package/dist/Common/Types.d.ts +3 -15
- package/dist/Common/index.d.ts +1 -0
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +0 -1
- package/dist/Pages/Applications/DevtronApps/Details/index.d.ts +0 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -5
- package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -0
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +7 -0
- package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +2 -2
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +7 -30
- package/dist/assets/@monaco-editor.css +1 -1
- package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
- package/dist/index.js +518 -524
- package/package.json +4 -4
- package/dist/@monaco-editor-34kqzg3G.js +0 -70451
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +0 -7
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +0 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +0 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +0 -3
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +0 -3
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +0 -11
- package/dist/Shared/Components/FileUpload/FileUpload.d.ts +0 -2
- package/dist/Shared/Components/FileUpload/index.d.ts +0 -2
- package/dist/Shared/Components/FileUpload/types.d.ts +0 -8
- package/dist/assets/ic-cloud-upload.18066e05.svg +0 -3
- package/dist/assets/ic-var-initial.afdaa854.svg +0 -25
- package/dist/yaml.worker.d.ts +0 -0
@@ -1,4 +1,3 @@
|
|
1
|
-
import { DynamicDataTableCellValidationState } from '../Shared/Components';
|
2
1
|
export interface MaterialType {
|
3
2
|
name: string;
|
4
3
|
type: string;
|
@@ -71,30 +70,11 @@ export declare enum RefVariableStageType {
|
|
71
70
|
PRE_CI = "PRE_CI",
|
72
71
|
POST_CI = "POST_CI"
|
73
72
|
}
|
74
|
-
export interface FilePropertyType {
|
75
|
-
allowedExtensions: string[];
|
76
|
-
maxUploadSize: number;
|
77
|
-
}
|
78
|
-
export interface ConstraintType {
|
79
|
-
fileProperty: FilePropertyType;
|
80
|
-
}
|
81
|
-
export interface ValueConstraintType {
|
82
|
-
choices?: string[];
|
83
|
-
blockCustomValue?: boolean;
|
84
|
-
constraint?: ConstraintType;
|
85
|
-
}
|
86
|
-
export declare enum VariableTypeFormat {
|
87
|
-
STRING = "STRING",
|
88
|
-
NUMBER = "NUMBER",
|
89
|
-
BOOL = "BOOL",
|
90
|
-
DATE = "DATE",
|
91
|
-
FILE = "FILE"
|
92
|
-
}
|
93
73
|
export interface VariableType {
|
94
74
|
id: number;
|
95
75
|
name: string;
|
96
76
|
value: string;
|
97
|
-
format:
|
77
|
+
format: string;
|
98
78
|
description: string;
|
99
79
|
defaultValue: string;
|
100
80
|
allowEmptyValue: boolean;
|
@@ -103,12 +83,6 @@ export interface VariableType {
|
|
103
83
|
refVariableName: string;
|
104
84
|
refVariableStage?: RefVariableStageType;
|
105
85
|
variableStepIndexInPlugin?: number;
|
106
|
-
fileMountDir: string;
|
107
|
-
fileReferenceId?: number;
|
108
|
-
valueConstraintId?: number;
|
109
|
-
valueConstraint?: ValueConstraintType;
|
110
|
-
isRuntimeArg: boolean;
|
111
|
-
refVariableUsed: boolean;
|
112
86
|
}
|
113
87
|
interface CommandArgsMap {
|
114
88
|
command: string;
|
@@ -252,26 +226,16 @@ export interface ErrorObj {
|
|
252
226
|
isValid: boolean;
|
253
227
|
message: string | null;
|
254
228
|
}
|
255
|
-
export declare enum InputOutputVariablesHeaderKeys {
|
256
|
-
VARIABLE = "variable",
|
257
|
-
FORMAT = "format",
|
258
|
-
VALUE = "val"
|
259
|
-
}
|
260
|
-
export type InputOutputVariablesErrorObj = Record<InputOutputVariablesHeaderKeys, DynamicDataTableCellValidationState>;
|
261
229
|
export interface TaskErrorObj {
|
262
230
|
isValid: boolean;
|
263
231
|
name: ErrorObj;
|
264
232
|
inlineStepDetail?: {
|
265
|
-
inputVariables?:
|
266
|
-
outputVariables?:
|
267
|
-
isInputVariablesValid?: boolean;
|
268
|
-
isOutputVariablesValid?: boolean;
|
233
|
+
inputVariables?: ErrorObj[];
|
234
|
+
outputVariables?: ErrorObj[];
|
269
235
|
};
|
270
236
|
pluginRefStepDetail?: {
|
271
|
-
inputVariables?:
|
272
|
-
outputVariables?:
|
273
|
-
isInputVariablesValid?: boolean;
|
274
|
-
isOutputVariablesValid?: boolean;
|
237
|
+
inputVariables?: ErrorObj[];
|
238
|
+
outputVariables?: ErrorObj[];
|
275
239
|
};
|
276
240
|
}
|
277
241
|
export interface FormErrorObjectType {
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, GlobalVariableOptionType } from './Types';
|
1
|
+
import { RuntimeParamsAPIResponseType, RuntimeParamsListItemType } from '../Shared/types';
|
2
|
+
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse } from './Types';
|
4
3
|
import { ApiResourceType } from '../Pages';
|
5
4
|
export declare const getTeamListMin: () => Promise<TeamList>;
|
6
5
|
interface UserRole extends ResponseType {
|
@@ -16,7 +15,7 @@ export declare const SourceTypeMap: {
|
|
16
15
|
};
|
17
16
|
export declare function getUserRole(appName?: string): Promise<UserRole>;
|
18
17
|
export declare function setImageTags(request: any, pipelineId: number, artifactId: number): Promise<ResponseType<any>>;
|
19
|
-
export declare const parseRuntimeParams: (response: RuntimeParamsAPIResponseType) =>
|
18
|
+
export declare const parseRuntimeParams: (response: RuntimeParamsAPIResponseType) => RuntimeParamsListItemType[];
|
20
19
|
export declare const processCDMaterialServiceResponse: (cdMaterialsResult: any, stage: DeploymentNodeType, offset: number, filter: CDMaterialFilterQuery, disableDefaultSelection?: boolean) => CDMaterialResponseType;
|
21
20
|
export declare const genericCDMaterialsService: (serviceType: CDMaterialServiceEnum, cdMaterialID: number, stage: DeploymentNodeType, signal: AbortSignal, queryParams?: CDMaterialServiceQueryParams) => Promise<CDMaterialResponseType>;
|
22
21
|
export declare function extractImage(image: string): string;
|
@@ -35,9 +34,4 @@ export declare function getWebhookEventsForEventId(eventId: string | number): Pr
|
|
35
34
|
* @returns URL to the branch in the Git repository
|
36
35
|
*/
|
37
36
|
export declare const getGitBranchUrl: (gitUrl: string, branchName: string) => string | null;
|
38
|
-
export declare const getGlobalVariables: ({ appId, isCD, abortControllerRef, }: {
|
39
|
-
appId: number;
|
40
|
-
isCD?: boolean;
|
41
|
-
abortControllerRef?: MutableRefObject<AbortController>;
|
42
|
-
}) => Promise<GlobalVariableOptionType[]>;
|
43
37
|
export {};
|
@@ -12,13 +12,11 @@ export declare const DOCUMENTATION: {
|
|
12
12
|
GLOBAL_CONFIG_BUILD_INFRA: string;
|
13
13
|
};
|
14
14
|
export declare const PATTERNS: {
|
15
|
-
NATURAL_NUMBERS: RegExp;
|
16
15
|
KUBERNETES_KEY_PREFIX: RegExp;
|
17
16
|
KUBERNETES_KEY_NAME: RegExp;
|
18
17
|
START_END_ALPHANUMERIC: RegExp;
|
19
18
|
ALPHANUMERIC_WITH_SPECIAL_CHAR: RegExp;
|
20
19
|
ESCAPED_CHARACTERS: RegExp;
|
21
|
-
NUMBERS_WITH_SCOPE_VARIABLES: RegExp;
|
22
20
|
};
|
23
21
|
export declare const URLS: {
|
24
22
|
LOGIN_SSO: string;
|
@@ -96,8 +94,6 @@ export declare const ROUTES: {
|
|
96
94
|
USER_LIST_MIN: string;
|
97
95
|
CONFIG_DATA: string;
|
98
96
|
K8S_RESOURCE_LIST: string;
|
99
|
-
FILE_UPLOAD: string;
|
100
|
-
PLUGIN_GLOBAL_VARIABLES: string;
|
101
97
|
CONFIG_COMPARE_SECRET: string;
|
102
98
|
};
|
103
99
|
export declare enum KEY_VALUE {
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -134,5 +134,4 @@ export declare const getSanitizedIframe: (iframeString: string) => string;
|
|
134
134
|
* This method adds default attributes to iframe - title, loading ="lazy", width="100%", height="100%"
|
135
135
|
*/
|
136
136
|
export declare const getIframeWithDefaultAttributes: (iframeString: string, defaultName?: string) => string;
|
137
|
-
export declare const getGoLangFormattedDateWithTimezone: (dateFormat: string) => string;
|
138
137
|
export {};
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { default as RJSF } from '@rjsf/core';
|
2
2
|
import { FormProps } from './types';
|
3
|
-
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "name" | "
|
3
|
+
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "name" | "children" | "className" | "disabled" | "id" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "target" | "action" | "tagName" | "autoComplete" | "method" | "noValidate" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<unknown, import('json-schema').JSONSchema7, import('@rjsf/utils').GenericObjectType>>>;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { OptionType } from '../Types';
|
2
|
+
export declare enum SegmentedControlVariant {
|
3
|
+
GRAY_ON_WHITE = "gui-yaml-switch",
|
4
|
+
WHITE_ON_GRAY = "gui-yaml-switch-window-bg"
|
5
|
+
}
|
6
|
+
export interface SegmentedControlProps {
|
7
|
+
tabs: OptionType[];
|
8
|
+
initialTab: string;
|
9
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
10
|
+
name: string;
|
11
|
+
tooltips?: string[];
|
12
|
+
disabled?: boolean;
|
13
|
+
rootClassName?: string;
|
14
|
+
variant?: SegmentedControlVariant;
|
15
|
+
}
|
package/dist/Common/Types.d.ts
CHANGED
@@ -3,8 +3,8 @@ import { TippyProps } from '@tippyjs/react';
|
|
3
3
|
import { Placement } from 'tippy.js';
|
4
4
|
import { UserGroupDTO } from '../Pages/GlobalConfigurations';
|
5
5
|
import { ImageComment, ReleaseTag } from './ImageTags.Types';
|
6
|
-
import { MandatoryPluginBaseStateType, RegistryType,
|
7
|
-
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType,
|
6
|
+
import { MandatoryPluginBaseStateType, RegistryType, RuntimeParamsListItemType, Severity } from '../Shared';
|
7
|
+
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
|
8
8
|
/**
|
9
9
|
* Generic response type object with support for overriding the result type
|
10
10
|
*
|
@@ -94,7 +94,6 @@ export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
|
|
94
94
|
documentationLink?: string;
|
95
95
|
documentationLinkText?: string;
|
96
96
|
children: React.ReactElement<any>;
|
97
|
-
disableClose?: boolean;
|
98
97
|
}
|
99
98
|
export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading' | 'infoText' | 'iconClass' | 'documentationLink' | 'documentationLinkText' | 'additionalContent' | 'placement' | 'Icon' | 'headingInfo'> {
|
100
99
|
dataTestid?: string;
|
@@ -593,7 +592,7 @@ export interface CDMaterialsMetaInfo {
|
|
593
592
|
* This is the ID of user that has request the material
|
594
593
|
*/
|
595
594
|
requestedUserId: number;
|
596
|
-
runtimeParams:
|
595
|
+
runtimeParams: RuntimeParamsListItemType[];
|
597
596
|
}
|
598
597
|
export interface ImagePromotionMaterialInfo {
|
599
598
|
isApprovalPendingForPromotion: boolean;
|
@@ -872,15 +871,4 @@ export interface WidgetEventDetails {
|
|
872
871
|
age: string;
|
873
872
|
lastSeen: string;
|
874
873
|
}
|
875
|
-
export interface GlobalVariableDTO {
|
876
|
-
name: string;
|
877
|
-
format: VariableTypeFormat;
|
878
|
-
description: string;
|
879
|
-
stageType: 'cd' | 'post-cd' | 'ci';
|
880
|
-
}
|
881
|
-
export type GlobalVariableOptionType = Omit<GlobalVariableDTO, 'name'> & {
|
882
|
-
label: string;
|
883
|
-
value: string;
|
884
|
-
variableType: Extract<RefVariableType, RefVariableType.GLOBAL>;
|
885
|
-
};
|
886
874
|
export {};
|
package/dist/Common/index.d.ts
CHANGED
@@ -4,7 +4,6 @@ import { UseStateFiltersReturnType } from '../../../Common/Hooks';
|
|
4
4
|
import { TooltipProps } from '@Common/Tooltip/types';
|
5
5
|
import { SelectPickerOptionType, SelectPickerProps } from '../SelectPicker';
|
6
6
|
import { SelectTextAreaProps } from '../SelectTextArea';
|
7
|
-
import { FileUploadProps } from '../FileUpload';
|
8
7
|
/**
|
9
8
|
* Interface representing header for a dynamic data table.
|
10
9
|
* @template K - A string representing the key type.
|
@@ -25,8 +24,7 @@ export declare enum DynamicDataTableRowDataType {
|
|
25
24
|
TEXT = "text",
|
26
25
|
DROPDOWN = "dropdown",
|
27
26
|
SELECT_TEXT = "select-text",
|
28
|
-
BUTTON = "button"
|
29
|
-
FILE_UPLOAD = "file-upload"
|
27
|
+
BUTTON = "button"
|
30
28
|
}
|
31
29
|
export type DynamicDataTableCellPropsMap = {
|
32
30
|
[DynamicDataTableRowDataType.TEXT]: Omit<ResizableTagTextAreaProps, 'id' | 'className' | 'minHeight' | 'maxHeight' | 'value' | 'onChange' | 'disabled' | 'disableOnBlurResizeToMinHeight' | 'refVar' | 'dependentRef'>;
|
@@ -38,7 +36,6 @@ export type DynamicDataTableCellPropsMap = {
|
|
38
36
|
icon?: ReactNode;
|
39
37
|
text: string;
|
40
38
|
};
|
41
|
-
[DynamicDataTableRowDataType.FILE_UPLOAD]: Omit<FileUploadProps, 'className' | 'fileName' | 'onUpload' | 'multiple'>;
|
42
39
|
};
|
43
40
|
type DynamicDataTableCellData<T extends keyof DynamicDataTableCellPropsMap = keyof DynamicDataTableCellPropsMap> = T extends keyof DynamicDataTableCellPropsMap ? {
|
44
41
|
type: T;
|
@@ -123,7 +120,6 @@ export type DynamicDataTableProps<K extends string, CustomStateType = Record<str
|
|
123
120
|
* @param extraData - Additional data, such as a selected value for dropdowns.
|
124
121
|
*/
|
125
122
|
onRowEdit: (row: DynamicDataTableRowType<K, CustomStateType>, headerKey: K, value: string, extraData: {
|
126
|
-
files?: File[];
|
127
123
|
selectedValue?: SelectPickerOptionType<string>;
|
128
124
|
}) => void;
|
129
125
|
/**
|
@@ -4,3 +4,10 @@ export interface InvalidYAMLTippyWrapperProps {
|
|
4
4
|
restoreLastSavedYAML?: () => void;
|
5
5
|
children: TooltipProps['children'];
|
6
6
|
}
|
7
|
+
export declare enum InvalidTippyTypeEnum {
|
8
|
+
YAML = "yaml",
|
9
|
+
JSON = "json"
|
10
|
+
}
|
11
|
+
export interface InvalidTippyProps extends Pick<InvalidYAMLTippyWrapperProps, 'parsingError' | 'restoreLastSavedYAML'> {
|
12
|
+
type?: InvalidTippyTypeEnum;
|
13
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const getInvalidTippyContent: ({ parsingError, restoreLastSavedYAML, }:
|
1
|
+
import { InvalidTippyProps } from './types';
|
2
|
+
export declare const getInvalidTippyContent: ({ type, parsingError, restoreLastSavedYAML, }: InvalidTippyProps) => JSX.Element;
|
package/dist/Shared/types.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { Dayjs } from 'dayjs';
|
2
|
-
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams } from '../Common';
|
3
|
+
import { KeyValueListType } from './Components';
|
3
4
|
import { EnvironmentTypeEnum, PatchOperationType } from './constants';
|
4
5
|
export declare enum EnvType {
|
5
6
|
CHART = "helm_charts",
|
@@ -281,27 +282,11 @@ export interface GitTriggers {
|
|
281
282
|
CiConfigureSourceType: string;
|
282
283
|
CiConfigureSourceValue: string;
|
283
284
|
}
|
284
|
-
export interface RuntimePluginVariables extends Pick<VariableType, 'name' | 'value' | 'defaultValue' | 'format' | 'fileReferenceId' | 'fileMountDir'> {
|
285
|
-
variableStepScope: string;
|
286
|
-
valueConstraint: ValueConstraintType & {
|
287
|
-
id: number;
|
288
|
-
};
|
289
|
-
stepVariableId: number;
|
290
|
-
valueType: RefVariableType;
|
291
|
-
stepName: string;
|
292
|
-
stepType: PluginType;
|
293
|
-
isRequired: boolean;
|
294
|
-
pluginIcon?: string;
|
295
|
-
description?: string;
|
296
|
-
}
|
297
285
|
export interface RuntimeParamsAPIResponseType {
|
298
286
|
envVariables: Record<string, string>;
|
299
|
-
runtimePluginVariables: RuntimePluginVariables[];
|
300
287
|
}
|
301
288
|
export interface RuntimeParamsTriggerPayloadType {
|
302
|
-
runtimeParams:
|
303
|
-
runtimePluginVariables: Pick<RuntimePluginVariables, 'name' | 'fileMountDir' | 'fileReferenceId' | 'value' | 'format' | 'variableStepScope'>[];
|
304
|
-
};
|
289
|
+
runtimeParams: RuntimeParamsAPIResponseType;
|
305
290
|
}
|
306
291
|
export declare enum CIMaterialSidebarType {
|
307
292
|
CODE_SOURCE = "Code Source",
|
@@ -600,6 +585,7 @@ export declare enum ConfigurationType {
|
|
600
585
|
GUI = "GUI",
|
601
586
|
YAML = "YAML"
|
602
587
|
}
|
588
|
+
export declare const CONFIGURATION_TYPE_OPTIONS: OptionType<ConfigurationType, ConfigurationType>[];
|
603
589
|
export interface BaseURLParams {
|
604
590
|
appId: string;
|
605
591
|
envId: string;
|
@@ -610,6 +596,9 @@ export interface ConfigKeysWithLockType {
|
|
610
596
|
allowed: boolean;
|
611
597
|
}
|
612
598
|
export type DataAttributes = Record<`data-${string}`, unknown>;
|
599
|
+
export interface RuntimeParamsListItemType extends KeyValueListType {
|
600
|
+
id: number;
|
601
|
+
}
|
613
602
|
export declare enum RuntimeParamsHeadingType {
|
614
603
|
KEY = "key",
|
615
604
|
VALUE = "value"
|
@@ -751,16 +740,4 @@ export interface PreventOutsideFocusProps {
|
|
751
740
|
identifier: string;
|
752
741
|
preventFocus: boolean;
|
753
742
|
}
|
754
|
-
export interface UploadFileDTO {
|
755
|
-
id: number;
|
756
|
-
name: string;
|
757
|
-
size: number;
|
758
|
-
mimeType: string;
|
759
|
-
extension: string;
|
760
|
-
}
|
761
|
-
export interface UploadFileProps {
|
762
|
-
file: File[];
|
763
|
-
allowedExtensions?: string[];
|
764
|
-
maxUploadSize?: number;
|
765
|
-
}
|
766
743
|
export {};
|