-
Notifications
You must be signed in to change notification settings - Fork 8
update schema definition #200
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
142057f to
f21aa07
Compare
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 updates the schema definition by migrating type definitions from the Entity module to a new standalone Type module. Key changes include:
- Switching from Entity.Text, Entity.Number, etc. to Type.Text, Type.Number, etc. across tests and application files.
- Introducing a new file (packages/hypergraph/src/type/type.ts) for type definitions.
- Updating exports in packages/hypergraph/src/index.ts and cleaning up duplicate type definitions from the Entity module.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/hypergraph/test/entity/findMany.test.ts | Updated entity definitions to use Type module types. |
| packages/hypergraph/test/entity/entity.test.ts | Updated entity definitions to use Type module types. |
| packages/hypergraph/src/type/type.ts | New file defining type schemas. |
| packages/hypergraph/src/index.ts | Added export for Type and adjusted Inboxes export order. |
| packages/hypergraph/src/entity/entity.ts | Removed duplicate type definitions, now using Type module types. |
| packages/hypergraph-react/test/HypergraphSpaceContext.test.tsx | Updated import to include Type module types. |
| apps/events/src/schema.ts | Updated schema definitions to use Type module types. |
f21aa07 to
3e47197
Compare
3e47197 to
baecc6c
Compare
baecc6c to
1ac063e
Compare
from:
to