DefinitelyTyped/types/nodegit/rebase-operation.d.ts
2017-06-09 02:11:48 +01:00

37 lines
554 B
TypeScript

import { Oid } from './oid';
export namespace RebaseOperation {
const enum REBASE_OPERATION {
PICK = 0,
REWORD = 1,
EDIT = 2,
SQUASH = 3,
FIXUP = 4,
EXEC = 5
}
}
export class RebaseOperation {
/**
*
*
* @type {number}
* @memberof RebaseOperation
*/
type: number;
/**
*
*
* @type {Oid}
* @memberof RebaseOperation
*/
id: Oid;
/**
*
*
* @type {string}
* @memberof RebaseOperation
*/
exec: string;
}