@kubb/plugin-svelte-query 3.5.11 → 3.5.12

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.
@@ -1,28 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkOGHDM5HE_cjs = require('./chunk-OGHDM5HE.cjs');
3
+ var chunkHOCSPQXV_cjs = require('./chunk-HOCSPQXV.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Mutation", {
8
8
  enumerable: true,
9
- get: function () { return chunkOGHDM5HE_cjs.Mutation; }
9
+ get: function () { return chunkHOCSPQXV_cjs.Mutation; }
10
10
  });
11
11
  Object.defineProperty(exports, "MutationKey", {
12
12
  enumerable: true,
13
- get: function () { return chunkOGHDM5HE_cjs.MutationKey; }
13
+ get: function () { return chunkHOCSPQXV_cjs.MutationKey; }
14
14
  });
15
15
  Object.defineProperty(exports, "Query", {
16
16
  enumerable: true,
17
- get: function () { return chunkOGHDM5HE_cjs.Query; }
17
+ get: function () { return chunkHOCSPQXV_cjs.Query; }
18
18
  });
19
19
  Object.defineProperty(exports, "QueryKey", {
20
20
  enumerable: true,
21
- get: function () { return chunkOGHDM5HE_cjs.QueryKey; }
21
+ get: function () { return chunkHOCSPQXV_cjs.QueryKey; }
22
22
  });
23
23
  Object.defineProperty(exports, "QueryOptions", {
24
24
  enumerable: true,
25
- get: function () { return chunkOGHDM5HE_cjs.QueryOptions; }
25
+ get: function () { return chunkHOCSPQXV_cjs.QueryOptions; }
26
26
  });
27
27
  //# sourceMappingURL=components.cjs.map
28
28
  //# sourceMappingURL=components.cjs.map
@@ -1,3 +1,3 @@
1
- export { Mutation, MutationKey, Query, QueryKey, QueryOptions } from './chunk-W7B6VUD4.js';
1
+ export { Mutation, MutationKey, Query, QueryKey, QueryOptions } from './chunk-KLZA7UWG.js';
2
2
  //# sourceMappingURL=components.js.map
3
3
  //# sourceMappingURL=components.js.map
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunk5EGUZGLC_cjs = require('./chunk-5EGUZGLC.cjs');
4
- require('./chunk-OGHDM5HE.cjs');
3
+ var chunk7UJ3EWHT_cjs = require('./chunk-7UJ3EWHT.cjs');
4
+ require('./chunk-HOCSPQXV.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "mutationGenerator", {
9
9
  enumerable: true,
10
- get: function () { return chunk5EGUZGLC_cjs.mutationGenerator; }
10
+ get: function () { return chunk7UJ3EWHT_cjs.mutationGenerator; }
11
11
  });
12
12
  Object.defineProperty(exports, "queryGenerator", {
13
13
  enumerable: true,
14
- get: function () { return chunk5EGUZGLC_cjs.queryGenerator; }
14
+ get: function () { return chunk7UJ3EWHT_cjs.queryGenerator; }
15
15
  });
16
16
  //# sourceMappingURL=generators.cjs.map
17
17
  //# sourceMappingURL=generators.cjs.map
@@ -1,4 +1,4 @@
1
- export { mutationGenerator, queryGenerator } from './chunk-YRNKDYF5.js';
2
- import './chunk-W7B6VUD4.js';
1
+ export { mutationGenerator, queryGenerator } from './chunk-FJHJQNRG.js';
2
+ import './chunk-KLZA7UWG.js';
3
3
  //# sourceMappingURL=generators.js.map
4
4
  //# sourceMappingURL=generators.js.map
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk5EGUZGLC_cjs = require('./chunk-5EGUZGLC.cjs');
4
- var chunkOGHDM5HE_cjs = require('./chunk-OGHDM5HE.cjs');
3
+ var chunk7UJ3EWHT_cjs = require('./chunk-7UJ3EWHT.cjs');
4
+ var chunkHOCSPQXV_cjs = require('./chunk-HOCSPQXV.cjs');
5
5
  var path = require('path');
6
6
  var core = require('@kubb/core');
7
7
  var transformers = require('@kubb/core/transformers');
