({ args, query })
| 39 | ...(hasPermissionSyncing ? { |
| 40 | repo: { |
| 41 | async $allOperations({ args, query }) { |
| 42 | const argsWithWhere = args as Record<string, unknown> & { |
| 43 | where?: Prisma.RepoWhereInput; |
| 44 | } |
| 45 | |
| 46 | argsWithWhere.where = { |
| 47 | ...(argsWithWhere.where || {}), |
| 48 | ...getRepoPermissionFilterForUser(user), |
| 49 | }; |
| 50 | |
| 51 | return query(args); |
| 52 | } |
| 53 | }, |
| 54 | searchContext: { |
| 55 | async $allOperations({ args, query }) { |
nothing calls this directly
no test coverage detected