Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update library shelf category to display total number of items #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions source/includes/_libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ curl "https://abs.example.com/api/libraries/lib_c1u6t4p45c35rf0nzd/personalized"
"progressLastUpdate": 1650621110769
}
],
"category": "recentlyListened"
"total": 1
},
{
"id": "continue-series",
Expand Down Expand Up @@ -1331,7 +1331,7 @@ curl "https://abs.example.com/api/libraries/lib_c1u6t4p45c35rf0nzd/personalized"
"prevBookInProgressLastUpdate": 1650621110769
}
],
"category": "continueSeries"
"total": 1
},
{
"id": "recently-added",
Expand Down Expand Up @@ -1388,7 +1388,7 @@ curl "https://abs.example.com/api/libraries/lib_c1u6t4p45c35rf0nzd/personalized"
"size": 96335771
}
],
"category": "newestItems"
"total": 1
},
{
"id": "recent-series",
Expand Down Expand Up @@ -1460,7 +1460,7 @@ curl "https://abs.example.com/api/libraries/lib_c1u6t4p45c35rf0nzd/personalized"
"firstBookUnread": null
}
],
"category": "newestSeries"
"total": 1
},
{
"id": "recommended",
Expand Down Expand Up @@ -1518,7 +1518,7 @@ curl "https://abs.example.com/api/libraries/lib_c1u6t4p45c35rf0nzd/personalized"
"weight": 0.9215686274509803
}
],
"category": "recommended"
"total": 1
},
{
"id": "listen-again",
Expand Down Expand Up @@ -1576,7 +1576,7 @@ curl "https://abs.example.com/api/libraries/lib_c1u6t4p45c35rf0nzd/personalized"
"finishedAt": 1650621110769
}
],
"category": "recentlyFinished"
"total": 1
},
{
"id": "newest-authors",
Expand All @@ -1595,7 +1595,7 @@ curl "https://abs.example.com/api/libraries/lib_c1u6t4p45c35rf0nzd/personalized"
"numBooks": 1
}
],
"category": "newestAuthors"
"total": 1
}
]
```
Expand Down Expand Up @@ -1635,7 +1635,7 @@ Attribute | Type | Description
`labelStringKey` | String | The label string key of the shelf, for internationalization purposes.
`type` | String | The type of items the shelf represents. Can be `book`, `series`, `authors`, `episode`, or `podcast`.
`entities` | Array | The entities to be displayed on the shelf. [See below](#shelf-entities).
`category` | String | The category of the shelf.
`total` | Integer | The total number of items in the shelf.

#### Shelf Entities

Expand Down