Type alias ValidationLevel

ValidationLevel: "none" | "new" | "moderate" | "strict"

When a validation should be applied.

  • "none": No validation.
  • "new": Newly inserted documents are validated.
  • "moderate": New and modified documents are validated unless the modified document was already invalid.
  • "strict": New and modified documents are always validated.