feat: rename repository files to include Repository suffix (#22716)

* feat: rename repository files to include Repository suffix

- Rename apiKey.ts to apiKeyRepository.ts
- Rename assignmentReason.ts to assignmentReasonRepository.ts
- Update all import statements to use new file names

Co-Authored-By: [email protected] <[email protected]>

* feat: rename repository files to PrismaRepository with Prisma prefix

- Rename apiKeyRepository.ts to PrismaApiKeyRepository.ts
- Rename assignmentReasonRepository.ts to PrismaAssignmentReasonRepository.ts
- Update class names to PrismaApiKeyRepository and PrismaAssignmentReasonRepository
- Update all import statements and usages across 3 files

Co-Authored-By: [email protected] <[email protected]>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Eunjae LeeandDevin AI authored and GitHub committed 2025-07-30 13:17:18 +02:00
1 parent 4cb7e4a91a
commit 84bc330fa8
5 files changed
+8 -8

No files matched your search

@@ -1,4 +1,4 @@
import { ApiKeyRepository } from "@calcom/lib/server/repository/apiKey";
import { PrismaApiKeyRepository } from "@calcom/lib/server/repository/PrismaApiKeyRepository";
import type { TrpcSessionUser } from "../../../types";
@@ -9,5 +9,5 @@ type ListOptions = {
};
export const listHandler = async ({ ctx }: ListOptions) => {
return ApiKeyRepository.findApiKeysFromUserId({ userId: ctx.user.id });
return PrismaApiKeyRepository.findApiKeysFromUserId({ userId: ctx.user.id });
};