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

21 lines (20 loc) 1.1 kB
import { termsOfServiceNewUserStatus as m, termsOfServiceInfo as p } from "../../termsOfService/mockTermsOfService.js"; import { TERMS_OF_USE_STATUS as i, TERMS_OF_USE_INFO as s } from "../../../utils/APIConstants.js"; import "@sage-bionetworks/synapse-types"; import "../../../utils/functions/EntityTypeUtils.js"; import { getEndpoint as n, BackendDestinationEnum as S } from "../../../utils/functions/getEndpoint.js"; import "../../../synapse-client/SynapseClient.js"; import "@sage-bionetworks/synapse-client/generated/models/ErrorResponseCode"; import "@sage-bionetworks/synapse-client/generated/models/TwoFactorAuthErrorResponse"; import "@sage-bionetworks/synapse-client/util/SynapseClientError"; import "@sage-bionetworks/synapse-client/util/synapseClientFetch"; import "lodash-es"; import { http as r, HttpResponse as o } from "msw"; const g = (t = n(S.REPO_ENDPOINT), e = m) => [ r.get(`${t}${i}`, () => o.json(e, { status: 201 })), r.get(`${t}${s}`, () => o.json(p, { status: 201 })) ]; export { g as getTermsOfServiceHandlers }; //# sourceMappingURL=termsOfServiceHandlers.js.map