Füge Modelle für Flows, FlowRuns, TaskRuns, WorkPools, WorkQueues, Deployments, Variablen, FlowRunStates, Logs, und Blocks samt zugehöriger Unmarshal-Logik und Zeitfeld-Unterstützung hinzu; ergänze Tests für die FlowRunStates-Service-Methoden.

This commit is contained in:
Gregor Schulte
2026-03-27 14:02:32 +01:00
parent 3aff707116
commit 57531a7d95
36 changed files with 3165 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package models
import "time"
// TaskWorkerFilter represents filter criteria for querying task workers.
type TaskWorkerFilter struct {
TaskKeys []string `json:"task_keys"`
}
// TaskWorkerResponse represents a task worker response.
type TaskWorkerResponse struct {
Identifier string `json:"identifier"`
TaskKeys []string `json:"task_keys"`
Timestamp time.Time `json:"timestamp"`
}