@kubb/plugin-cypress 4.13.0 → 4.14.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/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-DMfOe3TK.d.ts → types-CmOptDEt.d.cts} +5 -3
- package/dist/{types-99BJoiqS.d.cts → types-Dwd36Sxk.d.ts} +5 -3
- package/package.json +6 -6
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as OperationSchemas, n as PluginCypress, o as HttpMethod } from "./types-
|
|
1
|
+
import { i as OperationSchemas, n as PluginCypress, o as HttpMethod } from "./types-CmOptDEt.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 { i as OperationSchemas, n as PluginCypress, o as HttpMethod } from "./types-
|
|
1
|
+
import { i as OperationSchemas, n as PluginCypress, o as HttpMethod } from "./types-Dwd36Sxk.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 { n as PluginCypress, r as ReactGenerator } from "./types-
|
|
1
|
+
import { n as PluginCypress, r as ReactGenerator } from "./types-CmOptDEt.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/cypressGenerator.d.ts
|
|
4
4
|
declare const cypressGenerator: ReactGenerator<PluginCypress>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginCypress, r as ReactGenerator } from "./types-
|
|
1
|
+
import { n as PluginCypress, r as ReactGenerator } from "./types-Dwd36Sxk.js";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/cypressGenerator.d.ts
|
|
4
4
|
declare const cypressGenerator: ReactGenerator<PluginCypress>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as UserPluginWithLifeCycle, n as PluginCypress, t as Options } from "./types-
|
|
1
|
+
import { a as UserPluginWithLifeCycle, n as PluginCypress, t as Options } from "./types-CmOptDEt.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginCypressName = "plugin-cypress";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as UserPluginWithLifeCycle, n as PluginCypress, t as Options } from "./types-
|
|
1
|
+
import { a as UserPluginWithLifeCycle, n as PluginCypress, t as Options } from "./types-Dwd36Sxk.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginCypressName = "plugin-cypress";
|
|
@@ -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.
|
|
@@ -1079,7 +1081,7 @@ type SchemaGeneratorOptions = {
|
|
|
1079
1081
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
1080
1082
|
unknownType: 'any' | 'unknown' | 'void';
|
|
1081
1083
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1082
|
-
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
|
|
1084
|
+
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1083
1085
|
enumSuffix?: string;
|
|
1084
1086
|
usedEnumNames?: Record<string, number>;
|
|
1085
1087
|
mapper?: Record<string, string>;
|
|
@@ -1238,4 +1240,4 @@ type ResolvedOptions = {
|
|
|
1238
1240
|
type PluginCypress = PluginFactoryOptions<'plugin-cypress', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1239
1241
|
//#endregion
|
|
1240
1242
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginCypress as n, HttpMethod as o, ReactGenerator as r, Options as t };
|
|
1241
|
-
//# sourceMappingURL=types-
|
|
1243
|
+
//# sourceMappingURL=types-CmOptDEt.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.
|
|
@@ -1079,7 +1081,7 @@ type SchemaGeneratorOptions = {
|
|
|
1079
1081
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
1080
1082
|
unknownType: 'any' | 'unknown' | 'void';
|
|
1081
1083
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1082
|
-
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
|
|
1084
|
+
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1083
1085
|
enumSuffix?: string;
|
|
1084
1086
|
usedEnumNames?: Record<string, number>;
|
|
1085
1087
|
mapper?: Record<string, string>;
|
|
@@ -1238,4 +1240,4 @@ type ResolvedOptions = {
|
|
|
1238
1240
|
type PluginCypress = PluginFactoryOptions<'plugin-cypress', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1239
1241
|
//#endregion
|
|
1240
1242
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginCypress as n, HttpMethod as o, ReactGenerator as r, Options as t };
|
|
1241
|
-
//# sourceMappingURL=types-
|
|
1243
|
+
//# sourceMappingURL=types-Dwd36Sxk.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-cypress",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
4
4
|
"description": "Cypress test generator plugin for Kubb, creating end-to-end tests from OpenAPI specifications for automated API testing.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cypress",
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
}
|
|
75
75
|
],
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@kubb/react-fabric": "0.9.
|
|
78
|
-
"@kubb/core": "4.
|
|
79
|
-
"@kubb/oas": "4.
|
|
80
|
-
"@kubb/plugin-oas": "4.
|
|
81
|
-
"@kubb/plugin-ts": "4.
|
|
77
|
+
"@kubb/react-fabric": "0.9.2",
|
|
78
|
+
"@kubb/core": "4.14.0",
|
|
79
|
+
"@kubb/oas": "4.14.0",
|
|
80
|
+
"@kubb/plugin-oas": "4.14.0",
|
|
81
|
+
"@kubb/plugin-ts": "4.14.0"
|
|
82
82
|
},
|
|
83
83
|
"engines": {
|
|
84
84
|
"node": ">=20"
|