@super-line/server 0.9.0 → 0.10.0

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.
@@ -1,17 +0,0 @@
1
- import {
2
- MissingDependencyError
3
- } from "./chunk-BXHVPS35.js";
4
- import "./chunk-MLKGABMK.js";
5
-
6
- // ../../node_modules/.pnpm/@standard-community+standard-json@0.3.5_@standard-schema+spec@1.1.0_@types+json-schema@_c5121037ae681f5d570421df77d4831b/node_modules/@standard-community/standard-json/dist/sury-CWZTCd75.js
7
- async function getToJsonSchemaFn() {
8
- try {
9
- const { toJSONSchema } = await import("sury");
10
- return toJSONSchema;
11
- } catch {
12
- throw new MissingDependencyError("sury");
13
- }
14
- }
15
- export {
16
- getToJsonSchemaFn as default
17
- };
@@ -1,9 +0,0 @@
1
- import "./chunk-MLKGABMK.js";
2
-
3
- // ../../node_modules/.pnpm/@standard-community+standard-json@0.3.5_@standard-schema+spec@1.1.0_@types+json-schema@_c5121037ae681f5d570421df77d4831b/node_modules/@standard-community/standard-json/dist/typebox-Dei93FPO.js
4
- function getToJsonSchemaFn() {
5
- return (schema) => JSON.parse(JSON.stringify(schema.Type()));
6
- }
7
- export {
8
- getToJsonSchemaFn as default
9
- };
@@ -1,17 +0,0 @@
1
- import {
2
- MissingDependencyError
3
- } from "./chunk-BXHVPS35.js";
4
- import "./chunk-MLKGABMK.js";
5
-
6
- // ../../node_modules/.pnpm/@standard-community+standard-json@0.3.5_@standard-schema+spec@1.1.0_@types+json-schema@_c5121037ae681f5d570421df77d4831b/node_modules/@standard-community/standard-json/dist/valibot--1zFm7rT.js
7
- async function getToJsonSchemaFn() {
8
- try {
9
- const { toJsonSchema } = await import("@valibot/to-json-schema");
10
- return toJsonSchema;
11
- } catch {
12
- throw new MissingDependencyError("@valibot/to-json-schema");
13
- }
14
- }
15
- export {
16
- getToJsonSchemaFn as default
17
- };
@@ -1,31 +0,0 @@
1
- import {
2
- MissingDependencyError
3
- } from "./chunk-BXHVPS35.js";
4
- import "./chunk-MLKGABMK.js";
5
-
6
- // ../../node_modules/.pnpm/@standard-community+standard-json@0.3.5_@standard-schema+spec@1.1.0_@types+json-schema@_c5121037ae681f5d570421df77d4831b/node_modules/@standard-community/standard-json/dist/zod-Bwrt9trS.js
7
- var zodv4Error = new MissingDependencyError("zod v4");
8
- async function getToJsonSchemaFn() {
9
- return async (schema, options) => {
10
- let handler;
11
- if ("_zod" in schema) {
12
- try {
13
- const mod = await import("./core-DXJRFNRR.js");
14
- handler = mod.toJSONSchema;
15
- } catch {
16
- throw zodv4Error;
17
- }
18
- } else {
19
- try {
20
- const mod = await import("./esm-F5WYXMGY.js");
21
- handler = mod.zodToJsonSchema;
22
- } catch {
23
- throw new MissingDependencyError("zod-to-json-schema");
24
- }
25
- }
26
- return handler(schema, options);
27
- };
28
- }
29
- export {
30
- getToJsonSchemaFn as default
31
- };