-
Notifications
You must be signed in to change notification settings - Fork 67
/
index.d.ts
47 lines (43 loc) · 1011 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
export = gitReleaseNotes;
interface ICommit {
sha1: string;
authorName: string;
authorEmail: string;
authorDate: string;
committerName: string;
committerEmail: string;
committerDate: string;
title: string;
tag: string;
messageLines: string[];
}
type postprocessingFn = (data: {
commits: ICommit[];
range: string;
dateFnsFormat: (data: string | number | Date, format?: string, options?: {
locale?: any;
}) => string;
debug: any;
}, callback: (data: any) => void) => void;
declare function gitReleaseNotes(options: {
p?: string;
path?: string;
b?: string;
branch?: string;
i?: string;
"ignore-case"?: string;
s?: postprocessingFn | string;
script?: postprocessingFn | string;
t?: string;
title?: string;
f?: string;
file?: string;
c?: boolean;
"merge-commits"?: boolean;
o?: string[] | string;
"gitlog-option"?: string[] | string;
m?: string[] | string;
meaning?: string[] | string;
}, range: string, template: string): Promise<string>
declare namespace gitReleaseNotes {
}