API 参考
    正在准备搜索索引...

    变量 GitCommitAPI常量

    GitCommitAPI: {
        getGitCommitDiff: (
            options: GitCommitDiffOptions,
        ) => Promise<GitCommitRaw[]>;
        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>;
        parseGitCommits: (
            commits: GitCommitRaw[],
            scopeMap: Record<string, string>,
        ) => GitCommitRecord[];
    } = ...

    类型声明

    • getGitCommitDiff: (options: GitCommitDiffOptions) => Promise<GitCommitRaw[]>
    • 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>
    • parseGitCommits: (commits: GitCommitRaw[], scopeMap: Record<string, string>) => GitCommitRecord[]