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

    Type Alias CommentScope

    CommentScope: Readonly<
        {
            id: string;
            resolve: (
                data: unknown,
                get: Atom.AtomContext,
            ) => { subject: Obj.Unknown; targets: readonly Obj.Unknown[] } | undefined;
        },
    >

    The comments of graph nodes that cover more than one commentable object (a project and its specs, a level of a spec): the objects whose threads they list, grouped, and the object a comment on the whole node goes on. Every scope that covers a node adds its objects, so each plugin lists the objects it owns.