vtils

Home > vae > VaeObjectSchema

VaeObjectSchema class

Signature:

export declare class VaeObjectSchema<T0 extends Nullable<Record<any, any>> = Record<any, any>, T extends NonNullable<T0> = NonNullable<T0>> extends VaeSchema<T0> 

Extends: VaeSchema<T0>

Constructors

Constructor Modifiers Description
(constructor)(shape, message)   Constructs a new instance of the VaeObjectSchema class

Methods

Method Modifiers Description
omitFields(keys)    
optionalFields(keys)    
optionalFields()    
pickFields(keys)    
requiredFields(keys)    
requiredFields()    
requiredFieldsAtLeastOne(keys, message)    
shape(shape)    
shapeOfFields(keys)    
shapeOfFields()