UNPKG

716 BTypeScriptView Raw
1declare module "cz-customizable" {
2 export interface Option {
3 name: string;
4 value?: string;
5 }
6 export interface Options {
7 types: Option[];
8 scopes?: Option[];
9 scopeOverrides?: { [type: string]: Option[] };
10 messages?: {
11 type?: string,
12 scope?: string,
13 customScope?: string,
14 subject?: string,
15 body?: string,
16 breaking?: string,
17 footer?: string,
18 confirmCommit?: string,
19 };
20 allowCustomScopes?: boolean;
21 allowBreakingChanges?: string[];
22 skipQuestions?: string[];
23 appendBranchNameToCommitMessage?: boolean;
24 ticketNumberPrefix?: string;
25 breakingPrefix?: string;
26 footerPrefix?: string;
27 subjectLimit?: number;
28 }
29}