3 // ProjectType definition
4 type ProjectType string
7 TypePathMap = "PathMap"
8 TypeCloudSync = "CloudSync"
12 // Project Status definition
14 StatusErrorConfig = "ErrorConfig"
15 StatusDisable = "Disable"
16 StatusEnable = "Enable"
18 StatusSyncing = "Syncing"
21 // ProjectConfig is the config for one project
22 type ProjectConfig struct {
24 ServerID string `json:"serverId"`
25 Label string `json:"label"`
26 ClientPath string `json:"clientPath"`
27 ServerPath string `json:"serverPath"`
28 Type ProjectType `json:"type"`
29 Status string `json:"status"`
30 IsInSync bool `json:"isInSync"`
31 DefaultSdk string `json:"defaultSdk"`