Enode — API Reference
    Preparing search index...

    One data dependency a view needs, plus whether it's actually satisfied.

    interface DataRequirement {
        label?: string;
        satisfied?: boolean;
        state: StoreState;
    }
    Index

    Properties

    label?: string

    Human label for the default error copy / diagnostics, e.g. "metric categories".

    satisfied?: boolean

    Whether the ESSENTIAL data for this requirement is present — your expected-count / required-keys predicate. Defaults to state.hasData when omitted (the store's own notion of "has usable data").

    state: StoreState

    The dependency's load state (from useStoreState(controller)).