mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli): add exp task logs (#19915)
Closes https://github.com/coder/internal/issues/894
This commit is contained in:
+4
-4
@@ -261,10 +261,10 @@ const (
|
||||
//
|
||||
// Experimental: This type is experimental and may change in the future.
|
||||
type TaskLogEntry struct {
|
||||
ID int `json:"id"`
|
||||
Content string `json:"content"`
|
||||
Type TaskLogType `json:"type" enum:"input,output"`
|
||||
Time time.Time `json:"time" format:"date-time"`
|
||||
ID int `json:"id" table:"id"`
|
||||
Content string `json:"content" table:"content"`
|
||||
Type TaskLogType `json:"type" enum:"input,output" table:"type"`
|
||||
Time time.Time `json:"time" format:"date-time" table:"time,default_sort"`
|
||||
}
|
||||
|
||||
// TaskLogsResponse contains the logs for a task.
|
||||
|
||||
Reference in New Issue
Block a user