File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 200200 "zod" : " 3.25.76" ,
201201 "zod-error" : " 1.5.0" ,
202202 "zod-validation-error" : " ^1.5.0" ,
203- "@standard-schema/spec" : " ^1.1.0"
203+ "@standard-schema/spec" : " ^1.1.0"
204204 },
205205 "devDependencies" : {
206206 "@ai-sdk/provider-utils" : " ^1.0.22" ,
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ export {
7979 type SchemaParseFn ,
8080 isSchemaZodEsque ,
8181 isSchemaValibotEsque ,
82+ isSchemaStandardSchemaV1 ,
8283 isSchemaArkTypeEsque ,
8384} from "./types/schemas.js" ;
8485
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export type SchemaParseFn<TType> = (value: unknown) => Promise<TType> | TType;
127127export type AnySchemaParseFn = SchemaParseFn < any > ;
128128
129129export function getSchemaParseFn < TType > ( procedureParser : Schema ) : SchemaParseFn < TType > {
130- const parser = procedureParser as any ;
130+ const parser = procedureParser as any ;
131131
132132 if ( typeof parser === "function" && typeof parser . assert === "function" ) {
133133 // ParserArkTypeEsque - arktype schemas shouldn't be called as a function because they return a union type instead of throwing
You can’t perform that action at this time.
0 commit comments