synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
12 lines • 451 B
TypeScript
/**
* Given a File to upload as a FileEntity, create a matching directory structure (as necessary)
* and return the ID of the folder in which the file should be uploaded.
*/
export declare function useCreatePathsAndGetParentId(): import("@tanstack/react-query").UseMutationResult<{
file: File;
parentId: string;
}, Error, {
file: File;
rootContainerId: string;
}, unknown>;
//# sourceMappingURL=useCreatePathsAndGetParentId.d.ts.map