UNPKG

634 BTypeScriptView Raw
1import * as probot from 'probot';
2import { PullRequest } from './helpers/types';
3import { FileLoader, ConfigLoader } from './helpers/loaders';
4export declare function handleSchemaDiff({ action, context, ref, pullRequestNumber, repo, owner, before, pullRequests, loadFile, loadConfig, }: {
5 action: string;
6 context: probot.Context;
7 owner: string;
8 repo: string;
9 ref: string;
10 pullRequestNumber?: number;
11 pullRequests: PullRequest[];
12 /***
13 * The SHA of the most recent commit on ref before the push
14 */
15 before?: string;
16 loadFile: FileLoader;
17 loadConfig: ConfigLoader;
18}): Promise<void>;