---
title: AnnotationsOptions
description: The `annotations` plugin's options.
updated_at: '2026-11-19T21:17:45+01:00'
created_at: '2026-11-11T18:31:18+01:00'
symbol:
  kind: interface
  name: AnnotationsOptions
  signatures:
    - interface AnnotationsOptions
  members:
    - name: database
      kind: property
      signature: 'readonly database: [[reference/api/core/EnvReference|EnvReference]]'
      description: 'The D1 binding annotations are stored in, such as `{ env: "DB" }`.'
    - name: reactions
      kind: property
      signature: >-
        readonly reactions?: readonly
        [[reference/api/plugin-annotations/Reaction|Reaction]][]
      description: 'The site''s drawn reactions, in the order readers are offered them.'
    - name: moderators
      kind: property
      signature: 'readonly moderators?: readonly string[]'
      description: 'Identity ids, such as `"github:583231"`, that may delete any annotation.'
      deprecated: >-
        On a site with accounts, each becomes a grant of
        `annotations:comments:delete` on the vault once its owner has an
        account, and the grant decides from then on. Grant the permission
        instead.
    - name: limits
      kind: property
      signature: 'readonly limits?: { … }'
    - name: limits.writesPerHour
      kind: property
      signature: 'readonly writesPerHour?: number'
      description: >-
        Write attempts (comments, +1s and deletes) each signed-in reader may
        make per clock hour. Default 30.
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-annotations/src/server.ts#L48
---

# AnnotationsOptions
