light modification

This commit is contained in:
mr
2025-01-21 11:55:44 +01:00
parent bc12fb53be
commit bf5a16f41b
4 changed files with 19 additions and 9 deletions

View File

@@ -41,6 +41,7 @@ type Accessor interface {
GetGroups() []string
GetLogger() *zerolog.Logger
GetCaller() *tools.HTTPCaller
ShouldVerifyAuth() bool
Search(filters *dbs.Filters, search string, isDraft bool) ([]ShallowDBObject, int, error)
LoadAll(isDraft bool) ([]ShallowDBObject, int, error)
LoadOne(id string) (DBObject, int, error)