Datalayer VS Code Extension - v0.0.9
    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> = ...

    Event emitter for tree data changes. Fires when the tree needs to be refreshed.

    authService: SDKAuthProvider

    Authentication service for managing user authentication state.

    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[] = []

    Cached array of runtime snapshots. Updated during loadSnapshots and cleared on refresh.

    Methods

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

      Returns Promise<void>