fix(arch): allow server→supplementimpact and tighten HTTP batch ExpiresAt
This commit is contained in:
@@ -259,6 +259,7 @@ imports:
|
||||
- workflowdef
|
||||
- workflowscope
|
||||
- workspace
|
||||
- supplementimpact
|
||||
squad:
|
||||
- agent
|
||||
- config
|
||||
|
||||
@@ -3,6 +3,7 @@ package supplementimpact
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
// HTTPBatchView is the JSON shape expected by server supplement-impact handlers.
|
||||
@@ -18,7 +19,7 @@ type HTTPBatchView struct {
|
||||
DecisionNonce string `json:"decision_nonce"`
|
||||
DecisionDigest string `json:"decision_digest,omitempty"`
|
||||
Revision int64 `json:"revision"`
|
||||
ExpiresAt interface{} `json:"expires_at"`
|
||||
ExpiresAt time.Time `json:"expires_at"`
|
||||
Items []HTTPItemView `json:"items,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user