Skip to main content

SANITIZE_KEYWORD

@webda/core


Variable: SANITIZE_KEYWORD

const SANITIZE_KEYWORD: "x-webda-sanitize" = "x-webda-sanitize"

Defined in: packages/core/src/contexts/sanitize.ts:57

JSON Schema keyword naming how the sanitization of client input treats a text

Set by the compiler from a @sanitize JSDoc tag, one of the SANITIZE_MODES. Any other value (a mode this version does not know) is sanitized like text.