1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

refined category permission checks

This commit is contained in:
Harvey Kandola 2017-09-21 18:59:43 +01:00
parent 4d989e2497
commit 3a9675eb14
11 changed files with 149 additions and 22 deletions

View file

@ -29,3 +29,10 @@ type Member struct {
LabelID string `json:"folderId"`
DocumentID string `json:"documentId"`
}
// SummaryModel holds number of documents and users for space categories.
type SummaryModel struct {
Type string `json:"type"` // documents or users
CategoryID string `json:"categoryId"`
Count int64 `json:"count"`
}