()
| 1371 | } |
| 1372 | |
| 1373 | export 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 | } |
no test coverage detected