ori-handler-test/foo.handler.js

9 lines
305 B
JavaScript

//I believe this is not being used, because in doctree.js, isUnpackable is false, and toString is not exported by @weborigami/origami anymore ... ?
import { toString } from "@weborigami/origami";
export default {
mediaType: "application/json",
unpack: (packed) => { return {what: "a text file"} }
}