refactor: move manager to code to documents manager

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-08-15 11:22:01 -04:00
parent 3c1a21a5c0
commit c32906bc12
5 changed files with 44 additions and 533 deletions
+9 -4
View File
@@ -1,13 +1,18 @@
/**
* Central export point for all Files module composables
*
* useDocumentManager/useDocumentSelection live in documents_manager (they only
* ever depended on its SDK, never on this module's own code) so other modules
* can reuse them too; re-exported here so existing imports from
* '@/composables' keep working unchanged.
*/
export { useFileManager } from './useFileManager'
export { useFileSelection } from './useFileSelection'
export { useDocumentManager } from '@DocumentsManager/composables/useDocumentManager'
export { useDocumentSelection } from '@DocumentsManager/composables/useDocumentSelection'
export { useFileUpload } from './useFileUpload'
export { useFileEditor } from './useFileEditor'
export type { UseFileManagerOptions } from './useFileManager'
export type { UseFileSelectionOptions } from './useFileSelection'
export type { UseDocumentManagerOptions } from '@DocumentsManager/composables/useDocumentManager'
export type { UseDocumentSelectionOptions } from '@DocumentsManager/composables/useDocumentSelection'
export type { UseFileUploadOptions, FileUploadProgress } from './useFileUpload'
export type { UseFileEditorReturn } from './useFileEditor'