---
title: BuildData
description: 'What the build records for the server: never sent to the browser.'
updated_at: '2026-11-19T13:44:02+01:00'
created_at: '2026-11-11T18:21:28+01:00'
symbol:
  kind: interface
  name: BuildData
  signatures:
    - interface BuildData
  members:
    - name: commit
      kind: property
      signature: 'readonly commit: string'
      description: The commit the site was built from.
    - name: pages
      kind: property
      signature: 'readonly pages: Readonly<Record<string, string>>'
      description: >-
        Each editable note's route below the deployment base, mapped to its
        repository-relative path.
    - name: routes
      kind: property
      signature: >-
        readonly routes: Readonly<Record<string,
        [[reference/api/plugin-submissions/server/RouteHolder|RouteHolder]]>>
      description: >-
        Every route a page holds or asks for, of any type and protected or
        hidden ones included, as `core:allocate-routes` derives it, mapped to
        that page. A note asking for one of these would take that page's URL or
        move it.
    - name: aliases
      kind: property
      signature: >-
        readonly aliases: Readonly<Record<string,
        [[reference/api/plugin-submissions/server/RouteHolder|RouteHolder]]>>
      description: >-
        Every route a page's aliases redirect from or ask to, mapped to the page
        that holds the redirect.
    - name: aliasesField
      kind: property
      signature: 'readonly aliasesField: string'
      description: >-
        The frontmatter field the build reads aliases from, besides `alias` and
        `permalink`.
    - name: vaultRoot
      kind: property
      signature: 'readonly vaultRoot: string'
      description: 'The vault''s folder inside the repository, `""` at its root.'
    - name: folders
      kind: property
      signature: 'readonly folders: readonly string[]'
      description: >-
        Vault folders that hold a published note, where new notes may go. `""`
        is the vault's top level.
    - name: links
      kind: property
      signature: >-
        readonly links: readonly
        [[reference/api/plugin-submissions/LinkTarget|LinkTarget]][]
      description: >-
        The published notes the editor suggests after `[[`, and its preview
        links.
    - name: preview
      kind: property
      signature: 'readonly preview: PreviewSettings'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-submissions/src/server.ts#L113
---

# BuildData
