@kubb/plugin-cypress 4.12.8 → 4.12.10

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.
@@ -1,4 +1,4 @@
1
- import { i as OperationSchemas, n as PluginCypress, o as HttpMethod } from "./types-DhM-edYm.cjs";
1
+ import { i as OperationSchemas, n as PluginCypress, o as HttpMethod } from "./types-Xe0H057Y.cjs";
2
2
  import { FunctionParams } from "@kubb/react-fabric";
3
3
  import { KubbNode } from "@kubb/react-fabric/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { i as OperationSchemas, n as PluginCypress, o as HttpMethod } from "./types-B7Is-S_F.js";
1
+ import { i as OperationSchemas, n as PluginCypress, o as HttpMethod } from "./types-BItbpcjs.js";
2
2
  import { FunctionParams } from "@kubb/react-fabric";
3
3
  import { KubbNode } from "@kubb/react-fabric/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { n as PluginCypress, r as ReactGenerator } from "./types-DhM-edYm.cjs";
1
+ import { n as PluginCypress, r as ReactGenerator } from "./types-Xe0H057Y.cjs";
2
2
 
3
3
  //#region src/generators/cypressGenerator.d.ts
4
4
  declare const cypressGenerator: ReactGenerator<PluginCypress>;
@@ -1,4 +1,4 @@
1
- import { n as PluginCypress, r as ReactGenerator } from "./types-B7Is-S_F.js";
1
+ import { n as PluginCypress, r as ReactGenerator } from "./types-BItbpcjs.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-DhM-edYm.cjs";
1
+ import { a as UserPluginWithLifeCycle, n as PluginCypress, t as Options } from "./types-Xe0H057Y.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-B7Is-S_F.js";
1
+ import { a as UserPluginWithLifeCycle, n as PluginCypress, t as Options } from "./types-BItbpcjs.js";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginCypressName = "plugin-cypress";
@@ -41,6 +41,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
41
41
  getRequestSchema(operation: Operation): SchemaObject | undefined;
42
42
  getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
43
43
  valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
44
+ flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
44
45
  }
45
46
  //#endregion
46
47
  //#region ../core/src/BaseGenerator.d.ts
@@ -850,6 +851,7 @@ type SchemaKeywordMapper = {
850
851
  [x: string]: Schema[];
851
852
  };
852
853
  additionalProperties: Schema[];
854
+ patternProperties?: Record<string, Schema[]>;
853
855
  strict?: boolean;
854
856
  };
855
857
  };
@@ -1237,4 +1239,4 @@ type ResolvedOptions = {
1237
1239
  type PluginCypress = PluginFactoryOptions<'plugin-cypress', Options, ResolvedOptions, never, ResolvePathOptions>;
1238
1240
  //#endregion
1239
1241
  export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginCypress as n, HttpMethod as o, ReactGenerator as r, Options as t };
1240
- //# sourceMappingURL=types-B7Is-S_F.d.ts.map
1242
+ //# sourceMappingURL=types-BItbpcjs.d.ts.map
@@ -41,6 +41,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
41
41
  getRequestSchema(operation: Operation): SchemaObject | undefined;
42
42
  getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
43
43
  valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
44
+ flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
44
45
  }
45
46
  //#endregion
46
47
  //#region ../core/src/BaseGenerator.d.ts
@@ -850,6 +851,7 @@ type SchemaKeywordMapper = {
850
851
  [x: string]: Schema[];
851
852
  };
852
853
  additionalProperties: Schema[];
854
+ patternProperties?: Record<string, Schema[]>;
853
855
  strict?: boolean;
854
856
  };
855
857
  };
@@ -1237,4 +1239,4 @@ type ResolvedOptions = {
1237
1239
  type PluginCypress = PluginFactoryOptions<'plugin-cypress', Options, ResolvedOptions, never, ResolvePathOptions>;
1238
1240
  //#endregion
1239
1241
  export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginCypress as n, HttpMethod as o, ReactGenerator as r, Options as t };
1240
- //# sourceMappingURL=types-DhM-edYm.d.cts.map
1242
+ //# sourceMappingURL=types-Xe0H057Y.d.cts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-cypress",
3
- "version": "4.12.8",
3
+ "version": "4.12.10",
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",
@@ -75,10 +75,10 @@
75
75
  ],
76
76
  "dependencies": {
77
77
  "@kubb/react-fabric": "0.7.4",
78
- "@kubb/core": "4.12.8",
79
- "@kubb/oas": "4.12.8",
80
- "@kubb/plugin-oas": "4.12.8",
81
- "@kubb/plugin-ts": "4.12.8"
78
+ "@kubb/core": "4.12.10",
79
+ "@kubb/oas": "4.12.10",
80
+ "@kubb/plugin-oas": "4.12.10",
81
+ "@kubb/plugin-ts": "4.12.10"
82
82
  },
83
83
  "engines": {
84
84
  "node": ">=20"