import 'array-flat-polyfill' ; import * as vscode from 'vscode' ; import { Substrate } from './common/Substrate' ; import Nodes from './nodes/Nodes' ; import Processes from './processes/Processes' ; import { setupAccountsTreeView } from './views/accounts/AccountsProvider' ; import { setupContractsTreeView } from './views/contracts/ContractsProvider' ; import { setUpMarketplaceTreeView } from './views/marketplace/MarketplaceProvider' ; import { setUpNodesTreeView } from './views/nodes/NodesProvider' ; import { setupProcessesTreeView } from './views/processes/ProcessesProvider' ; export async function activate ( context ) { const substrate = new Substrate ( context ) ; const nodes = new Nodes ( ) ; const processes = new Processes ( ) ; const { selectedNode$ } = setUpNodesTreeView ( nodes , processes ) ; setUpMarketplaceTreeView ( nodes , selectedNode$ ) ; const selectedProcess$ = setupProcessesTreeView ( substrate , processes ) ; setupAccountsTreeView ( substrate , context ) ; setupContractsTreeView ( substrate , selectedProcess$ , context ) ; } export function deactivate ( ) { }