docs(judgement,events): state comments plainly
This commit is contained in:
12 files changed
+37
-35
No files matched your search
@@ -172,8 +172,9 @@ type Delivery interface {
|
||||
Notify(ctx context.Context, n deliveries.Notification) error
|
||||
}
|
||||
|
||||
// Action types updates action-type autonomy. Denials reduce autonomy; approvals
|
||||
// count towards an increase that a person must approve separately.
|
||||
// ActionTypes updates the autonomy level of action types. A denial lowers the
|
||||
// level; approvals count towards a proposal to raise it, which a person must
|
||||
// approve separately.
|
||||
type ActionTypes interface {
|
||||
Approved(ctx context.Context, decisionID uuid.UUID, by string, need int, deadline time.Time) (*judgement.AutonomyProposal, error)
|
||||
Denied(ctx context.Context, decisionID uuid.UUID) error
|
||||
|
||||
Reference in new issue
Block a user