@kubb/plugin-vue-query 4.19.0 → 4.19.2
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.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/generators.d.cts +1 -1
- package/dist/generators.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{types-oB8cqZcN.d.cts → types-Brm2QBx9.d.cts} +7 -1
- package/dist/{types-CxN3UgdN.d.ts → types-CnJuOppG.d.ts} +7 -1
- package/package.json +7 -7
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Operation, i as Transformer, l as __name, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-
|
|
1
|
+
import { c as Operation, i as Transformer, l as __name, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-Brm2QBx9.cjs";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/components.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-eQyhnF5A.js";
|
|
2
|
-
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-
|
|
2
|
+
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-CnJuOppG.js";
|
|
3
3
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
4
4
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
5
5
|
|
package/dist/generators.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ReactGenerator, l as __name, r as PluginVueQuery } from "./types-
|
|
1
|
+
import { a as ReactGenerator, l as __name, r as PluginVueQuery } from "./types-Brm2QBx9.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/infiniteQueryGenerator.d.ts
|
|
4
4
|
declare const infiniteQueryGenerator: ReactGenerator<PluginVueQuery>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-eQyhnF5A.js";
|
|
2
|
-
import { a as ReactGenerator, r as PluginVueQuery } from "./types-
|
|
2
|
+
import { a as ReactGenerator, r as PluginVueQuery } from "./types-CnJuOppG.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/infiniteQueryGenerator.d.ts
|
|
5
5
|
declare const infiniteQueryGenerator: ReactGenerator<PluginVueQuery>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as __name, n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-
|
|
1
|
+
import { l as __name, n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-Brm2QBx9.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginVueQueryName = "plugin-vue-query";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-eQyhnF5A.js";
|
|
2
|
-
import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-
|
|
2
|
+
import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-CnJuOppG.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginVueQueryName = "plugin-vue-query";
|
|
@@ -1119,6 +1119,11 @@ type SchemaGeneratorOptions = {
|
|
|
1119
1119
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1120
1120
|
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1121
1121
|
enumSuffix?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* @deprecated Will be removed in v5. Use `collisionDetection: true` instead to prevent enum name collisions.
|
|
1124
|
+
* When `collisionDetection` is enabled, the rootName-based approach eliminates the need for numeric suffixes.
|
|
1125
|
+
* @internal
|
|
1126
|
+
*/
|
|
1122
1127
|
usedEnumNames?: Record<string, number>;
|
|
1123
1128
|
mapper?: Record<string, string>;
|
|
1124
1129
|
typed?: boolean;
|
|
@@ -1139,6 +1144,7 @@ type SchemaProps$1 = {
|
|
|
1139
1144
|
schema: SchemaObject$1 | null;
|
|
1140
1145
|
name: string | null;
|
|
1141
1146
|
parentName: string | null;
|
|
1147
|
+
rootName?: string | null;
|
|
1142
1148
|
};
|
|
1143
1149
|
declare class SchemaGenerator<TOptions extends SchemaGeneratorOptions = SchemaGeneratorOptions, TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TOptions, Context<TOptions, TPluginOptions>> {
|
|
1144
1150
|
#private;
|
|
@@ -1501,4 +1507,4 @@ type ResolvedOptions = {
|
|
|
1501
1507
|
type PluginVueQuery = PluginFactoryOptions<'plugin-vue-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1502
1508
|
//#endregion
|
|
1503
1509
|
export { ReactGenerator as a, Operation$1 as c, Transformer as i, __name as l, Options as n, OperationSchemas as o, PluginVueQuery as r, UserPluginWithLifeCycle as s, Infinite as t };
|
|
1504
|
-
//# sourceMappingURL=types-
|
|
1510
|
+
//# sourceMappingURL=types-Brm2QBx9.d.cts.map
|
|
@@ -1118,6 +1118,11 @@ type SchemaGeneratorOptions = {
|
|
|
1118
1118
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1119
1119
|
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1120
1120
|
enumSuffix?: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* @deprecated Will be removed in v5. Use `collisionDetection: true` instead to prevent enum name collisions.
|
|
1123
|
+
* When `collisionDetection` is enabled, the rootName-based approach eliminates the need for numeric suffixes.
|
|
1124
|
+
* @internal
|
|
1125
|
+
*/
|
|
1121
1126
|
usedEnumNames?: Record<string, number>;
|
|
1122
1127
|
mapper?: Record<string, string>;
|
|
1123
1128
|
typed?: boolean;
|
|
@@ -1138,6 +1143,7 @@ type SchemaProps$1 = {
|
|
|
1138
1143
|
schema: SchemaObject$1 | null;
|
|
1139
1144
|
name: string | null;
|
|
1140
1145
|
parentName: string | null;
|
|
1146
|
+
rootName?: string | null;
|
|
1141
1147
|
};
|
|
1142
1148
|
declare class SchemaGenerator<TOptions extends SchemaGeneratorOptions = SchemaGeneratorOptions, TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TOptions, Context<TOptions, TPluginOptions>> {
|
|
1143
1149
|
#private;
|
|
@@ -1500,4 +1506,4 @@ type ResolvedOptions = {
|
|
|
1500
1506
|
type PluginVueQuery = PluginFactoryOptions<'plugin-vue-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1501
1507
|
//#endregion
|
|
1502
1508
|
export { ReactGenerator as a, Operation$1 as c, Transformer as i, Options as n, OperationSchemas as o, PluginVueQuery as r, UserPluginWithLifeCycle as s, Infinite as t };
|
|
1503
|
-
//# sourceMappingURL=types-
|
|
1509
|
+
//# sourceMappingURL=types-CnJuOppG.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-vue-query",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.2",
|
|
4
4
|
"description": "Vue Query hooks generator plugin for Kubb, creating type-safe API client hooks from OpenAPI specifications for Vue.js applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue-query",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@kubb/react-fabric": "0.12.4",
|
|
72
72
|
"remeda": "^2.33.4",
|
|
73
|
-
"@kubb/core": "4.19.
|
|
74
|
-
"@kubb/oas": "4.19.
|
|
75
|
-
"@kubb/plugin-client": "4.19.
|
|
76
|
-
"@kubb/plugin-oas": "4.19.
|
|
77
|
-
"@kubb/plugin-ts": "4.19.
|
|
78
|
-
"@kubb/plugin-zod": "4.19.
|
|
73
|
+
"@kubb/core": "4.19.2",
|
|
74
|
+
"@kubb/oas": "4.19.2",
|
|
75
|
+
"@kubb/plugin-client": "4.19.2",
|
|
76
|
+
"@kubb/plugin-oas": "4.19.2",
|
|
77
|
+
"@kubb/plugin-ts": "4.19.2",
|
|
78
|
+
"@kubb/plugin-zod": "4.19.2"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"@kubb/react-fabric": "0.12.4"
|