synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
13 lines (12 loc) • 400 B
TypeScript
export declare enum BackendDestinationEnum {
REPO_ENDPOINT = 0,
PORTAL_ENDPOINT = 1
}
declare type EndpointObject = {
REPO: string;
PORTAL: string;
};
export declare const getSynapsePortalEndpoint: (hostname: string) => string;
export declare const PRODUCTION_ENDPOINT_CONFIG: EndpointObject;
export declare const getEndpoint: (endpoint: BackendDestinationEnum) => string;
export {};