refactor: ♻️ Move Groups to an extension

This commit is contained in:
Jesse Wierzbinski 2024-12-11 12:27:08 +01:00
parent 46297d538c
commit fe451d018c
No known key found for this signature in database
6 changed files with 38 additions and 14 deletions

View file

@ -73,11 +73,15 @@ Notes represent a piece of content on a Versia instance. They can be posted by [
```
</Property>
<Property name="group" type="URI | &quot;public&quot; | &quot;followers&quot;" required={false} typeLink="/types#uri">
URI of a [Group](/entities/group) that the note is only visible in, or one of the following strings:
URI of a [Group](/extensions/groups) that the note is only visible in, or one of the following strings:
- `public`: The note is visible to anyone.
- `followers`: The note is visible only to the author's followers.
If not provided, the note is only visible to the author and those mentioned in the note.
If not provided, the note is only visible to the author and those mentioned in the note. If missing, the note is only visible to any mentioned users.
<Note>
If the implementation does not support the [Groups Extension](/extensions/groups), any value other than `public` or `followers` should be treated as `null`.
</Note>
</Property>
<Property name="is_sensitive" type="boolean" required={false}>
Whether the note contains "sensitive content". This can be used with `subject` as a "content warning" feature.