---
title: ServerOptions
description: 'The plugin''s server options, as written into the server bundle.'
updated_at: '2026-11-19T13:44:02+01:00'
created_at: '2026-11-11T18:21:28+01:00'
symbol:
  kind: type
  name: ServerOptions
  signatures:
    - >-
      type ServerOptions =
      [[reference/api/plugin-submissions/server/Credentials|Credentials]] & {
      readonly repo: string; readonly branch?: string; readonly labels: readonly
      string[]; readonly guard: GuardOptions; readonly mode:
      [[reference/api/plugin-submissions/Mode|Mode]]; readonly sync?:
      SyncOptions; readonly vaultRoot?: string }
  members:
    - name: repo
      kind: property
      signature: 'readonly repo: string'
    - name: branch
      kind: property
      signature: 'readonly branch?: string'
    - name: labels
      kind: property
      signature: 'readonly labels: readonly string[]'
    - name: guard
      kind: property
      signature: 'readonly guard: GuardOptions'
    - name: mode
      kind: property
      signature: 'readonly mode: [[reference/api/plugin-submissions/Mode|Mode]]'
    - name: sync
      kind: property
      signature: 'readonly sync?: SyncOptions'
      description: Mirror GitHub and follow saved edits to live.
    - name: vaultRoot
      kind: property
      signature: 'readonly vaultRoot?: string'
      description: >-
        The vault's folder in the repository when the config names one, for
        other vaults' config checks; the server reads
        [[reference/api/plugin-submissions/server/BuildData|BuildData.vaultRoot]],
        which the build fills in either way.
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-submissions/src/server.ts#L91
---

# ServerOptions
