@arrirpc/schema 0.81.2 → 0.81.4
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/dist/adapters.d.cts +1 -1
- package/dist/adapters.d.mts +1 -1
- package/dist/adapters.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/shared/{schema.CS4qvHhE.d.cts → schema.puFjotry.d.cts} +2 -2
- package/dist/shared/{schema.CS4qvHhE.d.mts → schema.puFjotry.d.mts} +2 -2
- package/dist/shared/{schema.CS4qvHhE.d.ts → schema.puFjotry.d.ts} +2 -2
- package/package.json +8 -8
package/dist/adapters.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
2
|
-
import { m as ValidationContext, A as ASchema } from './shared/schema.
|
|
2
|
+
import { m as ValidationContext, A as ASchema } from './shared/schema.puFjotry.cjs';
|
|
3
3
|
import '@arrirpc/type-defs';
|
|
4
4
|
|
|
5
5
|
declare function createStandardSchemaProperty<T>(validate: (input: unknown) => input is T, parse: (input: unknown, ctx: ValidationContext) => T | undefined, vendor?: string): StandardSchemaV1<T>['~standard'];
|
package/dist/adapters.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
2
|
-
import { m as ValidationContext, A as ASchema } from './shared/schema.
|
|
2
|
+
import { m as ValidationContext, A as ASchema } from './shared/schema.puFjotry.mjs';
|
|
3
3
|
import '@arrirpc/type-defs';
|
|
4
4
|
|
|
5
5
|
declare function createStandardSchemaProperty<T>(validate: (input: unknown) => input is T, parse: (input: unknown, ctx: ValidationContext) => T | undefined, vendor?: string): StandardSchemaV1<T>['~standard'];
|
package/dist/adapters.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
2
|
-
import { m as ValidationContext, A as ASchema } from './shared/schema.
|
|
2
|
+
import { m as ValidationContext, A as ASchema } from './shared/schema.puFjotry.js';
|
|
3
3
|
import '@arrirpc/type-defs';
|
|
4
4
|
|
|
5
5
|
declare function createStandardSchemaProperty<T>(validate: (input: unknown) => input is T, parse: (input: unknown, ctx: ValidationContext) => T | undefined, vendor?: string): StandardSchemaV1<T>['~standard'];
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Schema } from '@arrirpc/type-defs';
|
|
2
2
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
3
|
-
import { A as ASchema, a as ASchemaStrict, I as InferType, R as Result, S as SchemaValidator, V as VALIDATOR_KEY, b as ASchemaOptions, c as ASchemaWithAdapters, d as AArraySchema, W as WithAdapters, e as AScalarSchemaWithAdapters, f as AObjectSchema, g as ADiscriminatorSchemaWithAdapters, h as ResolveObject, i as AStringEnumSchemaWithAdapters, j as AObjectSchemaWithAdapters, k as AObjectSchemaOptions, l as InferObjectOutput, m as ValidationContext, n as ARecordSchemaWithAdapters, o as ARefSchema, p as ValueError, q as InferSubType } from './shared/schema.
|
|
4
|
-
export {
|
|
3
|
+
import { A as ASchema, a as ASchemaStrict, I as InferType, R as Result, S as SchemaValidator, V as VALIDATOR_KEY, b as ASchemaOptions, c as ASchemaWithAdapters, d as AArraySchema, W as WithAdapters, e as AScalarSchemaWithAdapters, f as AObjectSchema, g as ADiscriminatorSchemaWithAdapters, h as ResolveObject, i as AStringEnumSchemaWithAdapters, j as AObjectSchemaWithAdapters, k as AObjectSchemaOptions, l as InferObjectOutput, m as ValidationContext, n as ARecordSchemaWithAdapters, o as ARefSchema, p as ValueError, q as InferSubType } from './shared/schema.puFjotry.cjs';
|
|
4
|
+
export { r as AArraySchemaWithAdapters, s as ADiscriminatorSchema, t as ARecordSchema, u as ARefSchemaWithAdapters, v as AScalarSchema, w as AStringEnumSchema, x as InferObjectOptionalKeys, y as InferObjectRawType, M as MaybeNullable, N as NumberType, z as NumberTypeValues, P as PartialBy, B as Resolve, C as ResultFailure, D as ResultSuccess, E as SchemaMetadata, F as ValidationException, G as errorMessageFromErrors, H as isAAraySchema, J as isADiscriminatorSchema, K as isAObjectSchema, L as isARecordSchema, O as isARefSchema, Q as isAScalarSchema, T as isASchema, U as isAStringEnumSchema, X as isObject, Y as isValidationException, Z as isValueError, _ as newValidationContext } from './shared/schema.puFjotry.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createParsingTemplate(input: string, schema: Schema, shouldCoerce?: boolean): string;
|
|
7
7
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Schema } from '@arrirpc/type-defs';
|
|
2
2
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
3
|
-
import { A as ASchema, a as ASchemaStrict, I as InferType, R as Result, S as SchemaValidator, V as VALIDATOR_KEY, b as ASchemaOptions, c as ASchemaWithAdapters, d as AArraySchema, W as WithAdapters, e as AScalarSchemaWithAdapters, f as AObjectSchema, g as ADiscriminatorSchemaWithAdapters, h as ResolveObject, i as AStringEnumSchemaWithAdapters, j as AObjectSchemaWithAdapters, k as AObjectSchemaOptions, l as InferObjectOutput, m as ValidationContext, n as ARecordSchemaWithAdapters, o as ARefSchema, p as ValueError, q as InferSubType } from './shared/schema.
|
|
4
|
-
export {
|
|
3
|
+
import { A as ASchema, a as ASchemaStrict, I as InferType, R as Result, S as SchemaValidator, V as VALIDATOR_KEY, b as ASchemaOptions, c as ASchemaWithAdapters, d as AArraySchema, W as WithAdapters, e as AScalarSchemaWithAdapters, f as AObjectSchema, g as ADiscriminatorSchemaWithAdapters, h as ResolveObject, i as AStringEnumSchemaWithAdapters, j as AObjectSchemaWithAdapters, k as AObjectSchemaOptions, l as InferObjectOutput, m as ValidationContext, n as ARecordSchemaWithAdapters, o as ARefSchema, p as ValueError, q as InferSubType } from './shared/schema.puFjotry.mjs';
|
|
4
|
+
export { r as AArraySchemaWithAdapters, s as ADiscriminatorSchema, t as ARecordSchema, u as ARefSchemaWithAdapters, v as AScalarSchema, w as AStringEnumSchema, x as InferObjectOptionalKeys, y as InferObjectRawType, M as MaybeNullable, N as NumberType, z as NumberTypeValues, P as PartialBy, B as Resolve, C as ResultFailure, D as ResultSuccess, E as SchemaMetadata, F as ValidationException, G as errorMessageFromErrors, H as isAAraySchema, J as isADiscriminatorSchema, K as isAObjectSchema, L as isARecordSchema, O as isARefSchema, Q as isAScalarSchema, T as isASchema, U as isAStringEnumSchema, X as isObject, Y as isValidationException, Z as isValueError, _ as newValidationContext } from './shared/schema.puFjotry.mjs';
|
|
5
5
|
|
|
6
6
|
declare function createParsingTemplate(input: string, schema: Schema, shouldCoerce?: boolean): string;
|
|
7
7
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Schema } from '@arrirpc/type-defs';
|
|
2
2
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
3
|
-
import { A as ASchema, a as ASchemaStrict, I as InferType, R as Result, S as SchemaValidator, V as VALIDATOR_KEY, b as ASchemaOptions, c as ASchemaWithAdapters, d as AArraySchema, W as WithAdapters, e as AScalarSchemaWithAdapters, f as AObjectSchema, g as ADiscriminatorSchemaWithAdapters, h as ResolveObject, i as AStringEnumSchemaWithAdapters, j as AObjectSchemaWithAdapters, k as AObjectSchemaOptions, l as InferObjectOutput, m as ValidationContext, n as ARecordSchemaWithAdapters, o as ARefSchema, p as ValueError, q as InferSubType } from './shared/schema.
|
|
4
|
-
export {
|
|
3
|
+
import { A as ASchema, a as ASchemaStrict, I as InferType, R as Result, S as SchemaValidator, V as VALIDATOR_KEY, b as ASchemaOptions, c as ASchemaWithAdapters, d as AArraySchema, W as WithAdapters, e as AScalarSchemaWithAdapters, f as AObjectSchema, g as ADiscriminatorSchemaWithAdapters, h as ResolveObject, i as AStringEnumSchemaWithAdapters, j as AObjectSchemaWithAdapters, k as AObjectSchemaOptions, l as InferObjectOutput, m as ValidationContext, n as ARecordSchemaWithAdapters, o as ARefSchema, p as ValueError, q as InferSubType } from './shared/schema.puFjotry.js';
|
|
4
|
+
export { r as AArraySchemaWithAdapters, s as ADiscriminatorSchema, t as ARecordSchema, u as ARefSchemaWithAdapters, v as AScalarSchema, w as AStringEnumSchema, x as InferObjectOptionalKeys, y as InferObjectRawType, M as MaybeNullable, N as NumberType, z as NumberTypeValues, P as PartialBy, B as Resolve, C as ResultFailure, D as ResultSuccess, E as SchemaMetadata, F as ValidationException, G as errorMessageFromErrors, H as isAAraySchema, J as isADiscriminatorSchema, K as isAObjectSchema, L as isARecordSchema, O as isARefSchema, Q as isAScalarSchema, T as isASchema, U as isAStringEnumSchema, X as isObject, Y as isValidationException, Z as isValueError, _ as newValidationContext } from './shared/schema.puFjotry.js';
|
|
5
5
|
|
|
6
6
|
declare function createParsingTemplate(input: string, schema: Schema, shouldCoerce?: boolean): string;
|
|
7
7
|
|
|
@@ -176,5 +176,5 @@ interface ARefSchema<T> extends ASchema<T> {
|
|
|
176
176
|
declare function isARefSchema(input: unknown): input is ARefSchema<any>;
|
|
177
177
|
type ARefSchemaWithAdapters<T> = ARefSchema<T> & WithAdapters<T>;
|
|
178
178
|
|
|
179
|
-
export {
|
|
180
|
-
export type { ASchema as A, Resolve as B,
|
|
179
|
+
export { ValidationException as F, errorMessageFromErrors as G, isAAraySchema as H, isADiscriminatorSchema as J, isAObjectSchema as K, isARecordSchema as L, isARefSchema as O, isAScalarSchema as Q, isASchema as T, isAStringEnumSchema as U, VALIDATOR_KEY as V, isObject as X, isValidationException as Y, isValueError as Z, newValidationContext as _, NumberTypeValues as z };
|
|
180
|
+
export type { ASchema as A, Resolve as B, ResultFailure as C, ResultSuccess as D, SchemaMetadata as E, InferType as I, MaybeNullable as M, NumberType as N, PartialBy as P, Result as R, SchemaValidator as S, WithAdapters as W, ASchemaStrict as a, ASchemaOptions as b, ASchemaWithAdapters as c, AArraySchema as d, AScalarSchemaWithAdapters as e, AObjectSchema as f, ADiscriminatorSchemaWithAdapters as g, ResolveObject as h, AStringEnumSchemaWithAdapters as i, AObjectSchemaWithAdapters as j, AObjectSchemaOptions as k, InferObjectOutput as l, ValidationContext as m, ARecordSchemaWithAdapters as n, ARefSchema as o, ValueError as p, InferSubType as q, AArraySchemaWithAdapters as r, ADiscriminatorSchema as s, ARecordSchema as t, ARefSchemaWithAdapters as u, AScalarSchema as v, AStringEnumSchema as w, InferObjectOptionalKeys as x, InferObjectRawType as y };
|
|
@@ -176,5 +176,5 @@ interface ARefSchema<T> extends ASchema<T> {
|
|
|
176
176
|
declare function isARefSchema(input: unknown): input is ARefSchema<any>;
|
|
177
177
|
type ARefSchemaWithAdapters<T> = ARefSchema<T> & WithAdapters<T>;
|
|
178
178
|
|
|
179
|
-
export {
|
|
180
|
-
export type { ASchema as A, Resolve as B,
|
|
179
|
+
export { ValidationException as F, errorMessageFromErrors as G, isAAraySchema as H, isADiscriminatorSchema as J, isAObjectSchema as K, isARecordSchema as L, isARefSchema as O, isAScalarSchema as Q, isASchema as T, isAStringEnumSchema as U, VALIDATOR_KEY as V, isObject as X, isValidationException as Y, isValueError as Z, newValidationContext as _, NumberTypeValues as z };
|
|
180
|
+
export type { ASchema as A, Resolve as B, ResultFailure as C, ResultSuccess as D, SchemaMetadata as E, InferType as I, MaybeNullable as M, NumberType as N, PartialBy as P, Result as R, SchemaValidator as S, WithAdapters as W, ASchemaStrict as a, ASchemaOptions as b, ASchemaWithAdapters as c, AArraySchema as d, AScalarSchemaWithAdapters as e, AObjectSchema as f, ADiscriminatorSchemaWithAdapters as g, ResolveObject as h, AStringEnumSchemaWithAdapters as i, AObjectSchemaWithAdapters as j, AObjectSchemaOptions as k, InferObjectOutput as l, ValidationContext as m, ARecordSchemaWithAdapters as n, ARefSchema as o, ValueError as p, InferSubType as q, AArraySchemaWithAdapters as r, ADiscriminatorSchema as s, ARecordSchema as t, ARefSchemaWithAdapters as u, AScalarSchema as v, AStringEnumSchema as w, InferObjectOptionalKeys as x, InferObjectRawType as y };
|
|
@@ -176,5 +176,5 @@ interface ARefSchema<T> extends ASchema<T> {
|
|
|
176
176
|
declare function isARefSchema(input: unknown): input is ARefSchema<any>;
|
|
177
177
|
type ARefSchemaWithAdapters<T> = ARefSchema<T> & WithAdapters<T>;
|
|
178
178
|
|
|
179
|
-
export {
|
|
180
|
-
export type { ASchema as A, Resolve as B,
|
|
179
|
+
export { ValidationException as F, errorMessageFromErrors as G, isAAraySchema as H, isADiscriminatorSchema as J, isAObjectSchema as K, isARecordSchema as L, isARefSchema as O, isAScalarSchema as Q, isASchema as T, isAStringEnumSchema as U, VALIDATOR_KEY as V, isObject as X, isValidationException as Y, isValueError as Z, newValidationContext as _, NumberTypeValues as z };
|
|
180
|
+
export type { ASchema as A, Resolve as B, ResultFailure as C, ResultSuccess as D, SchemaMetadata as E, InferType as I, MaybeNullable as M, NumberType as N, PartialBy as P, Result as R, SchemaValidator as S, WithAdapters as W, ASchemaStrict as a, ASchemaOptions as b, ASchemaWithAdapters as c, AArraySchema as d, AScalarSchemaWithAdapters as e, AObjectSchema as f, ADiscriminatorSchemaWithAdapters as g, ResolveObject as h, AStringEnumSchemaWithAdapters as i, AObjectSchemaWithAdapters as j, AObjectSchemaOptions as k, InferObjectOutput as l, ValidationContext as m, ARecordSchemaWithAdapters as n, ARefSchema as o, ValueError as p, InferSubType as q, AArraySchemaWithAdapters as r, ADiscriminatorSchema as s, ARecordSchema as t, ARefSchemaWithAdapters as u, AScalarSchema as v, AStringEnumSchema as w, InferObjectOptionalKeys as x, InferObjectRawType as y };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arrirpc/schema",
|
|
3
|
-
"version": "0.81.
|
|
3
|
+
"version": "0.81.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@standard-schema/spec": "1.
|
|
25
|
+
"@standard-schema/spec": "1.1.0",
|
|
26
26
|
"scule": "^1.3.0",
|
|
27
27
|
"uncrypto": "^0.1.3",
|
|
28
|
-
"@arrirpc/type-defs": "0.81.
|
|
28
|
+
"@arrirpc/type-defs": "0.81.4"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@samchon/openapi": "^
|
|
32
|
-
"@sinclair/typebox": "^0.34.
|
|
31
|
+
"@samchon/openapi": "^6.0.1",
|
|
32
|
+
"@sinclair/typebox": "^0.34.48",
|
|
33
33
|
"ajv": "^8.17.1",
|
|
34
|
-
"arktype": "^2.1.
|
|
34
|
+
"arktype": "^2.1.29",
|
|
35
35
|
"benny": "^3.7.1",
|
|
36
|
-
"typia": "^
|
|
36
|
+
"typia": "^11.0.3",
|
|
37
37
|
"valibot": "1.2.0",
|
|
38
|
-
"zod": "^4.
|
|
38
|
+
"zod": "^4.3.6"
|
|
39
39
|
}
|
|
40
40
|
}
|