import { makeService } from "@ethicdevs/react-monolith";
import type { RepositoryServiceAPI, RepositoryServiceDeps } from "./types";
import { default as makeCreateRepository } from "./createRepository";
import { default as makeGetRepository } from "./getRepository";
import { default as makeGetRepositoryExploreCollection } from "./getRepositoryExploreCollection";
import { default as makeGetRepositoryFileContent } from "./getRepositoryFileContent";
import { default as makeGetRepositoryFiles } from "./getRepositoryFiles";
import { default as makeGetRepositoryHead } from "./getRepositoryHead";
import { default as makeGetRepositoryHTTPCloneUrl } from "./getRepositoryHTTPCloneUrl";
import { default as makeGetRepositorySSHCloneUrl } from "./getRepositorySSHCloneUrl";
export const makeRepositoryService = makeService<
RepositoryServiceAPI,
RepositoryServiceDeps
>({
createRepository: makeCreateRepository,
getRepository: makeGetRepository,
getRepositoryExploreCollection: makeGetRepositoryExploreCollection,
getRepositoryFileContent: makeGetRepositoryFileContent,
getRepositoryFiles: makeGetRepositoryFiles,
getRepositoryHead: makeGetRepositoryHead,
getRepositoryHTTPCloneUrl: makeGetRepositoryHTTPCloneUrl,
getRepositorySSHCloneUrl: makeGetRepositorySSHCloneUrl,
});