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.cjs
CHANGED
|
@@ -1586,7 +1586,7 @@ const generateApi = async (params) => {
|
|
|
1586
1586
|
...swaggerTypescriptApiCodegenBaseParams,
|
|
1587
1587
|
...inputToCodegenInput(params.mixinInput),
|
|
1588
1588
|
hooks: {
|
|
1589
|
-
onInit: (configuration,
|
|
1589
|
+
onInit: (configuration, _codegenProcess) => {
|
|
1590
1590
|
mixinSwaggerSchema = lodashEs.cloneDeep(configuration.swaggerSchema);
|
|
1591
1591
|
},
|
|
1592
1592
|
onPrepareConfig: prepareConfig,
|
|
@@ -1633,8 +1633,8 @@ const generateApi = async (params) => {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
1635
|
const codegenFs = codegenProcess.fileSystem;
|
|
1636
|
-
codegenFs.cleanDir(paths.outputDir);
|
|
1637
|
-
codegenFs.createDir(paths.outputDir);
|
|
1636
|
+
await Promise.resolve(codegenFs.cleanDir(paths.outputDir));
|
|
1637
|
+
await Promise.resolve(codegenFs.createDir(paths.outputDir));
|
|
1638
1638
|
const filterTypes = unpackFilterOption(
|
|
1639
1639
|
params.filterTypes,
|
|
1640
1640
|
(modelType) => modelType.name
|