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

16 lines 716 B
export declare enum BackendDestinationEnum { REPO_ENDPOINT = 0, PORTAL_ENDPOINT = 1 } export type EndpointObject = { REPO: string; PORTAL: string; }; export declare const KNOWN_SYNAPSE_ORG_URLS: string[]; export declare const getSynapsePortalEndpoint: (hostname: string) => string; export declare const PRODUCTION_ENDPOINT_CONFIG: EndpointObject; export declare const getEndpoint: (endpoint: BackendDestinationEnum) => string; export type SynapseStack = 'production' | 'staging' | 'development' | 'mock' | 'local'; export declare const MOCK_REPO_ORIGIN = "https://mock-repo.sagebase.org"; export declare const STACK_MAP: Record<SynapseStack, EndpointObject>; //# sourceMappingURL=getEndpoint.d.ts.map