@kubb/plugin-swr 4.27.4 → 4.28.0
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/generators.d.cts +1 -0
- package/dist/generators.d.ts +1 -0
- package/package.json +7 -7
package/dist/generators.d.cts
CHANGED
|
@@ -370,6 +370,7 @@ type Context<TOptions, TPluginOptions extends PluginFactoryOptions> = {
|
|
|
370
370
|
};
|
|
371
371
|
type SchemaGeneratorOptions = {
|
|
372
372
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
373
|
+
integerType?: 'number' | 'bigint';
|
|
373
374
|
unknownType: 'any' | 'unknown' | 'void';
|
|
374
375
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
375
376
|
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
package/dist/generators.d.ts
CHANGED
|
@@ -371,6 +371,7 @@ type Context<TOptions, TPluginOptions extends PluginFactoryOptions> = {
|
|
|
371
371
|
};
|
|
372
372
|
type SchemaGeneratorOptions = {
|
|
373
373
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
374
|
+
integerType?: 'number' | 'bigint';
|
|
374
375
|
unknownType: 'any' | 'unknown' | 'void';
|
|
375
376
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
376
377
|
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-swr",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.28.0",
|
|
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",
|
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@kubb/react-fabric": "0.12.11",
|
|
79
79
|
"remeda": "^2.33.6",
|
|
80
|
-
"@kubb/core": "4.
|
|
81
|
-
"@kubb/oas": "4.
|
|
82
|
-
"@kubb/plugin-client": "4.
|
|
83
|
-
"@kubb/plugin-oas": "4.
|
|
84
|
-
"@kubb/plugin-ts": "4.
|
|
85
|
-
"@kubb/plugin-zod": "4.
|
|
80
|
+
"@kubb/core": "4.28.0",
|
|
81
|
+
"@kubb/oas": "4.28.0",
|
|
82
|
+
"@kubb/plugin-client": "4.28.0",
|
|
83
|
+
"@kubb/plugin-oas": "4.28.0",
|
|
84
|
+
"@kubb/plugin-ts": "4.28.0",
|
|
85
|
+
"@kubb/plugin-zod": "4.28.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"@kubb/react-fabric": "0.12.11"
|