This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package work
|
||||
|
||||
// Package work contains stable boundary contract types for the work semantic owner.
|
||||
@@ -0,0 +1,19 @@
|
||||
package work
|
||||
|
||||
import (
|
||||
"git.cin.su/m/Assistant/contracts/authority"
|
||||
"git.cin.su/m/Assistant/platform/ids"
|
||||
)
|
||||
|
||||
type GoalID ids.ID
|
||||
type TaskID ids.ID
|
||||
type DecisionID ids.ID
|
||||
type TaskRevision uint64
|
||||
|
||||
// TaskTarget carries the integrity context that a work-owned mutation must match.
|
||||
type TaskTarget struct {
|
||||
TaskID TaskID
|
||||
GoalID GoalID
|
||||
ScopeID authority.ScopeID
|
||||
Revision TaskRevision
|
||||
}
|
||||
Reference in New Issue
Block a user