diff --git a/libs/remix-ui/workspace/src/lib/types/index.ts b/libs/remix-ui/workspace/src/lib/types/index.ts index 4fa993bc70..56bf8b839e 100644 --- a/libs/remix-ui/workspace/src/lib/types/index.ts +++ b/libs/remix-ui/workspace/src/lib/types/index.ts @@ -346,16 +346,18 @@ export type Actions = {[A in keyof ActionPayloadTypes]: Action}[keyof ActionP export type WorkspaceElement = 'folder' | 'file' | 'workspace' export interface FlatTreeDropProps { - moveFile: (dest: string, src: string[]) => void - moveFolder: (dest: string, src: string[]) => void - moveFolderSilently: (dest: string, src: string[]) => Promise - moveFileSilently: (dest: string, src: string[]) => Promise + moveFile: (dest: string, src: string) => void + moveFolder: (dest: string, src: string) => void + moveFolderSilently: (dest: string, src: string) => Promise + moveFileSilently: (dest: string, src: string) => Promise setFilesSelected: Dispatch> getFlatTreeItem: (path: string) => FileType handleClickFolder: (path: string, type: string) => void dragSource: FileType children: React.ReactNode expandPath: string[] + selectedItems: DragStructure[] + setSelectedItems: Dispatch> } export type DragStructure = {