mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 22:10:23 +00:00
wip: refactoring tui
This commit is contained in:
parent
1e063e7937
commit
0c6bda8255
22 changed files with 256 additions and 631 deletions
|
|
@ -995,12 +995,18 @@
|
|||
"App.Info": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"user": {
|
||||
"type": "string"
|
||||
},
|
||||
"git": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"path": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"config": {
|
||||
"type": "string"
|
||||
},
|
||||
"data": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -1012,6 +1018,7 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"config",
|
||||
"data",
|
||||
"root",
|
||||
"cwd"
|
||||
|
|
@ -1027,6 +1034,7 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"user",
|
||||
"git",
|
||||
"path",
|
||||
"time"
|
||||
|
|
|
|||
|
|
@ -28,13 +28,15 @@ const (
|
|||
type AppInfo struct {
|
||||
Git bool `json:"git"`
|
||||
Path struct {
|
||||
Cwd string `json:"cwd"`
|
||||
Data string `json:"data"`
|
||||
Root string `json:"root"`
|
||||
Config string `json:"config"`
|
||||
Cwd string `json:"cwd"`
|
||||
Data string `json:"data"`
|
||||
Root string `json:"root"`
|
||||
} `json:"path"`
|
||||
Time struct {
|
||||
Initialized *float32 `json:"initialized,omitempty"`
|
||||
} `json:"time"`
|
||||
User string `json:"user"`
|
||||
}
|
||||
|
||||
// Event defines model for Event.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue