Match space nodes and return the Space payload — saves callers from unwrapping node.data themselves and adds an isSpace runtime guard.
node.data
isSpace
GraphBuilder.createExtension({ id: 'mySpaceSection', match: AppNodeMatcher.whenSpace, connector: (space) => Effect.succeed([...]),}); Copy
GraphBuilder.createExtension({ id: 'mySpaceSection', match: AppNodeMatcher.whenSpace, connector: (space) => Effect.succeed([...]),});
Match space nodes and return the Space payload — saves callers from unwrapping
node.datathemselves and adds anisSpaceruntime guard.