mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-23 17:31:11 +01:00
- Eliminated the default_version field from the DependencyConfig struct in dependency_config.go to streamline the configuration model. - This change simplifies the dependency management process and aligns with recent updates in the application structure.
15 lines
694 B
Go
15 lines
694 B
Go
package models
|
|
|
|
type DependencyConfig struct {
|
|
any `collection:"dependency_configs"`
|
|
BaseModel[DependencyConfig] `bson:",inline"`
|
|
Key string `json:"key" bson:"key"`
|
|
Name string `json:"name" bson:"name"`
|
|
ExecCmd string `json:"exec_cmd" bson:"exec_cmd"`
|
|
PkgCmd string `json:"pkg_cmd" bson:"pkg_cmd"`
|
|
PkgSrcURL string `json:"pkg_src_url" bson:"pkg_src_url"`
|
|
Setup bool `json:"setup" bson:"-"`
|
|
TotalDependencies int `json:"total_dependencies" bson:"-"`
|
|
SearchReady bool `json:"search_ready" bson:"-"`
|
|
}
|