@kubb/plugin-faker 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 Schema, n as PluginFaker } from "./types-DHqVCxvA.cjs";
1
+ import { i as Schema, n as PluginFaker } from "./types-CuzhfBSS.cjs";
2
2
  import { KubbNode } from "@kubb/react-fabric/types";
3
3
 
4
4
  //#region src/components/Faker.d.ts
@@ -1,4 +1,4 @@
1
- import { i as Schema, n as PluginFaker } from "./types-BLbVUXhX.js";
1
+ import { i as Schema, n as PluginFaker } from "./types-C_tkhFwB.js";
2
2
  import { KubbNode } from "@kubb/react-fabric/types";
3
3
 
4
4
  //#region src/components/Faker.d.ts
@@ -1,4 +1,4 @@
1
- import { n as PluginFaker, r as ReactGenerator } from "./types-DHqVCxvA.cjs";
1
+ import { n as PluginFaker, r as ReactGenerator } from "./types-CuzhfBSS.cjs";
2
2
 
3
3
  //#region src/generators/fakerGenerator.d.ts
4
4
  declare const fakerGenerator: ReactGenerator<PluginFaker>;
@@ -1,4 +1,4 @@
1
- import { n as PluginFaker, r as ReactGenerator } from "./types-BLbVUXhX.js";
1
+ import { n as PluginFaker, r as ReactGenerator } from "./types-C_tkhFwB.js";
2
2
 
3
3
  //#region src/generators/fakerGenerator.d.ts
4
4
  declare const fakerGenerator: ReactGenerator<PluginFaker>;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as UserPluginWithLifeCycle, n as PluginFaker, t as Options } from "./types-DHqVCxvA.cjs";
1
+ import { a as UserPluginWithLifeCycle, n as PluginFaker, t as Options } from "./types-CuzhfBSS.cjs";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginFakerName = "plugin-faker";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as UserPluginWithLifeCycle, n as PluginFaker, t as Options } from "./types-BLbVUXhX.js";
1
+ import { a as UserPluginWithLifeCycle, n as PluginFaker, t as Options } from "./types-C_tkhFwB.js";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginFakerName = "plugin-faker";
@@ -708,6 +708,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
708
708
  getRequestSchema(operation: Operation): SchemaObject | undefined;
709
709
  getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
710
710
  valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
711
+ flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
711
712
  }
712
713
  //#endregion
713
714
  //#region ../plugin-oas/src/types.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
  };
@@ -1263,4 +1265,4 @@ type ResolvedOptions = {
1263
1265
  type PluginFaker = PluginFactoryOptions<'plugin-faker', Options, ResolvedOptions, never, ResolvePathOptions>;
1264
1266
  //#endregion
1265
1267
  export { UserPluginWithLifeCycle as a, Schema as i, PluginFaker as n, ReactGenerator as r, Options as t };
1266
- //# sourceMappingURL=types-BLbVUXhX.d.ts.map
1268
+ //# sourceMappingURL=types-C_tkhFwB.d.ts.map
@@ -708,6 +708,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
708
708
  getRequestSchema(operation: Operation): SchemaObject | undefined;
709
709
  getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
710
710
  valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
711
+ flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
711
712
  }
712
713
  //#endregion
713
714
  //#region ../plugin-oas/src/types.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
  };
@@ -1263,4 +1265,4 @@ type ResolvedOptions = {
1263
1265
  type PluginFaker = PluginFactoryOptions<'plugin-faker', Options, ResolvedOptions, never, ResolvePathOptions>;
1264
1266
  //#endregion
1265
1267
  export { UserPluginWithLifeCycle as a, Schema as i, PluginFaker as n, ReactGenerator as r, Options as t };
1266
- //# sourceMappingURL=types-DHqVCxvA.d.cts.map
1268
+ //# sourceMappingURL=types-CuzhfBSS.d.cts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-faker",
3
- "version": "4.12.8",
3
+ "version": "4.12.10",
4
4
  "description": "Faker.js data generator plugin for Kubb, creating realistic mock data from OpenAPI specifications for development and testing.",
5
5
  "keywords": [
6
6
  "faker",
@@ -69,10 +69,10 @@
69
69
  ],
70
70
  "dependencies": {
71
71
  "@kubb/react-fabric": "0.7.4",
72
- "@kubb/core": "4.12.8",
73
- "@kubb/oas": "4.12.8",
74
- "@kubb/plugin-oas": "4.12.8",
75
- "@kubb/plugin-ts": "4.12.8"
72
+ "@kubb/core": "4.12.10",
73
+ "@kubb/oas": "4.12.10",
74
+ "@kubb/plugin-oas": "4.12.10",
75
+ "@kubb/plugin-ts": "4.12.10"
76
76
  },
77
77
  "engines": {
78
78
  "node": ">=20"