@kubb/plugin-swr 4.14.0 → 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-CoafKdu2.d.ts → types-Cg7Kzq5Q.d.cts} +3 -2
- package/dist/{types-Bpx6tX_E.d.cts → types-GBD29jH0.d.ts} +3 -2
- package/package.json +7 -7
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as OperationSchemas, n as PluginSwr, r as Transformer, s as Operation } from "./types-
|
|
1
|
+
import { a as OperationSchemas, n as PluginSwr, r as Transformer, s as Operation } from "./types-Cg7Kzq5Q.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 { a as OperationSchemas, n as PluginSwr, r as Transformer, s as Operation } from "./types-
|
|
1
|
+
import { a as OperationSchemas, n as PluginSwr, r as Transformer, s as Operation } from "./types-GBD29jH0.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
package/dist/generators.d.ts
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginSwr, o as UserPluginWithLifeCycle, t as Options } from "./types-
|
|
1
|
+
import { n as PluginSwr, o as UserPluginWithLifeCycle, t as Options } from "./types-Cg7Kzq5Q.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginSwrName = "plugin-swr";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginSwr, o as UserPluginWithLifeCycle, t as Options } from "./types-
|
|
1
|
+
import { n as PluginSwr, o as UserPluginWithLifeCycle, t as Options } from "./types-GBD29jH0.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginSwrName = "plugin-swr";
|
|
@@ -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
|
|
@@ -827,6 +827,7 @@ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
|
|
|
827
827
|
*/
|
|
828
828
|
plugin: Plugin<TPluginOptions>;
|
|
829
829
|
mode: KubbFile.Mode;
|
|
830
|
+
UNSTABLE_NAMING?: true;
|
|
830
831
|
};
|
|
831
832
|
declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TPluginOptions['resolvedOptions'], Context$1<TPluginOptions['resolvedOptions'], TPluginOptions>> {
|
|
832
833
|
#private;
|
|
@@ -1428,4 +1429,4 @@ type ResolvedOptions = {
|
|
|
1428
1429
|
type PluginSwr = PluginFactoryOptions<'plugin-swr', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1429
1430
|
//#endregion
|
|
1430
1431
|
export { OperationSchemas as a, ReactGenerator as i, PluginSwr as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
|
|
1431
|
-
//# sourceMappingURL=types-
|
|
1432
|
+
//# sourceMappingURL=types-Cg7Kzq5Q.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
|
|
@@ -827,6 +827,7 @@ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
|
|
|
827
827
|
*/
|
|
828
828
|
plugin: Plugin<TPluginOptions>;
|
|
829
829
|
mode: KubbFile.Mode;
|
|
830
|
+
UNSTABLE_NAMING?: true;
|
|
830
831
|
};
|
|
831
832
|
declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TPluginOptions['resolvedOptions'], Context$1<TPluginOptions['resolvedOptions'], TPluginOptions>> {
|
|
832
833
|
#private;
|
|
@@ -1428,4 +1429,4 @@ type ResolvedOptions = {
|
|
|
1428
1429
|
type PluginSwr = PluginFactoryOptions<'plugin-swr', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1429
1430
|
//#endregion
|
|
1430
1431
|
export { OperationSchemas as a, ReactGenerator as i, PluginSwr as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
|
|
1431
|
-
//# sourceMappingURL=types-
|
|
1432
|
+
//# sourceMappingURL=types-GBD29jH0.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-swr",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.1",
|
|
4
4
|
"description": "SWR hooks generator plugin for Kubb, creating type-safe data fetching hooks from OpenAPI specifications for React and Next.js applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"swr",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@kubb/react-fabric": "0.9.2",
|
|
74
74
|
"remeda": "^2.33.1",
|
|
75
|
-
"@kubb/core": "4.14.
|
|
76
|
-
"@kubb/oas": "4.14.
|
|
77
|
-
"@kubb/plugin-client": "4.14.
|
|
78
|
-
"@kubb/plugin-oas": "4.14.
|
|
79
|
-
"@kubb/plugin-ts": "4.14.
|
|
80
|
-
"@kubb/plugin-zod": "4.14.
|
|
75
|
+
"@kubb/core": "4.14.1",
|
|
76
|
+
"@kubb/oas": "4.14.1",
|
|
77
|
+
"@kubb/plugin-client": "4.14.1",
|
|
78
|
+
"@kubb/plugin-oas": "4.14.1",
|
|
79
|
+
"@kubb/plugin-ts": "4.14.1",
|
|
80
|
+
"@kubb/plugin-zod": "4.14.1"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"@kubb/react-fabric": "0.9.2"
|