mirror of
https://github.com/zhigang1992/now-deployment.git
synced 2026-04-24 04:15:21 +08:00
v1 release
This commit is contained in:
25
node_modules/git-last-commit/index.d.ts
generated
vendored
Normal file
25
node_modules/git-last-commit/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
export interface Commit {
|
||||
shortHash: string;
|
||||
hash: string;
|
||||
subject: string;
|
||||
sanitizedSubject: string;
|
||||
body: string;
|
||||
authoredOn: string;
|
||||
committedOn: string;
|
||||
author: {
|
||||
name: string;
|
||||
email: string;
|
||||
},
|
||||
committer: {
|
||||
name: string;
|
||||
email: string;
|
||||
},
|
||||
notes?: string;
|
||||
branch: string;
|
||||
tags: string[];
|
||||
}
|
||||
|
||||
type GetLastCommitCallback = (err: Error, commit: Commit) => void;
|
||||
|
||||
export const getLastCommit: (callback: GetLastCommitCallback) => void;
|
||||
|
||||
Reference in New Issue
Block a user