mobx-tanstack-query-api 0.22.0 → 0.22.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/codegen/index.cjs +3 -3
- package/codegen/index.js +3 -3
- package/package.json +1 -1
package/codegen/index.cjs
CHANGED
|
@@ -216,11 +216,11 @@ const generateApi = async (params) => {
|
|
|
216
216
|
codegenFs.createDir(params.output);
|
|
217
217
|
if (generatedExtra) {
|
|
218
218
|
const allExtraOperationIdsSet = new Set([
|
|
219
|
-
...(
|
|
220
|
-
...(
|
|
219
|
+
...(generatedExtra.configuration.routes.outOfModule?.map((r) => r.raw.operationId) ?? []),
|
|
220
|
+
...(generatedExtra.configuration.routes.combined?.flatMap((r) => r.routes.map((r) => r.raw.operationId)) ?? []),
|
|
221
221
|
]);
|
|
222
222
|
const allExtraModelTypesSet = new Set([
|
|
223
|
-
...
|
|
223
|
+
...generatedExtra.configuration.modelTypes.map((m) => m.name),
|
|
224
224
|
]);
|
|
225
225
|
generated.configuration.routes.outOfModule =
|
|
226
226
|
generated.configuration.routes.outOfModule ?? [];
|
package/codegen/index.js
CHANGED
|
@@ -196,11 +196,11 @@ export const generateApi = async (params) => {
|
|
|
196
196
|
codegenFs.createDir(params.output);
|
|
197
197
|
if (generatedExtra) {
|
|
198
198
|
const allExtraOperationIdsSet = new Set([
|
|
199
|
-
...(
|
|
200
|
-
...(
|
|
199
|
+
...(generatedExtra.configuration.routes.outOfModule?.map((r) => r.raw.operationId) ?? []),
|
|
200
|
+
...(generatedExtra.configuration.routes.combined?.flatMap((r) => r.routes.map((r) => r.raw.operationId)) ?? []),
|
|
201
201
|
]);
|
|
202
202
|
const allExtraModelTypesSet = new Set([
|
|
203
|
-
...
|
|
203
|
+
...generatedExtra.configuration.modelTypes.map((m) => m.name),
|
|
204
204
|
]);
|
|
205
205
|
generated.configuration.routes.outOfModule =
|
|
206
206
|
generated.configuration.routes.outOfModule ?? [];
|
package/package.json
CHANGED