Strata - v1.4.10
    Preparing search index...

    Interface DebugStore

    Interface for a managed debug store.

    interface DebugStore {
        getData: () => Record<string, unknown>;
        getValueAtPath: (path: string) => unknown;
        setValueAtPath: (path: string, value: unknown, fromPanel: boolean) => void;
        useStore: <T>(path: string) => T;
    }
    Index

    Properties

    getData: () => Record<string, unknown>

    Get all current data in the store.

    getValueAtPath: (path: string) => unknown

    Retrieve a specific value from the store.

    setValueAtPath: (path: string, value: unknown, fromPanel: boolean) => void

    Update a specific value in the store.

    useStore: <T>(path: string) => T

    Hook for subscribing to a specific store path.