-
Notifications
You must be signed in to change notification settings - Fork 10
Nik/spaces #582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nik/spaces #582
Conversation
There was a problem hiding this 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 support for distinguishing between PERSONAL and DAO space types in the hypergraph package. It introduces a type field to the PublicSpace schema and adds filtering capability by space type.
Changes:
- Added
typefield (either 'PERSONAL' or 'DAO') toPublicSpaceschema and query results - Refactored query construction from three static parameterized queries to dynamic query building based on filters
- Added
spaceTypefilter option toFindManyPublicFilterallowing filtering by space type, optionally combined with existing member/editor filters
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.changeset/add-space-type.md |
Documents the new type field and spaceType filter in the changeset |
.claude/settings.local.json |
Adds additional allowed bash commands for development tooling |
packages/hypergraph/src/space/find-many-public.ts |
Adds type field to schema, implements dynamic query building with spaceType filter support |
packages/hypergraph/test/space/find-many-public.test.ts |
Updates tests to include type field and adds test case for DAO type parsing |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.