@kubb/plugin-faker 4.12.8 → 4.12.9

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-Dn3FgEts.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-CtFqK5F5.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-Dn3FgEts.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-CtFqK5F5.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-Dn3FgEts.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-CtFqK5F5.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
@@ -1263,4 +1264,4 @@ type ResolvedOptions = {
1263
1264
  type PluginFaker = PluginFactoryOptions<'plugin-faker', Options, ResolvedOptions, never, ResolvePathOptions>;
1264
1265
  //#endregion
1265
1266
  export { UserPluginWithLifeCycle as a, Schema as i, PluginFaker as n, ReactGenerator as r, Options as t };
1266
- //# sourceMappingURL=types-BLbVUXhX.d.ts.map
1267
+ //# sourceMappingURL=types-CtFqK5F5.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
@@ -1263,4 +1264,4 @@ type ResolvedOptions = {
1263
1264
  type PluginFaker = PluginFactoryOptions<'plugin-faker', Options, ResolvedOptions, never, ResolvePathOptions>;
1264
1265
  //#endregion
1265
1266
  export { UserPluginWithLifeCycle as a, Schema as i, PluginFaker as n, ReactGenerator as r, Options as t };
1266
- //# sourceMappingURL=types-DHqVCxvA.d.cts.map
1267
+ //# sourceMappingURL=types-Dn3FgEts.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.9",
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.9",
73
+ "@kubb/oas": "4.12.9",
74
+ "@kubb/plugin-oas": "4.12.9",
75
+ "@kubb/plugin-ts": "4.12.9"
76
76
  },
77
77
  "engines": {
78
78
  "node": ">=20"