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

22 lines (21 loc) 607 B
import { getEndpoint as i, BackendDestinationEnum as o } from "./getEndpoint.js"; import { GRID_PAGE_SESSION_ID_QUERY_PARAM as r, GRID_PAGE_TASK_ID_QUERY_PARAM as _ } from "../SynapseConstants.js"; function u(e, n) { let t = `${i( o.PORTAL_ENDPOINT )}Synapse:${e}`; return n != null && (t += `/version/${n}`), t; } function A(e, n) { let t = `${i( o.PORTAL_ENDPOINT )}Grid:default?${r}=${encodeURIComponent( e )}`; return n != null && (t += `&${_}=${n}`), t; } export { u as getLinkToEntityPage, A as getLinkToGridSession }; //# sourceMappingURL=getSynapseWebClientLink.js.map