Sha256: 49e19b6b3b75ae315323d9fe8fe52c374d4ed8d0523a4d8daad4b35e7cb58561
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
export type RuleField = 'header' | 'type' | 'scope' | 'subject' | 'body' | 'footer'; export type PromptName = RuleField | 'isBreaking' | 'breakingBody' | 'breaking' | 'isIssueAffected' | 'issuesBody' | 'issues'; export type PromptConfig = { settings: { scopeEnumSeparator: string; enableMultipleScopes: boolean; }; messages: PromptMessages; questions: Partial<Record<PromptName, { description?: string; messages?: { [K: string]: string; }; enum?: { [enumName: string]: { description?: string; title?: string; emoji?: string; }; }; }>>; }; export type PromptMessages = { skip: string; max: string; min: string; emptyWarning: string; upperLimitWarning: string; lowerLimitWarning: string; [_key: string]: string; }; export type UserPromptConfig = DeepPartial<PromptConfig>; type DeepPartial<T> = { [P in keyof T]?: { [K in keyof T[P]]?: T[P][K]; }; }; export {}; //# sourceMappingURL=prompt.d.ts.map
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pcp-server-ruby-sdk-0.0.6 | node_modules/@commitlint/types/lib/prompt.d.ts |
pcp-server-ruby-sdk-0.1.0 | node_modules/@commitlint/types/lib/prompt.d.ts |