File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { join } from 'path';
55
66import * as pkg from '../../package.json' ;
77import { GenerateServiceProps , generateService } from '../index' ;
8- import { IPriorityRule } from '../type' ;
8+ import { IPriorityRule , IReactQueryMode } from '../type' ;
99
1010const params = program
1111 . name ( 'openapi' )
@@ -114,6 +114,7 @@ async function run() {
114114 requestOptionsType : params . requestOptionsType as string ,
115115 apiPrefix : params . apiPrefix as string ,
116116 isGenReactQuery : JSON . parse ( params . isGenReactQuery as string ) === true ,
117+ reactQueryMode : params . reactQueryMode as IReactQueryMode ,
117118 isGenJavaScript : JSON . parse ( params . isGenJavaScript as string ) === true ,
118119 isDisplayTypeLabel :
119120 JSON . parse ( params . isDisplayTypeLabel as string ) === true ,
You can’t perform that action at this time.
0 commit comments