The host's query builder opened on a data space source, while its node editor shows it. Its fields are observable: Cube reads edit as the user edits the query.

interface CubeDataSpaceEditorSession {
    edit: undefined | CubeDataSpaceEdit;
    editProblem: undefined | string;
    hasChanges: boolean;
    isLoading: boolean;
    loadError: undefined | string;
    dispose(): void;
    redo(): void;
    undo(): void;
}

Properties

edit: undefined | CubeDataSpaceEdit

The source the query is, once it is one Cube can run

editProblem: undefined | string

Why there is no edit, e.g. no column picked yet, or an aggregate, which is a Cube step after the source

hasChanges: boolean

The query differs from the one the session opened on

isLoading: boolean

The data space's model is still loading

loadError: undefined | string

Why the data space can't be edited, once loading failed

Methods