chore(dashboard): Add limit range to items v1 API

Signed-off-by: jld3103 <jld3103yt@gmail.com>
This commit is contained in:
jld3103 2023-12-06 14:52:13 +01:00
parent e1ecf798d9
commit 310832ade9
No known key found for this signature in database
GPG key ID: 9062417B9E8EB7B3

View file

@ -101,6 +101,7 @@ class DashboardApiController extends OCSController {
*
* @param array<string, string> $sinceIds Array indexed by widget Ids, contains date/id from which we want the new items
* @param int $limit Limit number of result items per widget
* @psalm-param int<1, 30> $limit
* @param string[] $widgets Limit results to specific widgets
* @return DataResponse<Http::STATUS_OK, array<string, DashboardWidgetItem[]>, array{}>
*