import type { CommitTypes } from '@gitmoji/commit-types'; import { CustomTypeNameMap } from './transformer/typeDisplayName'; export interface CustomConfig { /** * scope 在 Changelog 中的显示信息 */ scopeDisplayName?: Record; /** * 待显示的 type 组 */ displayTypes?: CommitTypes[]; /** * 待显示的 scope */ displayScopes?: string[]; /** * 是否显示作者 */ showAuthor?: boolean; /** * 是否显示作者头像 */ showAuthorAvatar?: boolean; /** * 是否显示摘要 */ showSummary?: boolean; /** * whether to include emoji in title */ withEmoji?: boolean; /** * title language */ titleLanguage?: 'en-US' | 'zh-CN'; /** * Reduce heading level from # to ## */ reduceHeadingLevel?: boolean; /** * put timestamp to second line */ newlineTimestamp?: boolean; /** * add back to top button */ addBackToTop?: boolean; /** * Custom type display map */ customTypeMap?: { [key in CommitTypes]?: CustomTypeNameMap; }; } declare const config: any; export default config;