---
title: RouteClaims
description: >-
  The routes the last build allocated, which a note's frontmatter can claim:
  JSON, for server data.
updated_at: '2026-11-19T13:39:54+01:00'
created_at: '2026-11-19T13:39:54+01:00'
symbol:
  kind: type
  name: RouteClaims
  signatures:
    - >-
      type RouteClaims =
      Pick<[[reference/api/plugin-submissions/server/BuildData|BuildData]],
      "routes" | "aliases" | "aliasesField">
  members:
    - name: routes
      kind: property
      signature: >-
        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: aliasesField
      kind: property
      signature: 'aliasesField: string'
      description: >-
        The frontmatter field the build reads aliases from, besides `alias` and
        `permalink`.
    - name: aliases
      kind: property
      signature: >-
        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.
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-submissions/src/claims.ts#L9
---

# RouteClaims
