collection URL instead of EntriesJSON vi fnRequest
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank
2019-03-11 18:56:29 +01:00
parent 6c3f985d1f
commit 4041868a9f
7 changed files with 85 additions and 35 deletions

View File

@@ -54,15 +54,16 @@ func cleanUpMapValue(v interface{}) interface{} {
// CollectionConfig describes a collection
type CollectionConfig struct {
Name *string `yaml:"Name"`
EntriesJSON *string `yaml:"EntriesJSON"`
URL *string `yaml:"URL"`
NavTemplate *struct {
GoTo string `yaml:"GoTo"`
Navname string `yaml:"Navname"`
Body string `yaml:"Body"`
DataKey string `yaml:"DataKey"`
Hidden bool `yaml:"Hidden"`
Template string `yaml:"Template"`
Recursive bool `yaml:"Recursive"`
EntriesAttribute string `yaml:"EntriesAttribute"`
GoTo string `yaml:"GoTo"`
Navname string `yaml:"Navname"`
Body string `yaml:"Body"`
DataKey string `yaml:"DataKey"`
Hidden bool `yaml:"Hidden"`
Template string `yaml:"Template"`
Recursive bool `yaml:"Recursive"`
} `yaml:"NavTemplate"`
}