Skip to content

Upgrading valibot 0.19 to 0.20

Breaking0.19.0 → 0.20.1Breaking1

Fetching 2 releases from GitHub…1 / 2
BreakingUpgrade verdict

1 breaking change.

  • Remove never from type signatur of strict objects and tuples (issue ).
1 item needs code or config changes
Breaking1
Remove never from type signatur of strict objects and tuples (issue ).
never

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: function brand<TSchema extends AnySchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): AnySchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends ArraySchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): ArraySchema<TSchema['array']['item'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends ArraySchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): ArraySchemaAsync<TSchema['array']['item'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends BigintSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): BigintSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends BigintSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): BigintSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends BlobSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): BlobSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends BlobSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): BlobSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends BooleanSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): BooleanSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends BooleanSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): BooleanSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends DateSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): DateSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends DateSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): DateSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends EnumSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): EnumSchema<TSchema['enum'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends EnumSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): EnumSchemaAsync<TSchema['enum'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends InstanceSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): InstanceSchema<TSchema['class'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends InstanceSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): InstanceSchemaAsync<TSchema['class'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends IntersectionSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): IntersectionSchema<TSchema['intersection'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends IntersectionSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): IntersectionSchemaAsync<TSchema['intersection'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends LiteralSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): LiteralSchema<TSchema['literal'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends LiteralSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): LiteralSchemaAsync<TSchema['literal'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends MapSchema<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): MapSchema<TSchema['map']['key'], TSchema['map']['value'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends MapSchemaAsync<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): MapSchemaAsync<TSchema['map']['key'], TSchema['map']['value'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NanSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NanSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NanSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NanSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NativeEnumSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NativeEnumSchema<TSchema['nativeEnum'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NativeEnumSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NativeEnumSchemaAsync<TSchema['nativeEnum'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NeverSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NeverSchema
  • removed: function brand<TSchema extends NeverSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NeverSchemaAsync
  • removed: function brand<TSchema extends NonNullableSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NonNullableSchema<TSchema['wrapped'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NonNullableSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NonNullableSchemaAsync<TSchema['wrapped'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NonNullishSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NonNullishSchema<TSchema['wrapped'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NonNullishSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NonNullishSchemaAsync<TSchema['wrapped'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NonOptionalSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NonOptionalSchema<TSchema['wrapped'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NonOptionalSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NonOptionalSchemaAsync<TSchema['wrapped'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NullSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NullSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NullSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NullSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NullableSchema<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NullableSchema<TSchema['wrapped'], TSchema['default'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NullableSchemaAsync<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NullableSchemaAsync<TSchema['wrapped'], TSchema['default'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NullishSchema<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NullishSchema<TSchema['wrapped'], TSchema['default'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NullishSchemaAsync<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NullishSchemaAsync<TSchema['wrapped'], TSchema['default'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NumberSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NumberSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends NumberSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): NumberSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends ObjectSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): ObjectSchema<TSchema['object'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends ObjectSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): ObjectSchemaAsync<TSchema['object'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends OptionalSchema<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): OptionalSchema<TSchema['wrapped'], TSchema['default'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends OptionalSchemaAsync<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): OptionalSchemaAsync<TSchema['wrapped'], TSchema['default'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends RecordSchema<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): RecordSchema<TSchema['record']['key'], TSchema['record']['value'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends RecordSchemaAsync<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): RecordSchemaAsync<TSchema['record']['key'], TSchema['record']['value'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends RecursiveSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): RecursiveSchema<TSchema['getter'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends RecursiveSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): RecursiveSchemaAsync<TSchema['getter'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends SetSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): SetSchema<TSchema['set']['value'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends SetSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): SetSchemaAsync<TSchema['set']['value'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends SpecialSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): SpecialSchema<Input<TSchema>, Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends SpecialSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): SpecialSchemaAsync<Input<TSchema>, Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends StringSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): StringSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends StringSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): StringSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends SymbolSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): SymbolSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends SymbolSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): SymbolSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends TupleSchema<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): TupleSchema<TSchema['tuple']['items'], TSchema['tuple']['rest'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends TupleSchemaAsync<any, any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): TupleSchemaAsync<TSchema['tuple']['items'], TSchema['tuple']['rest'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends UndefinedSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): UndefinedSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends UndefinedSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): UndefinedSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends UnionSchema<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): UnionSchema<TSchema['union'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends UnionSchemaAsync<any>, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): UnionSchemaAsync<TSchema['union'], Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends UnknownSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): UnknownSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends UnknownSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): UnknownSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends VoidSchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): VoidSchema<Output<TSchema> & Brand<TBrandName>>
  • removed: function brand<TSchema extends VoidSchemaAsync, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): VoidSchemaAsync<Output<TSchema> & Brand<TBrandName>>
  • removed: function enumType<TOption extends string, TEnum extends Enum<TOption>>(enumValue: TEnum, error?: ErrorMessage): EnumSchema<TEnum>
  • removed: function enumTypeAsync<TOption extends string, TEnum extends Enum<TOption>>(enumValue: TEnum, error?: ErrorMessage): EnumSchemaAsync<TEnum>
  • removed: function intersection<TIntersectionOptions extends IntersectionOptions>(intersection: TIntersectionOptions, error?: string): IntersectionSchema<TIntersectionOptions>
  • removed: function intersectionAsync<TIntersectionOptions extends IntersectionOptionsAsync>(intersection: TIntersectionOptions, error?: string): IntersectionSchemaAsync<TIntersectionOptions>
  • removed: function nativeEnum<TNativeEnum extends NativeEnum>(nativeEnum: TNativeEnum, error?: ErrorMessage): NativeEnumSchema<TNativeEnum>
  • removed: function nativeEnumAsync<TNativeEnum extends NativeEnum>(nativeEnum: TNativeEnum, error?: ErrorMessage): NativeEnumSchemaAsync<TNativeEnum>
  • removed: function nullType(error?: ErrorMessage): NullSchema
  • removed: function nullTypeAsync(error?: ErrorMessage): NullSchemaAsync
  • removed: function transform<TSchema extends BigintSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): BigintSchema<TOutput>
  • removed: function transform<TSchema extends BlobSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): BlobSchema<TOutput>
  • removed: function transform<TSchema extends BooleanSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): BooleanSchema<TOutput>
  • removed: function transform<TSchema extends DateSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): DateSchema<TOutput>
  • removed: function transform<TSchema extends EnumSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): EnumSchema<TSchema['enum'], TOutput>
  • removed: function transform<TSchema extends InstanceSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): InstanceSchema<TSchema['class'], TOutput>
  • removed: function transform<TSchema extends IntersectionSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): IntersectionSchema<TSchema['intersection'], TOutput>
  • removed: function transform<TSchema extends LiteralSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): LiteralSchema<TSchema['literal'], TOutput>
  • removed: function transform<TSchema extends MapSchema<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): MapSchema<TSchema['map']['key'], TSchema['map']['value'], TOutput>
  • removed: function transform<TSchema extends NanSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): NanSchema<TOutput>
  • removed: function transform<TSchema extends NativeEnumSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): NativeEnumSchema<TSchema['nativeEnum'], TOutput>
  • removed: function transform<TSchema extends NeverSchema>(schema: TSchema, action: (value: Output<TSchema>) => never): NeverSchema
  • removed: function transform<TSchema extends NonNullableSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): NonNullableSchema<TSchema['wrapped'], TOutput>
  • removed: function transform<TSchema extends NonNullishSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): NonNullishSchema<TSchema['wrapped'], TOutput>
  • removed: function transform<TSchema extends NonOptionalSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): NonOptionalSchema<TSchema['wrapped'], TOutput>
  • removed: function transform<TSchema extends NullSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): NullSchema<TOutput>
  • removed: function transform<TSchema extends NullableSchema<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): NullableSchema<TSchema['wrapped'], TSchema['default'], TOutput>
  • removed: function transform<TSchema extends NullishSchema<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): NullishSchema<TSchema['wrapped'], TSchema['default'], TOutput>
  • removed: function transform<TSchema extends NumberSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): NumberSchema<TOutput>
  • removed: function transform<TSchema extends ObjectSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): ObjectSchema<TSchema['object'], TOutput>
  • removed: function transform<TSchema extends OptionalSchema<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): OptionalSchema<TSchema['wrapped'], TSchema['default'], TOutput>
  • removed: function transform<TSchema extends RecordSchema<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): RecordSchema<TSchema['record']['key'], TSchema['record']['value'], TOutput>
  • removed: function transform<TSchema extends RecursiveSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): RecursiveSchema<TSchema['getter'], TOutput>
  • removed: function transform<TSchema extends SetSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): SetSchema<TSchema['set']['value'], TOutput>
  • removed: function transform<TSchema extends SpecialSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): SpecialSchema<Input<TSchema>, TOutput>
  • removed: function transform<TSchema extends StringSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): StringSchema<TOutput>
  • removed: function transform<TSchema extends SymbolSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): SymbolSchema<TOutput>
  • removed: function transform<TSchema extends TupleSchema<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): TupleSchema<TSchema['tuple']['items'], TSchema['tuple']['rest'], TOutput>
  • removed: function transform<TSchema extends UndefinedSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): UndefinedSchema<TOutput>
  • removed: function transform<TSchema extends UnionSchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): UnionSchema<TSchema['union'], TOutput>
  • removed: function transform<TSchema extends UnknownSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): UnknownSchema<TOutput>
  • removed: function transform<TSchema extends VoidSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): VoidSchema<TOutput>
  • removed: function transformAsync<TSchema extends BigintSchema | BigintSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): BigintSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends BlobSchema | BlobSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): BlobSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends BooleanSchema | BooleanSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): BooleanSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends DateSchema | DateSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): DateSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends EnumSchema<any> | EnumSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): EnumSchemaAsync<TSchema['enum'], TOutput>
  • removed: function transformAsync<TSchema extends InstanceSchema<any> | InstanceSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): InstanceSchemaAsync<TSchema['class'], TOutput>
  • removed: function transformAsync<TSchema extends IntersectionSchema<any> | IntersectionSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): IntersectionSchemaAsync<TSchema['intersection'], TOutput>
  • removed: function transformAsync<TSchema extends LiteralSchema<any> | LiteralSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): LiteralSchemaAsync<TSchema['literal'], TOutput>
  • removed: function transformAsync<TSchema extends MapSchema<any, any> | MapSchemaAsync<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): MapSchemaAsync<TSchema['map']['key'], TSchema['map']['value'], TOutput>
  • removed: function transformAsync<TSchema extends NanSchema | NanSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): NanSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends NativeEnumSchema<any> | NativeEnumSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): NativeEnumSchemaAsync<TSchema['nativeEnum'], TOutput>
  • removed: function transformAsync<TSchema extends NeverSchema | NeverSchemaAsync>(schema: TSchema, action: (value: Output<TSchema>) => never): NeverSchemaAsync
  • removed: function transformAsync<TSchema extends NonNullableSchema<any> | NonNullableSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): NonNullableSchemaAsync<TSchema['wrapped'], TOutput>
  • removed: function transformAsync<TSchema extends NonNullishSchema<any> | NonNullishSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): NonNullishSchemaAsync<TSchema['wrapped'], TOutput>
  • removed: function transformAsync<TSchema extends NonOptionalSchema<any> | NonOptionalSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): NonOptionalSchemaAsync<TSchema['wrapped'], TOutput>
  • removed: function transformAsync<TSchema extends NullSchema | NullSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): NullSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends NullableSchema<any, any> | NullableSchemaAsync<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): NullableSchemaAsync<TSchema['wrapped'], TSchema['default'], TOutput>
  • removed: function transformAsync<TSchema extends NullishSchema<any, any> | NullishSchemaAsync<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): NullishSchemaAsync<TSchema['wrapped'], TSchema['default'], TOutput>
  • removed: function transformAsync<TSchema extends NumberSchema | NumberSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): NumberSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): ObjectSchemaAsync<TSchema['object'], TOutput>
  • removed: function transformAsync<TSchema extends OptionalSchema<any, any> | OptionalSchemaAsync<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): OptionalSchemaAsync<TSchema['wrapped'], TSchema['default'], TOutput>
  • removed: function transformAsync<TSchema extends RecordSchema<any, any> | RecordSchemaAsync<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): RecordSchemaAsync<TSchema['record']['key'], TSchema['record']['value'], TOutput>
  • removed: function transformAsync<TSchema extends RecursiveSchema<any> | RecursiveSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): RecursiveSchemaAsync<TSchema['getter'], TOutput>
  • removed: function transformAsync<TSchema extends SetSchema<any> | SetSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): SetSchemaAsync<TSchema['set']['value'], TOutput>
  • removed: function transformAsync<TSchema extends SpecialSchema<any> | SpecialSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): SpecialSchemaAsync<Input<TSchema>, TOutput>
  • removed: function transformAsync<TSchema extends StringSchema | StringSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): StringSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends SymbolSchema | SymbolSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): SymbolSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends TupleSchema<any, any> | TupleSchemaAsync<any, any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): TupleSchemaAsync<TSchema['tuple']['items'], TSchema['tuple']['rest'], TOutput>
  • removed: function transformAsync<TSchema extends UndefinedSchema | UndefinedSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): UndefinedSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends UnionSchema<any> | UnionSchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): UnionSchemaAsync<TSchema['union'], TOutput>
  • removed: function transformAsync<TSchema extends UnknownSchema | UnknownSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): UnknownSchemaAsync<TOutput>
  • removed: function transformAsync<TSchema extends VoidSchema | VoidSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): VoidSchemaAsync<TOutput>
  • removed: function undefinedType(error?: ErrorMessage): UndefinedSchema
  • removed: function undefinedTypeAsync(error?: ErrorMessage): UndefinedSchemaAsync
  • removed: function voidType(error?: ErrorMessage): VoidSchema
  • removed: function voidTypeAsync(error?: ErrorMessage): VoidSchemaAsync
  • removed: type IntersectionOptions = [BaseSchema<any>, BaseSchema<any>, ...BaseSchema<any>[]]
  • removed: type IntersectionOptionsAsync = [BaseSchema | BaseSchemaAsync, BaseSchema | BaseSchemaAsync, ...(BaseSchema[] | BaseSchemaAsync[])]
  • removed: type IntersectionSchema<TIntersectionOptions extends IntersectionOptions, TOutput = IntersectionOutput<TIntersectionOptions>> = BaseSchema<IntersectionInput<TIntersectionOptions>, TOutput> & { schema: 'intersection'; intersection: TIntersectionOptions }
  • removed: type IntersectionSchemaAsync<TIntersectionOptions extends IntersectionOptionsAsync, TOutput = IntersectionOutput<TIntersectionOptions>> = BaseSchemaAsync<IntersectionInput<TIntersectionOptions>, TOutput> & { schema: 'intersection'; intersection: TIntersectionOptions }
  • removed: type NativeEnum = { [key: string]: string | number; [key: number]: string }
  • removed: type NativeEnumSchema<TNativeEnum extends NativeEnum, TOutput = TNativeEnum[keyof TNativeEnum]> = BaseSchema<TNativeEnum[keyof TNativeEnum], TOutput> & { schema: 'native_enum'; nativeEnum: TNativeEnum }
  • removed: type NativeEnumSchemaAsync<TNativeEnum extends NativeEnum, TOutput = TNativeEnum[keyof TNativeEnum]> = BaseSchemaAsync<TNativeEnum[keyof TNativeEnum], TOutput> & { schema: 'native_enum'; nativeEnum: TNativeEnum }
  • removed: type ObjectShape = Record<string, BaseSchema<any>>
  • removed: type ObjectShapeAsync = Record<string, BaseSchema<any> | BaseSchemaAsync<any>>
  • removed: type TupleShape = [BaseSchema, ...BaseSchema[]]
  • removed: type TupleShapeAsync = [BaseSchema | BaseSchemaAsync, ...(BaseSchema[] | BaseSchemaAsync[])]
  • changed: function array<TArrayItem extends BaseSchema>(item: TArrayItem, error?: ErrorMessage, pipe?: Pipe<Output<TArrayItem>[]>): ArraySchema<TArrayItem> → function array<TItem extends BaseSchema>(item: TItem, error?: ErrorMessage, pipe?: Pipe<Output<TItem>[]>): ArraySchema<TItem>
  • changed: function array<TArrayItem extends BaseSchema>(item: TArrayItem, pipe?: Pipe<Output<TArrayItem>[]>): ArraySchema<TArrayItem> → function array<TItem extends BaseSchema>(item: TItem, pipe?: Pipe<Output<TItem>[]>): ArraySchema<TItem>
  • changed: function arrayAsync<TArrayItem extends BaseSchema | BaseSchemaAsync>(item: TArrayItem, error?: ErrorMessage, pipe?: PipeAsync<Output<TArrayItem>[]>): ArraySchemaAsync<TArrayItem> → function arrayAsync<TItem extends BaseSchema | BaseSchemaAsync>(item: TItem, error?: ErrorMessage, pipe?: PipeAsync<Output<TItem>[]>): ArraySchemaAsync<TItem>
  • changed: function arrayAsync<TArrayItem extends BaseSchema | BaseSchemaAsync>(item: TArrayItem, pipe?: PipeAsync<Output<TArrayItem>[]>): ArraySchemaAsync<TArrayItem> → function arrayAsync<TItem extends BaseSchema | BaseSchemaAsync>(item: TItem, pipe?: PipeAsync<Output<TItem>[]>): ArraySchemaAsync<TItem>
  • changed: function brand<TSchema extends AnySchema, TBrandName extends BrandName>(schema: TSchema, name: TBrandName): AnySchema<Output<TSchema> & Brand<TBrandName>> → function brand<TSchema extends BaseSchema | BaseSchemaAsync, TName extends BrandName>(schema: TSchema, name: TName): SchemaWithBrand<TSchema, TName>
  • changed: function coerce<TSchema extends BaseSchema>(schema: TSchema, action: (value: unknown) => Input<TSchema>): TSchema → function coerce<TSchema extends BaseSchema>(schema: TSchema, action: (value: unknown) => unknown): TSchema
  • changed: function coerceAsync<TSchema extends BaseSchemaAsync>(schema: TSchema, action: (value: unknown) => Input<TSchema> | Promise<Input<TSchema>>): TSchema → function coerceAsync<TSchema extends BaseSchemaAsync>(schema: TSchema, action: (value: unknown) => unknown): TSchema
  • changed: function fallback<TSchema extends BaseSchema>(schema: TSchema, value: Output<TSchema> | ((info: FallbackInfo) => Output<TSchema>)): TSchema → function fallback<TSchema extends BaseSchema, TFallback extends Output<TSchema>>(schema: TSchema, fallback: TFallback | ((info?: FallbackInfo) => TFallback)): SchemaWithFallback<TSchema, TFallback>
  • changed: function fallbackAsync<TSchema extends BaseSchema | BaseSchemaAsync>(schema: TSchema, value: Output<TSchema> | ((info: FallbackInfo) => Output<TSchema>)): TSchema → function fallbackAsync<TSchema extends BaseSchemaAsync, TFallback extends Output<TSchema>>(schema: TSchema, fallback: TFallback | ((info?: FallbackInfo) => TFallback | Promise<TFallback>)): SchemaWithFallbackAsync<TSchema, TFallback>
  • changed: function getDefault<TSchema extends OptionalSchema<any, any> | OptionalSchemaAsync<any, any> | NullableSchema<any, any> | NullableSchemaAsync<any, any> | NullishSchema<any, any> | NullishSchemaAsync<any, any>>(schema: TSchema): TSchema['default'] → function getDefault<TSchema extends SchemaWithMaybeDefault>(schema: TSchema): DefaultValue<TSchema>
  • changed: function keyof<TSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>>(schema: TSchema): EnumSchema<TupleOrNever<UnionToTuple<keyof TSchema['object']>>> → function keyof<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>>(schema: TSchema): PicklistSchema<TupleOrNever<UnionToTuple<keyof TSchema['entries']>>>
  • changed: function map<TMapKey extends BaseSchema, TMapValue extends BaseSchema>(key: TMapKey, value: TMapValue, error?: ErrorMessage, pipe?: Pipe<MapOutput<TMapKey, TMapValue>>): MapSchema<TMapKey, TMapValue> → function map<TKey extends BaseSchema, TValue extends BaseSchema>(key: TKey, value: TValue, error?: ErrorMessage, pipe?: Pipe<MapOutput<TKey, TValue>>): MapSchema<TKey, TValue>
  • changed: function map<TMapKey extends BaseSchema, TMapValue extends BaseSchema>(key: TMapKey, value: TMapValue, pipe?: Pipe<MapOutput<TMapKey, TMapValue>>): MapSchema<TMapKey, TMapValue> → function map<TKey extends BaseSchema, TValue extends BaseSchema>(key: TKey, value: TValue, pipe?: Pipe<MapOutput<TKey, TValue>>): MapSchema<TKey, TValue>
  • changed: function mapAsync<TMapKey extends BaseSchema | BaseSchemaAsync, TMapValue extends BaseSchema | BaseSchemaAsync>(key: TMapKey, value: TMapValue, error?: ErrorMessage, pipe?: PipeAsync<MapOutput<TMapKey, TMapValue>>): MapSchemaAsync<TMapKey, TMapValue> → function mapAsync<TKey extends BaseSchema | BaseSchemaAsync, TValue extends BaseSchema | BaseSchemaAsync>(key: TKey, value: TValue, error?: ErrorMessage, pipe?: PipeAsync<MapOutput<TKey, TValue>>): MapSchemaAsync<TKey, TValue>
  • changed: function mapAsync<TMapKey extends BaseSchema | BaseSchemaAsync, TMapValue extends BaseSchema | BaseSchemaAsync>(key: TMapKey, value: TMapValue, pipe?: PipeAsync<MapOutput<TMapKey, TMapValue>>): MapSchemaAsync<TMapKey, TMapValue> → function mapAsync<TKey extends BaseSchema | BaseSchemaAsync, TValue extends BaseSchema | BaseSchemaAsync>(key: TKey, value: TValue, pipe?: PipeAsync<MapOutput<TKey, TValue>>): MapSchemaAsync<TKey, TValue>
  • changed: function merge<TObjectSchemas extends ObjectSchemas$1>(schemas: TObjectSchemas, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<MergeSchemaObjects<TObjectSchemas>>>): ObjectSchema<MergeSchemaObjects<TObjectSchemas>> → function merge<TSchemas extends ObjectSchemas$1, TRest extends BaseSchema | undefined>(schemas: TSchemas, rest: TRest, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<MergeObjects<TSchemas>, TRest>>): ObjectSchema<MergeObjects<TSchemas>, TRest>
  • changed: function merge<TObjectSchemas extends ObjectSchemas$1>(schemas: TObjectSchemas, pipe?: Pipe<ObjectOutput<MergeSchemaObjects<TObjectSchemas>>>): ObjectSchema<MergeSchemaObjects<TObjectSchemas>> → function merge<TSchemas extends ObjectSchemas$1, TRest extends BaseSchema | undefined>(schemas: TSchemas, rest: TRest, pipe?: Pipe<ObjectOutput<MergeObjects<TSchemas>, TRest>>): ObjectSchema<MergeObjects<TSchemas>, TRest>
  • changed: function mergeAsync<TObjectSchemas extends ObjectSchemas>(schemas: TObjectSchemas, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<MergeSchemaObjects<TObjectSchemas>>>): ObjectSchemaAsync<MergeSchemaObjects<TObjectSchemas>> → function mergeAsync<TSchemas extends ObjectSchemas, TRest extends BaseSchema | BaseSchemaAsync | undefined>(schemas: TSchemas, rest: TRest, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<MergeObjects<TSchemas>, TRest>>): ObjectSchemaAsync<MergeObjects<TSchemas>, TRest>
  • changed: function mergeAsync<TObjectSchemas extends ObjectSchemas>(schemas: TObjectSchemas, pipe?: PipeAsync<ObjectOutput<MergeSchemaObjects<TObjectSchemas>>>): ObjectSchemaAsync<MergeSchemaObjects<TObjectSchemas>> → function mergeAsync<TSchemas extends ObjectSchemas, TRest extends BaseSchema | BaseSchemaAsync | undefined>(schemas: TSchemas, rest: TRest, pipe?: PipeAsync<ObjectOutput<MergeObjects<TSchemas>, TRest>>): ObjectSchemaAsync<MergeObjects<TSchemas>, TRest>
  • changed: function object<TObjectShape extends ObjectShape>(object: TObjectShape, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<TObjectShape>>): ObjectSchema<TObjectShape> → function object<TEntries extends ObjectEntries, TRest extends BaseSchema | undefined>(entries: TEntries, rest: TRest, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<TEntries, TRest>>): ObjectSchema<TEntries, TRest>
  • changed: function object<TObjectShape extends ObjectShape>(object: TObjectShape, pipe?: Pipe<ObjectOutput<TObjectShape>>): ObjectSchema<TObjectShape> → function object<TEntries extends ObjectEntries, TRest extends BaseSchema | undefined>(entries: TEntries, rest: TRest, pipe?: Pipe<ObjectOutput<TEntries, TRest>>): ObjectSchema<TEntries, TRest>
  • changed: function objectAsync<TObjectShape extends ObjectShapeAsync>(object: TObjectShape, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<TObjectShape>>): ObjectSchemaAsync<TObjectShape> → function objectAsync<TEntries extends ObjectEntriesAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined>(entries: TEntries, rest: TRest, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<TEntries, TRest>>): ObjectSchemaAsync<TEntries, TRest>
  • changed: function objectAsync<TObjectShape extends ObjectShapeAsync>(object: TObjectShape, pipe?: PipeAsync<ObjectOutput<TObjectShape>>): ObjectSchemaAsync<TObjectShape> → function objectAsync<TEntries extends ObjectEntriesAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined>(entries: TEntries, rest: TRest, pipe?: PipeAsync<ObjectOutput<TEntries, TRest>>): ObjectSchemaAsync<TEntries, TRest>
  • changed: function omit<TObjectSchema extends ObjectSchema<any>, TKeys extends ObjectKeys<TObjectSchema>>(schema: TObjectSchema, keys: TKeys, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Omit<TObjectSchema['object'], TKeys[number]>>>): ObjectSchema<Omit<TObjectSchema['object'], TKeys[number]>> → function omit<TSchema extends ObjectSchema<any, any>, TKeys extends ObjectKeys<TSchema>, TRest extends BaseSchema | undefined>(schema: TSchema, keys: TKeys, rest: TRest, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Omit<TSchema['entries'], TKeys[number]>, TRest>>): ObjectSchema<Omit<TSchema['entries'], TKeys[number]>, TRest>
  • changed: function omit<TObjectSchema extends ObjectSchema<any>, TKeys extends ObjectKeys<TObjectSchema>>(schema: TObjectSchema, keys: TKeys, pipe?: Pipe<ObjectOutput<Omit<TObjectSchema['object'], TKeys[number]>>>): ObjectSchema<Omit<TObjectSchema['object'], TKeys[number]>> → function omit<TSchema extends ObjectSchema<any, any>, TKeys extends ObjectKeys<TSchema>, TRest extends BaseSchema | undefined>(schema: TSchema, keys: TKeys, rest: TRest, pipe?: Pipe<ObjectOutput<Omit<TSchema['entries'], TKeys[number]>, TRest>>): ObjectSchema<Omit<TSchema['entries'], TKeys[number]>, TRest>
  • changed: function omitAsync<TObjectSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>, TKeys extends ObjectKeys<TObjectSchema>>(schema: TObjectSchema, keys: TKeys, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Omit<TObjectSchema['object'], TKeys[number]>>>): ObjectSchemaAsync<Omit<TObjectSchema['object'], TKeys[number]>> → function omitAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TKeys extends ObjectKeys<TSchema>, TRest extends BaseSchema | BaseSchemaAsync | undefined>(schema: TSchema, keys: TKeys, rest: TRest, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Omit<TSchema['entries'], TKeys[number]>, TRest>>): ObjectSchemaAsync<Omit<TSchema['entries'], TKeys[number]>, TRest>
  • changed: function omitAsync<TObjectSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>, TKeys extends ObjectKeys<TObjectSchema>>(schema: TObjectSchema, keys: TKeys, pipe?: PipeAsync<ObjectOutput<Omit<TObjectSchema['object'], TKeys[number]>>>): ObjectSchemaAsync<Omit<TObjectSchema['object'], TKeys[number]>> → function omitAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TKeys extends ObjectKeys<TSchema>, TRest extends BaseSchema | BaseSchemaAsync | undefined>(schema: TSchema, keys: TKeys, rest: TRest, pipe?: PipeAsync<ObjectOutput<Omit<TSchema['entries'], TKeys[number]>, TRest>>): ObjectSchemaAsync<Omit<TSchema['entries'], TKeys[number]>, TRest>
  • changed: function partial<TObjectSchema extends ObjectSchema<any>>(schema: TObjectSchema, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Partial$2<TObjectSchema['object']>>>): ObjectSchema<Partial$2<TObjectSchema['object']>> → function partial<TSchema extends ObjectSchema<any, any>, TRest extends BaseSchema | undefined>(schema: TSchema, rest: TRest, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<PartialObjectEntries<TSchema['entries']>, TRest>>): ObjectSchema<PartialObjectEntries<TSchema['entries']>, TRest>
  • changed: function partial<TObjectSchema extends ObjectSchema<any>>(schema: TObjectSchema, pipe?: Pipe<ObjectOutput<Partial$2<TObjectSchema['object']>>>): ObjectSchema<Partial$2<TObjectSchema['object']>> → function partial<TSchema extends ObjectSchema<any, any>, TRest extends BaseSchema | undefined>(schema: TSchema, rest: TRest, pipe?: Pipe<ObjectOutput<PartialObjectEntries<TSchema['entries']>, TRest>>): ObjectSchema<PartialObjectEntries<TSchema['entries']>, TRest>
  • changed: function partialAsync<TObjectSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>>(schema: TObjectSchema, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Partial$1<TObjectSchema['object']>>>): ObjectSchemaAsync<Partial$1<TObjectSchema['object']>> → function partialAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TRest extends BaseSchema | undefined>(schema: TSchema, rest: TRest, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<PartialObjectEntriesAsync<TSchema['entries']>, TRest>>): ObjectSchemaAsync<PartialObjectEntriesAsync<TSchema['entries']>, TRest>
  • changed: function partialAsync<TObjectSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>>(schema: TObjectSchema, pipe?: PipeAsync<ObjectOutput<Partial$1<TObjectSchema['object']>>>): ObjectSchemaAsync<Partial$1<TObjectSchema['object']>> → function partialAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TRest extends BaseSchema | undefined>(schema: TSchema, rest: TRest, pipe?: PipeAsync<ObjectOutput<PartialObjectEntriesAsync<TSchema['entries']>, TRest>>): ObjectSchemaAsync<PartialObjectEntriesAsync<TSchema['entries']>, TRest>
  • changed: function passthrough<TSchema extends ObjectSchema<any>>(schema: TSchema): TSchema → function passthrough<TSchema extends ObjectSchema<ObjectEntries, undefined>>(schema: TSchema): TSchema
  • changed: function passthroughAsync<TSchema extends ObjectSchemaAsync<any>>(schema: TSchema): TSchema → function passthroughAsync<TSchema extends ObjectSchemaAsync<ObjectEntriesAsync, undefined>>(schema: TSchema): TSchema
  • changed: function pick<TObjectSchema extends ObjectSchema<any>, TKeys extends (keyof TObjectSchema['object'])[]>(schema: TObjectSchema, keys: TKeys, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Pick<TObjectSchema['object'], TKeys[number]>>>): ObjectSchema<Pick<TObjectSchema['object'], TKeys[number]>> → function pick<TSchema extends ObjectSchema<any, any>, TKeys extends (keyof TSchema['entries'])[], TRest extends BaseSchema | undefined>(schema: TSchema, keys: TKeys, rest: TRest, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Pick<TSchema['entries'], TKeys[number]>, TRest>>): ObjectSchema<Pick<TSchema['entries'], TKeys[number]>, TRest>
  • changed: function pick<TObjectSchema extends ObjectSchema<any>, TKeys extends (keyof TObjectSchema['object'])[]>(schema: TObjectSchema, keys: TKeys, pipe?: Pipe<ObjectOutput<Pick<TObjectSchema['object'], TKeys[number]>>>): ObjectSchema<Pick<TObjectSchema['object'], TKeys[number]>> → function pick<TSchema extends ObjectSchema<any, any>, TKeys extends (keyof TSchema['entries'])[], TRest extends BaseSchema | undefined>(schema: TSchema, keys: TKeys, rest: TRest, pipe?: Pipe<ObjectOutput<Pick<TSchema['entries'], TKeys[number]>, TRest>>): ObjectSchema<Pick<TSchema['entries'], TKeys[number]>, TRest>
  • changed: function pickAsync<TObjectSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>, TKeys extends (keyof TObjectSchema['object'])[]>(schema: TObjectSchema, keys: TKeys, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Pick<TObjectSchema['object'], TKeys[number]>>>): ObjectSchemaAsync<Pick<TObjectSchema['object'], TKeys[number]>> → function pickAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TKeys extends (keyof TSchema['entries'])[], TRest extends BaseSchema | BaseSchemaAsync | undefined>(schema: TSchema, keys: TKeys, rest: TRest, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Pick<TSchema['entries'], TKeys[number]>, TRest>>): ObjectSchemaAsync<Pick<TSchema['entries'], TKeys[number]>, TRest>
  • changed: function pickAsync<TObjectSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>, TKeys extends (keyof TObjectSchema['object'])[]>(schema: TObjectSchema, keys: TKeys, pipe?: PipeAsync<ObjectOutput<Pick<TObjectSchema['object'], TKeys[number]>>>): ObjectSchemaAsync<Pick<TObjectSchema['object'], TKeys[number]>> → function pickAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TKeys extends (keyof TSchema['entries'])[], TRest extends BaseSchema | BaseSchemaAsync | undefined>(schema: TSchema, keys: TKeys, rest: TRest, pipe?: PipeAsync<ObjectOutput<Pick<TSchema['entries'], TKeys[number]>, TRest>>): ObjectSchemaAsync<Pick<TSchema['entries'], TKeys[number]>, TRest>
  • changed: function record<TRecordKey extends RecordKey, TRecordValue extends BaseSchema>(key: TRecordKey, value: TRecordValue, error?: ErrorMessage, pipe?: Pipe<RecordOutput<TRecordKey, TRecordValue>>): RecordSchema<TRecordKey, TRecordValue> → function record<TKey extends RecordKey, TValue extends BaseSchema>(key: TKey, value: TValue, error?: ErrorMessage, pipe?: Pipe<RecordOutput<TKey, TValue>>): RecordSchema<TKey, TValue>
  • changed: function record<TRecordKey extends RecordKey, TRecordValue extends BaseSchema>(key: TRecordKey, value: TRecordValue, pipe?: Pipe<RecordOutput<TRecordKey, TRecordValue>>): RecordSchema<TRecordKey, TRecordValue> → function record<TKey extends RecordKey, TValue extends BaseSchema>(key: TKey, value: TValue, pipe?: Pipe<RecordOutput<TKey, TValue>>): RecordSchema<TKey, TValue>
  • changed: function record<TRecordValue extends BaseSchema>(value: TRecordValue, error?: ErrorMessage, pipe?: Pipe<RecordOutput<StringSchema, TRecordValue>>): RecordSchema<StringSchema, TRecordValue> → function record<TValue extends BaseSchema>(value: TValue, error?: ErrorMessage, pipe?: Pipe<RecordOutput<StringSchema, TValue>>): RecordSchema<StringSchema, TValue>
  • changed: function record<TRecordValue extends BaseSchema>(value: TRecordValue, pipe?: Pipe<RecordOutput<StringSchema, TRecordValue>>): RecordSchema<StringSchema, TRecordValue> → function record<TValue extends BaseSchema>(value: TValue, pipe?: Pipe<RecordOutput<StringSchema, TValue>>): RecordSchema<StringSchema, TValue>
  • changed: function recordAsync<TRecordKey extends RecordKeyAsync, TRecordValue extends BaseSchema | BaseSchemaAsync>(key: TRecordKey, value: TRecordValue, error?: ErrorMessage, pipe?: PipeAsync<RecordOutput<TRecordKey, TRecordValue>>): RecordSchemaAsync<TRecordKey, TRecordValue> → function recordAsync<TKey extends RecordKeyAsync, TValue extends BaseSchema | BaseSchemaAsync>(key: TKey, value: TValue, error?: ErrorMessage, pipe?: PipeAsync<RecordOutput<TKey, TValue>>): RecordSchemaAsync<TKey, TValue>
  • changed: function recordAsync<TRecordKey extends RecordKeyAsync, TRecordValue extends BaseSchema | BaseSchemaAsync>(key: TRecordKey, value: TRecordValue, pipe?: PipeAsync<RecordOutput<TRecordKey, TRecordValue>>): RecordSchemaAsync<TRecordKey, TRecordValue> → function recordAsync<TKey extends RecordKeyAsync, TValue extends BaseSchema | BaseSchemaAsync>(key: TKey, value: TValue, pipe?: PipeAsync<RecordOutput<TKey, TValue>>): RecordSchemaAsync<TKey, TValue>
  • changed: function recordAsync<TRecordValue extends BaseSchema | BaseSchemaAsync>(value: TRecordValue, error?: ErrorMessage, pipe?: PipeAsync<RecordOutput<StringSchema, TRecordValue>>): RecordSchemaAsync<StringSchema, TRecordValue> → function recordAsync<TValue extends BaseSchema | BaseSchemaAsync>(value: TValue, error?: ErrorMessage, pipe?: PipeAsync<RecordOutput<StringSchema, TValue>>): RecordSchemaAsync<StringSchema, TValue>
  • changed: function recordAsync<TRecordValue extends BaseSchema | BaseSchemaAsync>(value: TRecordValue, pipe?: PipeAsync<RecordOutput<StringSchema, TRecordValue>>): RecordSchemaAsync<StringSchema, TRecordValue> → function recordAsync<TValue extends BaseSchema | BaseSchemaAsync>(value: TValue, pipe?: PipeAsync<RecordOutput<StringSchema, TValue>>): RecordSchemaAsync<StringSchema, TValue>
  • changed: function required<TObjectSchema extends ObjectSchema<any>>(schema: TObjectSchema, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Required$1<TObjectSchema['object']>>>): ObjectSchema<Required$1<TObjectSchema['object']>> → function required<TSchema extends ObjectSchema<any, any>, TRest extends BaseSchema | undefined>(schema: TSchema, rest: TRest, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Required$1<TSchema['entries']>, TRest>>): ObjectSchema<Required$1<TSchema['entries']>, TRest>
  • changed: function required<TObjectSchema extends ObjectSchema<any>>(schema: TObjectSchema, pipe?: Pipe<ObjectOutput<Required$1<TObjectSchema['object']>>>): ObjectSchema<Required$1<TObjectSchema['object']>> → function required<TSchema extends ObjectSchema<any, any>, TRest extends BaseSchema | undefined>(schema: TSchema, rest: TRest, pipe?: Pipe<ObjectOutput<Required$1<TSchema['entries']>, TRest>>): ObjectSchema<Required$1<TSchema['entries']>, TRest>
  • changed: function requiredAsync<TObjectSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>>(schema: TObjectSchema, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Required<TObjectSchema['object']>>>): ObjectSchemaAsync<Required<TObjectSchema['object']>> → function requiredAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TRest extends BaseSchema | BaseSchemaAsync | undefined>(schema: TSchema, rest: TRest, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Required<TSchema['entries']>, TRest>>): ObjectSchemaAsync<Required<TSchema['entries']>, TRest>
  • changed: function requiredAsync<TObjectSchema extends ObjectSchema<any> | ObjectSchemaAsync<any>>(schema: TObjectSchema, pipe?: PipeAsync<ObjectOutput<Required<TObjectSchema['object']>>>): ObjectSchemaAsync<Required<TObjectSchema['object']>> → function requiredAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TRest extends BaseSchema | BaseSchemaAsync | undefined>(schema: TSchema, rest: TRest, pipe?: PipeAsync<ObjectOutput<Required<TSchema['entries']>, TRest>>): ObjectSchemaAsync<Required<TSchema['entries']>, TRest>
  • changed: function set<TSetValue extends BaseSchema>(value: TSetValue, error?: ErrorMessage, pipe?: Pipe<SetOutput<TSetValue>>): SetSchema<TSetValue> → function set<TValue extends BaseSchema>(value: TValue, error?: ErrorMessage, pipe?: Pipe<SetOutput<TValue>>): SetSchema<TValue>
  • changed: function set<TSetValue extends BaseSchema>(value: TSetValue, pipe?: Pipe<SetOutput<TSetValue>>): SetSchema<TSetValue> → function set<TValue extends BaseSchema>(value: TValue, pipe?: Pipe<SetOutput<TValue>>): SetSchema<TValue>
  • changed: function setAsync<TSetValue extends BaseSchema | BaseSchemaAsync>(value: TSetValue, error?: ErrorMessage, pipe?: PipeAsync<SetOutput<TSetValue>>): SetSchemaAsync<TSetValue> → function setAsync<TValue extends BaseSchema | BaseSchemaAsync>(value: TValue, error?: ErrorMessage, pipe?: PipeAsync<SetOutput<TValue>>): SetSchemaAsync<TValue>
  • changed: function setAsync<TSetValue extends BaseSchema | BaseSchemaAsync>(value: TSetValue, pipe?: PipeAsync<SetOutput<TSetValue>>): SetSchemaAsync<TSetValue> → function setAsync<TValue extends BaseSchema | BaseSchemaAsync>(value: TValue, pipe?: PipeAsync<SetOutput<TValue>>): SetSchemaAsync<TValue>
  • changed: function strict<TSchema extends ObjectSchema<any>>(schema: TSchema, error?: ErrorMessage): TSchema → function strict<TSchema extends ObjectSchema<ObjectEntries, undefined>>(schema: TSchema, error?: ErrorMessage): TSchema
  • changed: function strictAsync<TSchema extends ObjectSchemaAsync<any>>(schema: TSchema, error?: ErrorMessage): TSchema → function strictAsync<TSchema extends ObjectSchemaAsync<ObjectEntriesAsync, undefined>>(schema: TSchema, error?: ErrorMessage): TSchema
  • changed: function strip<TSchema extends ObjectSchema<any>>(schema: TSchema): TSchema → function strip<TSchema extends ObjectSchema<ObjectEntries, undefined>>(schema: TSchema): TSchema
  • changed: function stripAsync<TSchema extends ObjectSchemaAsync<any>>(schema: TSchema): TSchema → function stripAsync<TSchema extends ObjectSchemaAsync<ObjectEntriesAsync, undefined>>(schema: TSchema): TSchema
  • changed: function transform<TSchema extends AnySchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): AnySchema<TOutput> → function transform<TSchema extends BaseSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): SchemaWithTransform<TSchema, TOutput>
  • changed: function transform<TSchema extends ArraySchema<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, pipe?: Pipe<TOutput>): ArraySchema<TSchema['array']['item'], TOutput> → function transform<TSchema extends BaseSchema, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput, validate?: BaseSchema<TOutput>): SchemaWithTransform<TSchema, TOutput>
  • changed: function transformAsync<TSchema extends AnySchema | AnySchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): AnySchemaAsync<TOutput> → function transformAsync<TSchema extends BaseSchema | BaseSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): SchemaWithTransformAsync<TSchema, TOutput>
  • changed: function transformAsync<TSchema extends ArraySchema<any> | ArraySchemaAsync<any>, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, pipe?: PipeAsync<TOutput>): ArraySchemaAsync<TSchema['array']['item'], TOutput> → function transformAsync<TSchema extends BaseSchema | BaseSchemaAsync, TOutput>(schema: TSchema, action: (value: Output<TSchema>) => TOutput | Promise<TOutput>, validate?: BaseSchema<TOutput> | BaseSchemaAsync<TOutput>): SchemaWithTransformAsync<TSchema, TOutput>
  • changed: function tuple<TTupleItems extends TupleShape, TTupleRest extends BaseSchema>(items: TTupleItems, rest: TTupleRest, error?: ErrorMessage, pipe?: Pipe<TupleOutput<TTupleItems, TTupleRest>>): TupleSchema<TTupleItems, TTupleRest> → function tuple<TItems extends TupleItems, TRest extends BaseSchema | undefined>(items: TItems, rest: TRest, error?: ErrorMessage, pipe?: Pipe<TupleOutput<TItems, TRest>>): TupleSchema<TItems, TRest>
  • changed: function tuple<TTupleItems extends TupleShape, TTupleRest extends BaseSchema>(items: TTupleItems, rest: TTupleRest, pipe?: Pipe<TupleOutput<TTupleItems, TTupleRest>>): TupleSchema<TTupleItems, TTupleRest> → function tuple<TItems extends TupleItems, TRest extends BaseSchema | undefined>(items: TItems, rest: TRest, pipe?: Pipe<TupleOutput<TItems, TRest>>): TupleSchema<TItems, TRest>
  • changed: function tuple<TTupleItems extends TupleShape>(items: TTupleItems, error?: ErrorMessage, pipe?: Pipe<TupleOutput<TTupleItems, undefined>>): TupleSchema<TTupleItems> → function tuple<TItems extends TupleItems>(items: TItems, error?: ErrorMessage, pipe?: Pipe<TupleOutput<TItems, undefined>>): TupleSchema<TItems>
  • changed: function tuple<TTupleItems extends TupleShape>(items: TTupleItems, pipe?: Pipe<TupleOutput<TTupleItems, undefined>>): TupleSchema<TTupleItems> → function tuple<TItems extends TupleItems>(items: TItems, pipe?: Pipe<TupleOutput<TItems, undefined>>): TupleSchema<TItems>
  • changed: function tupleAsync<TTupleItems extends TupleShapeAsync, TTupleRest extends BaseSchema | BaseSchemaAsync | undefined>(items: TTupleItems, rest: TTupleRest, error?: ErrorMessage, pipe?: PipeAsync<TupleOutput<TTupleItems, TTupleRest>>): TupleSchemaAsync<TTupleItems, TTupleRest> → function tupleAsync<TItems extends TupleItemsAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined>(items: TItems, rest: TRest, error?: ErrorMessage, pipe?: PipeAsync<TupleOutput<TItems, TRest>>): TupleSchemaAsync<TItems, TRest>
  • changed: function tupleAsync<TTupleItems extends TupleShapeAsync, TTupleRest extends BaseSchema | BaseSchemaAsync | undefined>(items: TTupleItems, rest: TTupleRest, pipe?: PipeAsync<TupleOutput<TTupleItems, TTupleRest>>): TupleSchemaAsync<TTupleItems, TTupleRest> → function tupleAsync<TItems extends TupleItemsAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined>(items: TItems, rest: TRest, pipe?: PipeAsync<TupleOutput<TItems, TRest>>): TupleSchemaAsync<TItems, TRest>
  • changed: function tupleAsync<TTupleItems extends TupleShapeAsync>(items: TTupleItems, error?: ErrorMessage, pipe?: PipeAsync<TupleOutput<TTupleItems, undefined>>): TupleSchemaAsync<TTupleItems> → function tupleAsync<TItems extends TupleItemsAsync>(items: TItems, error?: ErrorMessage, pipe?: PipeAsync<TupleOutput<TItems, undefined>>): TupleSchemaAsync<TItems>
  • changed: function tupleAsync<TTupleItems extends TupleShapeAsync>(items: TTupleItems, pipe?: PipeAsync<TupleOutput<TTupleItems, undefined>>): TupleSchemaAsync<TTupleItems> → function tupleAsync<TItems extends TupleItemsAsync>(items: TItems, pipe?: PipeAsync<TupleOutput<TItems, undefined>>): TupleSchemaAsync<TItems>
  • changed: function union<TUnionOptions extends UnionOptions>(union: TUnionOptions, error?: ErrorMessage): UnionSchema<TUnionOptions> → function union<TOptions extends UnionOptions>(options: TOptions, error?: ErrorMessage): UnionSchema<TOptions>
  • changed: function unionAsync<TUnionOptions extends UnionOptionsAsync>(union: TUnionOptions, error?: ErrorMessage): UnionSchemaAsync<TUnionOptions> → function unionAsync<TOptions extends UnionOptionsAsync>(options: TOptions, error?: ErrorMessage): UnionSchemaAsync<TOptions>
  • changed: type AnySchema<TOutput = any> = BaseSchema<any, TOutput> & { schema: 'any' } → type AnySchema<TOutput = any> = BaseSchema<any, TOutput> & { type: 'any' }
  • changed: type AnySchemaAsync<TOutput = any> = BaseSchemaAsync<any, TOutput> & { schema: 'any' } → type AnySchemaAsync<TOutput = any> = BaseSchemaAsync<any, TOutput> & { type: 'any' }
  • changed: type ArrayPathItem = { schema: 'array'; input: any[]; key: number; value: any } → type ArrayPathItem = { type: 'array'; input: any[]; key: number; value: any }
  • changed: type ArraySchema<TArrayItem extends BaseSchema, TOutput = Output<TArrayItem>[]> = BaseSchema<Input<TArrayItem>[], TOutput> & { schema: 'array'; array: { item: TArrayItem } } → type ArraySchema<TItem extends BaseSchema, TOutput = Output<TItem>[]> = BaseSchema<Input<TItem>[], TOutput> & { type: 'array'; item: TItem }
  • changed: type ArraySchemaAsync<TArrayItem extends BaseSchema | BaseSchemaAsync, TOutput = Output<TArrayItem>[]> = BaseSchemaAsync<Input<TArrayItem>[], TOutput> & { schema: 'array'; array: { item: TArrayItem } } → type ArraySchemaAsync<TItem extends BaseSchema | BaseSchemaAsync, TOutput = Output<TItem>[]> = BaseSchemaAsync<Input<TItem>[], TOutput> & { type: 'array'; item: TItem }
  • changed: type BigintSchema<TOutput = bigint> = BaseSchema<bigint, TOutput> & { schema: 'bigint' } → type BigintSchema<TOutput = bigint> = BaseSchema<bigint, TOutput> & { type: 'bigint' }
  • changed: type BigintSchemaAsync<TOutput = bigint> = BaseSchemaAsync<bigint, TOutput> & { schema: 'bigint' } → type BigintSchemaAsync<TOutput = bigint> = BaseSchemaAsync<bigint, TOutput> & { type: 'bigint' }
  • changed: type BlobSchema<TOutput = Blob> = BaseSchema<Blob, TOutput> & { schema: 'blob' } → type BlobSchema<TOutput = Blob> = BaseSchema<Blob, TOutput> & { type: 'blob' }
  • changed: type BlobSchemaAsync<TOutput = Blob> = BaseSchemaAsync<Blob, TOutput> & { schema: 'blob' } → type BlobSchemaAsync<TOutput = Blob> = BaseSchemaAsync<Blob, TOutput> & { type: 'blob' }
  • changed: type BooleanSchema<TOutput = boolean> = BaseSchema<boolean, TOutput> & { schema: 'boolean' } → type BooleanSchema<TOutput = boolean> = BaseSchema<boolean, TOutput> & { type: 'boolean' }
  • changed: type BooleanSchemaAsync<TOutput = boolean> = BaseSchemaAsync<boolean, TOutput> & { schema: 'boolean' } → type BooleanSchemaAsync<TOutput = boolean> = BaseSchemaAsync<boolean, TOutput> & { type: 'boolean' }
  • changed: type Brand<TBrandName extends BrandName> = { [BrandSymbol]: { [TValue in TBrandName]: TValue } } → type Brand<TName extends BrandName> = { [BrandSymbol]: { [TValue in TName]: TValue } }
  • changed: type DateSchema<TOutput = Date> = BaseSchema<Date, TOutput> & { schema: 'date' } → type DateSchema<TOutput = Date> = BaseSchema<Date, TOutput> & { type: 'date' }
  • changed: type DateSchemaAsync<TOutput = Date> = BaseSchemaAsync<Date, TOutput> & { schema: 'date' } → type DateSchemaAsync<TOutput = Date> = BaseSchemaAsync<Date, TOutput> & { type: 'date' }
  • changed: type Enum<TOption extends string = string> = Readonly<[TOption, ...TOption[]]> | [TOption, ...TOption[]] → type Enum = { [key: string]: string | number; [key: number]: string }
  • changed: type EnumSchema<TEnum extends Enum, TOutput = TEnum[number]> = BaseSchema<TEnum[number], TOutput> & { schema: 'enum'; enum: TEnum } → type EnumSchema<TEnum extends Enum, TOutput = TEnum[keyof TEnum]> = BaseSchema<TEnum[keyof TEnum], TOutput> & { type: 'enum'; enum: TEnum }
  • changed: type EnumSchemaAsync<TEnum extends Enum, TOutput = TEnum[number]> = BaseSchemaAsync<TEnum[number], TOutput> & { schema: 'enum'; enum: TEnum } → type EnumSchemaAsync<TEnum extends Enum, TOutput = TEnum[keyof TEnum]> = BaseSchemaAsync<TEnum[keyof TEnum], TOutput> & { type: 'enum'; enum: TEnum }
  • changed: type InstanceSchema<TClass extends Class, TOutput = InstanceType<TClass>> = BaseSchema<InstanceType<TClass>, TOutput> & { schema: 'instance'; class: TClass } → type InstanceSchema<TClass extends Class, TOutput = InstanceType<TClass>> = BaseSchema<InstanceType<TClass>, TOutput> & { type: 'instance'; class: TClass }
  • changed: type InstanceSchemaAsync<TClass extends Class, TOutput = InstanceType<TClass>> = BaseSchemaAsync<InstanceType<TClass>, TOutput> & { schema: 'instance'; class: TClass } → type InstanceSchemaAsync<TClass extends Class, TOutput = InstanceType<TClass>> = BaseSchemaAsync<InstanceType<TClass>, TOutput> & { type: 'instance'; class: TClass }
  • changed: type LiteralSchema<TLiteral extends Literal, TOutput = TLiteral> = BaseSchema<TLiteral, TOutput> & { schema: 'literal'; literal: TLiteral } → type LiteralSchema<TLiteral extends Literal, TOutput = TLiteral> = BaseSchema<TLiteral, TOutput> & { type: 'literal'; literal: TLiteral }
  • changed: type LiteralSchemaAsync<TLiteral extends Literal, TOutput = TLiteral> = BaseSchemaAsync<TLiteral, TOutput> & { schema: 'literal'; literal: TLiteral } → type LiteralSchemaAsync<TLiteral extends Literal, TOutput = TLiteral> = BaseSchemaAsync<TLiteral, TOutput> & { type: 'literal'; literal: TLiteral }
  • changed: type MapInput<TMapKey extends BaseSchema | BaseSchemaAsync, TMapValue extends BaseSchema | BaseSchemaAsync> = Map<Input<TMapKey>, Input<TMapValue>> → type MapInput<TKey extends BaseSchema | BaseSchemaAsync, TValue extends BaseSchema | BaseSchemaAsync> = Map<Input<TKey>, Input<TValue>>
  • changed: type MapOutput<TMapKey extends BaseSchema | BaseSchemaAsync, TMapValue extends BaseSchema | BaseSchemaAsync> = Map<Output<TMapKey>, Output<TMapValue>> → type MapOutput<TKey extends BaseSchema | BaseSchemaAsync, TValue extends BaseSchema | BaseSchemaAsync> = Map<Output<TKey>, Output<TValue>>
  • changed: type MapPathItem = { schema: 'map'; input: Map<any, any>; key: any; value: any } → type MapPathItem = { type: 'map'; input: Map<any, any>; key: any; value: any }
  • changed: type MapSchema<TMapKey extends BaseSchema, TMapValue extends BaseSchema, TOutput = MapOutput<TMapKey, TMapValue>> = BaseSchema<MapInput<TMapKey, TMapValue>, TOutput> & { schema: 'map'; map: { key: TMapKey; value: TMapValue } } → type MapSchema<TKey extends BaseSchema, TValue extends BaseSchema, TOutput = MapOutput<TKey, TValue>> = BaseSchema<MapInput<TKey, TValue>, TOutput> & { type: 'map'; key: TKey; value: TValue }
  • changed: type MapSchemaAsync<TMapKey extends BaseSchema | BaseSchemaAsync, TMapValue extends BaseSchema | BaseSchemaAsync, TOutput = MapOutput<TMapKey, TMapValue>> = BaseSchemaAsync<MapInput<TMapKey, TMapValue>, TOutput> & { schema: 'map'; map: { key: TMapKey; value: TMapValue } } → type MapSchemaAsync<TKey extends BaseSchema | BaseSchemaAsync, TValue extends BaseSchema | BaseSchemaAsync, TOutput = MapOutput<TKey, TValue>> = BaseSchemaAsync<MapInput<TKey, TValue>, TOutput> & { type: 'map'; key: TKey; value: TValue }
  • changed: type NanSchema<TOutput = number> = BaseSchema<number, TOutput> & { schema: 'nan' } → type NanSchema<TOutput = number> = BaseSchema<number, TOutput> & { type: 'nan' }
  • changed: type NanSchemaAsync<TOutput = number> = BaseSchemaAsync<number, TOutput> & { schema: 'nan' } → type NanSchemaAsync<TOutput = number> = BaseSchemaAsync<number, TOutput> & { type: 'nan' }
  • changed: type NeverSchema = BaseSchema<never> & { schema: 'never' } → type NeverSchema = BaseSchema<never> & { type: 'never' }
  • changed: type NeverSchemaAsync = BaseSchemaAsync<never> & { schema: 'never' } → type NeverSchemaAsync = BaseSchemaAsync<never> & { type: 'never' }
  • changed: type NonNullableSchema<TWrapped extends BaseSchema, TOutput = NonNullable$1<Output<TWrapped>>> = BaseSchema<NonNullable$1<Input<TWrapped>>, TOutput> & { schema: 'non_nullable'; wrapped: TWrapped } → type NonNullableSchema<TWrapped extends BaseSchema, TOutput = NonNullable$1<Output<TWrapped>>> = BaseSchema<NonNullable$1<Input<TWrapped>>, TOutput> & { type: 'non_nullable'; wrapped: TWrapped }
  • changed: type NonNullableSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TOutput = NonNullable$1<Output<TWrapped>>> = BaseSchemaAsync<NonNullable$1<Input<TWrapped>>, TOutput> & { schema: 'non_nullable'; wrapped: TWrapped } → type NonNullableSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TOutput = NonNullable$1<Output<TWrapped>>> = BaseSchemaAsync<NonNullable$1<Input<TWrapped>>, TOutput> & { type: 'non_nullable'; wrapped: TWrapped }
  • changed: type NonNullishSchema<TWrapped extends BaseSchema, TOutput = NonNullish<Output<TWrapped>>> = BaseSchema<NonNullish<Input<TWrapped>>, TOutput> & { schema: 'non_nullish'; wrapped: TWrapped } → type NonNullishSchema<TWrapped extends BaseSchema, TOutput = NonNullish<Output<TWrapped>>> = BaseSchema<NonNullish<Input<TWrapped>>, TOutput> & { type: 'non_nullish'; wrapped: TWrapped }
  • changed: type NonNullishSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TOutput = NonNullish<Output<TWrapped>>> = BaseSchemaAsync<NonNullish<Input<TWrapped>>, TOutput> & { schema: 'non_nullish'; wrapped: TWrapped } → type NonNullishSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TOutput = NonNullish<Output<TWrapped>>> = BaseSchemaAsync<NonNullish<Input<TWrapped>>, TOutput> & { type: 'non_nullish'; wrapped: TWrapped }
  • changed: type NonOptionalSchema<TWrapped extends BaseSchema, TOutput = NonOptional<Output<TWrapped>>> = BaseSchema<NonOptional<Input<TWrapped>>, TOutput> & { schema: 'non_optional'; wrapped: TWrapped } → type NonOptionalSchema<TWrapped extends BaseSchema, TOutput = NonOptional<Output<TWrapped>>> = BaseSchema<NonOptional<Input<TWrapped>>, TOutput> & { type: 'non_optional'; wrapped: TWrapped }
  • changed: type NonOptionalSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TOutput = NonOptional<Output<TWrapped>>> = BaseSchemaAsync<NonOptional<Input<TWrapped>>, TOutput> & { schema: 'non_optional'; wrapped: TWrapped } → type NonOptionalSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TOutput = NonOptional<Output<TWrapped>>> = BaseSchemaAsync<NonOptional<Input<TWrapped>>, TOutput> & { type: 'non_optional'; wrapped: TWrapped }
  • changed: type NullSchema<TOutput = null> = BaseSchema<null, TOutput> & { schema: 'null' } → type NullSchema<TOutput = null> = BaseSchema<null, TOutput> & { type: 'null' }
  • changed: type NullSchemaAsync<TOutput = null> = BaseSchemaAsync<null, TOutput> & { schema: 'null' } → type NullSchemaAsync<TOutput = null> = BaseSchemaAsync<null, TOutput> & { type: 'null' }
  • changed: type NullableSchema<TWrapped extends BaseSchema, TDefault extends Input<TWrapped> | undefined = undefined, TOutput = TDefault extends undefined ? Output<TWrapped> | null : Output<TWrapped>> = BaseSchema<Input<TWrapped> | null, TOutput> & { schema: 'nullable'; wrapped: TWrapped; get default(): TDefault } → type NullableSchema<TWrapped extends BaseSchema, TDefault extends Input<TWrapped> | undefined = undefined, TOutput = TDefault extends Input<TWrapped> ? Output<TWrapped> : Output<TWrapped> | null> = BaseSchema<Input<TWrapped> | null, TOutput> & { type: 'nullable'; wrapped: TWrapped; getDefault: () => TDefault }
  • changed: type NullableSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TDefault extends Input<TWrapped> | undefined | Promise<Input<TWrapped> | undefined> = undefined, TOutput = Awaited<TDefault> extends undefined ? Output<TWrapped> | null : Output<TWrapped>> = BaseSchemaAsync<Input<TWrapped> | null, TOutput> & { schema: 'nullable'; wrapped: TWrapped; get default(): TDefault } → type NullableSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TDefault extends Input<TWrapped> | undefined | Promise<Input<TWrapped> | undefined> = undefined, TOutput = Awaited<TDefault> extends Input<TWrapped> ? Output<TWrapped> : Output<TWrapped> | null> = BaseSchemaAsync<Input<TWrapped> | null, TOutput> & { type: 'nullable'; wrapped: TWrapped; getDefault: () => Promise<TDefault> }
  • changed: type NullishSchema<TWrapped extends BaseSchema, TDefault extends Input<TWrapped> | undefined = undefined, TOutput = TDefault extends undefined ? Output<TWrapped> | null | undefined : Output<TWrapped>> = BaseSchema<Input<TWrapped> | null | undefined, TOutput> & { schema: 'nullish'; wrapped: TWrapped; get default(): TDefault } → type NullishSchema<TWrapped extends BaseSchema, TDefault extends Input<TWrapped> | undefined = undefined, TOutput = TDefault extends Input<TWrapped> ? Output<TWrapped> : Output<TWrapped> | null | undefined> = BaseSchema<Input<TWrapped> | null | undefined, TOutput> & { type: 'nullish'; wrapped: TWrapped; getDefault: () => TDefault }
  • changed: type NullishSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TDefault extends Input<TWrapped> | undefined | Promise<Input<TWrapped> | undefined> = undefined, TOutput = Awaited<TDefault> extends undefined ? Output<TWrapped> | null | undefined : Output<TWrapped>> = BaseSchemaAsync<Input<TWrapped> | null | undefined, TOutput> & { schema: 'nullish'; wrapped: TWrapped; get default(): TDefault } → type NullishSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TDefault extends Input<TWrapped> | undefined | Promise<Input<TWrapped> | undefined> = undefined, TOutput = Awaited<TDefault> extends Input<TWrapped> ? Output<TWrapped> : Output<TWrapped> | null | undefined> = BaseSchemaAsync<Input<TWrapped> | null | undefined, TOutput> & { type: 'nullish'; wrapped: TWrapped; getDefault: () => Promise<TDefault> }
  • changed: type NumberSchema<TOutput = number> = BaseSchema<number, TOutput> & { schema: 'number' } → type NumberSchema<TOutput = number> = BaseSchema<number, TOutput> & { type: 'number' }
  • changed: type NumberSchemaAsync<TOutput = number> = BaseSchemaAsync<number, TOutput> & { schema: 'number' } → type NumberSchemaAsync<TOutput = number> = BaseSchemaAsync<number, TOutput> & { type: 'number' }
  • changed: type ObjectInput<TObjectShape extends ObjectShape | ObjectShapeAsync> = ResolveObject<WithQuestionMarks<{ [TKey in keyof TObjectShape]: Input<TObjectShape[TKey]> }>> → type ObjectInput<TEntries extends ObjectEntries | ObjectEntriesAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined> = TRest extends undefined | NeverSchema | NeverSchemaAsync ? ResolveObject<WithQuestionMarks<{ [TKey in keyof TEntries]: Input<TEntries[TKey]> }>> : TRest extend…
  • changed: type ObjectOutput<TObjectShape extends ObjectShape | ObjectShapeAsync> = ResolveObject<WithQuestionMarks<{ [TKey in keyof TObjectShape]: Output<TObjectShape[TKey]> }>> → type ObjectOutput<TEntries extends ObjectEntries | ObjectEntriesAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined> = TRest extends undefined | NeverSchema | NeverSchemaAsync ? ResolveObject<WithQuestionMarks<{ [TKey in keyof TEntries]: Output<TEntries[TKey]> }>> : TRest exten…
  • changed: type ObjectPathItem = { schema: 'object'; input: Record<string, any>; key: string; value: any } → type ObjectPathItem = { type: 'object'; input: Record<string, any>; key: string; value: any }
  • changed: type ObjectSchema<TObjectShape extends ObjectShape, TOutput = ObjectOutput<TObjectShape>> = BaseSchema<ObjectInput<TObjectShape>, TOutput> & { schema: 'object'; object: TObjectShape } → type ObjectSchema<TEntries extends ObjectEntries, TRest extends BaseSchema | undefined = undefined, TOutput = ObjectOutput<TEntries, TRest>> = BaseSchema<ObjectInput<TEntries, TRest>, TOutput> & { type: 'object'; entries: TEntries; rest: TRest }
  • changed: type ObjectSchemaAsync<TObjectShape extends ObjectShapeAsync, TOutput = ObjectOutput<TObjectShape>> = BaseSchemaAsync<ObjectInput<TObjectShape>, TOutput> & { schema: 'object'; object: TObjectShape } → type ObjectSchemaAsync<TEntries extends ObjectEntriesAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined = undefined, TOutput = ObjectOutput<TEntries, TRest>> = BaseSchemaAsync<ObjectInput<TEntries, TRest>, TOutput> & { type: 'object'; entries: TEntries; rest: TRest }
  • changed: type OptionalSchema<TWrapped extends BaseSchema, TDefault extends Input<TWrapped> | undefined = undefined, TOutput = TDefault extends undefined ? Output<TWrapped> | undefined : Output<TWrapped>> = BaseSchema<Input<TWrapped> | undefined, TOutput> & { schema: 'optional'; wrapped: TWrapped; get default(): TDefault } → type OptionalSchema<TWrapped extends BaseSchema, TDefault extends Input<TWrapped> | undefined = undefined, TOutput = TDefault extends Input<TWrapped> ? Output<TWrapped> : Output<TWrapped> | undefined> = BaseSchema<Input<TWrapped> | undefined, TOutput> & { type: 'optional'; wrapped: TWrapped; getDefault: () => TDefault }
  • changed: type OptionalSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TDefault extends Input<TWrapped> | undefined | Promise<Input<TWrapped> | undefined> = undefined, TOutput = Awaited<TDefault> extends undefined ? Output<TWrapped> | undefined : Output<TWrapped>> = BaseSchemaAsync<Input<TWrapped> | undefined, TOutput> & { schema: 'optional'; wrapped: TWrapped; get default(): TDefault } → type OptionalSchemaAsync<TWrapped extends BaseSchema | BaseSchemaAsync, TDefault extends Input<TWrapped> | undefined | Promise<Input<TWrapped> | undefined> = undefined, TOutput = Awaited<TDefault> extends Input<TWrapped> ? Output<TWrapped> : Output<TWrapped> | undefined> = BaseSchemaAsync<Input<TWrapped> | undefined, TOutput> & { type: 'optional'; wrapped: TWrapped; getDefault: () => Promise<TDefault> }
  • changed: type RecordInput<TRecordKey extends RecordKey | RecordKeyAsync, TRecordValue extends BaseSchema | BaseSchemaAsync> = ResolveObject<TRecordKey extends PartialKeySchema ? Partial<Record<Input<TRecordKey>, Input<TRecordValue>>> : Record<Input<TRecordKey>, Input<TRecordValue>>> → type RecordInput<TKey extends RecordKey | RecordKeyAsync, TValue extends BaseSchema | BaseSchemaAsync> = ResolveObject<TKey extends PartialKeySchema ? Partial<Record<Input<TKey>, Input<TValue>>> : Record<Input<TKey>, Input<TValue>>>
  • changed: type RecordKey = EnumSchema<any, string | number | symbol> | NativeEnumSchema<any, string | number | symbol> | StringSchema<string | number | symbol> | UnionSchema<any, string… → type RecordKey = EnumSchema<any, string | number | symbol> | PicklistSchema<any, string | number | symbol> | StringSchema<string | number | symbol> | UnionSchema<any, string |…
  • changed: type RecordKeyAsync = EnumSchema<any, string | number | symbol> | EnumSchemaAsync<any, string | number | symbol> | NativeEnumSchema<any, string | number | symbol> | NativeEnumSchema… → type RecordKeyAsync = EnumSchema<any, string | number | symbol> | EnumSchemaAsync<any, string | number | symbol> | PicklistSchema<any, string | number | symbol> | PicklistSchemaAsyn…
  • changed: type RecordOutput<TRecordKey extends RecordKey | RecordKeyAsync, TRecordValue extends BaseSchema | BaseSchemaAsync> = ResolveObject<TRecordKey extends PartialKeySchema ? Partial<Record<Output<TRecordKey>, Output<TRecordValue>>> : Record<Output<TRecordKey>, Output<TRecordValue>… → type RecordOutput<TKey extends RecordKey | RecordKeyAsync, TValue extends BaseSchema | BaseSchemaAsync> = ResolveObject<TKey extends PartialKeySchema ? Partial<Record<Output<TKey>, Output<TValue>>> : Record<Output<TKey>, Output<TValue>>>
  • changed: type RecordPathItem = { schema: 'record'; input: Record<string | number | symbol, any>; key: string | number | symbol; value: any } → type RecordPathItem = { type: 'record'; input: Record<string | number | symbol, any>; key: string | number | symbol; value: any }
  • changed: type RecordSchema<TRecordKey extends RecordKey, TRecordValue extends BaseSchema, TOutput = RecordOutput<TRecordKey, TRecordValue>> = BaseSchema<RecordInput<TRecordKey, TRecordValue>, TOutput> & { schema: 'record'; record: { key: TRecordKey; value: TRecordValue } } → type RecordSchema<TKey extends RecordKey, TValue extends BaseSchema, TOutput = RecordOutput<TKey, TValue>> = BaseSchema<RecordInput<TKey, TValue>, TOutput> & { type: 'record'; key: TKey; value: TValue }
  • changed: type RecordSchemaAsync<TRecordKey extends RecordKeyAsync, TRecordValue extends BaseSchema | BaseSchemaAsync, TOutput = RecordOutput<TRecordKey, TRecordValue>> = BaseSchemaAsync<RecordInput<TRecordKey, TRecordValue>, TOutput> & { schema: 'record'; record: { key: TRecordKey; value: TRecordValue } } → type RecordSchemaAsync<TKey extends RecordKeyAsync, TValue extends BaseSchema | BaseSchemaAsync, TOutput = RecordOutput<TKey, TValue>> = BaseSchemaAsync<RecordInput<TKey, TValue>, TOutput> & { type: 'record'; key: TKey; value: TValue }
  • changed: type RecursiveSchema<TSchemaGetter extends () => BaseSchema, TOutput = Output<ReturnType<TSchemaGetter>>> = BaseSchema<Input<ReturnType<TSchemaGetter>>, TOutput> & { schema: 'recursive'; getter: TSchemaGetter } → type RecursiveSchema<TSchemaGetter extends () => BaseSchema, TOutput = Output<ReturnType<TSchemaGetter>>> = BaseSchema<Input<ReturnType<TSchemaGetter>>, TOutput> & { type: 'recursive'; getter: TSchemaGetter }
  • changed: type RecursiveSchemaAsync<TSchemaGetter extends () => BaseSchema | BaseSchemaAsync, TOutput = Output<ReturnType<TSchemaGetter>>> = BaseSchemaAsync<Input<ReturnType<TSchemaGetter>>, TOutput> & { schema: 'recursive'; getter: TSchemaGetter } → type RecursiveSchemaAsync<TSchemaGetter extends () => BaseSchema | BaseSchemaAsync, TOutput = Output<ReturnType<TSchemaGetter>>> = BaseSchemaAsync<Input<ReturnType<TSchemaGetter>>, TOutput> & { type: 'recursive'; getter: TSchemaGetter }
  • changed: type SetInput<TSetValue extends BaseSchema | BaseSchemaAsync> = Set<Input<TSetValue>> → type SetInput<TValue extends BaseSchema | BaseSchemaAsync> = Set<Input<TValue>>
  • changed: type SetOutput<TSetValue extends BaseSchema | BaseSchemaAsync> = Set<Output<TSetValue>> → type SetOutput<TValue extends BaseSchema | BaseSchemaAsync> = Set<Output<TValue>>
  • changed: type SetPathItem = { schema: 'set'; input: Set<any>; key: number; value: any } → type SetPathItem = { type: 'set'; input: Set<any>; key: number; value: any }
  • changed: type SetSchema<TSetValue extends BaseSchema, TOutput = SetOutput<TSetValue>> = BaseSchema<SetInput<TSetValue>, TOutput> & { schema: 'set'; set: { value: TSetValue } } → type SetSchema<TValue extends BaseSchema, TOutput = SetOutput<TValue>> = BaseSchema<SetInput<TValue>, TOutput> & { type: 'set'; value: TValue }
  • changed: type SetSchemaAsync<TSetValue extends BaseSchema | BaseSchemaAsync, TOutput = SetOutput<TSetValue>> = BaseSchemaAsync<SetInput<TSetValue>, TOutput> & { schema: 'set'; set: { value: TSetValue } } → type SetSchemaAsync<TValue extends BaseSchema | BaseSchemaAsync, TOutput = SetOutput<TValue>> = BaseSchemaAsync<SetInput<TValue>, TOutput> & { type: 'set'; value: TValue }
  • changed: type SpecialSchema<TInput, TOutput = TInput> = BaseSchema<TInput, TOutput> & { schema: 'special' } → type SpecialSchema<TInput, TOutput = TInput> = BaseSchema<TInput, TOutput> & { type: 'special' }
  • changed: type SpecialSchemaAsync<TInput, TOutput = TInput> = BaseSchemaAsync<TInput, TOutput> & { schema: 'special' } → type SpecialSchemaAsync<TInput, TOutput = TInput> = BaseSchemaAsync<TInput, TOutput> & { type: 'special' }
  • changed: type StringSchema<TOutput = string> = BaseSchema<string, TOutput> & { schema: 'string' } → type StringSchema<TOutput = string> = BaseSchema<string, TOutput> & { type: 'string' }
  • changed: type StringSchemaAsync<TOutput = string> = BaseSchemaAsync<string, TOutput> & { schema: 'string' } → type StringSchemaAsync<TOutput = string> = BaseSchemaAsync<string, TOutput> & { type: 'string' }
  • changed: type SymbolSchema<TOutput = symbol> = BaseSchema<symbol, TOutput> & { schema: 'symbol' } → type SymbolSchema<TOutput = symbol> = BaseSchema<symbol, TOutput> & { type: 'symbol' }
  • changed: type SymbolSchemaAsync<TOutput = symbol> = BaseSchemaAsync<symbol, TOutput> & { schema: 'symbol' } → type SymbolSchemaAsync<TOutput = symbol> = BaseSchemaAsync<symbol, TOutput> & { type: 'symbol' }
  • changed: type TupleInput<TTupleItems extends TupleShape | TupleShapeAsync, TTupleRest extends BaseSchema | BaseSchemaAsync | undefined> = TTupleRest extends BaseSchema | BaseSchemaAsync ? [...{ [TKey in keyof TTupleItems]: Input<TTupleItems[TKey]> }, ...Input<TTupleRest>[]] : { [TKey in keyof TTu… → type TupleInput<TItems extends TupleItems | TupleItemsAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined> = TRest extends undefined | NeverSchema | NeverSchemaAsync ? { [TKey in keyof TItems]: Input<TItems[TKey]> } : TRest extends BaseSchema | BaseSchemaAsync ? [...{…
  • changed: type TupleOutput<TTupleItems extends TupleShape | TupleShapeAsync, TTupleRest extends BaseSchema | BaseSchemaAsync | undefined> = TTupleRest extends BaseSchema | BaseSchemaAsync ? [...{ [TKey in keyof TTupleItems]: Output<TTupleItems[TKey]> }, ...Output<TTupleRest>[]] : { [TKey in keyof T… → type TupleOutput<TItems extends TupleItems | TupleItemsAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined> = TRest extends undefined | NeverSchema | NeverSchemaAsync ? { [TKey in keyof TItems]: Output<TItems[TKey]> } : TRest extends BaseSchema | BaseSchemaAsync ? [...…
  • changed: type TuplePathItem = { schema: 'tuple'; input: [any, ...any[]]; key: number; value: any } → type TuplePathItem = { type: 'tuple'; input: [any, ...any[]]; key: number; value: any }
  • changed: type TupleSchema<TTupleItems extends TupleShape, TTupleRest extends BaseSchema | undefined = undefined, TOutput = TupleOutput<TTupleItems, TTupleRest>> = BaseSchema<TupleInput<TTupleItems, TTupleRest>, TOutput> & { schema: 'tuple'; tuple: { items: TTupleItems; rest: TTupleRest } } → type TupleSchema<TItems extends TupleItems, TRest extends BaseSchema | undefined = undefined, TOutput = TupleOutput<TItems, TRest>> = BaseSchema<TupleInput<TItems, TRest>, TOutput> & { type: 'tuple'; items: TItems; rest: TRest }
  • changed: type TupleSchemaAsync<TTupleItems extends TupleShapeAsync, TTupleRest extends BaseSchema | BaseSchemaAsync | undefined = undefined, TOutput = TupleOutput<TTupleItems, TTupleRest>> = BaseSchemaAsync<TupleInput<TTupleItems, TTupleRest>, TOutput> & { schema: 'tuple'; tuple: { items: TTupleItems; rest: TTupleRest } } → type TupleSchemaAsync<TItems extends TupleItemsAsync, TRest extends BaseSchema | BaseSchemaAsync | undefined = undefined, TOutput = TupleOutput<TItems, TRest>> = BaseSchemaAsync<TupleInput<TItems, TRest>, TOutput> & { type: 'tuple'; items: TItems; rest: TRest }
  • changed: type UndefinedSchema<TOutput = undefined> = BaseSchema<undefined, TOutput> & { schema: 'undefined' } → type UndefinedSchema<TOutput = undefined> = BaseSchema<undefined, TOutput> & { type: 'undefined' }
  • changed: type UndefinedSchemaAsync<TOutput = undefined> = BaseSchemaAsync<undefined, TOutput> & { schema: 'undefined' } → type UndefinedSchemaAsync<TOutput = undefined> = BaseSchemaAsync<undefined, TOutput> & { type: 'undefined' }
  • changed: type UnionOptions = [BaseSchema<any>, BaseSchema<any>, ...BaseSchema<any>[]] → type UnionOptions = [BaseSchema, BaseSchema, ...BaseSchema[]]
  • changed: type UnionSchema<TUnionOptions extends UnionOptions, TOutput = Output<TUnionOptions[number]>> = BaseSchema<Input<TUnionOptions[number]>, TOutput> & { schema: 'union'; union: TUnionOptions } → type UnionSchema<TOptions extends UnionOptions, TOutput = Output<TOptions[number]>> = BaseSchema<Input<TOptions[number]>, TOutput> & { type: 'union'; options: TOptions }
  • changed: type UnionSchemaAsync<TUnionOptions extends UnionOptionsAsync, TOutput = Output<TUnionOptions[number]>> = BaseSchemaAsync<Input<TUnionOptions[number]>, TOutput> & { schema: 'union'; union: TUnionOptions } → type UnionSchemaAsync<TOptions extends UnionOptionsAsync, TOutput = Output<TOptions[number]>> = BaseSchemaAsync<Input<TOptions[number]>, TOutput> & { type: 'union'; options: TOptions }
  • changed: type UnknownSchema<TOutput = unknown> = BaseSchema<unknown, TOutput> & { schema: 'unknown' } → type UnknownSchema<TOutput = unknown> = BaseSchema<unknown, TOutput> & { type: 'unknown' }
  • changed: type UnknownSchemaAsync<TOutput = unknown> = BaseSchemaAsync<unknown, TOutput> & { schema: 'unknown' } → type UnknownSchemaAsync<TOutput = unknown> = BaseSchemaAsync<unknown, TOutput> & { type: 'unknown' }
  • changed: type VoidSchema<TOutput = void> = BaseSchema<void, TOutput> & { schema: 'void' } → type VoidSchema<TOutput = void> = BaseSchema<void, TOutput> & { type: 'void' }
  • changed: type VoidSchemaAsync<TOutput = void> = BaseSchemaAsync<void, TOutput> & { schema: 'void' } → type VoidSchemaAsync<TOutput = void> = BaseSchemaAsync<void, TOutput> & { type: 'void' }
  • added: const CUID2_REGEX: RegExp
  • added: const EMAIL_REGEX: RegExp
  • added: const EMOJI_REGEX: RegExp
  • added: const IMEI_REGEX: RegExp
  • added: const IPV4_REGEX: RegExp
  • added: const IPV6_REGEX: RegExp
  • added: const ISO_DATE_REGEX: RegExp
  • added: const ISO_DATE_TIME_REGEX: RegExp
  • added: const ISO_TIMESTAMP_REGEX: RegExp
  • added: const ISO_TIME_REGEX: RegExp
  • added: const ISO_TIME_SECOND_REGEX: RegExp
  • added: const ISO_WEEK_REGEX: RegExp
  • added: const ULID_REGEX: RegExp
  • added: const UUID_REGEX: RegExp
  • added: const discriminatedUnion: typeof variant
  • added: const discriminatedUnionAsync: typeof variantAsync
  • added: const enumType: typeof picklist
  • added: const enumTypeAsync: typeof picklistAsync
  • added: const intersection: typeof intersect
  • added: const nativeEnum: typeof enum_
  • added: const nativeEnumAsync: typeof enumAsync
  • added: const nullType: typeof null_
  • added: const nullTypeAsync: typeof nullAsync
  • added: const undefinedType: typeof undefined_
  • added: const undefinedTypeAsync: typeof undefinedAsync
  • added: const voidType: typeof void_
  • added: const voidTypeAsync: typeof voidAsync
  • added: function enumAsync<TEnum extends Enum>(enum_: TEnum, error?: ErrorMessage): EnumSchemaAsync<TEnum>
  • added: function enum_<TEnum extends Enum>(enum_: TEnum, error?: ErrorMessage): EnumSchema<TEnum>
  • added: function getDefaultAsync<TSchema extends SchemaWithMaybeDefault | SchemaWithMaybeDefaultAsync>(schema: TSchema): Promise<DefaultValue<TSchema>>
  • added: function getDefaults<TSchema extends SchemaWithMaybeDefault<BaseSchema | ObjectSchema<ObjectEntries, any> | TupleSchema<TupleItems, any>>>(schema: TSchema): DefaultValues<TSchema>
  • added: function getDefaultsAsync<TSchema extends SchemaWithMaybeDefault<BaseSchema | ObjectSchema<ObjectEntries, any> | TupleSchema<TupleItems, any>> | SchemaWithMaybeDefaultAsync<BaseSchemaAsync | ObjectSchemaAsync<ObjectEntriesAsync, any> | TupleSchemaAsync<TupleItemsAsync, any>>>(schema: TSchema): Promise<DefaultValues<TSchema>>
  • added: function getFallback<TSchema extends SchemaWithMaybeFallback>(schema: TSchema, info?: FallbackInfo): FallbackValue<TSchema>
  • added: function getFallbackAsync<TSchema extends SchemaWithMaybeFallback | SchemaWithMaybeFallbackAsync>(schema: TSchema, info?: FallbackInfo): Promise<FallbackValue<TSchema>>
  • added: function getFallbacks<TSchema extends SchemaWithMaybeFallback<BaseSchema | ObjectSchema<ObjectEntries, any> | TupleSchema<TupleItems, any>>>(schema: TSchema): FallbackValues<TSchema>
  • added: function getFallbacksAsync<TSchema extends SchemaWithMaybeFallback<BaseSchema | ObjectSchema<ObjectEntries, any> | TupleSchema<TupleItems, any>> | SchemaWithMaybeFallbackAsync<BaseSchemaAsync | ObjectSchemaAsync<ObjectEntriesAsync, any> | TupleSchemaAsync<TupleItemsAsync, any>>>(schema: TSchema): Promise<FallbackValues<TSchema>>
  • added: function getRestAndDefaultArgs<TRest extends BaseSchema | BaseSchemaAsync | undefined, TPipe extends Pipe<any> | PipeAsync<any>>(arg1: TPipe | ErrorMessage | TRest | undefined, arg2: TPipe | ErrorMessage | undefined, arg3: TPipe | undefined): [TRest, ErrorMessage | undefined, TPipe | undefined]
  • added: function intersect<TOptions extends IntersectOptions>(options: TOptions, error?: string): IntersectSchema<TOptions>
  • added: function merge<TSchemas extends ObjectSchemas$1>(schemas: TSchemas, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<MergeObjects<TSchemas>, undefined>>): ObjectSchema<MergeObjects<TSchemas>>
  • added: function merge<TSchemas extends ObjectSchemas$1>(schemas: TSchemas, pipe?: Pipe<ObjectOutput<MergeObjects<TSchemas>, undefined>>): ObjectSchema<MergeObjects<TSchemas>>
  • added: function mergeAsync<TSchemas extends ObjectSchemas>(schemas: TSchemas, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<MergeObjects<TSchemas>, undefined>>): ObjectSchemaAsync<MergeObjects<TSchemas>>
  • added: function mergeAsync<TSchemas extends ObjectSchemas>(schemas: TSchemas, pipe?: PipeAsync<ObjectOutput<MergeObjects<TSchemas>, undefined>>): ObjectSchemaAsync<MergeObjects<TSchemas>>
  • added: function nullAsync(error?: ErrorMessage): NullSchemaAsync
  • added: function null_(error?: ErrorMessage): NullSchema
  • added: function object<TEntries extends ObjectEntries>(entries: TEntries, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<TEntries, undefined>>): ObjectSchema<TEntries>
  • added: function object<TEntries extends ObjectEntries>(entries: TEntries, pipe?: Pipe<ObjectOutput<TEntries, undefined>>): ObjectSchema<TEntries>
  • added: function objectAsync<TEntries extends ObjectEntriesAsync>(entries: TEntries, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<TEntries, undefined>>): ObjectSchemaAsync<TEntries>
  • added: function objectAsync<TEntries extends ObjectEntriesAsync>(entries: TEntries, pipe?: PipeAsync<ObjectOutput<TEntries, undefined>>): ObjectSchemaAsync<TEntries>
  • added: function omit<TSchema extends ObjectSchema<any, any>, TKeys extends ObjectKeys<TSchema>>(schema: TSchema, keys: TKeys, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Omit<TSchema['entries'], TKeys[number]>, undefined>>): ObjectSchema<Omit<TSchema['entries'], TKeys[number]>>
  • added: function omit<TSchema extends ObjectSchema<any, any>, TKeys extends ObjectKeys<TSchema>>(schema: TSchema, keys: TKeys, pipe?: Pipe<ObjectOutput<Omit<TSchema['entries'], TKeys[number]>, undefined>>): ObjectSchema<Omit<TSchema['entries'], TKeys[number]>>
  • added: function omitAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TKeys extends ObjectKeys<TSchema>>(schema: TSchema, keys: TKeys, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Omit<TSchema['entries'], TKeys[number]>, undefined>>): ObjectSchemaAsync<Omit<TSchema['entries'], TKeys[number]>>
  • added: function omitAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TKeys extends ObjectKeys<TSchema>>(schema: TSchema, keys: TKeys, pipe?: PipeAsync<ObjectOutput<Omit<TSchema['entries'], TKeys[number]>, undefined>>): ObjectSchemaAsync<Omit<TSchema['entries'], TKeys[number]>>
  • added: function partial<TSchema extends ObjectSchema<any, any>>(schema: TSchema, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<PartialObjectEntries<TSchema['entries']>, undefined>>): ObjectSchema<PartialObjectEntries<TSchema['entries']>>
  • added: function partial<TSchema extends ObjectSchema<any, any>>(schema: TSchema, pipe?: Pipe<ObjectOutput<PartialObjectEntries<TSchema['entries']>, undefined>>): ObjectSchema<PartialObjectEntries<TSchema['entries']>>
  • added: function partialAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>>(schema: TSchema, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<PartialObjectEntriesAsync<TSchema['entries']>, undefined>>): ObjectSchemaAsync<PartialObjectEntriesAsync<TSchema['entries']>>
  • added: function partialAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>>(schema: TSchema, pipe?: PipeAsync<ObjectOutput<PartialObjectEntriesAsync<TSchema['entries']>, undefined>>): ObjectSchemaAsync<PartialObjectEntriesAsync<TSchema['entries']>>
  • added: function pick<TSchema extends ObjectSchema<any, any>, TKeys extends (keyof TSchema['entries'])[]>(schema: TSchema, keys: TKeys, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Pick<TSchema['entries'], TKeys[number]>, undefined>>): ObjectSchema<Pick<TSchema['entries'], TKeys[number]>>
  • added: function pick<TSchema extends ObjectSchema<any, any>, TKeys extends (keyof TSchema['entries'])[]>(schema: TSchema, keys: TKeys, pipe?: Pipe<ObjectOutput<Pick<TSchema['entries'], TKeys[number]>, undefined>>): ObjectSchema<Pick<TSchema['entries'], TKeys[number]>>
  • added: function pickAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TKeys extends (keyof TSchema['entries'])[]>(schema: TSchema, keys: TKeys, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Pick<TSchema['entries'], TKeys[number]>, undefined>>): ObjectSchemaAsync<Pick<TSchema['entries'], TKeys[number]>>
  • added: function pickAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>, TKeys extends (keyof TSchema['entries'])[]>(schema: TSchema, keys: TKeys, pipe?: PipeAsync<ObjectOutput<Pick<TSchema['entries'], TKeys[number]>, undefined>>): ObjectSchemaAsync<Pick<TSchema['entries'], TKeys[number]>>
  • added: function picklist<TOption extends string, TOptions extends PicklistOptions<TOption>>(options: TOptions, error?: ErrorMessage): PicklistSchema<TOptions>
  • added: function picklistAsync<TOption extends string, TOptions extends PicklistOptions<TOption>>(options: TOptions, error?: ErrorMessage): PicklistSchemaAsync<TOptions>
  • added: function required<TSchema extends ObjectSchema<any, any>>(schema: TSchema, error?: ErrorMessage, pipe?: Pipe<ObjectOutput<Required$1<TSchema['entries']>, undefined>>): ObjectSchema<Required$1<TSchema['entries']>>
  • added: function required<TSchema extends ObjectSchema<any, any>>(schema: TSchema, pipe?: Pipe<ObjectOutput<Required$1<TSchema['entries']>, undefined>>): ObjectSchema<Required$1<TSchema['entries']>>
  • added: function requiredAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>>(schema: TSchema, error?: ErrorMessage, pipe?: PipeAsync<ObjectOutput<Required<TSchema['entries']>, undefined>>): ObjectSchemaAsync<Required<TSchema['entries']>>
  • added: function requiredAsync<TSchema extends ObjectSchema<any, any> | ObjectSchemaAsync<any, any>>(schema: TSchema, pipe?: PipeAsync<ObjectOutput<Required<TSchema['entries']>, undefined>>): ObjectSchemaAsync<Required<TSchema['entries']>>
  • added: function undefinedAsync(error?: ErrorMessage): UndefinedSchemaAsync
  • added: function undefined_(error?: ErrorMessage): UndefinedSchema
  • added: function variant<TKey extends string, TOptions extends VariantOptions<TKey>>(key: TKey, options: TOptions, error?: ErrorMessage): VariantSchema<TKey, TOptions>
  • added: function variantAsync<TKey extends string, TOptions extends VariantOptionsAsync<TKey>>(key: TKey, options: TOptions, error?: ErrorMessage): VariantSchemaAsync<TKey, TOptions>
  • added: function voidAsync(error?: ErrorMessage): VoidSchemaAsync
  • added: function void_(error?: ErrorMessage): VoidSchema
  • added: type BrandName = string | number | symbol
  • added: type DefaultValue<TSchema extends SchemaWithMaybeDefault | SchemaWithMaybeDefaultAsync> = TSchema['getDefault'] extends () => Output<TSchema> ? ReturnType<TSchema['getDefault']> : TSchema['getDefault'] extends () => Promise<Output<TSchema>> ? Awaite…
  • added: type DefaultValues<TSchema extends BaseSchema | BaseSchemaAsync> = TSchema extends OptionalSchema<any, infer TDefault> | OptionalSchemaAsync<any, infer TDefault> | NullableSchema<any, infer TDefault> | NullableSchemaAsync<any,…
  • added: type FallbackInfo = { input: unknown; issues: Issues }
  • added: type FallbackValue<TSchema extends SchemaWithMaybeFallback | SchemaWithMaybeFallbackAsync> = TSchema extends SchemaWithFallback<BaseSchema, infer TFallback> | SchemaWithFallbackAsync<BaseSchemaAsync, infer TFallback> ? TFallback : undefined
  • added: type FallbackValues<TSchema extends SchemaWithMaybeFallback<BaseSchema | ObjectSchema<ObjectEntries, any> | TupleSchema<TupleItems, any>> | SchemaWithMaybeFallbackAsync<BaseSchemaAsync | ObjectSchemaAsync<ObjectEntriesAsync, any> | TupleSchemaAsync<TupleItemsAsync, any>>> = TSchema extends SchemaWithFallback<BaseSchema, infer TFallback> | SchemaWithFallbackAsync<BaseSchemaAsync, infer TFallback> ? TFallback : TSchema extends Objec…
  • added: type IntersectOptions = [BaseSchema, BaseSchema, ...BaseSchema[]]
  • added: type IntersectSchema<TOptions extends IntersectOptions, TOutput = IntersectOutput<TOptions>> = BaseSchema<IntersectInput<TOptions>, TOutput> & { type: 'intersect'; options: TOptions }
  • added: type ObjectEntries = Record<string, BaseSchema>
  • added: type ObjectEntriesAsync = Record<string, BaseSchema | BaseSchemaAsync>
  • added: type PartialObjectEntries<TEntries extends ObjectEntries> = { [TKey in keyof TEntries]: OptionalSchema<TEntries[TKey]> }
  • added: type PartialObjectEntriesAsync<TEntries extends ObjectEntriesAsync> = { [TKey in keyof TEntries]: OptionalSchemaAsync<TEntries[TKey]> }
  • added: type PicklistOptions<TOption extends string = string> = Readonly<[TOption, ...TOption[]]> | [TOption, ...TOption[]]
  • added: type PicklistSchema<Toptions extends PicklistOptions, TOutput = Toptions[number]> = BaseSchema<Toptions[number], TOutput> & { type: 'picklist'; options: Toptions }
  • added: type PicklistSchemaAsync<TOptions extends PicklistOptions, TOutput = TOptions[number]> = BaseSchemaAsync<TOptions[number], TOutput> & { type: 'picklist'; options: TOptions }
  • added: type SchemaWithBrand<TSchema extends BaseSchema | BaseSchemaAsync, TName extends BrandName> = Omit<TSchema, '_types'> & { _types?: { input: Input<TSchema>; output: Output<TSchema> & Brand<TName> } }
  • added: type SchemaWithFallback<TSchema extends BaseSchema = BaseSchema, TFallback extends Output<TSchema> = Output<TSchema>> = TSchema & { getFallback: (info?: FallbackInfo) => TFallback }
  • added: type SchemaWithFallbackAsync<TSchema extends BaseSchemaAsync = BaseSchemaAsync, TFallback extends Output<TSchema> = Output<TSchema>> = TSchema & { getFallback: (info?: FallbackInfo) => Promise<TFallback> }
  • added: type SchemaWithMaybeDefault<TSchema extends BaseSchema = BaseSchema> = TSchema & { getDefault?: () => Output<TSchema> }
  • added: type SchemaWithMaybeDefaultAsync<TSchema extends BaseSchemaAsync = BaseSchemaAsync> = TSchema & { getDefault?: () => Promise<Output<TSchema>> }
  • added: type SchemaWithMaybeFallback<TSchema extends BaseSchema = BaseSchema> = TSchema & { getFallback?: (info?: FallbackInfo) => Output<TSchema> }
  • added: type SchemaWithMaybeFallbackAsync<TSchema extends BaseSchemaAsync = BaseSchemaAsync> = TSchema & { getFallback?: (info?: FallbackInfo) => Promise<Output<TSchema>> }
  • added: type SchemaWithTransform<TSchema extends BaseSchema, TOutput> = Omit<TSchema, '_types'> & { _types?: { input: Input<TSchema>; output: TOutput } }
  • added: type SchemaWithTransformAsync<TSchema extends BaseSchema | BaseSchemaAsync, TOutput> = Omit<TSchema, 'async' | '_parse' | '_types'> & { async: true; _parse(input: unknown, info?: ParseInfo): Promise<_ParseResult<TOutput>>; _types?: { input: Input…
  • added: type TupleItems = [BaseSchema, ...BaseSchema[]]
  • added: type TupleItemsAsync = [BaseSchema | BaseSchemaAsync, ...(BaseSchema | BaseSchemaAsync)[]]
  • added: type VariantOption<TKey extends string> = ObjectSchema<Record<TKey, BaseSchema>, any> | (BaseSchema & { type: 'variant'; options: VariantOptions<TKey> })
  • added: type VariantOptionAsync<TKey extends string> = ObjectSchema<Record<TKey, BaseSchema>, any> | ObjectSchemaAsync<Record<TKey, BaseSchema | BaseSchemaAsync>, any> | ((BaseSchema | BaseSchemaAsync) & { type: 'v…
  • added: type VariantOptions<TKey extends string> = [VariantOption<TKey>, VariantOption<TKey>, ...VariantOption<TKey>[]]
  • added: type VariantOptionsAsync<TKey extends string> = [VariantOptionAsync<TKey>, VariantOptionAsync<TKey>, ...VariantOptionAsync<TKey>[]]
  • added: type VariantSchema<TKey extends string, TOptions extends VariantOptions<TKey>, TOutput = Output<TOptions[number]>> = BaseSchema<Input<TOptions[number]>, TOutput> & { type: 'variant'; options: TOptions }
  • added: type VariantSchemaAsync<TKey extends string, TOptions extends VariantOptionsAsync<TKey>, TOutput = Output<TOptions[number]>> = BaseSchemaAsync<Input<TOptions[number]>, TOutput> & { type: 'variant'; options: TOptions }