// 1st-party
import type { ServiceMethodFactory } from "@ethicdevs/react-monolith";
import type { PipelineServiceDeps } from "./types";
const makeInitRunnerForRepo: ServiceMethodFactory<
PipelineServiceDeps,
[string, string, string],
Promise<any>
> = ({ runner }) => {
return async (orgSlug: string, repoSlug: string, manifest: string) => {
return runner.initRepo(orgSlug, repoSlug, manifest);
};
};
export default makeInitRunnerForRepo;