deliverybot
Version:
Controls and configures deployments using the GitHub API.
10 lines (9 loc) • 373 B
TypeScript
import { Context, Octokit } from "probot";
export declare function hash(chunk: string[]): string;
export declare function withPreview<T>(arg: T): T;
export declare function logCtx(context: Context, params: any): any;
export declare function canWrite(gh: Octokit, { owner, repo, username }: {
owner: string;
repo: string;
username: string;
}): Promise<boolean>;