carddav: honor address-data in addressbook-query

This commit is contained in:
Simon Ser
2020-01-27 10:30:19 +01:00
parent 29cccc7ef9
commit 1f509de404
3 changed files with 55 additions and 39 deletions

View File

@@ -17,8 +17,7 @@ type AddressBook struct {
}
type AddressBookQuery struct {
Props []string
AllProp bool
DataRequest AddressDataRequest
PropFilters []PropFilter
FilterTest FilterTest // defaults to FilterAnyOf
@@ -26,6 +25,11 @@ type AddressBookQuery struct {
Limit int // <= 0 means unlimited
}
type AddressDataRequest struct {
Props []string
AllProp bool
}
type PropFilter struct {
Name string
Test FilterTest // defaults to FilterAnyOf
@@ -68,9 +72,7 @@ const (
type AddressBookMultiGet struct {
Paths []string
Props []string
AllProp bool
DataRequest AddressDataRequest
}
type AddressObject struct {