activity: add counter for total, loaded and shown

total: number of activities in the DB
loaded: How many the web UI has loaded
shown: How many are shown (differs when in a search).
This commit is contained in:
Harvey Tindall
2023-10-23 11:34:04 +01:00
parent 591b843148
commit 663389693f
6 changed files with 76 additions and 3 deletions
+4
View File
@@ -455,3 +455,7 @@ type GetActivitiesRespDTO struct {
Activities []ActivityDTO `json:"activities"`
LastPage bool `json:"last_page"`
}
type GetActivityCountDTO struct {
Count uint64 `json:"count"`
}