Back to Pocketbase

Interface PreValidator

static/jsvm/interfaces/core.PreValidator.html

latest915 B
Original Source

Interface PreValidator

PreValidator defines an optional model interface for registering a function that will run BEFORE firing the validation hooks (see [App.ValidateWithContext]).

Hierarchy

  • PreValidator

Indexable

Index

Methods

preValidate

Methods

preValidate

  • preValidate(ctx, app): void

PreValidate defines a function that runs BEFORE the validation hooks.

Parameters

ctx: context.Context
app: App

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc