import { makeService } from "@ethicdevs/react-monolith";
import type { OrganizationServiceAPI, OrganizationServiceDeps } from "./types";
import { default as makeGetOrganizationById } from "./getOrganizationById";
import { default as makeGetOrganizationBySlug } from "./getOrganizationBySlug";
import { default as makeGetOrganizationRepositories } from "./getOrganizationRepositories";
export const makeOrganizationService = makeService<
OrganizationServiceAPI,
OrganizationServiceDeps
>({
getOrganizationById: makeGetOrganizationById,
getOrganizationBySlug: makeGetOrganizationBySlug,
getOrganizationRepositories: makeGetOrganizationRepositories,
});