import { GitServer } from "@ethicdevs/fastify-git-server";
import { ServiceApiContract } from "@ethicdevs/react-monolith";
export interface GitServerServiceAPI extends ServiceApiContract {
authorizationResolver(
repoSlug: string,
credentials: GitServer.AuthCredentials
): PromiseLike<boolean>;
repositoryResolver(
repoSlug: string
): PromiseLike<GitServer.RepositoryResolverResult>;
onPushEvent(event: GitServer.Event): void;
}
export interface GitServerServiceDeps {}