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 731 B
import { SynapseClient } from '@sage-bionetworks/synapse-client'; /** * Gets the ID of the file entity with the given name whose parent has the given ID. * * @param name The name of the entity to find. * @param parentId The ID of the parent that the found entity must have. * @return The ID of the file entity with the given name and parent ID, or null if the entity does not exist * @throws Error If an entity with given name and parent ID was found, but that entity * was not a File Entity. */ export declare function getFileEntityIdWithSameName(name: string, parentId: string, synapseClient: SynapseClient, errorContext?: string): Promise<string | null>; //# sourceMappingURL=getFileEntityIdWithSameName.d.ts.map