Const
This schema validates the input for the DirectAPI. It checks for required fields, valid formats, and custom validation rules. To use this schema, pass your input data to the apiSchema.parse(data) method.
apiSchema.parse(data)
This schema validates the input for the DirectAPI. It checks for required fields, valid formats, and custom validation rules. To use this schema, pass your input data to the
apiSchema.parse(data)
method.