fix: 🚚 Rename prev to previous

This commit is contained in:
Jesse Wierzbinski 2024-08-23 08:52:03 +02:00
parent 591adb7359
commit e75eb6d2f5
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View file

@ -34,4 +34,5 @@ This page lists changes since Working Draft 03. {{ className: 'lead' }}
- Remove Server Actors, and move instance public keys to [InstanceMetadata](/entities/instance-metadata).
- Add `algorithm` to [Users](/entities/user) and [InstanceMetadata](/entities/instance-metadata)'s public keys for future use (only `ed25519` is allowed for now).
- Renamed the second `public_key` to `key`.
- Renamed `Announce` to [Share](/extensions/share).
- Renamed `Announce` to [Share](/extensions/share).
- Renamed `prev` to `previous` in [Collections](/structures/collection).

View file

@ -37,7 +37,7 @@ Pages should be limited to a reasonable number of entities, such as 20 or 80.
If there is no next page, this should be `null`.
</Property>
<Property name="prev" type="URI" required={false} typeLink="/types#uri">
<Property name="previous" type="URI" required={false} typeLink="/types#uri">
URI to the previous page of the collection. Query parameters are allowed.
@ -58,7 +58,7 @@ Pages should be limited to a reasonable number of entities, such as 20 or 80.
"last": "https://versia.social/users/018ec082-0ae1-761c-b2c5-22275a611771/outbox?page=3",
"total": 46,
"next": "https://versia.social/users/018ec082-0ae1-761c-b2c5-22275a611771/outbox?page=2",
"prev": null,
"previous": null,
"items": [
{
"id": "456df8ed-daf1-4062-abab-491071c7b8dd",