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

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

No files matched your search

+9 -8
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"`
}