Package ordinary PresentationMount contracts and typed React hosting

This commit is contained in:
Timothy J. Aveni
2026-09-25 12:26:34 -07:00
parent e7778b3518
commit c482a99aca
4 changed files with 19 additions and 6 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ function componentDeclarations(workspace: WorkspaceRevision, pkg: WorkspaceRevis
...(pkg.modules ?? []).flatMap((module) => {
const contract = moduleContract(workspace.interfaceImports, module)!;
if (
!["org.quixos.react.component/1", "org.quixos.react.subject-only/1"].includes(contract.contract) ||
!["org.quixos.react.component/1", "org.quixos.react.component/2", "org.quixos.react.subject-only/1"].includes(contract.contract) ||
contract.subject?.kind !== "interface"
)
return [];