export class GitHubApiResponseFactory {
    static createPullRequestResponse(pr) {
        return JSON.stringify(pr);
    }
    static createReviewThreadsResponse(threads) {
        return JSON.stringify({
            data: {
                repository: {
                    pullRequest: {
                        reviewThreads: {
                            nodes: threads.map(thread => ({
                                id: thread.id,
                                isResolved: thread.isResolved,
                                path: thread.path,
                                line: thread.line,
                                comments: { nodes: [{ body: thread.body }] }
                            }))
                        }
                    }
                }
            }
        });
    }
}
//# sourceMappingURL=githubApiResponse.factory.js.map