feat: publish sanitized custom.97 source
This commit is contained in:
1022 files changed
+69903
-19207
No files matched your search
+10
-8
@@ -9,15 +9,17 @@ type TaskPluginError struct {
|
||||
|
||||
// TaskView is the only persisted-task shape exposed to JavaScript plugins.
|
||||
// It deliberately excludes ownership, channel, quota, properties, and private
|
||||
// upstream identifiers.
|
||||
// upstream identifiers. Fields are sorted by JSON name so the encoded view
|
||||
// orders its keys as an encoded map does; hooks receive it parsed from that
|
||||
// text.
|
||||
type TaskView struct {
|
||||
TaskID string `json:"task_id"`
|
||||
Platform string `json:"platform"`
|
||||
Status string `json:"status"`
|
||||
Progress string `json:"progress"`
|
||||
FailReason string `json:"fail_reason"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
UpdatedAt int64 `json:"updated_at,omitempty"`
|
||||
FinishedAt int64 `json:"finished_at,omitempty"`
|
||||
Data any `json:"data,omitempty"`
|
||||
FailReason string `json:"fail_reason"`
|
||||
FinishedAt int64 `json:"finished_at,omitempty"`
|
||||
Platform string `json:"platform"`
|
||||
Progress string `json:"progress"`
|
||||
Status string `json:"status"`
|
||||
TaskID string `json:"task_id"`
|
||||
UpdatedAt int64 `json:"updated_at,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user