orval 7.6.0 → 7.7.0

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/dist/index.js CHANGED
@@ -3248,7 +3248,7 @@ var import_chalk2 = __toESM(require("chalk"));
3248
3248
  var package_default = {
3249
3249
  name: "orval",
3250
3250
  description: "A swagger client generator for typescript",
3251
- version: "7.6.0",
3251
+ version: "7.7.0",
3252
3252
  license: "MIT",
3253
3253
  files: [
3254
3254
  "dist"
@@ -3302,16 +3302,16 @@ var package_default = {
3302
3302
  "typedoc-plugin-coverage": "^3.4.1"
3303
3303
  },
3304
3304
  dependencies: {
3305
- "@apidevtools/swagger-parser": "^10.1.0",
3306
- "@orval/angular": "7.6.0",
3307
- "@orval/axios": "7.6.0",
3308
- "@orval/core": "7.6.0",
3309
- "@orval/fetch": "7.6.0",
3310
- "@orval/hono": "7.6.0",
3311
- "@orval/mock": "7.6.0",
3312
- "@orval/query": "7.6.0",
3313
- "@orval/swr": "7.6.0",
3314
- "@orval/zod": "7.6.0",
3305
+ "@apidevtools/swagger-parser": "^10.1.1",
3306
+ "@orval/angular": "7.7.0",
3307
+ "@orval/axios": "7.7.0",
3308
+ "@orval/core": "7.7.0",
3309
+ "@orval/fetch": "7.7.0",
3310
+ "@orval/hono": "7.7.0",
3311
+ "@orval/mock": "7.7.0",
3312
+ "@orval/query": "7.7.0",
3313
+ "@orval/swr": "7.7.0",
3314
+ "@orval/zod": "7.7.0",
3315
3315
  ajv: "^8.17.1",
3316
3316
  cac: "^6.7.14",
3317
3317
  chalk: "^4.1.2",
@@ -3324,7 +3324,7 @@ var package_default = {
3324
3324
  "openapi3-ts": "4.2.2",
3325
3325
  "string-argv": "^0.3.2",
3326
3326
  tsconfck: "^2.0.1",
3327
- typedoc: "^0.27.7",
3327
+ typedoc: "^0.27.9",
3328
3328
  "typedoc-plugin-markdown": "^4.4.2",
3329
3329
  typescript: "^5.6.3"
3330
3330
  }
@@ -3588,6 +3588,7 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
3588
3588
  shouldExportMutatorHooks: true,
3589
3589
  shouldExportHttpClient: true,
3590
3590
  shouldExportQueryKey: true,
3591
+ shouldSplitQueryKey: false,
3591
3592
  ...normalizeQueryOptions((_b = outputOptions.override) == null ? void 0 : _b.query, workspace)
3592
3593
  };
3593
3594
  const normalizedOptions = {
@@ -4014,6 +4015,10 @@ var normalizeQueryOptions = (queryOptions = {}, outputWorkspace, globalOptions =
4014
4015
  shouldExportMutatorHooks: globalOptions.shouldExportMutatorHooks
4015
4016
  } : {},
4016
4017
  ...!(0, import_core7.isUndefined)(queryOptions.shouldExportMutatorHooks) ? { shouldExportMutatorHooks: queryOptions.shouldExportMutatorHooks } : {},
4018
+ ...!(0, import_core7.isUndefined)(globalOptions.shouldSplitQueryKey) ? {
4019
+ shouldSplitQueryKey: globalOptions.shouldSplitQueryKey
4020
+ } : {},
4021
+ ...!(0, import_core7.isUndefined)(queryOptions.shouldSplitQueryKey) ? { shouldSplitQueryKey: queryOptions.shouldSplitQueryKey } : {},
4017
4022
  ...!(0, import_core7.isUndefined)(globalOptions.signal) ? {
4018
4023
  signal: globalOptions.signal
4019
4024
  } : {},
@@ -4329,7 +4334,7 @@ var generateSpecs = async (config, workspace, projectName) => {
4329
4334
  return;
4330
4335
  }
4331
4336
  let hasErrors;
4332
- const accumulate = (0, import_core11.asyncReduce)(
4337
+ const accumulate = await (0, import_core11.asyncReduce)(
4333
4338
  Object.entries(config),
4334
4339
  async (acc, [projectName2, options]) => {
4335
4340
  try {