Documentation
    Preparing search index...

    One check over a scenario's facts.

    interface Check<F> {
        authority: readonly string[];
        domain?: string;
        id: string;
        scope: CheckScope;
        severity: CheckSeverity;
        title: string;
        evaluate(facts: F): CheckOutcome;
    }

    Type Parameters

    • F

    Hierarchy (View Summary)

    Index

    Properties

    authority: readonly string[]

    Ids of the AuthorityRefs the check is argued from.

    domain?: string

    Owning NAP domain, when the check belongs to one.

    id: string

    Stable id consumers filter on, e.g. nip5d/sandbox or theme/correlation.

    scope: CheckScope
    severity: CheckSeverity
    title: string

    Methods