@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.
- 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-BLbVUXhX.d.ts → types-C_tkhFwB.d.ts} +3 -1
- package/dist/{types-DHqVCxvA.d.cts → types-CuzhfBSS.d.cts} +3 -1
- package/package.json +5 -5
package/dist/components.d.cts
CHANGED
package/dist/components.d.ts
CHANGED
package/dist/generators.d.cts
CHANGED
package/dist/generators.d.ts
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as UserPluginWithLifeCycle, n as PluginFaker, t as Options } from "./types-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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.
|
|
73
|
-
"@kubb/oas": "4.12.
|
|
74
|
-
"@kubb/plugin-oas": "4.12.
|
|
75
|
-
"@kubb/plugin-ts": "4.12.
|
|
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"
|