@@ -28,9 +28,9 @@ var pluginSvelteQuery = core.createPlugin((options) => {
28
28
  mutation = {},
29
29
  query = {},
30
30
  paramsCasing,
31
- mutationKey = chunkOGHDM5HE_cjs.MutationKey.getTransformer,
32
- queryKey = chunkOGHDM5HE_cjs.QueryKey.getTransformer,
33
- generators = [chunk5EGUZGLC_cjs.queryGenerator, chunk5EGUZGLC_cjs.mutationGenerator].filter(Boolean),
31
+ mutationKey = chunkHOCSPQXV_cjs.MutationKey.getTransformer,
32
+ queryKey = chunkHOCSPQXV_cjs.QueryKey.getTransformer,
33
+ generators = [chunk7UJ3EWHT_cjs.queryGenerator, chunk7UJ3EWHT_cjs.mutationGenerator].filter(Boolean),
34
34
  contentType
35
35
  } = options;
36
36
  return {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { queryGenerator, mutationGenerator } from './chunk-YRNKDYF5.js';
2
- import { MutationKey, QueryKey } from './chunk-W7B6VUD4.js';
1
+ import { queryGenerator, mutationGenerator } from './chunk-FJHJQNRG.js';
2
+ import { MutationKey, QueryKey } from './chunk-KLZA7UWG.js';
3
3
  import path from 'node:path';
4
4
  import { createPlugin, FileManager, PluginManager } from '@kubb/core';
5
5
  import { camelCase, pascalCase } from '@kubb/core/transformers';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-svelte-query",
3
- "version": "3.5.11",
3
+ "version": "3.5.12",
4
4
  "description": "Generator svelte-query hooks",
5
5
  "keywords": [
6
6
  "faker",
@@ -63,21 +63,21 @@
63
63
  ],
64
64
  "dependencies": {
65
65
  "remeda": "^2.20.1",
66
- "@kubb/core": "3.5.11",
67
- "@kubb/fs": "3.5.11",
68
- "@kubb/oas": "3.5.11",
69
- "@kubb/plugin-oas": "3.5.11",
70
- "@kubb/plugin-ts": "3.5.11",
71
- "@kubb/plugin-zod": "3.5.11",
72
- "@kubb/react": "3.5.11"
66
+ "@kubb/core": "3.5.12",
67
+ "@kubb/fs": "3.5.12",
68
+ "@kubb/oas": "3.5.12",
69
+ "@kubb/plugin-oas": "3.5.12",
70
+ "@kubb/plugin-ts": "3.5.12",
71
+ "@kubb/plugin-zod": "3.5.12",
72
+ "@kubb/react": "3.5.12"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@types/react": "^18.3.18",
76
76
  "react": "^18.3.1",
77
77
  "tsup": "^8.3.6",
78
78
  "typescript": "^5.7.3",
79
- "@kubb/config-ts": "3.5.11",
80
- "@kubb/config-tsup": "3.5.11"
79
+ "@kubb/config-ts": "3.5.12",
80
+ "@kubb/config-tsup": "3.5.12"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@kubb/react": "^3.0.0"
@@ -23,8 +23,8 @@ export async function findPetsByTags(
23
23
  method: 'GET',
24
24
  url: `/pet/findByTags`,
25
25
  params,
26
- headers: { ...headers, ...requestConfig.headers },
27
26
  ...requestConfig,
27
+ headers: { ...headers, ...requestConfig.headers },
28
28
  })
29
29
  return { ...res, data: findPetsByTagsQueryResponse.parse(res.data) }
30
30
  }
@@ -23,8 +23,8 @@ export async function findPetsByTags(
23
23
  method: 'GET',
24
24
  url: `/pet/findByTags`,
25
25
  params,
26
- headers: { ...headers, ...requestConfig.headers },
27
26
  ...requestConfig,
27
+ headers: { ...headers, ...requestConfig.headers },
28
28
  })
29
29
  return findPetsByTagsQueryResponse.parse(res.data)
30
30
  }
@@ -23,8 +23,8 @@ export async function findPetsByTags(
23
23
  method: 'GET',
24
24
  url: `/pet/findByTags`,
25
25
  params,
26
- headers: { ...headers, ...requestConfig.headers },
27
26
  ...requestConfig,
27
+ headers: { ...headers, ...requestConfig.headers },
28
28
  })
29
29
  return findPetsByTagsQueryResponse.parse(res.data)
30
30
  }
@@ -22,8 +22,8 @@ export async function findPetsByTags(
22
22
  method: 'GET',
23
23
  url: `/pet/findByTags`,
24
24
  params,
25
- headers: { ...headers, ...requestConfig.headers },
26
25
  ...requestConfig,
26
+ headers: { ...headers, ...requestConfig.headers },
27
27
  })
28
28
  return findPetsByTagsQueryResponse.parse(res.data)
29
29
  }
@@ -23,8 +23,8 @@ export async function findPetsByTags(
23
23
  method: 'GET',
24
24
  url: `/pet/findByTags`,
25
25
  params,
26
- headers: { ...headers, ...requestConfig.headers },
27
26
  ...requestConfig,
27
+ headers: { ...headers, ...requestConfig.headers },
28
28
  })
29
29
  return findPetsByTagsQueryResponse.parse(res.data)
30
30
  }
@@ -23,8 +23,8 @@ export async function findPetsByTags(
23
23
  method: 'GET',
24
24
  url: `/pet/findByTags`,
25
25
  params,
26
- headers: { ...headers, ...requestConfig.headers },
27
26
  ...requestConfig,
27
+ headers: { ...headers, ...requestConfig.headers },
28
28
  })
29
29
  return findPetsByTagsQueryResponse.parse(res.data)
30
30
  }
@@ -23,8 +23,8 @@ export async function findPetsByTags(
23
23
  method: 'GET',
24
24
  url: `/pet/findByTags`,
25
25
  params,
26
- headers: { ...headers, ...requestConfig.headers },
27
26
  ...requestConfig,
27
+ headers: { ...headers, ...requestConfig.headers },
28
28
  })
29
29
  return findPetsByTagsQueryResponse.parse(res.data)
30
30
  }