drupflare/worker - v1.0.4
    Preparing search index...

    Type Alias SpendLine

    one dimension's spend, scored against the meter it draws on

    type SpendLine = {
        allowance: number | null;
        consequence: Consequence;
        failure: FailureMode;
        id: string;
        label: string;
        meter: string;
        meterLabel: string;
        percentOfAllowance: number | null;
        period: MeterPeriod | "level";
        quantity: number | null;
        source: string;
        status: MeterStatus;
        unit: SpendUnit;
    }
    Index
    allowance: number | null

    the allowance for the resolved plan; null when the plan does not meter it

    consequence: Consequence
    failure: FailureMode
    id: string

    stable id, safe to key a UI row on

    label: string
    meter: string

    the meter it draws on; several dimensions share one

    meterLabel: string
    percentOfAllowance: number | null
    period: MeterPeriod | "level"

    level is a stored amount rather than a rate, which no meter period describes

    quantity: number | null

    what this dimension spent, or null when nothing here counts it

    source: string

    where the figure came from, or why there is none

    status: MeterStatus
    unit: SpendUnit