refactor: ♻️ Add URI Collections and change all appropriate Collections to use them

This commit is contained in:
Jesse Wierzbinski 2024-11-03 12:19:21 +01:00
parent 3babd7a5a3
commit b59b6b8ebb
No known key found for this signature in database
8 changed files with 71 additions and 12 deletions

View file

@ -92,8 +92,8 @@ To undo a like or dislike, a [Delete](/entities/delete) entity should be used. T
The Likes extension adds the following collections to the [User](/entities/user) entity:
- `likes`: A [Collection](/structures/collection) of all the notes the user has liked.
- `dislikes`: A [Collection](/structures/collection) of all the notes the user has disliked.
- `likes`: A [URI Collection](/structures/collection#uri-collection) of all the notes the user has liked.
- `dislikes`: A [URI Collection](/structures/collection#uri-collection) of all the notes the user has disliked.
```jsonc
{