# Functions
Allowf returns an formatted wrapped Allow decision.
AlwaysAllowRule returns a rule that returns an allow decision.
AlwaysDenyRule returns a rule that returns a deny decision.
ContextQueryMutationRule creates a query/mutation rule from a context eval func.
DecisionContext creates a new context from the given parent context with a policy decision attach to it.
DecisionFromContext retrieves the policy decision from the context.
Denyf returns an formatted wrapped Deny decision.
DenyMutationOperationRule returns a rule denying specified mutation operation.
OnMutationOperation evaluates the given rule only on a given mutation operation.
Skipf returns an formatted wrapped Skip decision.
# Variables
Allow may be returned by rules to indicate that the policy evaluation should terminate with an allow decision.
Deny may be returned by rules to indicate that the policy evaluation should terminate with an deny decision.
Skip may be returned by rules to indicate that the policy evaluation should continue to the next rule.
# Interfaces
No description provided by the author
QueryMutationRule is an interface which groups query and mutation rules.
# Type aliases
The CurrencyMutationRuleFunc type is an adapter to allow the use of ordinary functions as a mutation rule.
The CurrencyQueryRuleFunc type is an adapter to allow the use of ordinary functions as a query rule.
No description provided by the author
No description provided by the author
No description provided by the author
MutationRuleFunc type is an adapter which allows the use of ordinary functions as mutation rules.
No description provided by the author
No description provided by the author
QueryRuleFunc type is an adapter to allow the use of ordinary functions as query rules.
The RewardMutationRuleFunc type is an adapter to allow the use of ordinary functions as a mutation rule.
The RewardQueryRuleFunc type is an adapter to allow the use of ordinary functions as a query rule.