Web: FilesSelector: Added types.

This commit is contained in:
Tatiana Lopaeva 2023-09-05 14:09:02 +03:00
parent 5a5e5d0a7d
commit cd7eca41f3

View File

@ -78,6 +78,8 @@ export type useRoomsHelperProps = {
isFirstLoad: boolean;
setIsRoot: (value: boolean) => void;
searchValue?: string;
isRoomsOnly: boolean;
onSetBaseFolderPath?: (value: number | string | undefined) => void;
};
export type useFilesHelpersProps = {
@ -98,13 +100,24 @@ export type useFilesHelpersProps = {
setSelectedTreeNode: (treeNode: any) => void;
filterParam?: string;
getRootData?: () => Promise<void>;
onSetBaseFolderPath?: () => Promise<void>;
onSetBaseFolderPath?: (value: number | string | undefined) => void;
isRoomsOnly: boolean;
rootThirdPartyId?: string;
getRoomList?: (
startIndex: number,
isInit?: boolean,
search?: string | null,
isErrorPath?: boolean
) => void;
t: any;
};
export type FilesSelectorProps = {
isPanelVisible: boolean;
withoutImmediatelyClose: boolean;
isThirdParty: boolean;
rootThirdPartyId?: string;
isRoomsOnly: boolean;
isEditorDialog: boolean;
setMoveToPublicRoomVisible: (visible: boolean, operationData: object) => void;