forked from leoforfree/cz-customizable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
29 lines (29 loc) · 716 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
declare module "cz-customizable" {
export interface Option {
name: string;
value?: string;
}
export interface Options {
types: Option[];
scopes?: Option[];
scopeOverrides?: { [type: string]: Option[] };
messages?: {
type?: string,
scope?: string,
customScope?: string,
subject?: string,
body?: string,
breaking?: string,
footer?: string,
confirmCommit?: string,
};
allowCustomScopes?: boolean;
allowBreakingChanges?: string[];
skipQuestions?: string[];
appendBranchNameToCommitMessage?: boolean;
ticketNumberPrefix?: string;
breakingPrefix?: string;
footerPrefix?: string;
subjectLimit?: number;
}
}