@emseepea/create-html-ui-server 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,18 +2,17 @@ import { readFile } from "node:fs/promises";
|
|
|
2
2
|
import { parse } from "node:querystring";
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
|
-
createPreviewBeanReportTool,
|
|
6
5
|
fixtureForState,
|
|
7
6
|
viewFromSubmission,
|
|
8
7
|
} from "./ui-shared.js";
|
|
9
|
-
import { createEmseepea, renderElicitationForm, serveEmseepea } from "@emseepea/server";
|
|
8
|
+
import { createEmseepea, discoverCapabilities, renderElicitationForm, serveEmseepea } from "@emseepea/server";
|
|
10
9
|
|
|
11
10
|
const stylesheet = await readFile(new URL(import.meta.resolve("@emseepea/tailwind/styles.css")), "utf8");
|
|
12
11
|
const app = createEmseepea({
|
|
13
12
|
name: "emseepea-native-ui",
|
|
14
13
|
version: "0.0.0",
|
|
15
14
|
instructions: "Use preview-bean-report to preview sample report content. It sends and stores nothing.",
|
|
16
|
-
|
|
15
|
+
...await discoverCapabilities(new URL("./capabilities/", import.meta.url)),
|
|
17
16
|
});
|
|
18
17
|
|
|
19
18
|
app.addContentTypeParser(
|