---
title: AttachOptions
updated_at: '2026-11-19T21:19:47+01:00'
created_at: '2026-11-11T18:31:18+01:00'
symbol:
  kind: interface
  name: AttachOptions
  signatures:
    - interface AttachOptions
  members:
    - name: endpoint
      kind: property
      signature: 'readonly endpoint: string'
      description: 'The annotations routes'' base path, such as `/notes/_svartz/annotations`.'
    - name: page
      kind: property
      signature: 'readonly page: string'
      description: 'The note''s path in its vault, the key its annotations are stored under.'
    - name: report
      kind: property
      signature: 'readonly report?: boolean'
      description: >-
        Offer **Report** on other people's comments, for
        `@svartz/plugin-moderation`'s script to open its dialog: each is a
        button marked `data-svartz-report="annotation:<id>"`. The plugin sets it
        when the vault has moderation.
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-annotations/src/browser.ts#L25
description: ''
---

# AttachOptions
