-
-
Notifications
You must be signed in to change notification settings - Fork 17
chore: regenerate ts schemas #583
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
|
Claude finished @ymc9's task —— View job Pull Request ReviewI've completed a thorough review of the schema regeneration changes across all 10 files. Todo List:
Review SummaryThis PR contains a clean schema regeneration from ZModel schemas to TypeScript. The changes are machine-generated and follow expected patterns. Code Quality ✅Positive aspects:
Main Changes Identified:
Potential Issues & RecommendationsCode Quality Issues: None Found ✅
Potential Bugs: None Found ✅
Security Considerations: Safe ✅
Performance Implications: Positive ✅
Test Coverage AssessmentStrengths:
Areas that may need attention:
Recommendations
ConclusionThis is an excellent schema regeneration that:
Recommendation: ✅ APPROVE |
📝 WalkthroughWalkthroughThis change adds ExistsArgs type support across the codebase, restructures schema definitions from verbose to inline representations, consolidates type imports, and removes certain aggregate utilities. The updates span generated input files and sample schema definitions with no runtime behavior changes. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (10)
🧰 Additional context used📓 Path-based instructions (1)tests/e2e/**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (8)📓 Common learnings📚 Learning: 2025-11-26T01:55:04.540ZApplied to files:
📚 Learning: 2025-11-26T01:55:04.540ZApplied to files:
📚 Learning: 2025-11-26T01:55:04.540ZApplied to files:
📚 Learning: 2025-11-26T01:55:04.540ZApplied to files:
📚 Learning: 2025-11-26T01:55:04.540ZApplied to files:
📚 Learning: 2025-10-21T16:09:31.218ZApplied to files:
📚 Learning: 2025-12-30T15:07:10.092ZApplied to files:
🧬 Code graph analysis (9)tests/e2e/orm/schemas/auth-type/input.ts (1)
tests/e2e/orm/schemas/basic/input.ts (3)
tests/e2e/orm/schemas/default-auth/input.ts (9)
samples/sveltekit/src/zenstack/schema-lite.ts (1)
samples/sveltekit/src/zenstack/schema.ts (1)
tests/e2e/apps/rally/zenstack/input.ts (15)
tests/e2e/github-repos/cal.com/input.ts (7)
samples/sveltekit/src/zenstack/input.ts (4)
tests/e2e/github-repos/trigger.dev/input.ts (4)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (11)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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 regenerates TypeScript schema files to add support for the ExistsArgs type across all models. The changes are automated and consistent.
Key Changes:
- Added
ExistsArgsimport from@zenstackhq/ormpackage - Added
<Model>ExistsArgstype export for each model entity - Reformatted schema files with consistent indentation and structure
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/e2e/orm/schemas/default-auth/input.ts | Added ExistsArgs import and UserExistsArgs, ProfileExistsArgs, AddressExistsArgs type exports |
| tests/e2e/orm/schemas/basic/input.ts | Added ExistsArgs import and UserExistsArgs, PostExistsArgs, CommentExistsArgs, ProfileExistsArgs type exports |
| tests/e2e/orm/schemas/auth-type/input.ts | Added ExistsArgs import and FooExistsArgs type export |
| tests/e2e/github-repos/trigger.dev/input.ts | Added ExistsArgs import and ExistsArgs type exports for all 48 model entities |
| tests/e2e/github-repos/formbricks/input.ts | Added ExistsArgs import and ExistsArgs type exports for all 37 model entities |
| tests/e2e/github-repos/cal.com/input.ts | Added ExistsArgs import and ExistsArgs type exports for all 91 model entities |
| tests/e2e/apps/rally/zenstack/input.ts | Added ExistsArgs import and ExistsArgs type exports for all 25 model entities |
| samples/sveltekit/src/zenstack/schema.ts | Reformatted with consistent indentation (no functional changes) |
| samples/sveltekit/src/zenstack/schema-lite.ts | Reformatted with consistent indentation (no functional changes) |
| samples/sveltekit/src/zenstack/input.ts | Added ExistsArgs import, UserExistsArgs and PostExistsArgs type exports, consolidated multi-line imports to single lines |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary by CodeRabbit
New Features
ExistsArgstype support across all entities for existence queries, enabling more precise query capabilities.listPublicPostsprocedure for retrieving public posts.Refactor
✏️ Tip: You can customize this high-level summary in your review settings.