构造函数
属性
parseCommitsToMarkdownStr
parseCommitsToMarkdownStr: ( commits: Commit[], options: { baseUrl: string; capitalize: boolean; emoji: boolean; from: string; group?: boolean | "multiple"; name: string; repo: string; scopeMap: Record<string, string>; scopeName?: string; titles: { breakingChanges?: string }; to: string; types: Record<string, { title: string }>; },) => Promise<string> = parseCommitsToMarkdownStr
类型声明
-
- (
commits: Commit[],
options: {
baseUrl: string;
capitalize: boolean;
emoji: boolean;
from: string;
group?: boolean | "multiple";
name: string;
repo: string;
scopeMap: Record<string, string>;
scopeName?: string;
titles: { breakingChanges?: string };
to: string;
types: Record<string, { title: string }>;
},
): Promise<string>
-
参数
- commits: Commit[]
- options: {
baseUrl: string;
capitalize: boolean;
emoji: boolean;
from: string;
group?: boolean | "multiple";
name: string;
repo: string;
scopeMap: Record<string, string>;
scopeName?: string;
titles: { breakingChanges?: string };
to: string;
types: Record<string, { title: string }>;
}
返回 Promise<string>
Git 提交解析与 Markdown 聚合