---
title: ServerRoute
description: One active server plugin in a generated registry.
updated_at: '2026-11-19T06:37:33+01:00'
created_at: '2026-11-11T09:53:08+01:00'
symbol:
  kind: interface
  name: ServerRoute
  signatures:
    - interface ServerRoute
  members:
    - name: id
      kind: property
      signature: 'readonly id: string'
    - name: load
      kind: method
      signature: 'readonly load(): Promise<unknown>'
    - name: options
      kind: property
      signature: 'readonly options?: unknown'
    - name: data
      kind: property
      signature: 'readonly data?: unknown'
      description: >-
        What the plugin's hooks recorded for its server module during this
        build.
    - name: eager
      kind: property
      signature: 'readonly eager?: boolean'
      description: >-
        The spec's `eager`: its factory runs before the handle answers its first
        request.
    - name: pages
      kind: property
      signature: 'readonly pages?: readonly string[]'
      description: 'The spec''s `pages`: the names below `/-/` this plugin renders.'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/core/src/plugin/server.ts#L160
---

# ServerRoute
