-
Notifications
You must be signed in to change notification settings - Fork 10.2k
refactor: rename OrganizationRepository to PrismaOrganizationRepository #22918
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
base: main
Are you sure you want to change the base?
Conversation
- Rename file from organization.ts to PrismaOrganizationRepository.ts - Rename OrganizationRepository class to PrismaOrganizationRepository - Rename OrganizationRepositoryFixture to PrismaOrganizationRepositoryFixture - Update all import references throughout the codebase - Fix ESLint errors by removing unused variables and imports - Fix TypeScript any type usage in test files Co-Authored-By: eunjae@cal.com <hey@eunjae.dev>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
… credential tests Co-Authored-By: eunjae@cal.com <hey@eunjae.dev>
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
E2E results are ready! |
refactor: rename OrganizationRepository to PrismaOrganizationRepository
Summary
This PR renames the
OrganizationRepository
class toPrismaOrganizationRepository
to follow the established naming convention for Prisma-backed repositories in the codebase. The changes include:packages/lib/server/repository/organization.ts
→PrismaOrganizationRepository.ts
OrganizationRepository
→PrismaOrganizationRepository
OrganizationRepositoryFixture
→PrismaOrganizationRepositoryFixture
any
usageReview & Testing Checklist for Human
OrganizationRepositoryFixture
→PrismaOrganizationRepositoryFixture
renameDiagram
Notes