Skip to content

Conversation

@nikgraf
Copy link
Collaborator

@nikgraf nikgraf commented Jan 18, 2026

No description provided.

…rned by `Space.findManyPublic()` and `usePublicSpaces()
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds editorIds and memberIds arrays to the PublicSpace type, allowing consumers to access the list of editor and member space IDs for public spaces.

Changes:

  • Extended GraphQL queries to fetch editorsList and membersList with their memberSpaceId fields
  • Added editorIds and memberIds as required array fields to the PublicSpaceSchema
  • Implemented helper functions to extract and filter the IDs from query results
  • Updated all existing tests and added a new test case to verify the parsing of editor and member IDs

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/hypergraph/src/space/find-many-public.ts Added GraphQL fields, schema properties, type definitions, and helper functions to support editorIds and memberIds
packages/hypergraph/test/space/find-many-public.test.ts Updated test helper and existing test expectations, added new test case for parsing editorIds and memberIds
.changeset/add-editor-member-ids.md Documented the feature addition as a minor version bump

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nikgraf nikgraf merged commit 5504bd4 into main Jan 18, 2026
12 checks passed
@nikgraf nikgraf deleted the add-memberIds-and-editorIds branch January 18, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants