Skip to content

Variable: SENSITIVE_FRONTMATTER_KEYS

ts
const SENSITIVE_FRONTMATTER_KEYS: Set<string>;

Defined in: packages/valaxy/shared/constants.ts:22

Frontmatter fields that contain sensitive or internal data and should be stripped before public output (e.g. llms.txt).

Note: This is intended for public text output only. Route meta has different requirements — fields like draft, hide, encrypt, and encryptedContent are needed by the client at runtime.

  • Password/encryption fields: password, gallery_password, password_hint, encrypt
  • Encrypted content (generated at build time): encryptedContent, partiallyEncryptedContents, encryptedPhotos
  • Visibility control: draft, hide