@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Function whenSpace

    • Match space nodes and return the Space payload — saves callers from unwrapping node.data themselves and adds an isSpace runtime guard.

      Parameters

      • node: Readonly

      Returns Option<Space>

      GraphBuilder.createExtension({
      id: 'mySpaceSection',
      match: AppNodeMatcher.whenSpace,
      connector: (space) => Effect.succeed([...]),
      });