synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
34 lines (33 loc) • 913 B
JavaScript
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