Skip to content
GitHub

ValidateOptions

interface in meocord/interface Since 4.1.0

interface ValidateOptions<Pipes = Record<string, unknown>>

What @Validate takes beside its schema: pipes for single values of the schema's output.

Members

pipes

pipes?: Pipes

Pipes for single values of the schema's output, by key: one pipe, or several applied in order. They run before the key's @UsePipe pipes.

See also

  • Validate