---
title: '@svartz/plugin-annotations/server'
description: The `@svartz/plugin-annotations/server` entry point.
updated_at: '2026-11-19T21:17:45+01:00'
---

# @svartz/plugin-annotations/server

## Interfaces

- [AnnotationsServerOptions](https://svartz.dev/reference/api/plugin-annotations/server/annotationsserveroptions.md) — What the server module receives: the options with every default filled in.
- [ReportedComment](https://svartz.dev/reference/api/plugin-annotations/server/reportedcomment.md) — A comment as a report about it shows it to moderators, hidden or not.

## Functions

- [findComment](https://svartz.dev/reference/api/plugin-annotations/server/findcomment.md) — Comment `id` of `vault`, hidden or not, from the annotations stored in the D1 binding named `database`: what the moderation plugin shows beside a report about it. `undefined` when there's no such comment, or no such binding.
- [findComments](https://svartz.dev/reference/api/plugin-annotations/server/findcomments.md) — `findComment` for each of `ids` in one query, by id, for a list of reports: ids with no such comment are absent, and so is every id when there's no such binding.

## Variables

- [default](https://svartz.dev/reference/api/plugin-annotations/server/default.md) — The `annotations` server module: `server: { module, options }` with `AnnotationsServerOptions`.

## Re-exports

- [AnnotationsOptions](https://svartz.dev/reference/api/plugin-annotations/annotationsoptions.md)
- [Reaction](https://svartz.dev/reference/api/plugin-annotations/reaction.md)
