---
title: VaultOptionsSchema
description: Shared vault options; defaults and VaultConfig both use this shape.
updated_at: '2026-11-11T09:53:08+01:00'
created_at: '2026-03-07T03:07:51+01:00'
symbol:
  kind: variable
  name: VaultOptionsSchema
  signatures:
    - >-
      const VaultOptionsSchema: Schema.Struct<{ mountPath:
      Schema.optional<Schema.filter<typeof Schema.String>>; publicationMode:
      Schema.optional<Schema.Literal<["exclusion", "inclusion"]>>; include:
      Schema.optional<Schema.Array$<typeof Schema.String>>; exclude:
      Schema.optional<Schema.Array$<typeof Schema.String>>; linkResolution:
      Schema.optional<Schema.Literal<["closest", "shallowest", "absolute"]>>;
      theme: Schema.optional<Schema.Union<[typeof Schema.String,
      Schema.extend<Schema.TypeLiteral<{ base: Schema.Union<[typeof
      Schema.String, Schema.NonEmptyArray<...>]>; comments:
      Schema.optional<Schema.filter<Schema.Struct<...>>>; recentNotes:
      Schema.optional<Schema.Struct<{ … }>> }, readonly [Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>]>, Schema.Struct<{ accentColor:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; animation: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; aria:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; aspectRatio: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; backdropBlur:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; backdropBrightness:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; backdropContrast: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; backdropGrayscale:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; backdropHueRotate: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; backdropInvert:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; backdropOpacity: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; backdropSaturate:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; backdropSepia: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; backgroundColor:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; backgroundImage: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; backgroundOpacity:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; backgroundPosition:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; backgroundSize: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; blur:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; borderColor: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; borderOpacity:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; borderRadius: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; borderSpacing:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; borderWidth: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; boxShadow:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; boxShadowColor: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; brightness:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; caretColor: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; colors:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; columns: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; container:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; content: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; contrast:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; cursor: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; data:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; divideColor: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; divideOpacity:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; divideWidth: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; dropShadow:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; fill: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; flex:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; flexBasis: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; flexGrow:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; flexShrink: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; fontFamily:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; fontSize: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; fontWeight:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; gap: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; gradientColorStopPositions:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; gradientColorStops:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; grayscale: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; gridAutoColumns:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; gridAutoRows: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; gridColumn:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; gridColumnEnd: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; gridColumnStart:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; gridRow: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; gridRowEnd:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; gridRowStart: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; gridTemplateColumns:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; gridTemplateRows: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; height:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; hueRotate: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; inset:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; invert: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; keyframes:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; letterSpacing: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; lineClamp:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; lineHeight: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; listStyleImage:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; listStyleType: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; margin:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; maxHeight: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; maxWidth:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; minHeight: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; minWidth:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; objectPosition: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; opacity:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; order: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; outlineColor:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; outlineOffset: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; outlineWidth:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; padding: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; placeholderColor:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; placeholderOpacity:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; ringColor: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; ringOffsetColor:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; ringOffsetWidth: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; ringOpacity:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; ringWidth: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; rotate:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; saturate: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; scale:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; screens: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; scrollMargin:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; scrollPadding: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; sepia:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; size: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; skew:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; space: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; spacing:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; stroke: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; strokeWidth:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; supports: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; textColor:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; textDecorationColor:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; textDecorationThickness:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; textIndent: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; textOpacity:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; textUnderlineOffset:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; transformOrigin: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; transitionDelay:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; transitionDuration:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; transitionProperty:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; transitionTimingFunction:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; translate: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; width:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>>; willChange: Schema.optional<Schema.Record$<typeof
      Schema.String, typeof Schema.Unknown>>; zIndex:
      Schema.optional<Schema.Record$<typeof Schema.String, typeof
      Schema.Unknown>> }>>]>>; frontmatter: Schema.optional<Schema.Struct<{
      titleField: Schema.optional<typeof Schema.String>; descriptionField:
      Schema.optional<typeof Schema.String>; tagsField: Schema.optional<typeof
      Schema.String>; aliasesField: Schema.optional<typeof Schema.String>;
      createdAtField: Schema.optional<typeof Schema.String>; updatedAtField:
      Schema.optional<typeof Schema.String>; publishedField:
      Schema.optional<typeof Schema.String>; dateFormat: Schema.optional<typeof
      Schema.String> }>>; site: Schema.optional<Schema.Struct<{ title:
      Schema.optional<typeof Schema.String>; description: Schema.optional<typeof
      Schema.String>; url: Schema.optional<Schema.filter<typeof Schema.String>>;
      author: Schema.optional<typeof Schema.String>; image:
      Schema.optional<typeof Schema.String>; favicon:
      Schema.optional<Schema.filter<typeof Schema.String>> }>>; analytics:
      Schema.optional<Schema.Union<[Schema.Struct<{ provider:
      Schema.Literal<["plausible"]>; host: Schema.optional<Schema.filter<typeof
      Schema.String>>; scriptSrc: Schema.optional<Schema.filter<typeof
      Schema.String>> }>, Schema.Struct<{ provider: Schema.Literal<["google"]>;
      tagId: Schema.filter<typeof Schema.String> }>, Schema.Struct<{ provider:
      Schema.Literal<["umami"]>; websiteId: Schema.filter<typeof Schema.String>;
      host: Schema.optional<Schema.filter<typeof Schema.String>> }>,
      Schema.Struct<{ provider: Schema.Literal<["goatcounter"]>; websiteId:
      Schema.filter<typeof Schema.String>; host:
      Schema.optional<Schema.filter<typeof Schema.String>>; scriptSrc:
      Schema.optional<Schema.filter<typeof Schema.String>> }>, Schema.Struct<{
      provider: Schema.Literal<["posthog"]>; apiKey: Schema.filter<typeof
      Schema.String>; host: Schema.optional<Schema.filter<typeof Schema.String>>
      }>, Schema.Struct<{ provider: Schema.Literal<["tinylytics"]>; siteId:
      Schema.filter<typeof Schema.String> }>, Schema.Struct<{ provider:
      Schema.Literal<["cabin"]>; host: Schema.optional<Schema.filter<typeof
      Schema.String>> }>, Schema.Struct<{ provider: Schema.Literal<["clarity"]>;
      projectId: Schema.filter<typeof Schema.String> }>, Schema.Struct<{
      provider: Schema.Literal<["matomo"]>; host: Schema.filter<typeof
      Schema.String>; siteId: Schema.filter<typeof Schema.String> }>,
      Schema.Struct<{ provider: Schema.Literal<["vercel"]> }>, Schema.Struct<{
      provider: Schema.Literal<["rybbit"]>; siteId: Schema.filter<typeof
      Schema.String>; host: Schema.optional<Schema.filter<typeof Schema.String>>
      }>]>>; discovery: Schema.optional<Schema.Struct<{ feed:
      Schema.optional<Schema.Struct<{ … }>>; sitemap:
      Schema.optional<Schema.Struct<{ … }>>; socialImages:
      Schema.optional<Schema.Struct<{ … }>>; llms:
      Schema.optional<Schema.Struct<{ … }>>; favicon:
      Schema.optional<Schema.Struct<{ … }>>; dateSources:
      Schema.optional<Schema.filter<Schema.Array$<Schema.Literal<["frontmatter",
      "git", "filesystem"]>>>> }>>; index: Schema.optional<Schema.Struct<{
      markdown: Schema.optional<typeof Schema.Boolean> }>>; outDir:
      Schema.optional<typeof Schema.String>; plugins:
      Schema.optional<Schema.Array$<typeof Schema.Unknown>> }>
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/config/src/schemas/svartz.ts#L144
---

# VaultOptionsSchema
