MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getAllBasicTermModels

Function getAllBasicTermModels

frontend/app/view/term/term-model.ts:1373–1385  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1371}
1372
1373export function getAllBasicTermModels(): TermViewModel[] {
1374 const termModels: TermViewModel[] = [];
1375 const bcms = getAllBlockComponentModels();
1376 for (const bcm of bcms) {
1377 if (bcm?.viewModel?.viewType == "term") {
1378 const tvm = bcm.viewModel as TermViewModel;
1379 if (tvm.isBasicTerm((atom) => globalStore.get(atom))) {
1380 termModels.push(tvm);
1381 }
1382 }
1383 }
1384 return termModels;
1385}

Callers 1

multiInputHandlerMethod · 0.85

Calls 4

isBasicTermMethod · 0.80
getMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected