@kubb/plugin-vue-query 3.16.2 → 3.16.3
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/components-ClNrCCre.cjs +873 -0
- package/dist/components-ClNrCCre.cjs.map +1 -0
- package/dist/components-D8lYnxao.js +803 -0
- package/dist/components-D8lYnxao.js.map +1 -0
- package/dist/components.cjs +9 -36
- package/dist/components.d.cts +266 -124
- package/dist/components.d.ts +266 -124
- package/dist/components.js +3 -3
- package/dist/generators-DIB6YtRr.js +556 -0
- package/dist/generators-DIB6YtRr.js.map +1 -0
- package/dist/generators-DIZQUvkg.cjs +573 -0
- package/dist/generators-DIZQUvkg.cjs.map +1 -0
- package/dist/generators.cjs +5 -20
- package/dist/generators.d.cts +12 -12
- package/dist/generators.d.ts +12 -12
- package/dist/generators.js +4 -4
- package/dist/index.cjs +118 -143
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -8
- package/dist/index.d.ts +6 -8
- package/dist/index.js +118 -137
- package/dist/index.js.map +1 -1
- package/dist/types-DPDni0p-.d.ts +1385 -0
- package/dist/types-UcJcIqHK.d.cts +1385 -0
- package/package.json +23 -28
- package/dist/chunk-5RO5VZAJ.js +0 -444
- package/dist/chunk-5RO5VZAJ.js.map +0 -1
- package/dist/chunk-BBSHBY5N.cjs +0 -448
- package/dist/chunk-BBSHBY5N.cjs.map +0 -1
- package/dist/chunk-KHEXOVSW.js +0 -726
- package/dist/chunk-KHEXOVSW.js.map +0 -1
- package/dist/chunk-ZR7DRLPY.cjs +0 -734
- package/dist/chunk-ZR7DRLPY.cjs.map +0 -1
- package/dist/components.cjs.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/generators.cjs.map +0 -1
- package/dist/generators.js.map +0 -1
- package/dist/types-CDzVWC17.d.cts +0 -164
- package/dist/types-CDzVWC17.d.ts +0 -164
package/dist/generators.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { Generator, PluginVueQuery } from "./types-UcJcIqHK.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/generators/queryGenerator.d.ts
|
|
4
|
+
declare const queryGenerator: Generator<PluginVueQuery>;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/generators/mutationGenerator.d.ts
|
|
7
|
+
declare const mutationGenerator: Generator<PluginVueQuery>;
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/generators/infiniteQueryGenerator.d.ts
|
|
10
|
+
declare const infiniteQueryGenerator: Generator<PluginVueQuery>;
|
|
11
|
+
//#endregion
|
|
13
12
|
export { infiniteQueryGenerator, mutationGenerator, queryGenerator };
|
|
13
|
+
//# sourceMappingURL=generators.d.cts.map
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { Generator, PluginVueQuery } from "./types-DPDni0p-.js";
|
|
2
|
+
|
|
3
|
+
//#region src/generators/queryGenerator.d.ts
|
|
4
|
+
declare const queryGenerator: Generator<PluginVueQuery>;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/generators/mutationGenerator.d.ts
|
|
7
|
+
declare const mutationGenerator: Generator<PluginVueQuery>;
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/generators/infiniteQueryGenerator.d.ts
|
|
10
|
+
declare const infiniteQueryGenerator: Generator<PluginVueQuery>;
|
|
11
|
+
//#endregion
|
|
13
12
|
export { infiniteQueryGenerator, mutationGenerator, queryGenerator };
|
|
13
|
+
//# sourceMappingURL=generators.d.ts.map
|
package/dist/generators.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import "./components-D8lYnxao.js";
|
|
2
|
+
import { infiniteQueryGenerator, mutationGenerator, queryGenerator } from "./generators-DIB6YtRr.js";
|
|
3
|
+
|
|
4
|
+
export { infiniteQueryGenerator, mutationGenerator, queryGenerator };
|
package/dist/index.cjs
CHANGED
|
@@ -1,149 +1,124 @@
|
|
|
1
|
-
|
|
1
|
+
const require_components = require('./components-ClNrCCre.cjs');
|
|
2
|
+
const require_generators = require('./generators-DIZQUvkg.cjs');
|
|
3
|
+
const node_path = require_components.__toESM(require("node:path"));
|
|
4
|
+
const __kubb_core = require_components.__toESM(require("@kubb/core"));
|
|
5
|
+
const __kubb_core_transformers = require_components.__toESM(require("@kubb/core/transformers"));
|
|
6
|
+
const __kubb_plugin_oas = require_components.__toESM(require("@kubb/plugin-oas"));
|
|
7
|
+
const __kubb_plugin_ts = require_components.__toESM(require("@kubb/plugin-ts"));
|
|
8
|
+
const __kubb_plugin_zod = require_components.__toESM(require("@kubb/plugin-zod"));
|
|
2
9
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
const [swaggerPlugin] = core.PluginManager.getDependedPlugins(this.plugins, [pluginOas.pluginOasName]);
|
|
113
|
-
const oas = await swaggerPlugin.context.getOas();
|
|
114
|
-
const root = path__default.default.resolve(this.config.root, this.config.output.path);
|
|
115
|
-
const mode = core.FileManager.getMode(path__default.default.resolve(root, output.path));
|
|
116
|
-
const baseURL = await swaggerPlugin.context.getBaseURL();
|
|
117
|
-
if (baseURL) {
|
|
118
|
-
this.plugin.options.client.baseURL = baseURL;
|
|
119
|
-
}
|
|
120
|
-
const operationGenerator = new pluginOas.OperationGenerator(this.plugin.options, {
|
|
121
|
-
oas,
|
|
122
|
-
pluginManager: this.pluginManager,
|
|
123
|
-
plugin: this.plugin,
|
|
124
|
-
contentType,
|
|
125
|
-
exclude,
|
|
126
|
-
include,
|
|
127
|
-
override,
|
|
128
|
-
mode
|
|
129
|
-
});
|
|
130
|
-
const files = await operationGenerator.build(...generators);
|
|
131
|
-
await this.addFile(...files);
|
|
132
|
-
const barrelFiles = await this.fileManager.getBarrelFiles({
|
|
133
|
-
type: output.barrelType ?? "named",
|
|
134
|
-
root,
|
|
135
|
-
output,
|
|
136
|
-
meta: {
|
|
137
|
-
pluginKey: this.plugin.key
|
|
138
|
-
},
|
|
139
|
-
logger: this.logger
|
|
140
|
-
});
|
|
141
|
-
await this.addFile(...barrelFiles);
|
|
142
|
-
}
|
|
143
|
-
};
|
|
10
|
+
//#region src/plugin.ts
|
|
11
|
+
const pluginVueQueryName = "plugin-vue-query";
|
|
12
|
+
const pluginVueQuery = (0, __kubb_core.createPlugin)((options) => {
|
|
13
|
+
const { output = {
|
|
14
|
+
path: "hooks",
|
|
15
|
+
barrelType: "named"
|
|
16
|
+
}, group, exclude = [], include, override = [], parser = "client", infinite, transformers = {}, paramsType = "inline", pathParamsType = paramsType === "object" ? "object" : options.pathParamsType || "inline", mutation = {}, query = {}, paramsCasing, mutationKey = require_components.MutationKey.getTransformer, queryKey = require_components.QueryKey.getTransformer, generators = [
|
|
17
|
+
require_generators.queryGenerator,
|
|
18
|
+
require_generators.infiniteQueryGenerator,
|
|
19
|
+
require_generators.mutationGenerator
|
|
20
|
+
].filter(Boolean), contentType } = options;
|
|
21
|
+
return {
|
|
22
|
+
name: pluginVueQueryName,
|
|
23
|
+
options: {
|
|
24
|
+
output,
|
|
25
|
+
client: {
|
|
26
|
+
importPath: "@kubb/plugin-client/clients/axios",
|
|
27
|
+
dataReturnType: "data",
|
|
28
|
+
pathParamsType,
|
|
29
|
+
...options.client
|
|
30
|
+
},
|
|
31
|
+
infinite: infinite ? {
|
|
32
|
+
queryParam: "id",
|
|
33
|
+
initialPageParam: 0,
|
|
34
|
+
cursorParam: void 0,
|
|
35
|
+
...infinite
|
|
36
|
+
} : false,
|
|
37
|
+
queryKey,
|
|
38
|
+
query: query === false ? false : {
|
|
39
|
+
methods: ["get"],
|
|
40
|
+
importPath: "@tanstack/vue-query",
|
|
41
|
+
...query
|
|
42
|
+
},
|
|
43
|
+
mutationKey,
|
|
44
|
+
mutation: {
|
|
45
|
+
methods: [
|
|
46
|
+
"post",
|
|
47
|
+
"put",
|
|
48
|
+
"patch",
|
|
49
|
+
"delete"
|
|
50
|
+
],
|
|
51
|
+
importPath: "@tanstack/vue-query",
|
|
52
|
+
...mutation
|
|
53
|
+
},
|
|
54
|
+
paramsType,
|
|
55
|
+
pathParamsType,
|
|
56
|
+
parser,
|
|
57
|
+
paramsCasing,
|
|
58
|
+
group
|
|
59
|
+
},
|
|
60
|
+
pre: [
|
|
61
|
+
__kubb_plugin_oas.pluginOasName,
|
|
62
|
+
__kubb_plugin_ts.pluginTsName,
|
|
63
|
+
parser === "zod" ? __kubb_plugin_zod.pluginZodName : void 0
|
|
64
|
+
].filter(Boolean),
|
|
65
|
+
resolvePath(baseName, pathMode, options$1) {
|
|
66
|
+
const root = node_path.default.resolve(this.config.root, this.config.output.path);
|
|
67
|
+
const mode = pathMode ?? __kubb_core.FileManager.getMode(node_path.default.resolve(root, output.path));
|
|
68
|
+
if (mode === "single")
|
|
69
|
+
/**
|
|
70
|
+
* when output is a file then we will always append to the same file(output file), see fileManager.addOrAppend
|
|
71
|
+
* Other plugins then need to call addOrAppend instead of just add from the fileManager class
|
|
72
|
+
*/
|
|
73
|
+
return node_path.default.resolve(root, output.path);
|
|
74
|
+
if (group && (options$1?.group?.path || options$1?.group?.tag)) {
|
|
75
|
+
const groupName = group?.name ? group.name : (ctx) => {
|
|
76
|
+
if (group?.type === "path") return `${ctx.group.split("/")[1]}`;
|
|
77
|
+
return `${(0, __kubb_core_transformers.camelCase)(ctx.group)}Controller`;
|
|
78
|
+
};
|
|
79
|
+
return node_path.default.resolve(root, output.path, groupName({ group: group.type === "path" ? options$1.group.path : options$1.group.tag }), baseName);
|
|
80
|
+
}
|
|
81
|
+
return node_path.default.resolve(root, output.path, baseName);
|
|
82
|
+
},
|
|
83
|
+
resolveName(name, type) {
|
|
84
|
+
let resolvedName = (0, __kubb_core_transformers.camelCase)(name);
|
|
85
|
+
if (type === "file" || type === "function") resolvedName = (0, __kubb_core_transformers.camelCase)(name, { isFile: type === "file" });
|
|
86
|
+
if (type === "type") resolvedName = (0, __kubb_core_transformers.pascalCase)(name);
|
|
87
|
+
if (type) return transformers?.name?.(resolvedName, type) || resolvedName;
|
|
88
|
+
return resolvedName;
|
|
89
|
+
},
|
|
90
|
+
async buildStart() {
|
|
91
|
+
const [swaggerPlugin] = __kubb_core.PluginManager.getDependedPlugins(this.plugins, [__kubb_plugin_oas.pluginOasName]);
|
|
92
|
+
const oas = await swaggerPlugin.context.getOas();
|
|
93
|
+
const root = node_path.default.resolve(this.config.root, this.config.output.path);
|
|
94
|
+
const mode = __kubb_core.FileManager.getMode(node_path.default.resolve(root, output.path));
|
|
95
|
+
const baseURL = await swaggerPlugin.context.getBaseURL();
|
|
96
|
+
if (baseURL) this.plugin.options.client.baseURL = baseURL;
|
|
97
|
+
const operationGenerator = new __kubb_plugin_oas.OperationGenerator(this.plugin.options, {
|
|
98
|
+
oas,
|
|
99
|
+
pluginManager: this.pluginManager,
|
|
100
|
+
plugin: this.plugin,
|
|
101
|
+
contentType,
|
|
102
|
+
exclude,
|
|
103
|
+
include,
|
|
104
|
+
override,
|
|
105
|
+
mode
|
|
106
|
+
});
|
|
107
|
+
const files = await operationGenerator.build(...generators);
|
|
108
|
+
await this.addFile(...files);
|
|
109
|
+
const barrelFiles = await this.fileManager.getBarrelFiles({
|
|
110
|
+
type: output.barrelType ?? "named",
|
|
111
|
+
root,
|
|
112
|
+
output,
|
|
113
|
+
meta: { pluginKey: this.plugin.key },
|
|
114
|
+
logger: this.logger
|
|
115
|
+
});
|
|
116
|
+
await this.addFile(...barrelFiles);
|
|
117
|
+
}
|
|
118
|
+
};
|
|
144
119
|
});
|
|
145
120
|
|
|
121
|
+
//#endregion
|
|
146
122
|
exports.pluginVueQuery = pluginVueQuery;
|
|
147
123
|
exports.pluginVueQueryName = pluginVueQueryName;
|
|
148
|
-
//# sourceMappingURL=index.cjs.map
|
|
149
124
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["MutationKey","QueryKey","queryGenerator","infiniteQueryGenerator","mutationGenerator","pluginOasName","pluginTsName","pluginZodName","options","path","FileManager","groupName: Group['name']","PluginManager","OperationGenerator"],"sources":["../src/plugin.ts"],"sourcesContent":["import path from 'node:path'\n\nimport { FileManager, type Group, PluginManager, createPlugin } from '@kubb/core'\nimport { camelCase, pascalCase } from '@kubb/core/transformers'\nimport { OperationGenerator, pluginOasName } from '@kubb/plugin-oas'\n\nimport { pluginTsName } from '@kubb/plugin-ts'\nimport { pluginZodName } from '@kubb/plugin-zod'\n\nimport type { Plugin } from '@kubb/core'\nimport type { PluginOas } from '@kubb/plugin-oas'\nimport { MutationKey, QueryKey } from './components'\nimport { infiniteQueryGenerator, mutationGenerator, queryGenerator } from './generators'\nimport type { PluginVueQuery } from './types.ts'\n\nexport const pluginVueQueryName = 'plugin-vue-query' satisfies PluginVueQuery['name']\n\nexport const pluginVueQuery = createPlugin<PluginVueQuery>((options) => {\n const {\n output = { path: 'hooks', barrelType: 'named' },\n group,\n exclude = [],\n include,\n override = [],\n parser = 'client',\n infinite,\n transformers = {},\n paramsType = 'inline',\n pathParamsType = paramsType === 'object' ? 'object' : options.pathParamsType || 'inline',\n mutation = {},\n query = {},\n paramsCasing,\n mutationKey = MutationKey.getTransformer,\n queryKey = QueryKey.getTransformer,\n generators = [queryGenerator, infiniteQueryGenerator, mutationGenerator].filter(Boolean),\n contentType,\n } = options\n\n return {\n name: pluginVueQueryName,\n options: {\n output,\n client: {\n importPath: '@kubb/plugin-client/clients/axios',\n dataReturnType: 'data',\n pathParamsType,\n ...options.client,\n },\n infinite: infinite\n ? {\n queryParam: 'id',\n initialPageParam: 0,\n cursorParam: undefined,\n ...infinite,\n }\n : false,\n queryKey,\n query:\n query === false\n ? false\n : {\n methods: ['get'],\n importPath: '@tanstack/vue-query',\n ...query,\n },\n mutationKey,\n mutation: {\n methods: ['post', 'put', 'patch', 'delete'],\n importPath: '@tanstack/vue-query',\n ...mutation,\n },\n paramsType,\n pathParamsType,\n parser,\n paramsCasing,\n group,\n },\n pre: [pluginOasName, pluginTsName, parser === 'zod' ? pluginZodName : undefined].filter(Boolean),\n resolvePath(baseName, pathMode, options) {\n const root = path.resolve(this.config.root, this.config.output.path)\n const mode = pathMode ?? FileManager.getMode(path.resolve(root, output.path))\n\n if (mode === 'single') {\n /**\n * when output is a file then we will always append to the same file(output file), see fileManager.addOrAppend\n * Other plugins then need to call addOrAppend instead of just add from the fileManager class\n */\n return path.resolve(root, output.path)\n }\n\n if (group && (options?.group?.path || options?.group?.tag)) {\n const groupName: Group['name'] = group?.name\n ? group.name\n : (ctx) => {\n if (group?.type === 'path') {\n return `${ctx.group.split('/')[1]}`\n }\n return `${camelCase(ctx.group)}Controller`\n }\n\n return path.resolve(\n root,\n output.path,\n groupName({\n group: group.type === 'path' ? options.group.path! : options.group.tag!,\n }),\n baseName,\n )\n }\n\n return path.resolve(root, output.path, baseName)\n },\n resolveName(name, type) {\n let resolvedName = camelCase(name)\n\n if (type === 'file' || type === 'function') {\n resolvedName = camelCase(name, {\n isFile: type === 'file',\n })\n }\n if (type === 'type') {\n resolvedName = pascalCase(name)\n }\n\n if (type) {\n return transformers?.name?.(resolvedName, type) || resolvedName\n }\n\n return resolvedName\n },\n async buildStart() {\n const [swaggerPlugin]: [Plugin<PluginOas>] = PluginManager.getDependedPlugins<PluginOas>(this.plugins, [pluginOasName])\n\n const oas = await swaggerPlugin.context.getOas()\n const root = path.resolve(this.config.root, this.config.output.path)\n const mode = FileManager.getMode(path.resolve(root, output.path))\n const baseURL = await swaggerPlugin.context.getBaseURL()\n\n if (baseURL) {\n this.plugin.options.client.baseURL = baseURL\n }\n const operationGenerator = new OperationGenerator(this.plugin.options, {\n oas,\n pluginManager: this.pluginManager,\n plugin: this.plugin,\n contentType,\n exclude,\n include,\n override,\n mode,\n })\n\n const files = await operationGenerator.build(...generators)\n await this.addFile(...files)\n\n const barrelFiles = await this.fileManager.getBarrelFiles({\n type: output.barrelType ?? 'named',\n root,\n output,\n meta: {\n pluginKey: this.plugin.key,\n },\n logger: this.logger,\n })\n\n await this.addFile(...barrelFiles)\n },\n }\n})\n"],"mappings":"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"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { O as Options, P as PluginVueQuery } from './types-CDzVWC17.cjs';
|
|
3
|
-
import '@kubb/oas';
|
|
4
|
-
import '@kubb/plugin-client';
|
|
5
|
-
import '@kubb/plugin-oas';
|
|
1
|
+
import { Options, PluginVueQuery, UserPluginWithLifeCycle } from "./types-UcJcIqHK.cjs";
|
|
6
2
|
|
|
3
|
+
//#region src/plugin.d.ts
|
|
7
4
|
declare const pluginVueQueryName = "plugin-vue-query";
|
|
8
|
-
declare const pluginVueQuery: (options?: Options | undefined) =>
|
|
9
|
-
|
|
10
|
-
export { PluginVueQuery, pluginVueQuery, pluginVueQueryName };
|
|
5
|
+
declare const pluginVueQuery: (options?: Options | undefined) => UserPluginWithLifeCycle<PluginVueQuery>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type PluginVueQuery, pluginVueQuery, pluginVueQueryName };
|
|
8
|
+
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { O as Options, P as PluginVueQuery } from './types-CDzVWC17.js';
|
|
3
|
-
import '@kubb/oas';
|
|
4
|
-
import '@kubb/plugin-client';
|
|
5
|
-
import '@kubb/plugin-oas';
|
|
1
|
+
import { Options, PluginVueQuery, UserPluginWithLifeCycle } from "./types-DPDni0p-.js";
|
|
6
2
|
|
|
3
|
+
//#region src/plugin.d.ts
|
|
7
4
|
declare const pluginVueQueryName = "plugin-vue-query";
|
|
8
|
-
declare const pluginVueQuery: (options?: Options | undefined) =>
|
|
9
|
-
|
|
10
|
-
export { PluginVueQuery, pluginVueQuery, pluginVueQueryName };
|
|
5
|
+
declare const pluginVueQuery: (options?: Options | undefined) => UserPluginWithLifeCycle<PluginVueQuery>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type PluginVueQuery, pluginVueQuery, pluginVueQueryName };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|