Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertDataSources ¶
ConvertDataSources parses a FoundryVTT module.json or system.json file and converts all the specified packs to S&D data sources and entries.
Types ¶
type Module ¶
type Module struct { Name string `json:"name"` Title string `json:"title"` Description string `json:"description"` Version string `json:"version"` Systems []string `json:"systems"` Author interface{} `json:"author"` Scripts []interface{} `json:"scripts"` Esmodules []interface{} `json:"esmodules"` Styles []interface{} `json:"styles"` Packs []struct { Name string `json:"name"` Label string `json:"label"` Package string `json:"package"` Path string `json:"path"` Entity string `json:"entity"` } `json:"packs"` MinimumCoreVersion string `json:"minimumCoreVersion"` CompatibleCoreVersion string `json:"compatibleCoreVersion"` URL string `json:"url"` Manifest string `json:"manifest"` Download string `json:"download"` }
Click to show internal directories.
Click to hide internal directories.