mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 10:59:16 +01:00
refactor: ♻️ Add URI Collections and change all appropriate Collections to use them
This commit is contained in:
parent
3babd7a5a3
commit
b59b6b8ebb
8 changed files with 71 additions and 12 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue