mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
feat: enhance DependencyConfig model with additional fields
- Added TotalDependencies and SearchReady fields to the DependencyConfig struct for improved dependency management. - Retained the Setup field for backward compatibility while ensuring proper JSON and BSON handling.
This commit is contained in:
@@ -8,6 +8,8 @@ type DependencyConfig struct {
|
||||
ExecCmd string `json:"exec_cmd" bson:"exec_cmd"`
|
||||
PkgCmd string `json:"pkg_cmd" bson:"pkg_cmd"`
|
||||
Proxy string `json:"proxy" bson:"proxy"`
|
||||
Setup bool `json:"setup" bson:"-"`
|
||||
DefaultVersion string `json:"default_version" bson:"default_version"`
|
||||
Setup bool `json:"setup" bson:"-"`
|
||||
TotalDependencies int `json:"total_dependencies" bson:"-"`
|
||||
SearchReady bool `json:"search_ready" bson:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user