UNPKG

repository-provider

Version:

abstract interface to git repository providers like github, bitbucket and gitlab

36 lines (35 loc) 785 B
/** * @property {string} ref */ export class CommitResult { constructor(ref: any); ref: any; } export class User { } /** * @property {Repository} repository * @property {string} message * @property {string} sha * @property {User} author * @property {User} committer */ export class Commit { /** * * @param {Repository} repository * @param {Object} options * @param {string} options.sha * @param {string} options.message * @param {string} options.author * @param {string} options.committer */ constructor(repository: Repository, options: { sha: string; message: string; author: string; committer: string; }); repository: Repository; } import { Repository } from "./repository.mjs";