UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

12 lines 451 B
/** * 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