@@ -54,13 +54,77 @@ export interface GitUserOptions {
54
54
ruleEmail ?: string ;
55
55
}
56
56
57
+ export interface CommitOptions {
58
+ gitCommitTypes ?: Array < CommitType > ;
59
+ gitCommitScopes ?: Array < CommitScope > ;
60
+ }
61
+
62
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
63
+ export interface VerifyOptions {
64
+ // TODO
65
+ }
66
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
67
+ export interface ClearOptions {
68
+ // TODO
69
+ }
70
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
71
+ export interface HooksOptions {
72
+ // TODO
73
+ }
74
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
75
+ export interface DepcheckOptions {
76
+ // TODO
77
+ }
78
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
79
+ export interface RegistryOptions {
80
+ // TODO
81
+ }
82
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
83
+ export interface GituserOptions {
84
+ // TODO
85
+ }
86
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
87
+ export interface TemplateOptions {
88
+ // TODO
89
+ }
90
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
91
+ export interface FixOptions {
92
+ // TODO
93
+ }
94
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
95
+ export interface FormatOptions {
96
+ // TODO
97
+ }
98
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
99
+ export interface ImpsortOptions {
100
+ // TODO
101
+ }
102
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
103
+ export interface ScriptOptions {
104
+ // TODO
105
+ }
106
+
57
107
export interface CodeGeniusOptions {
58
- plugins : Array <
108
+ plugins ? : Array <
59
109
( cli : CAC ) => {
60
110
name : string ;
61
111
setup : ( ) => void ;
62
112
}
63
113
> ;
114
+ commands ?: {
115
+ commit ?: CommitOptions ;
116
+ verify ?: VerifyOptions ;
117
+ clear ?: ClearOptions ;
118
+ hooks ?: HooksOptions ;
119
+ depcheck ?: DepcheckOptions ;
120
+ registry ?: RegistryOptions ;
121
+ gituser ?: GituserOptions ;
122
+ template ?: TemplateOptions ;
123
+ fix ?: FixOptions ;
124
+ format ?: FormatOptions ;
125
+ impsort ?: ImpsortOptions ;
126
+ script ?: ScriptOptions ;
127
+ } ;
64
128
}
65
129
66
130
export interface GitCommitOptions {
0 commit comments