( workspaceId: string, threadId: string, target: ReviewTarget, delivery?: "inline" | "detached", )
| 512 | } |
| 513 | |
| 514 | export async function startReview( |
| 515 | workspaceId: string, |
| 516 | threadId: string, |
| 517 | target: ReviewTarget, |
| 518 | delivery?: "inline" | "detached", |
| 519 | ) { |
| 520 | const payload: Record<string, unknown> = { workspaceId, threadId, target }; |
| 521 | if (delivery) { |
| 522 | payload.delivery = delivery; |
| 523 | } |
| 524 | return invoke("start_review", payload); |
| 525 | } |
| 526 | |
| 527 | export async function respondToServerRequest( |
| 528 | workspaceId: string, |
no outgoing calls
no test coverage detected