@vite-hub/docs 0.0.0-stage → 0.3.1

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.
Files changed (111) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +453 -2
  3. package/dist/agent-copy-BJp_Yf5d.js +33 -0
  4. package/dist/assistant-shared-CdtXowot.js +97 -0
  5. package/dist/assistant-shared-Dll_F_yy.d.ts +27 -0
  6. package/dist/assistant-worker.d.ts +11 -0
  7. package/dist/assistant-worker.js +16 -0
  8. package/dist/assistant.d.ts +14 -0
  9. package/dist/assistant.js +19 -0
  10. package/dist/content-9CINWiRf.js +171 -0
  11. package/dist/draft-DUBx--r9.js +45 -0
  12. package/dist/error-diagnostics-BoOsP6Y4.js +53 -0
  13. package/dist/index.d.ts +28 -0
  14. package/dist/index.js +27 -0
  15. package/dist/link-checker-redirects.d.ts +13 -0
  16. package/dist/link-checker-redirects.js +25 -0
  17. package/dist/manifest-D66AEF8F.js +420 -0
  18. package/dist/manifest-Dzp5-_AJ.d.ts +74 -0
  19. package/dist/markdown-Cn9-4oVG.js +378 -0
  20. package/dist/navigation.d.ts +284 -0
  21. package/dist/navigation.js +520 -0
  22. package/dist/nuxt-B5LrERKc.d.ts +240 -0
  23. package/dist/nuxt.d.ts +3 -0
  24. package/dist/nuxt.js +1485 -0
  25. package/dist/page-BbmSfZO8.js +81 -0
  26. package/dist/page-Dx2JD3y1.d.ts +74 -0
  27. package/dist/primitive-rail.d.ts +110 -0
  28. package/dist/primitive-rail.js +284 -0
  29. package/dist/raw-C03EUJKw.js +851 -0
  30. package/dist/redirects-BrbWFSzW.js +62 -0
  31. package/dist/runtime/app/app.vue +11 -0
  32. package/dist/runtime/app/assistant/DocsAssistant.vue +81 -0
  33. package/dist/runtime/app/assistant/DocsAssistantOff.vue +8 -0
  34. package/dist/runtime/app/assistant/DocsAssistantPanel.vue +322 -0
  35. package/dist/runtime/app/components/AppHeader.vue +368 -0
  36. package/dist/runtime/app/components/AppSearch.vue +68 -0
  37. package/dist/runtime/app/components/DocsAppShell.vue +62 -0
  38. package/dist/runtime/app/components/DocsArticle.vue +184 -0
  39. package/dist/runtime/app/components/DocsAsideFooter.vue +94 -0
  40. package/dist/runtime/app/components/DocsAsideLeftBody.vue +584 -0
  41. package/dist/runtime/app/components/DocsAsideLeftTop.vue +132 -0
  42. package/dist/runtime/app/components/DocsBrandMark.vue +52 -0
  43. package/dist/runtime/app/components/DocsCatalogFooter.vue +129 -0
  44. package/dist/runtime/app/components/DocsCodePanel.vue +388 -0
  45. package/dist/runtime/app/components/DocsCodePre.vue +120 -0
  46. package/dist/runtime/app/components/DocsHeaderActions.vue +4 -0
  47. package/dist/runtime/app/components/DocsLanding.vue +83 -0
  48. package/dist/runtime/app/components/DocsMarkdown.vue +64 -0
  49. package/dist/runtime/app/components/DocsPage.vue +149 -0
  50. package/dist/runtime/app/components/DocsPageCredits.vue +41 -0
  51. package/dist/runtime/app/components/DocsPageHeaderLinks.vue +120 -0
  52. package/dist/runtime/app/components/DocsRail.vue +239 -0
  53. package/dist/runtime/app/components/DocsSidebarStrip.vue +81 -0
  54. package/dist/runtime/app/components/DocsSidebars.vue +63 -0
  55. package/dist/runtime/app/components/OgImage/DocsPage.takumi.vue +33 -0
  56. package/dist/runtime/app/components/content/AgentOnly.vue +9 -0
  57. package/dist/runtime/app/components/content/CodeTree.vue +203 -0
  58. package/dist/runtime/app/components/content/ComarkHtml.vue +31 -0
  59. package/dist/runtime/app/components/content/Correct.vue +17 -0
  60. package/dist/runtime/app/components/content/Example.vue +260 -0
  61. package/dist/runtime/app/components/content/ExamplePreview.vue +6 -0
  62. package/dist/runtime/app/components/content/Examples.vue +71 -0
  63. package/dist/runtime/app/components/content/Incorrect.vue +17 -0
  64. package/dist/runtime/app/components/content/PageList.vue +206 -0
  65. package/dist/runtime/app/components/content/ProductFeatureItem.vue +43 -0
  66. package/dist/runtime/app/components/content/ProductFeatures.vue +17 -0
  67. package/dist/runtime/app/components/content/TutorialStep.vue +39 -0
  68. package/dist/runtime/app/composables/docs-assistant-problem.ts +59 -0
  69. package/dist/runtime/app/composables/docs-theme.ts +15 -0
  70. package/dist/runtime/app/composables/docs.ts +83 -0
  71. package/dist/runtime/app/composables/headerActions.ts +6 -0
  72. package/dist/runtime/app/composables/icons.ts +14 -0
  73. package/dist/runtime/app/composables/seo.ts +64 -0
  74. package/dist/runtime/app/composables/tutorial.ts +40 -0
  75. package/dist/runtime/app/composables/useDocsAssistant.ts +17 -0
  76. package/dist/runtime/app/error.vue +88 -0
  77. package/dist/runtime/app/layouts/default.vue +7 -0
  78. package/dist/runtime/app/layouts/docs.vue +104 -0
  79. package/dist/runtime/app/middleware/docs-layout.ts +23 -0
  80. package/dist/runtime/app/pages/docs-page.vue +3 -0
  81. package/dist/runtime/app/plugins/comark-css.ts +14 -0
  82. package/dist/runtime/app/plugins/icon-stroke.ts +12 -0
  83. package/dist/runtime/app/plugins/theme-color.ts +18 -0
  84. package/dist/runtime/app/utils/docs-theme.ts +43 -0
  85. package/dist/runtime/app/utils/file-tree.ts +40 -0
  86. package/dist/runtime/server/llms.d.ts +6 -0
  87. package/dist/runtime/server/llms.js +7 -0
  88. package/dist/runtime/server/markdown.d.ts +10 -0
  89. package/dist/runtime/server/markdown.js +11 -0
  90. package/dist/runtime/server/mcp.d.ts +6 -0
  91. package/dist/runtime/server/mcp.js +7 -0
  92. package/dist/runtime/server/page.d.ts +7 -0
  93. package/dist/runtime/server/page.js +27 -0
  94. package/dist/runtime/server/raw.d.ts +10 -0
  95. package/dist/runtime/server/raw.js +23 -0
  96. package/dist/runtime/server/search.d.ts +6 -0
  97. package/dist/runtime/server/search.js +32 -0
  98. package/dist/runtime/server/sitemap.d.ts +6 -0
  99. package/dist/runtime/server/sitemap.js +52 -0
  100. package/dist/runtime/server/trailing-slash.d.ts +10 -0
  101. package/dist/runtime/server/trailing-slash.js +28 -0
  102. package/dist/runtime/theme/design.css +464 -0
  103. package/dist/schema-DwpXW0VZ.js +98 -0
  104. package/dist/server.d.ts +15 -0
  105. package/dist/server.js +5 -0
  106. package/dist/theme-BXyu4uFL.d.ts +32 -0
  107. package/dist/theme-DzC8LtMH.js +237 -0
  108. package/dist/theme.d.ts +2 -0
  109. package/dist/theme.js +2 -0
  110. package/dist/types-BhG6vGfG.d.ts +212 -0
  111. package/package.json +141 -3
