@kubb/plugin-vue-query 4.13.1 → 4.14.1
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-CVaqMqmS.d.ts → types-BLe1vt6V.d.cts} +6 -3
- package/dist/{types-C22eWMld.d.cts → types-DCnde2TI.d.ts} +6 -3
- package/package.json +7 -7
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-
|
|
1
|
+
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-BLe1vt6V.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,4 +1,4 @@
|
|
|
1
|
-
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-
|
|
1
|
+
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-DCnde2TI.js";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/generators.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ReactGenerator, r as PluginVueQuery } from "./types-
|
|
1
|
+
import { a as ReactGenerator, r as PluginVueQuery } from "./types-BLe1vt6V.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,4 +1,4 @@
|
|
|
1
|
-
import { a as ReactGenerator, r as PluginVueQuery } from "./types-
|
|
1
|
+
import { a as ReactGenerator, r as PluginVueQuery } from "./types-DCnde2TI.js";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/infiniteQueryGenerator.d.ts
|
|
4
4
|
declare const infiniteQueryGenerator: ReactGenerator<PluginVueQuery>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-
|
|
1
|
+
import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-BLe1vt6V.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,4 +1,4 @@
|
|
|
1
|
-
import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-
|
|
1
|
+
import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-DCnde2TI.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginVueQueryName = "plugin-vue-query";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
2
1
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
3
2
|
import BaseOas from "oas";
|
|
4
3
|
import { Operation } from "oas/operation";
|
|
5
4
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
6
5
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
6
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
7
7
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
8
8
|
|
|
9
9
|
//#region ../oas/src/types.d.ts
|
|
@@ -181,6 +181,8 @@ interface KubbEvents {
|
|
|
181
181
|
id?: string;
|
|
182
182
|
command: string;
|
|
183
183
|
args?: readonly string[];
|
|
184
|
+
success: boolean;
|
|
185
|
+
error: Error | null;
|
|
184
186
|
}];
|
|
185
187
|
/**
|
|
186
188
|
* Emitted when a new version of Kubb is available.
|
|
@@ -825,6 +827,7 @@ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
|
|
|
825
827
|
*/
|
|
826
828
|
plugin: Plugin<TPluginOptions>;
|
|
827
829
|
mode: KubbFile.Mode;
|
|
830
|
+
UNSTABLE_NAMING?: true;
|
|
828
831
|
};
|
|
829
832
|
declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TPluginOptions['resolvedOptions'], Context$1<TPluginOptions['resolvedOptions'], TPluginOptions>> {
|
|
830
833
|
#private;
|
|
@@ -1079,7 +1082,7 @@ type SchemaGeneratorOptions = {
|
|
|
1079
1082
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
1080
1083
|
unknownType: 'any' | 'unknown' | 'void';
|
|
1081
1084
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1082
|
-
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
|
|
1085
|
+
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1083
1086
|
enumSuffix?: string;
|
|
1084
1087
|
usedEnumNames?: Record<string, number>;
|
|
1085
1088
|
mapper?: Record<string, string>;
|
|
@@ -1460,4 +1463,4 @@ type ResolvedOptions = {
|
|
|
1460
1463
|
type PluginVueQuery = PluginFactoryOptions<'plugin-vue-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1461
1464
|
//#endregion
|
|
1462
1465
|
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 };
|
|
1463
|
-
//# sourceMappingURL=types-
|
|
1466
|
+
//# sourceMappingURL=types-BLe1vt6V.d.cts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
1
2
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
2
3
|
import BaseOas from "oas";
|
|
3
4
|
import { Operation } from "oas/operation";
|
|
4
5
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
5
6
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
6
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
7
7
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
8
8
|
|
|
9
9
|
//#region ../oas/src/types.d.ts
|
|
@@ -181,6 +181,8 @@ interface KubbEvents {
|
|
|
181
181
|
id?: string;
|
|
182
182
|
command: string;
|
|
183
183
|
args?: readonly string[];
|
|
184
|
+
success: boolean;
|
|
185
|
+
error: Error | null;
|
|
184
186
|
}];
|
|
185
187
|
/**
|
|
186
188
|
* Emitted when a new version of Kubb is available.
|
|
@@ -825,6 +827,7 @@ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
|
|
|
825
827
|
*/
|
|
826
828
|
plugin: Plugin<TPluginOptions>;
|
|
827
829
|
mode: KubbFile.Mode;
|
|
830
|
+
UNSTABLE_NAMING?: true;
|
|
828
831
|
};
|
|
829
832
|
declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TPluginOptions['resolvedOptions'], Context$1<TPluginOptions['resolvedOptions'], TPluginOptions>> {
|
|
830
833
|
#private;
|
|
@@ -1079,7 +1082,7 @@ type SchemaGeneratorOptions = {
|
|
|
1079
1082
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
1080
1083
|
unknownType: 'any' | 'unknown' | 'void';
|
|
1081
1084
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1082
|
-
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
|
|
1085
|
+
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1083
1086
|
enumSuffix?: string;
|
|
1084
1087
|
usedEnumNames?: Record<string, number>;
|
|
1085
1088
|
mapper?: Record<string, string>;
|
|
@@ -1460,4 +1463,4 @@ type ResolvedOptions = {
|
|
|
1460
1463
|
type PluginVueQuery = PluginFactoryOptions<'plugin-vue-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1461
1464
|
//#endregion
|
|
1462
1465
|
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 };
|
|
1463
|
-
//# sourceMappingURL=types-
|
|
1466
|
+
//# sourceMappingURL=types-DCnde2TI.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-vue-query",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.1",
|
|
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.9.2",
|
|
72
72
|
"remeda": "^2.33.1",
|
|
73
|
-
"@kubb/core": "4.
|
|
74
|
-
"@kubb/oas": "4.
|
|
75
|
-
"@kubb/plugin-client": "4.
|
|
76
|
-
"@kubb/plugin-oas": "4.
|
|
77
|
-
"@kubb/plugin-ts": "4.
|
|
78
|
-
"@kubb/plugin-zod": "4.
|
|
73
|
+
"@kubb/core": "4.14.1",
|
|
74
|
+
"@kubb/oas": "4.14.1",
|
|
75
|
+
"@kubb/plugin-client": "4.14.1",
|
|
76
|
+
"@kubb/plugin-oas": "4.14.1",
|
|
77
|
+
"@kubb/plugin-ts": "4.14.1",
|
|
78
|
+
"@kubb/plugin-zod": "4.14.1"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"@kubb/react-fabric": "0.9.2"
|