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

    Function whenNavTreeGroup

    • Match navtree section-group nodes of a specific type and return the Space stored in node.properties.space. Group nodes carry the space in properties (not node.data) so child connectors can access it without an extra graph lookup.

      Parameters

      • groupType: string

      Returns (node: Readonly) => Option<Space>

      GraphBuilder.createExtension({
      id: 'myAiSection',
      match: AppNodeMatcher.whenNavTreeGroup(GraphPath.GroupTypes.ai),
      connector: (space) => Effect.succeed([...]),
      });