(where: Prisma.UserMcpServerWhereUniqueInput)
| 75 | }; |
| 76 | |
| 77 | const uniqueWhereUserId = (where: Prisma.UserMcpServerWhereUniqueInput): string | undefined => { |
| 78 | const compositeKey = where.userId_serverId; |
| 79 | return isRecord(compositeKey) && typeof compositeKey.userId === 'string' |
| 80 | ? compositeKey.userId |
| 81 | : undefined; |
| 82 | }; |
| 83 | |
| 84 | export const isUserMcpServerUniqueWhereForUser = ( |
| 85 | where: Prisma.UserMcpServerWhereUniqueInput, |
no test coverage detected