Type Alias PolicyAccountAdjustmentResult

PolicyAccountAdjustmentResult:
    | PolicyDecision
    | PolicyReject
    | AccountOutcomeEntry
    | PolicyAccountOutcomeEntry
    | Iterable<
        | AccountOutcomeEntry
        | PolicyAccountOutcomeEntry
        | PolicyReject
        | PolicyMutation>
    | null
    | undefined

The value returned by Policy.applyAccountAdjustment. Accepts any of: a PolicyDecision ({ rejects, mutations }), a single PolicyReject ({ code, ... }), a single AccountOutcomeEntry ({ asset, ... }), an iterable mixing outcome entries, rejects, and mutations, or null/undefined to pass with no contribution.