Comparing version 2.0.0-rc.22 to 2.0.0-rc.23
@@ -1,2 +0,2 @@ | ||
import type { ArkErrors, BaseRoot, Disjoint, JsonSchema, MetaSchema, Morph, Predicate, PredicateCast, StandardSchema, UndeclaredKeyBehavior } from "@ark/schema"; | ||
import type { ArkErrors, ArkTypeStandardSchemaProps, BaseRoot, Disjoint, JsonSchema, MetaSchema, Morph, Predicate, PredicateCast, UndeclaredKeyBehavior } from "@ark/schema"; | ||
import type { anyOrNever, array, Callable, ErrorMessage, inferred, Json, unset } from "@ark/util"; | ||
@@ -10,3 +10,3 @@ import type { associateAttributes, associateAttributesFromSchema, brandAttributes, Default, DefaultFor, distill, inferIntersection, inferMorphOut, inferPipes, InferredMorph, Nominal, Optional, Out, To } from "../attributes.ts"; | ||
/** @ts-ignore cast variance */ | ||
interface Type<out t = unknown, $ = {}> extends Callable<(data: unknown) => distill.Out<t> | ArkErrors, StandardSchema.ConstantProps> { | ||
interface Type<out t = unknown, $ = {}> extends Callable<(data: unknown) => distill.Out<t> | ArkErrors, ArkTypeStandardSchemaProps> { | ||
[inferred]: t; | ||
@@ -143,4 +143,3 @@ t: t; | ||
default<const value extends this["inferIn"], r = associateAttributes<t, Default<value>>>(value: DefaultFor<value>): instantiateType<r, $>; | ||
"~validate": StandardSchema.Validator<this["inferOut"]>; | ||
"~types": StandardSchema.Types<this["inferIn"], this["inferOut"]>; | ||
"~standard": ArkTypeStandardSchemaProps<this["inferIn"], this["inferOut"]>; | ||
/** @deprecated */ | ||
@@ -147,0 +146,0 @@ apply: Function["apply"]; |
{ | ||
"name": "arktype", | ||
"description": "TypeScript's 1:1 validator, optimized from editor to runtime", | ||
"version": "2.0.0-rc.22", | ||
"version": "2.0.0-rc.23", | ||
"license": "MIT", | ||
@@ -37,4 +37,4 @@ "author": { | ||
"dependencies": { | ||
"@ark/util": "0.22.0", | ||
"@ark/schema": "0.22.0" | ||
"@ark/util": "0.23.0", | ||
"@ark/schema": "0.23.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "publishConfig": { |
246005
4699
+ Added@ark/schema@0.23.0(transitive)
+ Added@ark/util@0.23.0(transitive)
- Removed@ark/schema@0.22.0(transitive)
- Removed@ark/util@0.22.0(transitive)
Updated@ark/schema@0.23.0
Updated@ark/util@0.23.0