data-cap
    Preparing search index...

    Interface DataCapabilitySnapshot<TFields>

    A strict superset of DataState<TFields> -- every existing DataStore consumer (useSyncExternalStore, etc.) still works unchanged reading .fields/.info off it.

    interface DataCapabilitySnapshot<TFields> {
        fields: TFields;
        info: DataInfo<TFields>;
        operations: OperationsSnapshot;
    }

    Type Parameters

    • TFields

    Hierarchy (View Summary)

    Index
    fields: TFields

    The capability's current field values.

    Execution metadata mirroring fields' shape -- status/error/timestamps, never the values themselves.

    operations: OperationsSnapshot

    Every operation's current execution state -- see OperationsSnapshot.