()
| 90 | orderBy: async () => { |
| 91 | selectCount++; |
| 92 | return ( |
| 93 | options.integrations ?? [ |
| 94 | { |
| 95 | id: finding.platform_integration_id, |
| 96 | installationId: 'installation-123', |
| 97 | githubAppType: 'standard', |
| 98 | hasRepositoryAccess: true, |
| 99 | hasWritePermission: true, |
| 100 | }, |
| 101 | ] |
| 102 | ); |
| 103 | }, |
| 104 | }), |
| 105 | }), |
| 106 | where: () => ({ |
| 107 | limit: async () => { |
| 108 | const currentSelect = selectCount++; |
| 109 | return [currentSelect === 0 ? selectedFinding : actor]; |
| 110 | }, |