
Eunjae LeeandDevin AI
dbbf3ae2a2
fix: extract Prisma.sql queries for $queryRaw calls with Prisma.sql parameters (Prisma v6 upgrade) (#23779)
* fix: extract Prisma.sql queries for calls with Prisma.sql parameters
- Extract SQL queries to separate Prisma.sql variables before passing to
- Fix PrismaPhoneNumberRepository.ts findManyWithUserAccess and findPhoneNumbersFromUserId methods
- Fix PrismaAgentRepository.ts multiple methods with whereCondition parameters
- Fix PermissionRepository.ts checkRolePermissions and getTeamIdsWithPermissions methods
- Fix virtual-queues.ts getUserRelevantTeamRoutingForms method
- Fix tasker/repository.ts hasNewerScanTaskForStepId method
- Add missing Prisma imports where needed
- Fix lint warnings: replace any with JsonValue and use explicit select for permissions
- Skip primitive parameter cases as instructed
- Compatible with Prisma v6 requirements
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev>
* revert unnecessary changes
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-09-11 23:18:12 +01:00
..
2025-09-11 15:27:50 +01:00
2025-09-04 06:03:23 +00:00
2025-08-06 00:29:55 +01:00
2025-07-01 07:01:32 +00:00
2025-03-03 15:53:28 -03:00
2025-09-09 14:38:29 +00:00
2025-09-09 08:13:15 +00:00
2025-09-11 15:27:50 +01:00
2025-09-11 15:27:50 +01:00
2025-05-05 17:21:15 -07:00
2025-09-11 23:18:12 +01:00
2025-09-11 15:27:50 +01:00
2025-09-11 15:27:50 +01:00
2025-08-06 13:54:57 +01:00
2025-09-11 15:27:50 +01:00
2024-03-07 11:38:40 -03:00
2025-09-11 15:27:50 +01:00
2025-09-11 17:01:42 +05:30