
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-05-20 03:17:13 +00:00
2025-09-11 15:27:50 +01:00
2025-09-11 23:18:12 +01:00
2025-09-11 23:16:12 +01:00
2025-09-05 02:06:30 +01:00
2025-04-28 18:11:29 -03:00
2025-02-24 14:44:08 +00:00
2024-03-05 17:08:44 +00:00
2024-03-05 17:08:44 +00:00
2024-05-30 11:57:54 +00:00
2025-05-08 19:59:26 +01:00
2025-01-24 07:09:54 +00:00
2025-06-13 23:54:33 +00:00
2025-08-30 14:57:24 +00:00
2025-09-11 15:27:50 +01:00
2025-06-17 09:52:02 +03:00
2025-08-26 08:43:41 -03:00
2025-08-26 08:43:41 -03:00
2025-09-11 15:27:50 +01:00
2025-07-16 09:45:49 +00:00
2025-09-11 15:27:50 +01:00
2025-07-21 14:31:31 +00:00
2025-09-10 23:18:59 -03:00
2025-08-26 12:01:44 +01:00
2025-08-25 15:13:44 +05:30
2024-12-26 19:23:28 +00:00
2023-01-09 18:42:46 -07:00
2025-08-06 13:54:57 +01:00
2025-08-06 13:54:57 +01:00
2022-11-18 16:36:32 -07:00
2025-09-11 15:27:50 +01:00
2024-02-16 12:50:07 +00:00
2025-05-12 09:38:03 +02:00
2025-03-02 16:52:57 -03:00