@@ -0,0 +1,40 @@
1
+ export type FileTreeFolderRow = { kind: "folder"; name: string; path: string; depth: number }
2
+ export type FileTreeFileRow = { kind: "file"; name: string; path: string; depth: number; index: number }
3
+ export type FileTreeRow = FileTreeFolderRow | FileTreeFileRow
4
+
5
+ type Folder = { folders: Map<string, Folder>; files: { name: string; path: string; index: number }[] }
6
+
7
+ /**
8
+ * Lays out file paths as an editor file tree: folders first, then files, each sorted by name.
9
+ * `index` keeps the position of the path in the input, so callers can map a row back to its file.
10
+ */
11
+ export function buildFileTree(paths: readonly string[]): FileTreeRow[] {
12
+ const root: Folder = { folders: new Map(), files: [] }
13
+ paths.forEach((path, index) => {
14
+ const parts = path.split("/")
15
+ const name = parts.pop() ?? path
16
+ let folder = root
17
+ for (const part of parts) {
18
+ let child = folder.folders.get(part)
19
+ if (!child) {
20
+ child = { folders: new Map(), files: [] }
21
+ folder.folders.set(part, child)
22
+ }
23
+ folder = child
24
+ }
25
+ folder.files.push({ name, path, index })
26
+ })
27
+
28
+ const rows: FileTreeRow[] = []
29
+ const visit = (folder: Folder, depth: number, prefix: string) => {
30
+ for (const [name, child] of [...folder.folders].sort(([left], [right]) => left.localeCompare(right))) {
31
+ rows.push({ kind: "folder", name, path: `${prefix}${name}/`, depth })
32
+ visit(child, depth + 1, `${prefix}${name}/`)
33
+ }
34
+ for (const file of [...folder.files].sort((left, right) => left.name.localeCompare(right.name))) {
35
+ rows.push({ kind: "file", ...file, depth })
36
+ }
37
+ }
38
+ visit(root, 0, "")
39
+ return rows
40
+ }
@@ -0,0 +1,6 @@
1
+ import { ContentHandler } from "@vite-hub/content";
2
+ //#region src/runtime/server/llms.d.ts
3
+ /** `/llms.txt`, `/llms-full.txt`, and `/sitemap.md`, from Content. The build prerenders them. */
4
+ declare const handler: ContentHandler;
5
+ //#endregion
6
+ export { handler as default };
@@ -0,0 +1,7 @@
1
+ import { n as docsContent } from "../../content-9CINWiRf.js";
2
+ import { defineContentLlmsHandler } from "@vite-hub/content";
3
+ //#region src/runtime/server/llms.ts
4
+ /** `/llms.txt`, `/llms-full.txt`, and `/sitemap.md`, from Content. The build prerenders them. */
5
+ const handler = { fetch: (request) => defineContentLlmsHandler(docsContent()).fetch(request) };
6
+ //#endregion
7
+ export { handler as default };
@@ -0,0 +1,10 @@
1
+ import { ContentMiddleware } from "@vite-hub/content/markdown";
2
+ //#region src/runtime/server/markdown.d.ts
3
+ /**
4
+ * The Markdown copy of each app page that is not a docs page, at its URL plus `.md` and for `Accept: text/markdown`.
5
+ * Content converts the HTML that Nitro renders for the same request. nuxt-agent-discovery answers the docs pages first.
6
+ * Content loads on the first request that asks for Markdown or gets an HTML page.
7
+ */
8
+ declare const handler: ContentMiddleware;
9
+ //#endregion
10
+ export { handler as default };
@@ -0,0 +1,11 @@
1
+ import { defineContentMarkdownHandler } from "@vite-hub/content/markdown";
2
+ import { serverFetch } from "nitro";
3
+ //#region src/runtime/server/markdown.ts
4
+ /**
5
+ * The Markdown copy of each app page that is not a docs page, at its URL plus `.md` and for `Accept: text/markdown`.
6
+ * Content converts the HTML that Nitro renders for the same request. nuxt-agent-discovery answers the docs pages first.
7
+ * Content loads on the first request that asks for Markdown or gets an HTML page.
8
+ */
9
+ const handler = defineContentMarkdownHandler(() => import("../../content-9CINWiRf.js").then((n) => n.t).then((module) => module.docsContent()), { render: (request) => serverFetch(request) });
10
+ //#endregion
11
+ export { handler as default };
@@ -0,0 +1,6 @@
1
+ import { ContentHandler } from "@vite-hub/content";
2
+ //#region src/runtime/server/mcp.d.ts
3
+ /** The docs MCP server at `/mcp`, with the `list-pages` and `get-page` tools of Content. */
4
+ declare const handler: ContentHandler;
5
+ //#endregion
6
+ export { handler as default };
@@ -0,0 +1,7 @@
1
+ import { n as docsContent } from "../../content-9CINWiRf.js";
2
+ import { defineContentMcpHandler } from "@vite-hub/content";
3
+ //#region src/runtime/server/mcp.ts
4
+ /** The docs MCP server at `/mcp`, with the `list-pages` and `get-page` tools of Content. */
5
+ const handler = { fetch: (request) => defineContentMcpHandler(docsContent()).fetch(request) };
6
+ //#endregion
7
+ export { handler as default };
@@ -0,0 +1,7 @@
1
+ import { n as DocsPageResponse } from "../../page-Dx2JD3y1.js";
2
+ import { EventHandler, EventHandlerRequest } from "nitro/h3";
3
+ //#region src/runtime/server/page.d.ts
4
+ /** `/api/_docs/page/docs/kv.json` is the page at `/docs/kv`. The `.json` suffix lets static hosts store every page beside its folder. */
5
+ declare const handler: EventHandler<EventHandlerRequest, Promise<DocsPageResponse>>;
6
+ //#endregion
7
+ export { handler as default };
@@ -0,0 +1,27 @@
1
+ import { a as parseDocsDocument, r as readDocsPage } from "../../content-9CINWiRf.js";
2
+ import { findDocsPage } from "../../navigation.js";
3
+ import { i as docsPageResponse } from "../../page-BbmSfZO8.js";
4
+ import manifest from "#docs/manifest";
5
+ import { HTTPError, defineHandler, getRouterParam } from "nitro/h3";
6
+ import { content } from "#docs/content";
7
+ //#region src/runtime/server/page.ts
8
+ /** `/api/_docs/page/docs/kv.json` is the page at `/docs/kv`. The `.json` suffix lets static hosts store every page beside its folder. */
9
+ const handler = defineHandler(async (event) => {
10
+ const path = `/${(getRouterParam(event, "_") ?? "").replace(/\.json$/, "")}`;
11
+ if (content && (content.preview.active() || content.preview.frame())) {
12
+ const { docsDraftResponse } = await import("../../draft-DUBx--r9.js");
13
+ const draft = await docsDraftResponse(content, manifest, path, parseDocsDocument);
14
+ if (draft) {
15
+ event.res.headers.set("cache-control", "private, no-store");
16
+ return draft;
17
+ }
18
+ }
19
+ const found = findDocsPage(manifest, path);
20
+ if (!found) throw HTTPError.status(404, "Page not found");
21
+ const document = await readDocsPage(found.page);
22
+ if (document === null) throw HTTPError.status(404, "Page not found");
23
+ const credits = found.page.credits ? await parseDocsDocument(found.page.credits) : null;
24
+ return docsPageResponse(manifest, found, document, credits);
25
+ });
26
+ //#endregion
27
+ export { handler as default };
@@ -0,0 +1,10 @@
1
+ import { EventHandler, EventHandlerRequest } from "nitro/h3";
2
+ //#region src/runtime/server/raw.d.ts
3
+ /**
4
+ * `/raw/<page>.md`: the agent copy of a page, the one that Content serves in `llms-full.txt` and the MCP server. The
5
+ * build prerenders the copy of every page, so static hosts serve those files first. Negotiated pages and `.md` twins
6
+ * fetch the copy inside the server, from this route.
7
+ */
8
+ declare const handler: EventHandler<EventHandlerRequest, Promise<string>>;
9
+ //#endregion
10
+ export { handler as default };
@@ -0,0 +1,23 @@
1
+ import { i as readDocsRawCopy } from "../../content-9CINWiRf.js";
2
+ import { HTTPError, defineHandler } from "nitro/h3";
3
+ //#region src/runtime/server/raw.ts
4
+ /**
5
+ * `/raw/<page>.md`: the agent copy of a page, the one that Content serves in `llms-full.txt` and the MCP server. The
6
+ * build prerenders the copy of every page, so static hosts serve those files first. Negotiated pages and `.md` twins
7
+ * fetch the copy inside the server, from this route.
8
+ */
9
+ const handler = defineHandler(async (event) => {
10
+ let path;
11
+ try {
12
+ path = decodeURIComponent(event.url.pathname);
13
+ } catch {
14
+ throw HTTPError.status(404, "Page not found");
15
+ }
16
+ const index = path.indexOf("/raw/");
17
+ const markdown = index < 0 || !path.endsWith(".md") ? null : await readDocsRawCopy(path.slice(index));
18
+ if (markdown === null) throw HTTPError.status(404, "Page not found");
19
+ event.res.headers.set("content-type", "text/markdown; charset=utf-8");
20
+ return markdown;
21
+ });
22
+ //#endregion
23
+ export { handler as default };
@@ -0,0 +1,6 @@
1
+ import { i as DocsSearchSection } from "../../types-BhG6vGfG.js";
2
+ import { EventHandler, EventHandlerRequest } from "nitro/h3";
3
+ //#region src/runtime/server/search.d.ts
4
+ declare const handler: EventHandler<EventHandlerRequest, Promise<DocsSearchSection[]>>;
5
+ //#endregion
6
+ export { handler as default };
@@ -0,0 +1,32 @@
1
+ import { r as readDocsPage } from "../../content-9CINWiRf.js";
2
+ import { docsIndexedPages, docsManifestPages, docsUnindexedSearchSections } from "../../navigation.js";
3
+ import { a as docsSearchSections } from "../../markdown-Cn9-4oVG.js";
4
+ import manifest from "#docs/manifest";
5
+ import { defineHandler } from "nitro/h3";
6
+ //#region src/runtime/server/search.ts
7
+ /** Every page split by heading, read through the Content of the page route, for the search dialog. The build prerenders it. */
8
+ async function buildIndex() {
9
+ const sections = [];
10
+ for (const page of docsIndexedPages(manifest)) {
11
+ const document = await readDocsPage(page);
12
+ if (!document) continue;
13
+ const [entry, ...headings] = docsSearchSections(page.path, page.sourceTitle, document.nodes);
14
+ sections.push(page.keywords.length ? {
15
+ ...entry,
16
+ keywords: page.keywords
17
+ } : entry, ...headings);
18
+ }
19
+ sections.push(...docsUnindexedSearchSections(manifest));
20
+ const listed = new Set(docsManifestPages(manifest).filter((page) => page.navigation).map((page) => page.path));
21
+ return sections.filter((record) => listed.has(record.id.split("#")[0] ?? record.id));
22
+ }
23
+ let indexed;
24
+ const handler = defineHandler(() => {
25
+ if (import.meta.dev) return buildIndex();
26
+ return indexed ??= buildIndex().catch((error) => {
27
+ indexed = void 0;
28
+ throw error;
29
+ });
30
+ });
31
+ //#endregion
32
+ export { handler as default };
@@ -0,0 +1,6 @@
1
+ import { EventHandler, EventHandlerRequest } from "nitro/h3";
2
+ //#region src/runtime/server/sitemap.d.ts
3
+ /** The indexed pages from Content and the `sitemap` paths of the options, sorted by URL, as their canonical links name them. */
4
+ declare const handler: EventHandler<EventHandlerRequest, Promise<string>>;
5
+ //#endregion
6
+ export { handler as default };
@@ -0,0 +1,52 @@
1
+ import { n as docsContent } from "../../content-9CINWiRf.js";
2
+ import { docsCanonicalUrl } from "../../navigation.js";
3
+ import { useRuntimeConfig } from "nitro/runtime-config";
4
+ import { defineHandler } from "nitro/h3";
5
+ //#region ../internal/dist/sitemap.js
6
+ function escapeXml(value) {
7
+ return value.replace(/[&<>"']/g, (character) => ({
8
+ "&": "&amp;",
9
+ "<": "&lt;",
10
+ ">": "&gt;",
11
+ "\"": "&quot;",
12
+ "'": "&apos;"
13
+ })[character]);
14
+ }
15
+ /**
16
+ * Join lists of sitemap URLs into one list sorted by URL, so the same pages always give the same file. A URL that is
17
+ * in more than one list is kept once, with the first `lastmod` that a list gives.
18
+ */
19
+ function mergeSitemapUrls(...lists) {
20
+ const urls = /* @__PURE__ */ new Map();
21
+ for (const list of lists) for (const { loc, lastmod } of list) {
22
+ const known = urls.get(loc);
23
+ if (!known) urls.set(loc, lastmod ? {
24
+ loc,
25
+ lastmod
26
+ } : { loc });
27
+ else if (!known.lastmod && lastmod) known.lastmod = lastmod;
28
+ }
29
+ return [...urls.values()].sort((left, right) => left.loc < right.loc ? -1 : left.loc > right.loc ? 1 : 0);
30
+ }
31
+ /** Render a sitemaps.org `urlset` document, in the order of `entries`. */
32
+ function renderSitemap(entries) {
33
+ const urls = entries.map((entry) => ` <url>\n <loc>${escapeXml(entry.loc)}</loc>${entry.lastmod ? `\n <lastmod>${escapeXml(entry.lastmod)}</lastmod>` : ""}\n </url>`);
34
+ return `<?xml version="1.0" encoding="UTF-8"?>\n<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n${urls.join("\n")}${urls.length ? "\n" : ""}</urlset>\n`;
35
+ }
36
+ //#endregion
37
+ //#region src/runtime/server/sitemap.ts
38
+ /** The indexed pages from Content and the `sitemap` paths of the options, sorted by URL, as their canonical links name them. */
39
+ const handler = defineHandler(async (event) => {
40
+ const { site, sitemap, appBase } = useRuntimeConfig().public.docs;
41
+ const origin = site.url || event.url.origin;
42
+ const mounted = `${origin}${appBase.replace(/\/+$/, "")}`;
43
+ const entries = (await docsContent().sitemap({ site: mounted })).map((entry) => ({
44
+ ...entry,
45
+ loc: docsCanonicalUrl(origin, entry.loc.slice(mounted.length), appBase)
46
+ }));
47
+ const extra = sitemap.map((path) => ({ loc: docsCanonicalUrl(origin, path, appBase) }));
48
+ event.res.headers.set("content-type", "application/xml; charset=utf-8");
49
+ return renderSitemap(mergeSitemapUrls(entries, extra));
50
+ });
51
+ //#endregion
52
+ export { handler as default };
@@ -0,0 +1,10 @@
1
+ import { EventHandler, EventHandlerRequest } from "nitro/h3";
2
+ //#region src/runtime/server/trailing-slash.d.ts
3
+ /**
4
+ * `/docs/kv/` moves to `/docs/kv` with a 301, the URL that the canonical link and the sitemap name. A page that also
5
+ * answers with a slash is a duplicate, and search engines can index the copy. Static hosts that serve the prerendered
6
+ * `docs/kv.html` first redirect the same way; this covers Node servers and Workers that render the page.
7
+ */
8
+ declare const handler: EventHandler<EventHandlerRequest, Response | undefined>;
9
+ //#endregion
10
+ export { handler as default };
@@ -0,0 +1,28 @@
1
+ import { docsCanonicalUrl, findDocsPage } from "../../navigation.js";
2
+ import manifest from "#docs/manifest";
3
+ import { useRuntimeConfig } from "nitro/runtime-config";
4
+ import { defineHandler } from "nitro/h3";
5
+ //#region src/runtime/server/trailing-slash.ts
6
+ /**
7
+ * `/docs/kv/` moves to `/docs/kv` with a 301, the URL that the canonical link and the sitemap name. A page that also
8
+ * answers with a slash is a duplicate, and search engines can index the copy. Static hosts that serve the prerendered
9
+ * `docs/kv.html` first redirect the same way; this covers Node servers and Workers that render the page.
10
+ */
11
+ const handler = defineHandler((event) => {
12
+ if (event.req.method !== "GET" && event.req.method !== "HEAD") return;
13
+ const { pathname, search } = event.url;
14
+ if (pathname.length < 2 || !pathname.endsWith("/")) return;
15
+ const { appBase } = useRuntimeConfig().public.docs;
16
+ const prefix = appBase.replace(/\/+$/, "");
17
+ const path = prefix && pathname.startsWith(`${prefix}/`) ? pathname.slice(prefix.length) : pathname;
18
+ const page = findDocsPage(manifest, path)?.page;
19
+ if (!page) return;
20
+ const target = docsCanonicalUrl("", page.path, appBase);
21
+ if (target === pathname) return;
22
+ return new Response(null, {
23
+ status: 301,
24
+ headers: { location: `${target}${search}` }
25
+ });
26
+ });
27
+ //#endregion
28
+ export { handler as default };