Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,8 @@ import { useFolderStore } from '@/stores/folders/store'
const logger = createLogger('useDuplicateFolder')

interface UseDuplicateFolderProps {
/**
* Current workspace ID
*/
workspaceId: string
/**
* Function that returns the folder ID(s) to duplicate
* This function is called when duplication occurs to get fresh selection state
*/
getFolderIds: () => string | string[]
/**
* Optional callback after successful duplication
*/
onSuccess?: () => void
}

Expand Down