@graphql-inspector/action
Version:
GraphQL Inspector functionality for GitHub Actions
21 lines (20 loc) • 714 B
text/typescript
import * as probot from 'probot';
import { ConfigLoader, FileLoader } from './helpers/loaders.cjs';
import { PullRequest } from './helpers/types.cjs';
export declare function handleSchemaDiff({ release, action, context, ref, pullRequestNumber, repo, owner, before, pullRequests, loadFile, loadConfig, onError, }: {
release: string;
action: string;
context: probot.Context;
owner: string;
repo: string;
ref: string;
pullRequestNumber?: number;
pullRequests: PullRequest[];
/***
* The SHA of the most recent commit on ref before the push
*/
before?: string;
loadFile: FileLoader;
loadConfig: ConfigLoader;
onError(error: Error): void;
}): Promise<void>;