| 214 | platform_integration_id: params.platformIntegrationId, |
| 215 | repo_full_name: params.repoFullName, |
| 216 | pr_number: params.prNumber, |
| 217 | pr_url: params.prUrl, |
| 218 | pr_title: params.prTitle, |
| 219 | pr_author: params.prAuthor, |
| 220 | pr_author_github_id: params.prAuthorGithubId || null, |
| 221 | base_ref: params.baseRef, |
| 222 | head_ref: params.headRef, |
| 223 | head_sha: params.headSha, |
| 224 | platform: params.platform ?? 'github', |
| 225 | platform_project_id: params.platformProjectId ?? null, |
| 226 | manual_config: params.manualConfig ?? null, |
| 227 | review_type: params.reviewType ?? 'standard', |
| 228 | trigger_source: params.triggerSource ?? null, |
| 229 | agent_version: 'v2', |
| 230 | status: 'pending', |
| 231 | }; |
| 232 | } |
| 233 | |
| 234 | /** |
| 235 | * Admits a `code_review`-domain ledger row for a newly created review using |