import { makeService } from "@ethicdevs/react-monolith";
import type { PullRequestServiceDeps, PullRequestServiceAPI } from "./types";
import { default as makeCreatePullRequest } from "./createPullRequest";
import { default as makeGetPullRequestById } from "./getPullRequestById";
import { default as makeGetPullRequestByUid } from "./getPullRequestByUid";
import { default as makeGetPullRequestsInRepository } from "./getPullRequestsInRepository";
export const makePullRequestService = makeService<
PullRequestServiceAPI,
PullRequestServiceDeps
>({
createPullRequest: makeCreatePullRequest,
getPullRequestById: makeGetPullRequestById,
getPullRequestByUid: makeGetPullRequestByUid,
getPullRequestsInRepository: makeGetPullRequestsInRepository,
});