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

34 lines (33 loc) 913 B
import { http as t, HttpResponse as i } from "msw"; function r() { return [ t.post("https://api.datacite.org/graphql", () => i.json({ data: { work: { citations: { nodes: [ { id: "https://doi.org/10.1111/xyz", titles: [{ title: "A???B??C" }], publisher: { name: "My Publishing" }, publicationYear: 2025, container: { title: "Best Journal" } }, { id: "https://doi.org/10.2222/xyz", titles: [{ title: "D???E??F" }], publisher: { name: "Other Publisher" }, publicationYear: 2025, container: { title: "Ok Journal" } } ] } } } })) ]; } export { r as getDataciteHandler }; //# sourceMappingURL=dataciteHandlers.js.map