mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 13:27:15 +08:00
Added RebaseOpertation
This commit is contained in:
3
types/nodegit/index.d.ts
vendored
3
types/nodegit/index.d.ts
vendored
@@ -27,9 +27,10 @@ export { Odb } from './odb';
|
||||
export { Oidarray } from './oid-array';
|
||||
export { Oid } from './oid';
|
||||
export { PushOptions } from './push-options';
|
||||
export { RebaseOperation } from './rebase-operation';
|
||||
export { Refdb } from './ref-db';
|
||||
export { Reflog, ReflogEntry } from './ref-log'
|
||||
import { Refspec } from './ref-spec';
|
||||
export { Refspec } from './ref-spec';
|
||||
export { Reference } from './reference';
|
||||
export { RemoteCallbacks } from './remote-callbacks';
|
||||
export { Remote } from './remote';
|
||||
|
||||
18
types/nodegit/rebase-operation.d.ts
vendored
Normal file
18
types/nodegit/rebase-operation.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Oid } from './oid';
|
||||
|
||||
export namespace RebaseOperation {
|
||||
enum REBASE_OPERATION {
|
||||
PICK = 0,
|
||||
REWORD = 1,
|
||||
EDIT = 2,
|
||||
SQUASH = 3,
|
||||
FIXUP = 4,
|
||||
EXEC = 5
|
||||
}
|
||||
}
|
||||
|
||||
export class RebaseOperation {
|
||||
type: number;
|
||||
id: Oid;
|
||||
exec: string;
|
||||
}
|
||||
@@ -41,6 +41,7 @@
|
||||
"oid-array.d.ts",
|
||||
"oid.d.ts",
|
||||
"push-options.d.ts",
|
||||
"rebase-operation.d.ts",
|
||||
"ref-db.d.ts",
|
||||
"ref-log.d.ts",
|
||||
"ref-spec.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user