@svartz/plugin-annotations/server
5 exported symbols.
Interfaces
| i AnnotationsServerOptions | What the server module receives: the options with every default filled in. |
| i ReportedComment | A comment as a report about it shows it to moderators, hidden or not. |
Functions
| f findComment | 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. |
| f findComments | `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
| v default | The `annotations` server module: `server: { module, options }` with `AnnotationsServerOptions`. |