@standard-community/standard-json 0.3.3 → 0.3.5

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.
@@ -4,4 +4,4 @@ function getToJsonSchemaFn() {
4
4
  return (schema, options) => schema.toJsonSchema(options);
5
5
  }
6
6
 
7
- module.exports = getToJsonSchemaFn;
7
+ exports.default = getToJsonSchemaFn;
@@ -1,14 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var utils = require('../utils-CeR2367j.cjs');
3
+ var index = require('./index-aBd5wZAR.cjs');
4
+ require('quansync');
4
5
 
5
6
  async function getToJsonSchemaFn() {
6
7
  try {
7
8
  const { JSONSchema } = await import('effect');
8
9
  return (schema) => JSONSchema.make(schema);
9
10
  } catch {
10
- throw new utils.MissingDependencyError("effect");
11
+ throw new index.MissingDependencyError("effect");
11
12
  }
12
13
  }
13
14
 
14
- module.exports = getToJsonSchemaFn;
15
+ exports.default = getToJsonSchemaFn;
@@ -1,4 +1,5 @@
1
- import { M as MissingDependencyError } from '../utils-8OktpmW4.js';
1
+ import { M as MissingDependencyError } from './index-CLddUTqr.js';
2
+ import 'quansync';
2
3
 
3
4
  async function getToJsonSchemaFn() {
4
5
  try {
@@ -0,0 +1,66 @@
1
+ import { quansync } from 'quansync';
2
+
3
+ const validationMapper = /* @__PURE__ */ new Map();
4
+ class UnsupportedVendorError extends Error {
5
+ constructor(vendor) {
6
+ super(`standard-json: Unsupported schema vendor "${vendor}".`);
7
+ }
8
+ }
9
+ class MissingDependencyError extends Error {
10
+ constructor(packageName) {
11
+ super(`standard-json: Missing dependencies "${packageName}".`);
12
+ }
13
+ }
14
+
15
+ const getToJsonSchemaFn = async (vendor) => {
16
+ const cached = validationMapper.get(vendor);
17
+ if (cached) {
18
+ return cached;
19
+ }
20
+ let vendorFnPromise;
21
+ switch (vendor) {
22
+ case "arktype":
23
+ vendorFnPromise = (await import('./arktype-aI7TBD0R.js')).default();
24
+ break;
25
+ case "effect":
26
+ vendorFnPromise = (await import('./effect-QlVUlMFu.js')).default();
27
+ break;
28
+ case "sury":
29
+ vendorFnPromise = (await import('./sury-CWZTCd75.js')).default();
30
+ break;
31
+ case "typebox":
32
+ vendorFnPromise = (await import('./typebox-Dei93FPO.js')).default();
33
+ break;
34
+ case "valibot":
35
+ vendorFnPromise = (await import('./valibot--1zFm7rT.js')).default();
36
+ break;
37
+ case "zod":
38
+ vendorFnPromise = (await import('./zod-Bwrt9trS.js')).default();
39
+ break;
40
+ default:
41
+ throw new UnsupportedVendorError(vendor);
42
+ }
43
+ const vendorFn = await vendorFnPromise;
44
+ validationMapper.set(vendor, vendorFn);
45
+ return vendorFn;
46
+ };
47
+
48
+ const toJsonSchema = quansync({
49
+ sync: (schema, options) => {
50
+ const vendor = schema["~standard"].vendor;
51
+ const fn = validationMapper.get(vendor);
52
+ if (!fn) {
53
+ throw new UnsupportedVendorError(vendor);
54
+ }
55
+ return fn(schema, options);
56
+ },
57
+ async: async (schema, options) => {
58
+ const fn = await getToJsonSchemaFn(schema["~standard"].vendor);
59
+ return fn(schema, options);
60
+ }
61
+ });
62
+ function loadVendor(vendor, fn) {
63
+ validationMapper.set(vendor, fn);
64
+ }
65
+
66
+ export { MissingDependencyError as M, loadVendor as l, toJsonSchema as t };
@@ -0,0 +1,70 @@
1
+ 'use strict';
2
+
3
+ var quansync = require('quansync');
4
+
5
+ const validationMapper = /* @__PURE__ */ new Map();
6
+ class UnsupportedVendorError extends Error {
7
+ constructor(vendor) {
8
+ super(`standard-json: Unsupported schema vendor "${vendor}".`);
9
+ }
10
+ }
11
+ class MissingDependencyError extends Error {
12
+ constructor(packageName) {
13
+ super(`standard-json: Missing dependencies "${packageName}".`);
14
+ }
15
+ }
16
+
17
+ const getToJsonSchemaFn = async (vendor) => {
18
+ const cached = validationMapper.get(vendor);
19
+ if (cached) {
20
+ return cached;
21
+ }
22
+ let vendorFnPromise;
23
+ switch (vendor) {
24
+ case "arktype":
25
+ vendorFnPromise = (await Promise.resolve().then(function () { return require('./arktype-dE563TQ0.cjs'); })).default();
26
+ break;
27
+ case "effect":
28
+ vendorFnPromise = (await Promise.resolve().then(function () { return require('./effect-IriD2QG7.cjs'); })).default();
29
+ break;
30
+ case "sury":
31
+ vendorFnPromise = (await Promise.resolve().then(function () { return require('./sury-79aC8rnF.cjs'); })).default();
32
+ break;
33
+ case "typebox":
34
+ vendorFnPromise = (await Promise.resolve().then(function () { return require('./typebox-DYb9QD5O.cjs'); })).default();
35
+ break;
36
+ case "valibot":
37
+ vendorFnPromise = (await Promise.resolve().then(function () { return require('./valibot-DKumHSJb.cjs'); })).default();
38
+ break;
39
+ case "zod":
40
+ vendorFnPromise = (await Promise.resolve().then(function () { return require('./zod-BSYBZsr2.cjs'); })).default();
41
+ break;
42
+ default:
43
+ throw new UnsupportedVendorError(vendor);
44
+ }
45
+ const vendorFn = await vendorFnPromise;
46
+ validationMapper.set(vendor, vendorFn);
47
+ return vendorFn;
48
+ };
49
+
50
+ const toJsonSchema = quansync.quansync({
51
+ sync: (schema, options) => {
52
+ const vendor = schema["~standard"].vendor;
53
+ const fn = validationMapper.get(vendor);
54
+ if (!fn) {
55
+ throw new UnsupportedVendorError(vendor);
56
+ }
57
+ return fn(schema, options);
58
+ },
59
+ async: async (schema, options) => {
60
+ const fn = await getToJsonSchemaFn(schema["~standard"].vendor);
61
+ return fn(schema, options);
62
+ }
63
+ });
64
+ function loadVendor(vendor, fn) {
65
+ validationMapper.set(vendor, fn);
66
+ }
67
+
68
+ exports.MissingDependencyError = MissingDependencyError;
69
+ exports.loadVendor = loadVendor;
70
+ exports.toJsonSchema = toJsonSchema;
package/dist/index.cjs CHANGED
@@ -1,54 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var quansync = require('quansync');
4
- var utils = require('./utils-CeR2367j.cjs');
3
+ var index = require('./index-aBd5wZAR.cjs');
4
+ require('quansync');
5
5
 
6
- function _interopNamespaceDefaultOnly (e) { return Object.freeze({ __proto__: null, default: e }); }
7
6
 
8
- const getToJsonSchemaFn = async (vendor) => {
9
- const cached = utils.validationMapper.get(vendor);
10
- if (cached) {
11
- return cached;
12
- }
13
- let vendorFnPromise;
14
- switch (vendor) {
15
- case "arktype":
16
- vendorFnPromise = (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./vendors/arktype.cjs')); })).default();
17
- break;
18
- case "effect":
19
- vendorFnPromise = (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./vendors/effect.cjs')); })).default();
20
- break;
21
- case "valibot":
22
- vendorFnPromise = (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./vendors/valibot.cjs')); })).default();
23
- break;
24
- case "zod":
25
- vendorFnPromise = (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./vendors/zod.cjs')); })).default();
26
- break;
27
- default:
28
- throw new utils.UnsupportedVendorError(vendor);
29
- }
30
- const vendorFn = await vendorFnPromise;
31
- utils.validationMapper.set(vendor, vendorFn);
32
- return vendorFn;
33
- };
34
7
 
35
- const toJsonSchema = quansync.quansync({
36
- sync: (schema, options) => {
37
- const vendor = schema["~standard"].vendor;
38
- const fn = utils.validationMapper.get(vendor);
39
- if (!fn) {
40
- throw new utils.UnsupportedVendorError(vendor);
41
- }
42
- return fn(schema, options);
43
- },
44
- async: async (schema, options) => {
45
- const fn = await getToJsonSchemaFn(schema["~standard"].vendor);
46
- return fn(schema, options);
47
- }
48
- });
49
- function loadVendor(vendor, fn) {
50
- utils.validationMapper.set(vendor, fn);
51
- }
52
-
53
- exports.loadVendor = loadVendor;
54
- exports.toJsonSchema = toJsonSchema;
8
+ exports.loadVendor = index.loadVendor;
9
+ exports.toJsonSchema = index.toJsonSchema;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,9 @@
1
1
  import * as quansync from 'quansync';
2
2
  import * as json_schema from 'json-schema';
3
+ import { JSONSchema7 } from 'json-schema';
3
4
  import { StandardSchemaV1 } from '@standard-schema/spec';
4
- import { T as ToJsonSchemaFn } from './utils-1JaZ8JC_.js';
5
+
6
+ type ToJsonSchemaFn = (schema: unknown, options?: Record<string, unknown>) => JSONSchema7 | Promise<JSONSchema7>;
5
7
 
6
8
  /**
7
9
  * Converts a Standard Schema to a JSON schema.
@@ -9,4 +11,4 @@ import { T as ToJsonSchemaFn } from './utils-1JaZ8JC_.js';
9
11
  declare const toJsonSchema: quansync.QuansyncFn<json_schema.JSONSchema7 | Promise<json_schema.JSONSchema7>, [schema: StandardSchemaV1<unknown, unknown>, options?: Record<string, unknown> | undefined]>;
10
12
  declare function loadVendor(vendor: string, fn: ToJsonSchemaFn): void;
11
13
 
12
- export { ToJsonSchemaFn, loadVendor, toJsonSchema };
14
+ export { type ToJsonSchemaFn, loadVendor, toJsonSchema };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  import * as quansync from 'quansync';
2
2
  import * as json_schema from 'json-schema';
3
+ import { JSONSchema7 } from 'json-schema';
3
4
  import { StandardSchemaV1 } from '@standard-schema/spec';
4
- import { T as ToJsonSchemaFn } from './utils-1JaZ8JC_.js';
5
+
6
+ type ToJsonSchemaFn = (schema: unknown, options?: Record<string, unknown>) => JSONSchema7 | Promise<JSONSchema7>;
5
7
 
6
8
  /**
7
9
  * Converts a Standard Schema to a JSON schema.
@@ -9,4 +11,4 @@ import { T as ToJsonSchemaFn } from './utils-1JaZ8JC_.js';
9
11
  declare const toJsonSchema: quansync.QuansyncFn<json_schema.JSONSchema7 | Promise<json_schema.JSONSchema7>, [schema: StandardSchemaV1<unknown, unknown>, options?: Record<string, unknown> | undefined]>;
10
12
  declare function loadVendor(vendor: string, fn: ToJsonSchemaFn): void;
11
13
 
12
- export { ToJsonSchemaFn, loadVendor, toJsonSchema };
14
+ export { type ToJsonSchemaFn, loadVendor, toJsonSchema };
package/dist/index.js CHANGED
@@ -1,49 +1,2 @@
1
- import { quansync } from 'quansync';
2
- import { v as validationMapper, U as UnsupportedVendorError } from './utils-8OktpmW4.js';
3
-
4
- const getToJsonSchemaFn = async (vendor) => {
5
- const cached = validationMapper.get(vendor);
6
- if (cached) {
7
- return cached;
8
- }
9
- let vendorFnPromise;
10
- switch (vendor) {
11
- case "arktype":
12
- vendorFnPromise = (await import('./vendors/arktype.js')).default();
13
- break;
14
- case "effect":
15
- vendorFnPromise = (await import('./vendors/effect.js')).default();
16
- break;
17
- case "valibot":
18
- vendorFnPromise = (await import('./vendors/valibot.js')).default();
19
- break;
20
- case "zod":
21
- vendorFnPromise = (await import('./vendors/zod.js')).default();
22
- break;
23
- default:
24
- throw new UnsupportedVendorError(vendor);
25
- }
26
- const vendorFn = await vendorFnPromise;
27
- validationMapper.set(vendor, vendorFn);
28
- return vendorFn;
29
- };
30
-
31
- const toJsonSchema = quansync({
32
- sync: (schema, options) => {
33
- const vendor = schema["~standard"].vendor;
34
- const fn = validationMapper.get(vendor);
35
- if (!fn) {
36
- throw new UnsupportedVendorError(vendor);
37
- }
38
- return fn(schema, options);
39
- },
40
- async: async (schema, options) => {
41
- const fn = await getToJsonSchemaFn(schema["~standard"].vendor);
42
- return fn(schema, options);
43
- }
44
- });
45
- function loadVendor(vendor, fn) {
46
- validationMapper.set(vendor, fn);
47
- }
48
-
49
- export { loadVendor, toJsonSchema };
1
+ export { l as loadVendor, t as toJsonSchema } from './index-CLddUTqr.js';
2
+ import 'quansync';
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-aBd5wZAR.cjs');
4
+ require('quansync');
5
+
6
+ async function getToJsonSchemaFn() {
7
+ try {
8
+ const { toJSONSchema } = await import('sury');
9
+ return toJSONSchema;
10
+ } catch {
11
+ throw new index.MissingDependencyError("sury");
12
+ }
13
+ }
14
+
15
+ exports.default = getToJsonSchemaFn;
@@ -0,0 +1,13 @@
1
+ import { M as MissingDependencyError } from './index-CLddUTqr.js';
2
+ import 'quansync';
3
+
4
+ async function getToJsonSchemaFn() {
5
+ try {
6
+ const { toJSONSchema } = await import('sury');
7
+ return toJSONSchema;
8
+ } catch {
9
+ throw new MissingDependencyError("sury");
10
+ }
11
+ }
12
+
13
+ export { getToJsonSchemaFn as default };
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ function getToJsonSchemaFn() {
4
+ return (schema) => JSON.parse(JSON.stringify(schema.Type()));
5
+ }
6
+
7
+ exports.default = getToJsonSchemaFn;
@@ -0,0 +1,5 @@
1
+ function getToJsonSchemaFn() {
2
+ return (schema) => JSON.parse(JSON.stringify(schema.Type()));
3
+ }
4
+
5
+ export { getToJsonSchemaFn as default };
@@ -1,4 +1,5 @@
1
- import { M as MissingDependencyError } from '../utils-8OktpmW4.js';
1
+ import { M as MissingDependencyError } from './index-CLddUTqr.js';
2
+ import 'quansync';
2
3
 
3
4
  async function getToJsonSchemaFn() {
4
5
  try {
@@ -1,14 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var utils = require('../utils-CeR2367j.cjs');
3
+ var index = require('./index-aBd5wZAR.cjs');
4
+ require('quansync');
4
5
 
5
6
  async function getToJsonSchemaFn() {
6
7
  try {
7
8
  const { toJsonSchema } = await import('@valibot/to-json-schema');
8
9
  return toJsonSchema;
9
10
  } catch {
10
- throw new utils.MissingDependencyError("@valibot/to-json-schema");
11
+ throw new index.MissingDependencyError("@valibot/to-json-schema");
11
12
  }
12
13
  }
13
14
 
14
- module.exports = getToJsonSchemaFn;
15
+ exports.default = getToJsonSchemaFn;
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var utils = require('../utils-CeR2367j.cjs');
3
+ var index = require('./index-aBd5wZAR.cjs');
4
+ require('quansync');
4
5
 
5
- const zodv4Error = new utils.MissingDependencyError("zod v4");
6
+ const zodv4Error = new index.MissingDependencyError("zod v4");
6
7
  async function getToJsonSchemaFn() {
7
8
  return async (schema, options) => {
8
9
  let handler;
@@ -18,11 +19,11 @@ async function getToJsonSchemaFn() {
18
19
  const mod = await import('zod-to-json-schema');
19
20
  handler = mod.zodToJsonSchema;
20
21
  } catch {
21
- throw new utils.MissingDependencyError("zod-to-json-schema");
22
+ throw new index.MissingDependencyError("zod-to-json-schema");
22
23
  }
23
24
  }
24
25
  return handler(schema, options);
25
26
  };
26
27
  }
27
28
 
28
- module.exports = getToJsonSchemaFn;
29
+ exports.default = getToJsonSchemaFn;
@@ -1,4 +1,5 @@
1
- import { M as MissingDependencyError } from '../utils-8OktpmW4.js';
1
+ import { M as MissingDependencyError } from './index-CLddUTqr.js';
2
+ import 'quansync';
2
3
 
3
4
  const zodv4Error = new MissingDependencyError("zod v4");
4
5
  async function getToJsonSchemaFn() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@standard-community/standard-json",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs",
@@ -28,55 +28,13 @@
28
28
  "url": "https://github.com/standard-community/standard-json/issues"
29
29
  },
30
30
  "exports": {
31
- ".": {
32
- "import": {
33
- "types": "./dist/index.d.ts",
34
- "default": "./dist/index.js"
35
- },
36
- "require": {
37
- "types": "./dist/index.d.cts",
38
- "default": "./dist/index.cjs"
39
- }
31
+ "import": {
32
+ "types": "./dist/index.d.ts",
33
+ "default": "./dist/index.js"
40
34
  },
41
- "./arktype": {
42
- "import": {
43
- "types": "./dist/vendors/arktype.d.ts",
44
- "default": "./dist/vendors/arktype.js"
45
- },
46
- "require": {
47
- "types": "./dist/vendors/arktype.d.cts",
48
- "default": "./dist/vendors/arktype.cjs"
49
- }
50
- },
51
- "./effect": {
52
- "import": {
53
- "types": "./dist/vendors/effect.d.ts",
54
- "default": "./dist/vendors/effect.js"
55
- },
56
- "require": {
57
- "types": "./dist/vendors/effect.d.cts",
58
- "default": "./dist/vendors/effect.cjs"
59
- }
60
- },
61
- "./valibot": {
62
- "import": {
63
- "types": "./dist/vendors/valibot.d.ts",
64
- "default": "./dist/vendors/valibot.js"
65
- },
66
- "require": {
67
- "types": "./dist/vendors/valibot.d.cts",
68
- "default": "./dist/vendors/valibot.cjs"
69
- }
70
- },
71
- "./zod": {
72
- "import": {
73
- "types": "./dist/vendors/zod.d.ts",
74
- "default": "./dist/vendors/zod.js"
75
- },
76
- "require": {
77
- "types": "./dist/vendors/zod.d.cts",
78
- "default": "./dist/vendors/zod.cjs"
79
- }
35
+ "require": {
36
+ "types": "./dist/index.d.cts",
37
+ "default": "./dist/index.cjs"
80
38
  }
81
39
  },
82
40
  "peerDependencies": {
@@ -85,7 +43,9 @@
85
43
  "@valibot/to-json-schema": "^1.3.0",
86
44
  "arktype": "^2.1.20",
87
45
  "effect": "^3.16.8",
46
+ "typebox": "^1.0.17",
88
47
  "quansync": "^0.2.11",
48
+ "sury": "^10.0.0",
89
49
  "valibot": "^1.1.0",
90
50
  "zod": "^3.25.0 || ^4.0.0",
91
51
  "zod-to-json-schema": "^3.24.5"
@@ -100,6 +60,12 @@
100
60
  "effect": {
101
61
  "optional": true
102
62
  },
63
+ "typebox": {
64
+ "optional": true
65
+ },
66
+ "sury": {
67
+ "optional": true
68
+ },
103
69
  "valibot": {
104
70
  "optional": true
105
71
  },
@@ -1,5 +0,0 @@
1
- import { JSONSchema7 } from 'json-schema';
2
-
3
- type ToJsonSchemaFn = (schema: unknown, options?: Record<string, unknown>) => JSONSchema7 | Promise<JSONSchema7>;
4
-
5
- export type { ToJsonSchemaFn as T };
@@ -1,13 +0,0 @@
1
- const validationMapper = /* @__PURE__ */ new Map();
2
- class UnsupportedVendorError extends Error {
3
- constructor(vendor) {
4
- super(`standard-json: Unsupported schema vendor "${vendor}".`);
5
- }
6
- }
7
- class MissingDependencyError extends Error {
8
- constructor(packageName) {
9
- super(`standard-json: Missing dependencies "${packageName}".`);
10
- }
11
- }
12
-
13
- export { MissingDependencyError as M, UnsupportedVendorError as U, validationMapper as v };
@@ -1,17 +0,0 @@
1
- 'use strict';
2
-
3
- const validationMapper = /* @__PURE__ */ new Map();
4
- class UnsupportedVendorError extends Error {
5
- constructor(vendor) {
6
- super(`standard-json: Unsupported schema vendor "${vendor}".`);
7
- }
8
- }
9
- class MissingDependencyError extends Error {
10
- constructor(packageName) {
11
- super(`standard-json: Missing dependencies "${packageName}".`);
12
- }
13
- }
14
-
15
- exports.MissingDependencyError = MissingDependencyError;
16
- exports.UnsupportedVendorError = UnsupportedVendorError;
17
- exports.validationMapper = validationMapper;
@@ -1,6 +0,0 @@
1
- import { T as ToJsonSchemaFn } from '../utils-1JaZ8JC_.js';
2
- import 'json-schema';
3
-
4
- declare function getToJsonSchemaFn(): ToJsonSchemaFn;
5
-
6
- export { getToJsonSchemaFn as default };
@@ -1,6 +0,0 @@
1
- import { T as ToJsonSchemaFn } from '../utils-1JaZ8JC_.js';
2
- import 'json-schema';
3
-
4
- declare function getToJsonSchemaFn(): ToJsonSchemaFn;
5
-
6
- export { getToJsonSchemaFn as default };
@@ -1,6 +0,0 @@
1
- import { T as ToJsonSchemaFn } from '../utils-1JaZ8JC_.js';
2
- import 'json-schema';
3
-
4
- declare function getToJsonSchemaFn(): Promise<ToJsonSchemaFn>;
5
-
6
- export { getToJsonSchemaFn as default };
@@ -1,6 +0,0 @@
1
- import { T as ToJsonSchemaFn } from '../utils-1JaZ8JC_.js';
2
- import 'json-schema';
3
-
4
- declare function getToJsonSchemaFn(): Promise<ToJsonSchemaFn>;
5
-
6
- export { getToJsonSchemaFn as default };
@@ -1,6 +0,0 @@
1
- import { T as ToJsonSchemaFn } from '../utils-1JaZ8JC_.js';
2
- import 'json-schema';
3
-
4
- declare function getToJsonSchemaFn(): Promise<ToJsonSchemaFn>;
5
-
6
- export { getToJsonSchemaFn as default };
@@ -1,6 +0,0 @@
1
- import { T as ToJsonSchemaFn } from '../utils-1JaZ8JC_.js';
2
- import 'json-schema';
3
-
4
- declare function getToJsonSchemaFn(): Promise<ToJsonSchemaFn>;
5
-
6
- export { getToJsonSchemaFn as default };
@@ -1,6 +0,0 @@
1
- import { T as ToJsonSchemaFn } from '../utils-1JaZ8JC_.js';
2
- import 'json-schema';
3
-
4
- declare function getToJsonSchemaFn(): Promise<ToJsonSchemaFn>;
5
-
6
- export { getToJsonSchemaFn as default };
@@ -1,6 +0,0 @@
1
- import { T as ToJsonSchemaFn } from '../utils-1JaZ8JC_.js';
2
- import 'json-schema';
3
-
4
- declare function getToJsonSchemaFn(): Promise<ToJsonSchemaFn>;
5
-
6
- export { getToJsonSchemaFn as default };