mobx-tanstack-query-api 0.39.1 → 0.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.cjs +3 -3
- package/cli.cjs.map +1 -1
- package/cli.d.ts +1 -0
- package/cli.js +3 -3
- package/cli.js.map +1 -1
- package/package.json +2 -2
package/cli.d.ts
CHANGED
package/cli.js
CHANGED
|
@@ -1583,7 +1583,7 @@ const generateApi = async (params) => {
|
|
|
1583
1583
|
...swaggerTypescriptApiCodegenBaseParams,
|
|
1584
1584
|
...inputToCodegenInput(params.mixinInput),
|
|
1585
1585
|
hooks: {
|
|
1586
|
-
onInit: (configuration,
|
|
1586
|
+
onInit: (configuration, _codegenProcess) => {
|
|
1587
1587
|
mixinSwaggerSchema = cloneDeep(configuration.swaggerSchema);
|
|
1588
1588
|
},
|
|
1589
1589
|
onPrepareConfig: prepareConfig,
|
|
@@ -1630,8 +1630,8 @@ const generateApi = async (params) => {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
1632
|
const codegenFs = codegenProcess.fileSystem;
|
|
1633
|
-
codegenFs.cleanDir(paths.outputDir);
|
|
1634
|
-
codegenFs.createDir(paths.outputDir);
|
|
1633
|
+
await Promise.resolve(codegenFs.cleanDir(paths.outputDir));
|
|
1634
|
+
await Promise.resolve(codegenFs.createDir(paths.outputDir));
|
|
1635
1635
|
const filterTypes = unpackFilterOption(
|
|
1636
1636
|
params.filterTypes,
|
|
1637
1637
|
(modelType) => modelType.name
|