import { makeService } from "@ethicdevs/react-monolith";
import type { RepositoryServiceAPI, RepositoryServiceDeps } from "./types";
import { default as makeGetHttpCloneUrl } from "./getHttpCloneUrl";
import { default as makeGetRepositoryExploreCollection } from "./getRepositoryExploreCollection";
import { default as makeGetSshCloneUrl } from "./getSshCloneUrl";
import { default as makeCreateRepository } from "./createRepository";
export const makeRepositoryService = makeService<
RepositoryServiceAPI,
RepositoryServiceDeps
>({
createRepository: makeCreateRepository,
getHttpCloneUrl: makeGetHttpCloneUrl,
getRepositoryExploreCollection: makeGetRepositoryExploreCollection,
getSshCloneUrl: makeGetSshCloneUrl,
});