@kubb/plugin-svelte-query 3.5.11 → 3.5.13
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/{chunk-5EGUZGLC.cjs → chunk-7UJ3EWHT.cjs} +13 -13
- package/dist/{chunk-5EGUZGLC.cjs.map → chunk-7UJ3EWHT.cjs.map} +1 -1
- package/dist/{chunk-YRNKDYF5.js → chunk-FJHJQNRG.js} +3 -3
- package/dist/{chunk-YRNKDYF5.js.map → chunk-FJHJQNRG.js.map} +1 -1
- package/dist/{chunk-OGHDM5HE.cjs → chunk-HOCSPQXV.cjs} +6 -6
- package/dist/{chunk-OGHDM5HE.cjs.map → chunk-HOCSPQXV.cjs.map} +1 -1
- package/dist/{chunk-W7B6VUD4.js → chunk-KLZA7UWG.js} +6 -6
- package/dist/{chunk-W7B6VUD4.js.map → chunk-KLZA7UWG.js.map} +1 -1
- package/dist/components.cjs +6 -6
- package/dist/components.js +1 -1
- package/dist/generators.cjs +4 -4
- package/dist/generators.js +2 -2
- package/dist/index.cjs +5 -5
- package/dist/index.js +2 -2
- package/package.json +11 -11
- package/src/generators/__snapshots__/clientDataReturnTypeFull.ts +1 -1
- package/src/generators/__snapshots__/clientGetImportPath.ts +1 -1
- package/src/generators/__snapshots__/findByTags.ts +1 -1
- package/src/generators/__snapshots__/findByTagsObject.ts +1 -1
- package/src/generators/__snapshots__/findByTagsPathParamsObject.ts +1 -1
- package/src/generators/__snapshots__/findByTagsWithCustomQueryKey.ts +1 -1
- package/src/generators/__snapshots__/findByTagsWithZod.ts +1 -1
package/dist/components.cjs
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
9
|
+
get: function () { return chunkHOCSPQXV_cjs.Mutation; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MutationKey", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkHOCSPQXV_cjs.MutationKey; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Query", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkHOCSPQXV_cjs.Query; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "QueryKey", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkHOCSPQXV_cjs.QueryKey; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "QueryOptions", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkHOCSPQXV_cjs.QueryOptions; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=components.cjs.map
|
|
28
28
|
//# sourceMappingURL=components.cjs.map
|
package/dist/components.js
CHANGED
package/dist/generators.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
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
|
|
10
|
+
get: function () { return chunk7UJ3EWHT_cjs.mutationGenerator; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "queryGenerator", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk7UJ3EWHT_cjs.queryGenerator; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=generators.cjs.map
|
|
17
17
|
//# sourceMappingURL=generators.cjs.map
|
package/dist/generators.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { mutationGenerator, queryGenerator } from './chunk-
|
|
2
|
-
import './chunk-
|
|
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
|
|
4
|
-
var
|
|
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 =
|
|
32
|
-
queryKey =
|
|
33
|
-
generators = [
|
|
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-
|
|
2
|
-
import { MutationKey, QueryKey } from './chunk-
|
|
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.
|
|
3
|
+
"version": "3.5.13",
|
|
4
4
|
"description": "Generator svelte-query hooks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"faker",
|
|
@@ -62,22 +62,22 @@
|
|
|
62
62
|
"!/**/__tests__/**"
|
|
63
63
|
],
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"remeda": "^2.20.
|
|
66
|
-
"@kubb/core": "3.5.
|
|
67
|
-
"@kubb/fs": "3.5.
|
|
68
|
-
"@kubb/oas": "3.5.
|
|
69
|
-
"@kubb/plugin-oas": "3.5.
|
|
70
|
-
"@kubb/plugin-ts": "3.5.
|
|
71
|
-
"@kubb/plugin-zod": "3.5.
|
|
72
|
-
"@kubb/react": "3.5.
|
|
65
|
+
"remeda": "^2.20.2",
|
|
66
|
+
"@kubb/core": "3.5.13",
|
|
67
|
+
"@kubb/fs": "3.5.13",
|
|
68
|
+
"@kubb/oas": "3.5.13",
|
|
69
|
+
"@kubb/plugin-oas": "3.5.13",
|
|
70
|
+
"@kubb/plugin-ts": "3.5.13",
|
|
71
|
+
"@kubb/plugin-zod": "3.5.13",
|
|
72
|
+
"@kubb/react": "3.5.13"
|
|
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.
|
|
80
|
-
"@kubb/config-tsup": "3.5.
|
|
79
|
+
"@kubb/config-ts": "3.5.13",
|
|
80
|
+
"@kubb/config-tsup": "3.5.13"
|
|
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
|
}
|