Access lists basics

This commit is contained in:
Jamie Curnow committed 2023-01-13 15:03:28 +10:00
1 parent a239be993c
commit 6c76c041c4
17 files changed
+732 -2

No files matched your search

@@ -0,0 +1,15 @@
package accesslist
import (
"npm/internal/model"
)
// ListResponse is the JSON response for the list
type ListResponse struct {
Total int `json:"total"`
Offset int `json:"offset"`
Limit int `json:"limit"`
Sort []model.Sort `json:"sort"`
Filter []model.Filter `json:"filter,omitempty"`
Items []Model `json:"items,omitempty"`
}