@kubb/plugin-oas 3.16.1 → 3.16.3
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/Oas-CuqAnIw-.js +60 -0
- package/dist/Oas-CuqAnIw-.js.map +1 -0
- package/dist/Oas-Cv_pyXRM.cjs +78 -0
- package/dist/Oas-Cv_pyXRM.cjs.map +1 -0
- package/dist/OperationGenerator-CgbXErhW.d.cts +900 -0
- package/dist/OperationGenerator-OtLcGk2y.d.ts +900 -0
- package/dist/Schema-DJshqHto.d.cts +38 -0
- package/dist/Schema-DOXGUW1m.d.ts +38 -0
- package/dist/SchemaGenerator-8205BXCp.cjs +942 -0
- package/dist/SchemaGenerator-8205BXCp.cjs.map +1 -0
- package/dist/SchemaGenerator-B8Io6kky.js +930 -0
- package/dist/SchemaGenerator-B8Io6kky.js.map +1 -0
- package/dist/SchemaMapper-BaZQKrQB.js +54 -0
- package/dist/SchemaMapper-BaZQKrQB.js.map +1 -0
- package/dist/SchemaMapper-BiagBQN4.d.cts +388 -0
- package/dist/SchemaMapper-C2J2d3o4.d.ts +388 -0
- package/dist/SchemaMapper-D8J0V9Pj.cjs +66 -0
- package/dist/SchemaMapper-D8J0V9Pj.cjs.map +1 -0
- package/dist/chunk-CUT6urMc.cjs +30 -0
- package/dist/components.cjs +4 -19
- package/dist/components.d.cts +42 -35
- package/dist/components.d.ts +42 -35
- package/dist/components.js +3 -3
- package/dist/generators-BhLMlRNk.js +137 -0
- package/dist/generators-BhLMlRNk.js.map +1 -0
- package/dist/generators-DLH2kvlh.cjs +155 -0
- package/dist/generators-DLH2kvlh.cjs.map +1 -0
- package/dist/generators.cjs +4 -13
- package/dist/generators.d.cts +5 -7
- package/dist/generators.d.ts +5 -7
- package/dist/generators.js +5 -5
- package/dist/getFooter-BChY2kC1.cjs +43 -0
- package/dist/getFooter-BChY2kC1.cjs.map +1 -0
- package/dist/getFooter-T7_pZ6f8.js +31 -0
- package/dist/getFooter-T7_pZ6f8.js.map +1 -0
- package/dist/getSchemas-D8mP129c.cjs +67 -0
- package/dist/getSchemas-D8mP129c.cjs.map +1 -0
- package/dist/getSchemas-WoSBIxG8.js +55 -0
- package/dist/getSchemas-WoSBIxG8.js.map +1 -0
- package/dist/hooks.cjs +213 -195
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.d.cts +91 -86
- package/dist/hooks.d.ts +91 -86
- package/dist/hooks.js +212 -193
- package/dist/hooks.js.map +1 -1
- package/dist/index.cjs +280 -344
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -10
- package/dist/index.d.ts +7 -10
- package/dist/index.js +274 -318
- package/dist/index.js.map +1 -1
- package/dist/mocks.cjs +802 -737
- package/dist/mocks.cjs.map +1 -1
- package/dist/mocks.d.cts +12 -11
- package/dist/mocks.d.ts +12 -11
- package/dist/mocks.js +802 -735
- package/dist/mocks.js.map +1 -1
- package/dist/parseFromConfig-CMNGsef2.cjs +33 -0
- package/dist/parseFromConfig-CMNGsef2.cjs.map +1 -0
- package/dist/parseFromConfig-yAiFK03V.js +27 -0
- package/dist/parseFromConfig-yAiFK03V.js.map +1 -0
- package/dist/utils.cjs +58 -74
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +96 -42
- package/dist/utils.d.ts +96 -42
- package/dist/utils.js +47 -46
- package/dist/utils.js.map +1 -1
- package/package.json +28 -36
- package/src/SchemaGenerator.ts +6 -1
- package/src/components/Operation.tsx +1 -2
- package/src/mocks/schemas.ts +39 -0
- package/src/utils/getBanner.ts +5 -5
- package/src/utils/getFooter.ts +4 -4
- package/dist/OperationGenerator-C7NPZtOM.d.ts +0 -288
- package/dist/OperationGenerator-DJE2XQ83.d.cts +0 -288
- package/dist/Schema-AjebpeVY.d.ts +0 -32
- package/dist/Schema-M6983FL1.d.cts +0 -32
- package/dist/SchemaMapper-B21ZmWag.d.cts +0 -275
- package/dist/SchemaMapper-B21ZmWag.d.ts +0 -275
- package/dist/chunk-6S7YFY6F.js +0 -33
- package/dist/chunk-6S7YFY6F.js.map +0 -1
- package/dist/chunk-76E35IZ2.js +0 -56
- package/dist/chunk-76E35IZ2.js.map +0 -1
- package/dist/chunk-7RFNM43R.cjs +0 -41
- package/dist/chunk-7RFNM43R.cjs.map +0 -1
- package/dist/chunk-DTD4ZUDA.cjs +0 -36
- package/dist/chunk-DTD4ZUDA.cjs.map +0 -1
- package/dist/chunk-G3FDK7YW.js +0 -35
- package/dist/chunk-G3FDK7YW.js.map +0 -1
- package/dist/chunk-JNN4JPWK.js +0 -28
- package/dist/chunk-JNN4JPWK.js.map +0 -1
- package/dist/chunk-MBX66JAT.js +0 -93
- package/dist/chunk-MBX66JAT.js.map +0 -1
- package/dist/chunk-NFLZLRQS.cjs +0 -869
- package/dist/chunk-NFLZLRQS.cjs.map +0 -1
- package/dist/chunk-P2VXWGXZ.js +0 -862
- package/dist/chunk-P2VXWGXZ.js.map +0 -1
- package/dist/chunk-PORSNYI5.js +0 -47
- package/dist/chunk-PORSNYI5.js.map +0 -1
- package/dist/chunk-QJMOOF2A.cjs +0 -97
- package/dist/chunk-QJMOOF2A.cjs.map +0 -1
- package/dist/chunk-YWMMI3MO.cjs +0 -59
- package/dist/chunk-YWMMI3MO.cjs.map +0 -1
- package/dist/chunk-Z2NREI4X.cjs +0 -32
- package/dist/chunk-Z2NREI4X.cjs.map +0 -1
- package/dist/chunk-ZVFL3NXX.cjs +0 -50
- package/dist/chunk-ZVFL3NXX.cjs.map +0 -1
- package/dist/components.cjs.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/generators.cjs.map +0 -1
- package/dist/generators.js.map +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Key, KubbNode, SchemaObject } from "./OperationGenerator-CgbXErhW.cjs";
|
|
2
|
+
import { Schema } from "./SchemaMapper-BiagBQN4.cjs";
|
|
3
|
+
import * as react0 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Schema.d.ts
|
|
6
|
+
type SchemaContextProps = {
|
|
7
|
+
name: string;
|
|
8
|
+
schemaObject?: SchemaObject;
|
|
9
|
+
tree: Array<Schema>;
|
|
10
|
+
};
|
|
11
|
+
type Props = {
|
|
12
|
+
key?: Key;
|
|
13
|
+
name: string;
|
|
14
|
+
schemaObject?: SchemaObject;
|
|
15
|
+
tree?: Array<Schema>;
|
|
16
|
+
children?: KubbNode;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Provides schema-related context to descendant components.
|
|
20
|
+
*
|
|
21
|
+
* Wraps its children with a context containing the schema name, optional schema object, and an optional schema type tree.
|
|
22
|
+
*
|
|
23
|
+
* @param name - The name of the schema.
|
|
24
|
+
* @param schemaObject - The schema object to provide in context, if available.
|
|
25
|
+
* @param tree - An array representing the schema type hierarchy.
|
|
26
|
+
*/
|
|
27
|
+
declare function Schema$1({
|
|
28
|
+
name,
|
|
29
|
+
schemaObject,
|
|
30
|
+
tree,
|
|
31
|
+
children
|
|
32
|
+
}: Props): any;
|
|
33
|
+
declare namespace Schema$1 {
|
|
34
|
+
var Context: react0.Context<SchemaContextProps>;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { Schema$1 as Schema, SchemaContextProps };
|
|
38
|
+
//# sourceMappingURL=Schema-DJshqHto.d.cts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Key, KubbNode, SchemaObject } from "./OperationGenerator-OtLcGk2y.js";
|
|
2
|
+
import { Schema } from "./SchemaMapper-C2J2d3o4.js";
|
|
3
|
+
import * as react0 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Schema.d.ts
|
|
6
|
+
type SchemaContextProps = {
|
|
7
|
+
name: string;
|
|
8
|
+
schemaObject?: SchemaObject;
|
|
9
|
+
tree: Array<Schema>;
|
|
10
|
+
};
|
|
11
|
+
type Props = {
|
|
12
|
+
key?: Key;
|
|
13
|
+
name: string;
|
|
14
|
+
schemaObject?: SchemaObject;
|
|
15
|
+
tree?: Array<Schema>;
|
|
16
|
+
children?: KubbNode;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Provides schema-related context to descendant components.
|
|
20
|
+
*
|
|
21
|
+
* Wraps its children with a context containing the schema name, optional schema object, and an optional schema type tree.
|
|
22
|
+
*
|
|
23
|
+
* @param name - The name of the schema.
|
|
24
|
+
* @param schemaObject - The schema object to provide in context, if available.
|
|
25
|
+
* @param tree - An array representing the schema type hierarchy.
|
|
26
|
+
*/
|
|
27
|
+
declare function Schema$1({
|
|
28
|
+
name,
|
|
29
|
+
schemaObject,
|
|
30
|
+
tree,
|
|
31
|
+
children
|
|
32
|
+
}: Props): any;
|
|
33
|
+
declare namespace Schema$1 {
|
|
34
|
+
var Context: react0.Context<SchemaContextProps>;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { Schema$1 as Schema, SchemaContextProps };
|
|
38
|
+
//# sourceMappingURL=Schema-DOXGUW1m.d.ts.map
|