Datalayer VS Code Extension - v0.0.6
    Preparing search index...

    Tree data provider for the Datalayer Snapshots view. Implements VS Code's TreeDataProvider interface to display runtime snapshots.

    const provider = new SnapshotsTreeProvider(authProvider);
    provider.refresh(); // Refresh entire tree

    Implements

    Index

    Constructors

    Properties

    _onDidChangeTreeData: EventEmitter<void | SnapshotTreeItem> = ...
    authService: SDKAuthProvider
    onDidChangeTreeData: Event<void | SnapshotTreeItem> = ...

    An optional event to signal that an element or root has changed. This will trigger the view to update the changed element/root and its children recursively (if shown). To signal that root has changed, do not pass any argument or pass undefined or null.

    snapshotsCache: RuntimeSnapshotDTO[] = []

    Methods

    • Loads snapshots from the SDK. Updates the cache with fresh snapshot data, filtering out deleted snapshots.

      Returns Promise<void>