UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

13 lines (12 loc) 400 B
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 {};