Files
opencloud/pkg/proto/v0/bleve.go
T
Jörn Friedrich Dreyer 523f704034 document bleve type
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00

14 lines
394 B
Go

package proto
// BleveAccount wraps the generated Account and adds a bleve type that is used to distinguish documents in the index
type BleveAccount struct {
Account
BleveType string `json:"bleve_type"`
}
// BleveGroup wraps the generated Group and adds a bleve type that is used to distinguish documents in the index
type BleveGroup struct {
Group
BleveType string `json:"bleve_type"`
}