feat: add phase 3 readonly models
This commit is contained in:
16
internal/projects/model.go
Normal file
16
internal/projects/model.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package projects
|
||||
|
||||
type Project struct {
|
||||
Path string `json:"path"`
|
||||
DisplayName string `json:"displayName"`
|
||||
TrustLevel string `json:"trustLevel"`
|
||||
DirectoryExists bool `json:"directoryExists"`
|
||||
Source SourceEvidence `json:"source"`
|
||||
}
|
||||
|
||||
type SourceEvidence struct {
|
||||
Kind string `json:"kind"`
|
||||
Path string `json:"path,omitempty"`
|
||||
Confidence string `json:"confidence"`
|
||||
Message string `json:"message,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user