feat: expose bounded workflow activation and signal history

This commit is contained in:
2026-09-18 07:56:18 +08:00
parent ae0d08584a
commit 17a8e0126c
35 changed files with 1756 additions and 59 deletions

View File

@@ -56,6 +56,9 @@ type Result struct {
Deduplicated bool `json:"deduplicated"` // Deduplicated 原身份恢复,不重报新事件或重新计时。
}
type Store interface {
List(context.Context, auth.Token, core.ID, service.HistoryPageInput) (Page, error)
ListOperations(context.Context, auth.Token, core.ID, core.ID, service.HistoryPageInput) (OperationPage, error)
GetOperation(context.Context, auth.Token, core.ID, core.ID, core.ID) (OperationView, error)
Send(context.Context, auth.Token, core.ID, string, Input) (Result, error)
Get(context.Context, auth.Token, core.ID, core.ID) (View, error)
}