@forklaunch/validator 0.7.4 → 0.7.6
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.
- package/lib/__test__/utils/mockSchemaValidator.d.mts +1 -1
- package/lib/__test__/utils/mockSchemaValidator.d.ts +1 -1
- package/lib/index.d.mts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/{schema.types-DuGvAboK.d.mts → schema.types-xFskiFwY.d.mts} +1 -1
- package/lib/{schema.types-DuGvAboK.d.ts → schema.types-xFskiFwY.d.ts} +1 -1
- package/lib/src/typebox/index.d.mts +2 -2
- package/lib/src/typebox/index.d.ts +2 -2
- package/lib/src/zod/index.d.mts +2 -2
- package/lib/src/zod/index.d.ts +2 -2
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SchemaObject } from 'openapi3-ts/oas31';
|
|
2
|
-
import { S as SchemaValidator, L as LiteralSchema, a as ParseResult } from '../../schema.types-
|
|
2
|
+
import { S as SchemaValidator, L as LiteralSchema, a as ParseResult } from '../../schema.types-xFskiFwY.mjs';
|
|
3
3
|
import '@forklaunch/common';
|
|
4
4
|
import '@sinclair/typebox';
|
|
5
5
|
import '@sinclair/typebox/compiler';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SchemaObject } from 'openapi3-ts/oas31';
|
|
2
|
-
import { S as SchemaValidator, L as LiteralSchema, a as ParseResult } from '../../schema.types-
|
|
2
|
+
import { S as SchemaValidator, L as LiteralSchema, a as ParseResult } from '../../schema.types-xFskiFwY.js';
|
|
3
3
|
import '@forklaunch/common';
|
|
4
4
|
import '@sinclair/typebox';
|
|
5
5
|
import '@sinclair/typebox/compiler';
|
package/lib/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ParseError } from './schema.types-
|
|
2
|
-
export { A as AnySchemaValidator, I as IdiomaticSchema, e as Increment, K as KeyTypes, L as LiteralSchema, a as ParseResult, d as Schema, b as SchemaResolve, c as SchemaTranslate, S as SchemaValidator, U as UnboxedObjectSchema } from './schema.types-
|
|
1
|
+
import { P as ParseError } from './schema.types-xFskiFwY.mjs';
|
|
2
|
+
export { A as AnySchemaValidator, I as IdiomaticSchema, e as Increment, K as KeyTypes, L as LiteralSchema, a as ParseResult, d as Schema, b as SchemaResolve, c as SchemaTranslate, S as SchemaValidator, U as UnboxedObjectSchema } from './schema.types-xFskiFwY.mjs';
|
|
3
3
|
import '@forklaunch/common';
|
|
4
4
|
import 'openapi3-ts/oas31';
|
|
5
5
|
import '@sinclair/typebox';
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ParseError } from './schema.types-
|
|
2
|
-
export { A as AnySchemaValidator, I as IdiomaticSchema, e as Increment, K as KeyTypes, L as LiteralSchema, a as ParseResult, d as Schema, b as SchemaResolve, c as SchemaTranslate, S as SchemaValidator, U as UnboxedObjectSchema } from './schema.types-
|
|
1
|
+
import { P as ParseError } from './schema.types-xFskiFwY.js';
|
|
2
|
+
export { A as AnySchemaValidator, I as IdiomaticSchema, e as Increment, K as KeyTypes, L as LiteralSchema, a as ParseResult, d as Schema, b as SchemaResolve, c as SchemaTranslate, S as SchemaValidator, U as UnboxedObjectSchema } from './schema.types-xFskiFwY.js';
|
|
3
3
|
import '@forklaunch/common';
|
|
4
4
|
import 'openapi3-ts/oas31';
|
|
5
5
|
import '@sinclair/typebox';
|
|
@@ -752,4 +752,4 @@ type Increment<T extends number> = T extends 0 ? 1 : T extends 1 ? 2 : T extends
|
|
|
752
752
|
*/
|
|
753
753
|
type KeyTypes = string | number;
|
|
754
754
|
|
|
755
|
-
export { type AnySchemaValidator as A, type
|
|
755
|
+
export { type AnySchemaValidator as A, type TResolve as B, type IdiomaticSchema as I, type KeyTypes as K, type LiteralSchema as L, type ParseError as P, type SchemaValidator as S, type TupleZodResolve as T, type UnboxedObjectSchema as U, ZodSchemaValidator as Z, type ParseResult as a, type SchemaResolve as b, type SchemaTranslate as c, type Schema as d, type Increment as e, type ZodCatchall as f, type ZodOuterArray as g, type ZodObjectShape as h, type ZodSchemaTranslate as i, type UnboxedZodObjectSchema as j, type ZodIdiomaticSchema as k, type ZodTupleContainer as l, type ZodUnionContainer as m, type UnionZodResolve as n, type ZodResolve as o, type ZodRecordKey as p, TypeboxSchemaValidator as q, type TCatchall as r, type TOuterArray as s, type TObjectShape as t, type SafeTObject as u, type TSchemaTranslate as v, type UnboxedTObjectSchema as w, type TIdiomaticSchema as x, type TUnionTupleContainer as y, type UnionTupleTResolve as z };
|
|
@@ -752,4 +752,4 @@ type Increment<T extends number> = T extends 0 ? 1 : T extends 1 ? 2 : T extends
|
|
|
752
752
|
*/
|
|
753
753
|
type KeyTypes = string | number;
|
|
754
754
|
|
|
755
|
-
export { type AnySchemaValidator as A, type
|
|
755
|
+
export { type AnySchemaValidator as A, type TResolve as B, type IdiomaticSchema as I, type KeyTypes as K, type LiteralSchema as L, type ParseError as P, type SchemaValidator as S, type TupleZodResolve as T, type UnboxedObjectSchema as U, ZodSchemaValidator as Z, type ParseResult as a, type SchemaResolve as b, type SchemaTranslate as c, type Schema as d, type Increment as e, type ZodCatchall as f, type ZodOuterArray as g, type ZodObjectShape as h, type ZodSchemaTranslate as i, type UnboxedZodObjectSchema as j, type ZodIdiomaticSchema as k, type ZodTupleContainer as l, type ZodUnionContainer as m, type UnionZodResolve as n, type ZodResolve as o, type ZodRecordKey as p, TypeboxSchemaValidator as q, type TCatchall as r, type TOuterArray as s, type TObjectShape as t, type SafeTObject as u, type TSchemaTranslate as v, type UnboxedTObjectSchema as w, type TIdiomaticSchema as x, type TUnionTupleContainer as y, type UnionTupleTResolve as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from '@sinclair/typebox';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { q as TypeboxSchemaValidator } from '../../schema.types-xFskiFwY.mjs';
|
|
3
|
+
export { u as SafeTObject, r as TCatchall, x as TIdiomaticSchema, t as TObjectShape, s as TOuterArray, B as TResolve, v as TSchemaTranslate, y as TUnionTupleContainer, w as UnboxedTObjectSchema, z as UnionTupleTResolve } from '../../schema.types-xFskiFwY.mjs';
|
|
4
4
|
import '@forklaunch/common';
|
|
5
5
|
import 'openapi3-ts/oas31';
|
|
6
6
|
import '@sinclair/typebox/compiler';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from '@sinclair/typebox';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { q as TypeboxSchemaValidator } from '../../schema.types-xFskiFwY.js';
|
|
3
|
+
export { u as SafeTObject, r as TCatchall, x as TIdiomaticSchema, t as TObjectShape, s as TOuterArray, B as TResolve, v as TSchemaTranslate, y as TUnionTupleContainer, w as UnboxedTObjectSchema, z as UnionTupleTResolve } from '../../schema.types-xFskiFwY.js';
|
|
4
4
|
import '@forklaunch/common';
|
|
5
5
|
import 'openapi3-ts/oas31';
|
|
6
6
|
import '@sinclair/typebox/compiler';
|
package/lib/src/zod/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ZodAny, ZodArray, ZodBigInt, ZodBoolean, ZodDate, ZodEffects, ZodEnum, ZodFunction, ZodLiteral, ZodNever, ZodNull, ZodNumber, ZodObject, ZodOptional, ZodPipeline, ZodPromise, ZodRawShape, ZodRecord, ZodString, ZodSymbol, ZodTuple, ZodType, ZodTypeAny, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid } from 'zod';
|
|
2
|
-
import { Z as ZodSchemaValidator } from '../../schema.types-
|
|
3
|
-
export {
|
|
2
|
+
import { Z as ZodSchemaValidator } from '../../schema.types-xFskiFwY.mjs';
|
|
3
|
+
export { T as TupleZodResolve, j as UnboxedZodObjectSchema, n as UnionZodResolve, f as ZodCatchall, k as ZodIdiomaticSchema, h as ZodObjectShape, g as ZodOuterArray, p as ZodRecordKey, o as ZodResolve, i as ZodSchemaTranslate, l as ZodTupleContainer, m as ZodUnionContainer } from '../../schema.types-xFskiFwY.mjs';
|
|
4
4
|
import '@forklaunch/common';
|
|
5
5
|
import 'openapi3-ts/oas31';
|
|
6
6
|
import '@sinclair/typebox';
|
package/lib/src/zod/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ZodAny, ZodArray, ZodBigInt, ZodBoolean, ZodDate, ZodEffects, ZodEnum, ZodFunction, ZodLiteral, ZodNever, ZodNull, ZodNumber, ZodObject, ZodOptional, ZodPipeline, ZodPromise, ZodRawShape, ZodRecord, ZodString, ZodSymbol, ZodTuple, ZodType, ZodTypeAny, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid } from 'zod';
|
|
2
|
-
import { Z as ZodSchemaValidator } from '../../schema.types-
|
|
3
|
-
export {
|
|
2
|
+
import { Z as ZodSchemaValidator } from '../../schema.types-xFskiFwY.js';
|
|
3
|
+
export { T as TupleZodResolve, j as UnboxedZodObjectSchema, n as UnionZodResolve, f as ZodCatchall, k as ZodIdiomaticSchema, h as ZodObjectShape, g as ZodOuterArray, p as ZodRecordKey, o as ZodResolve, i as ZodSchemaTranslate, l as ZodTupleContainer, m as ZodUnionContainer } from '../../schema.types-xFskiFwY.js';
|
|
4
4
|
import '@forklaunch/common';
|
|
5
5
|
import 'openapi3-ts/oas31';
|
|
6
6
|
import '@sinclair/typebox';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/validator",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"description": "Schema validator for ForkLaunch components.",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@anatine/zod-openapi": "^2.2.8",
|
|
62
62
|
"@sinclair/typebox": "^0.34.37",
|
|
63
|
-
"zod": "^3.25.
|
|
64
|
-
"@forklaunch/common": "0.4.
|
|
63
|
+
"zod": "^3.25.76",
|
|
64
|
+
"@forklaunch/common": "0.4.4"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@eslint/js": "^9.
|
|
67
|
+
"@eslint/js": "^9.31.0",
|
|
68
68
|
"@types/jest": "^30.0.0",
|
|
69
|
-
"@types/node": "^24.0.
|
|
70
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
69
|
+
"@types/node": "^24.0.13",
|
|
70
|
+
"@typescript/native-preview": "7.0.0-dev.20250712.1",
|
|
71
71
|
"@vitest/coverage-v8": "^3.2.4",
|
|
72
72
|
"eslint-config-prettier": "^10.1.5",
|
|
73
73
|
"eslint-plugin-prettier": "^5.5.1",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"ts-node": "^10.9.2",
|
|
79
79
|
"tsup": "^8.5.0",
|
|
80
80
|
"typedoc": "^0.28.7",
|
|
81
|
-
"typescript-eslint": "^8.
|
|
81
|
+
"typescript-eslint": "^8.36.0"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"build": "tsgo --noEmit && tsup index.ts src/typebox/index.ts src/zod/index.ts __test__/utils/mockSchemaValidator.ts --format cjs,esm --no-splitting --tsconfig tsconfig.json --outDir lib --dts --clean",
|