@kubb/plugin-oas 4.4.0 → 4.4.1

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.
Files changed (63) hide show
  1. package/dist/{Oas-CIeHKOo0.js → Oas-CHC1IC5D.js} +3 -7
  2. package/dist/{Oas-CIeHKOo0.js.map → Oas-CHC1IC5D.js.map} +1 -1
  3. package/dist/{Oas-BzrQ6RGC.cjs → Oas-CQrRP_NH.cjs} +3 -7
  4. package/dist/{Oas-BzrQ6RGC.cjs.map → Oas-CQrRP_NH.cjs.map} +1 -1
  5. package/dist/{OperationGenerator-BZPWkxw4.d.ts → OperationGenerator-CRZpkIpZ.d.ts} +29 -28
  6. package/dist/{OperationGenerator-CJTAer7l.d.cts → OperationGenerator-S_1PevQN.d.cts} +29 -28
  7. package/dist/{Schema-zcZF0UIp.d.cts → Schema-CZsDEhET.d.cts} +3 -3
  8. package/dist/{Schema-CjraJhJi.d.ts → Schema-DBvtiLS7.d.ts} +3 -3
  9. package/dist/{SchemaGenerator-DzVHk6OP.cjs → SchemaGenerator-DWj6buY0.cjs} +2 -2
  10. package/dist/SchemaGenerator-DWj6buY0.cjs.map +1 -0
  11. package/dist/{SchemaGenerator-7wBwdv8G.js → SchemaGenerator-b7XixzRv.js} +2 -2
  12. package/dist/SchemaGenerator-b7XixzRv.js.map +1 -0
  13. package/dist/{SchemaMapper-CqBW0VOy.d.ts → SchemaMapper-CX7sIIuZ.d.cts} +5 -118
  14. package/dist/{SchemaMapper-MiRB5_Zp.d.cts → SchemaMapper-CtfTw3hq.d.ts} +5 -118
  15. package/dist/SchemaMapper-Cx4X1al6.js.map +1 -1
  16. package/dist/SchemaMapper-DoL-a6qq.cjs.map +1 -1
  17. package/dist/components.cjs +1 -1
  18. package/dist/components.d.cts +3 -7
  19. package/dist/components.d.ts +3 -7
  20. package/dist/components.js +1 -1
  21. package/dist/generators-B27La9Vd.cjs.map +1 -1
  22. package/dist/generators-C61FxVIj.js.map +1 -1
  23. package/dist/generators.cjs +2 -2
  24. package/dist/generators.d.cts +2 -2
  25. package/dist/generators.d.ts +2 -2
  26. package/dist/generators.js +2 -2
  27. package/dist/hooks.cjs +5 -21
  28. package/dist/hooks.cjs.map +1 -1
  29. package/dist/hooks.d.cts +11 -31
  30. package/dist/hooks.d.ts +11 -31
  31. package/dist/hooks.js +7 -22
  32. package/dist/hooks.js.map +1 -1
  33. package/dist/index.cjs +3 -3
  34. package/dist/index.cjs.map +1 -1
  35. package/dist/index.d.cts +2 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +3 -3
  38. package/dist/index.js.map +1 -1
  39. package/dist/mocks.d.cts +1 -1
  40. package/dist/mocks.d.ts +1 -1
  41. package/dist/{utils-nzdccPlU.cjs → utils-DYf-j63H.cjs} +17 -21
  42. package/dist/utils-DYf-j63H.cjs.map +1 -0
  43. package/dist/{utils-BnkB1ikY.js → utils-DaV25sy8.js} +17 -21
  44. package/dist/utils-DaV25sy8.js.map +1 -0
  45. package/dist/utils.d.cts +2 -2
  46. package/dist/utils.d.ts +2 -2
  47. package/package.json +14 -10
  48. package/src/OperationGenerator.ts +1 -1
  49. package/src/SchemaGenerator.ts +1 -1
  50. package/src/SchemaMapper.ts +1 -1
  51. package/src/components/Oas.tsx +2 -7
  52. package/src/generators/createGenerator.ts +1 -1
  53. package/src/generators/utils.tsx +6 -6
  54. package/src/hooks/index.ts +1 -2
  55. package/src/hooks/useOas.ts +5 -11
  56. package/src/hooks/useOperationManager.ts +1 -1
  57. package/src/hooks/useSchemaManager.ts +1 -1
  58. package/src/types.ts +1 -1
  59. package/dist/SchemaGenerator-7wBwdv8G.js.map +0 -1
  60. package/dist/SchemaGenerator-DzVHk6OP.cjs.map +0 -1
  61. package/dist/utils-BnkB1ikY.js.map +0 -1
  62. package/dist/utils-nzdccPlU.cjs.map +0 -1
  63. package/src/hooks/useOperations.ts +0 -40
@@ -41,13 +41,9 @@ Schema.Context = SchemaContext;
41
41
  //#endregion
42
42
  //#region src/components/Oas.tsx
43
43
  const OasContext = createContext({});
44
- function Oas({ oas, children, operations, generator }) {
44
+ function Oas({ children, generator }) {
45
45
  return /* @__PURE__ */ jsx(OasContext.Provider, {
46
- value: {
47
- oas,
48
- generator,
49
- operations
50
- },
46
+ value: { generator },
51
47
  children
52
48
  });
53
49
  }
@@ -57,4 +53,4 @@ Oas.Schema = Schema;
57
53
 
58
54
  //#endregion
59
55
  export { Schema as n, Operation as r, Oas as t };
60
- //# sourceMappingURL=Oas-CIeHKOo0.js.map
56
+ //# sourceMappingURL=Oas-CHC1IC5D.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Oas-CIeHKOo0.js","names":[],"sources":["../src/components/Operation.tsx","../src/components/Schema.tsx","../src/components/Oas.tsx"],"sourcesContent":["import type { Operation as OperationType } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { KubbNode } from '@kubb/react-fabric/types'\n\ntype Props = {\n operation: OperationType\n children?: KubbNode\n}\n\ntype OperationContextProps = {\n operation?: OperationType\n}\n\nconst OperationContext = createContext<OperationContextProps>({})\n\nexport function Operation({ operation, children }: Props): KubbNode {\n return <OperationContext.Provider value={{ operation }}>{children}</OperationContext.Provider>\n}\n\nOperation.Context = OperationContext\n","import type { SchemaObject } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { Key, KubbNode } from '@kubb/react-fabric/types'\nimport type { Schema as SchemaType } from '../SchemaMapper.ts'\n\nexport type SchemaContextProps = {\n name: string\n schemaObject?: SchemaObject\n tree: Array<SchemaType>\n}\n\ntype Props = {\n key?: Key\n name: string\n schemaObject?: SchemaObject\n tree?: Array<SchemaType>\n children?: KubbNode\n}\n\nconst SchemaContext = createContext<SchemaContextProps>({\n name: 'unknown',\n tree: [],\n})\n\n/**\n * Provides schema-related context to descendant components.\n *\n * Wraps its children with a context containing the schema name, optional schema object, and an optional schema type tree.\n *\n * @param name - The name of the schema.\n * @param schemaObject - The schema object to provide in context, if available.\n * @param tree - An array representing the schema type hierarchy.\n */\nexport function Schema({ name, schemaObject, tree = [], children }: Props): KubbNode {\n return <SchemaContext.Provider value={{ name, schemaObject, tree }}>{children}</SchemaContext.Provider>\n}\n\nSchema.Context = SchemaContext\n","import type { Oas as OasType, Operation as OperationType } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { KubbNode } from '@kubb/react-fabric/types'\nimport type { OperationGenerator } from '../OperationGenerator.ts'\nimport { Operation } from './Operation.tsx'\nimport { Schema } from './Schema.tsx'\n\ntype Props = {\n oas: OasType\n operations?: OperationType[]\n /**\n * @deprecated\n */\n generator?: Omit<OperationGenerator, 'build'>\n children?: KubbNode\n}\n\ntype OasContextProps = {\n oas?: OasType\n operations?: OperationType[]\n /**\n * @deprecated\n */\n generator?: Omit<OperationGenerator, 'build'>\n}\n\nconst OasContext = createContext<OasContextProps>({})\n\nexport function Oas({ oas, children, operations, generator }: Props): KubbNode {\n return <OasContext.Provider value={{ oas, generator, operations }}>{children}</OasContext.Provider>\n}\n\nOas.Context = OasContext\nOas.Operation = Operation\nOas.Schema = Schema\n"],"mappings":";;;;AAaA,MAAM,mBAAmB,cAAqC,EAAE,CAAC;AAEjE,SAAgB,UAAU,EAAE,WAAW,YAA6B;AAClE,QAAO,oBAAC,iBAAiB;EAAS,OAAO,EAAE,WAAW;EAAG;GAAqC;;AAGhG,UAAU,UAAU;;;;ACApB,MAAM,gBAAgB,cAAkC;CACtD,MAAM;CACN,MAAM,EAAE;CACT,CAAC;;;;;;;;;;AAWF,SAAgB,OAAO,EAAE,MAAM,cAAc,OAAO,EAAE,EAAE,YAA6B;AACnF,QAAO,oBAAC,cAAc;EAAS,OAAO;GAAE;GAAM;GAAc;GAAM;EAAG;GAAkC;;AAGzG,OAAO,UAAU;;;;ACXjB,MAAM,aAAa,cAA+B,EAAE,CAAC;AAErD,SAAgB,IAAI,EAAE,KAAK,UAAU,YAAY,aAA8B;AAC7E,QAAO,oBAAC,WAAW;EAAS,OAAO;GAAE;GAAK;GAAW;GAAY;EAAG;GAA+B;;AAGrG,IAAI,UAAU;AACd,IAAI,YAAY;AAChB,IAAI,SAAS"}
1
+ {"version":3,"file":"Oas-CHC1IC5D.js","names":[],"sources":["../src/components/Operation.tsx","../src/components/Schema.tsx","../src/components/Oas.tsx"],"sourcesContent":["import type { Operation as OperationType } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { KubbNode } from '@kubb/react-fabric/types'\n\ntype Props = {\n operation: OperationType\n children?: KubbNode\n}\n\ntype OperationContextProps = {\n operation?: OperationType\n}\n\nconst OperationContext = createContext<OperationContextProps>({})\n\nexport function Operation({ operation, children }: Props): KubbNode {\n return <OperationContext.Provider value={{ operation }}>{children}</OperationContext.Provider>\n}\n\nOperation.Context = OperationContext\n","import type { SchemaObject } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { Key, KubbNode } from '@kubb/react-fabric/types'\nimport type { Schema as SchemaType } from '../SchemaMapper.ts'\n\nexport type SchemaContextProps = {\n name: string\n schemaObject?: SchemaObject\n tree: Array<SchemaType>\n}\n\ntype Props = {\n key?: Key\n name: string\n schemaObject?: SchemaObject\n tree?: Array<SchemaType>\n children?: KubbNode\n}\n\nconst SchemaContext = createContext<SchemaContextProps>({\n name: 'unknown',\n tree: [],\n})\n\n/**\n * Provides schema-related context to descendant components.\n *\n * Wraps its children with a context containing the schema name, optional schema object, and an optional schema type tree.\n *\n * @param name - The name of the schema.\n * @param schemaObject - The schema object to provide in context, if available.\n * @param tree - An array representing the schema type hierarchy.\n */\nexport function Schema({ name, schemaObject, tree = [], children }: Props): KubbNode {\n return <SchemaContext.Provider value={{ name, schemaObject, tree }}>{children}</SchemaContext.Provider>\n}\n\nSchema.Context = SchemaContext\n","import { createContext } from '@kubb/react-fabric'\nimport type { KubbNode } from '@kubb/react-fabric/types'\nimport type { OperationGenerator } from '../OperationGenerator.ts'\nimport { Operation } from './Operation.tsx'\nimport { Schema } from './Schema.tsx'\n\ntype Props = {\n /**\n * @deprecated\n */\n generator?: Omit<OperationGenerator, 'build'>\n children?: KubbNode\n}\n\ntype OasContextProps = {\n /**\n * @deprecated\n */\n generator?: Omit<OperationGenerator, 'build'>\n}\n\nconst OasContext = createContext<OasContextProps>({})\n\nexport function Oas({ children, generator }: Props): KubbNode {\n return <OasContext.Provider value={{ generator }}>{children}</OasContext.Provider>\n}\n\nOas.Context = OasContext\nOas.Operation = Operation\nOas.Schema = Schema\n"],"mappings":";;;;AAaA,MAAM,mBAAmB,cAAqC,EAAE,CAAC;AAEjE,SAAgB,UAAU,EAAE,WAAW,YAA6B;AAClE,QAAO,oBAAC,iBAAiB;EAAS,OAAO,EAAE,WAAW;EAAG;GAAqC;;AAGhG,UAAU,UAAU;;;;ACApB,MAAM,gBAAgB,cAAkC;CACtD,MAAM;CACN,MAAM,EAAE;CACT,CAAC;;;;;;;;;;AAWF,SAAgB,OAAO,EAAE,MAAM,cAAc,OAAO,EAAE,EAAE,YAA6B;AACnF,QAAO,oBAAC,cAAc;EAAS,OAAO;GAAE;GAAM;GAAc;GAAM;EAAG;GAAkC;;AAGzG,OAAO,UAAU;;;;AChBjB,MAAM,aAAa,cAA+B,EAAE,CAAC;AAErD,SAAgB,IAAI,EAAE,UAAU,aAA8B;AAC5D,QAAO,oBAAC,WAAW;EAAS,OAAO,EAAE,WAAW;EAAG;GAA+B;;AAGpF,IAAI,UAAU;AACd,IAAI,YAAY;AAChB,IAAI,SAAS"}
@@ -44,13 +44,9 @@ Schema.Context = SchemaContext;
44
44
  //#endregion
45
45
  //#region src/components/Oas.tsx
46
46
  const OasContext = (0, __kubb_react_fabric.createContext)({});
47
- function Oas({ oas, children, operations, generator }) {
47
+ function Oas({ children, generator }) {
48
48
  return /* @__PURE__ */ (0, __kubb_react_fabric_jsx_runtime.jsx)(OasContext.Provider, {
49
- value: {
50
- oas,
51
- generator,
52
- operations
53
- },
49
+ value: { generator },
54
50
  children
55
51
  });
56
52
  }
@@ -77,4 +73,4 @@ Object.defineProperty(exports, 'Schema', {
77
73
  return Schema;
78
74
  }
79
75
  });
80
- //# sourceMappingURL=Oas-BzrQ6RGC.cjs.map
76
+ //# sourceMappingURL=Oas-CQrRP_NH.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Oas-BzrQ6RGC.cjs","names":[],"sources":["../src/components/Operation.tsx","../src/components/Schema.tsx","../src/components/Oas.tsx"],"sourcesContent":["import type { Operation as OperationType } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { KubbNode } from '@kubb/react-fabric/types'\n\ntype Props = {\n operation: OperationType\n children?: KubbNode\n}\n\ntype OperationContextProps = {\n operation?: OperationType\n}\n\nconst OperationContext = createContext<OperationContextProps>({})\n\nexport function Operation({ operation, children }: Props): KubbNode {\n return <OperationContext.Provider value={{ operation }}>{children}</OperationContext.Provider>\n}\n\nOperation.Context = OperationContext\n","import type { SchemaObject } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { Key, KubbNode } from '@kubb/react-fabric/types'\nimport type { Schema as SchemaType } from '../SchemaMapper.ts'\n\nexport type SchemaContextProps = {\n name: string\n schemaObject?: SchemaObject\n tree: Array<SchemaType>\n}\n\ntype Props = {\n key?: Key\n name: string\n schemaObject?: SchemaObject\n tree?: Array<SchemaType>\n children?: KubbNode\n}\n\nconst SchemaContext = createContext<SchemaContextProps>({\n name: 'unknown',\n tree: [],\n})\n\n/**\n * Provides schema-related context to descendant components.\n *\n * Wraps its children with a context containing the schema name, optional schema object, and an optional schema type tree.\n *\n * @param name - The name of the schema.\n * @param schemaObject - The schema object to provide in context, if available.\n * @param tree - An array representing the schema type hierarchy.\n */\nexport function Schema({ name, schemaObject, tree = [], children }: Props): KubbNode {\n return <SchemaContext.Provider value={{ name, schemaObject, tree }}>{children}</SchemaContext.Provider>\n}\n\nSchema.Context = SchemaContext\n","import type { Oas as OasType, Operation as OperationType } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { KubbNode } from '@kubb/react-fabric/types'\nimport type { OperationGenerator } from '../OperationGenerator.ts'\nimport { Operation } from './Operation.tsx'\nimport { Schema } from './Schema.tsx'\n\ntype Props = {\n oas: OasType\n operations?: OperationType[]\n /**\n * @deprecated\n */\n generator?: Omit<OperationGenerator, 'build'>\n children?: KubbNode\n}\n\ntype OasContextProps = {\n oas?: OasType\n operations?: OperationType[]\n /**\n * @deprecated\n */\n generator?: Omit<OperationGenerator, 'build'>\n}\n\nconst OasContext = createContext<OasContextProps>({})\n\nexport function Oas({ oas, children, operations, generator }: Props): KubbNode {\n return <OasContext.Provider value={{ oas, generator, operations }}>{children}</OasContext.Provider>\n}\n\nOas.Context = OasContext\nOas.Operation = Operation\nOas.Schema = Schema\n"],"mappings":";;;;;;;AAaA,MAAM,0DAAwD,EAAE,CAAC;AAEjE,SAAgB,UAAU,EAAE,WAAW,YAA6B;AAClE,QAAO,yDAAC,iBAAiB;EAAS,OAAO,EAAE,WAAW;EAAG;GAAqC;;AAGhG,UAAU,UAAU;;;;ACApB,MAAM,uDAAkD;CACtD,MAAM;CACN,MAAM,EAAE;CACT,CAAC;;;;;;;;;;AAWF,SAAgB,OAAO,EAAE,MAAM,cAAc,OAAO,EAAE,EAAE,YAA6B;AACnF,QAAO,yDAAC,cAAc;EAAS,OAAO;GAAE;GAAM;GAAc;GAAM;EAAG;GAAkC;;AAGzG,OAAO,UAAU;;;;ACXjB,MAAM,oDAA4C,EAAE,CAAC;AAErD,SAAgB,IAAI,EAAE,KAAK,UAAU,YAAY,aAA8B;AAC7E,QAAO,yDAAC,WAAW;EAAS,OAAO;GAAE;GAAK;GAAW;GAAY;EAAG;GAA+B;;AAGrG,IAAI,UAAU;AACd,IAAI,YAAY;AAChB,IAAI,SAAS"}
1
+ {"version":3,"file":"Oas-CQrRP_NH.cjs","names":[],"sources":["../src/components/Operation.tsx","../src/components/Schema.tsx","../src/components/Oas.tsx"],"sourcesContent":["import type { Operation as OperationType } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { KubbNode } from '@kubb/react-fabric/types'\n\ntype Props = {\n operation: OperationType\n children?: KubbNode\n}\n\ntype OperationContextProps = {\n operation?: OperationType\n}\n\nconst OperationContext = createContext<OperationContextProps>({})\n\nexport function Operation({ operation, children }: Props): KubbNode {\n return <OperationContext.Provider value={{ operation }}>{children}</OperationContext.Provider>\n}\n\nOperation.Context = OperationContext\n","import type { SchemaObject } from '@kubb/oas'\nimport { createContext } from '@kubb/react-fabric'\nimport type { Key, KubbNode } from '@kubb/react-fabric/types'\nimport type { Schema as SchemaType } from '../SchemaMapper.ts'\n\nexport type SchemaContextProps = {\n name: string\n schemaObject?: SchemaObject\n tree: Array<SchemaType>\n}\n\ntype Props = {\n key?: Key\n name: string\n schemaObject?: SchemaObject\n tree?: Array<SchemaType>\n children?: KubbNode\n}\n\nconst SchemaContext = createContext<SchemaContextProps>({\n name: 'unknown',\n tree: [],\n})\n\n/**\n * Provides schema-related context to descendant components.\n *\n * Wraps its children with a context containing the schema name, optional schema object, and an optional schema type tree.\n *\n * @param name - The name of the schema.\n * @param schemaObject - The schema object to provide in context, if available.\n * @param tree - An array representing the schema type hierarchy.\n */\nexport function Schema({ name, schemaObject, tree = [], children }: Props): KubbNode {\n return <SchemaContext.Provider value={{ name, schemaObject, tree }}>{children}</SchemaContext.Provider>\n}\n\nSchema.Context = SchemaContext\n","import { createContext } from '@kubb/react-fabric'\nimport type { KubbNode } from '@kubb/react-fabric/types'\nimport type { OperationGenerator } from '../OperationGenerator.ts'\nimport { Operation } from './Operation.tsx'\nimport { Schema } from './Schema.tsx'\n\ntype Props = {\n /**\n * @deprecated\n */\n generator?: Omit<OperationGenerator, 'build'>\n children?: KubbNode\n}\n\ntype OasContextProps = {\n /**\n * @deprecated\n */\n generator?: Omit<OperationGenerator, 'build'>\n}\n\nconst OasContext = createContext<OasContextProps>({})\n\nexport function Oas({ children, generator }: Props): KubbNode {\n return <OasContext.Provider value={{ generator }}>{children}</OasContext.Provider>\n}\n\nOas.Context = OasContext\nOas.Operation = Operation\nOas.Schema = Schema\n"],"mappings":";;;;;;;AAaA,MAAM,0DAAwD,EAAE,CAAC;AAEjE,SAAgB,UAAU,EAAE,WAAW,YAA6B;AAClE,QAAO,yDAAC,iBAAiB;EAAS,OAAO,EAAE,WAAW;EAAG;GAAqC;;AAGhG,UAAU,UAAU;;;;ACApB,MAAM,uDAAkD;CACtD,MAAM;CACN,MAAM,EAAE;CACT,CAAC;;;;;;;;;;AAWF,SAAgB,OAAO,EAAE,MAAM,cAAc,OAAO,EAAE,EAAE,YAA6B;AACnF,QAAO,yDAAC,cAAc;EAAS,OAAO;GAAE;GAAM;GAAc;GAAM;EAAG;GAAkC;;AAGzG,OAAO,UAAU;;;;AChBjB,MAAM,oDAA4C,EAAE,CAAC;AAErD,SAAgB,IAAI,EAAE,UAAU,aAA8B;AAC5D,QAAO,yDAAC,WAAW;EAAS,OAAO,EAAE,WAAW;EAAG;GAA+B;;AAGpF,IAAI,UAAU;AACd,IAAI,YAAY;AAChB,IAAI,SAAS"}
@@ -1,4 +1,4 @@
1
- import { d as File, g as ResolvedFile, h as Path, i as SchemaKeywordMapper, l as BaseName, m as OptionalPath, p as Mode, t as Schema, u as Extname } from "./SchemaMapper-CqBW0VOy.js";
1
+ import { i as SchemaKeywordMapper, t as Schema } from "./SchemaMapper-CtfTw3hq.js";
2
2
  import { Fabric, FileManager } from "@kubb/react-fabric";
3
3
  import * as OasTypes from "oas/types";
4
4
  import { HttpMethods as HttpMethod, OASDocument, SchemaObject, User } from "oas/types";
@@ -7,6 +7,7 @@ import { OpenAPIV3, OpenAPIV3 as OpenAPIV3$1, OpenAPIV3_1 } from "openapi-types"
7
7
  import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
8
8
  import BaseOas from "oas";
9
9
  import { KubbNode } from "@kubb/react-fabric/types";
10
+ import { KubbFile } from "@kubb/fabric-core/types";
10
11
  import { ConsolaInstance, LogLevel } from "consola";
11
12
 
12
13
  //#region ../oas/src/types.d.ts
@@ -181,7 +182,7 @@ type Config<TInput = Input> = {
181
182
  * Override the extension to the generated imports and exports, by default each plugin will add an extension
182
183
  * @default { '.ts': '.ts'}
183
184
  */
184
- extension?: Record<Extname, Extname | ''>;
185
+ extension?: Record<KubbFile.Extname, KubbFile.Extname | ''>;
185
186
  /**
186
187
  * Specify how `index.ts` files should be created. You can also disable the generation of barrel files here. While each plugin has its own `barrelType` option, this setting controls the creation of the root barrel file, such as` src/gen/index.ts`.
187
188
  * @default 'named'
@@ -312,7 +313,7 @@ type PluginLifecycle<TOptions extends PluginFactoryOptions = PluginFactoryOption
312
313
  * @type hookFirst
313
314
  * @example ('./Pet.ts', './src/gen/') => '/src/gen/Pet.ts'
314
315
  */
315
- resolvePath?: (this: PluginContext<TOptions>, baseName: BaseName, mode?: Mode, options?: TOptions['resolvePathOptions']) => OptionalPath;
316
+ resolvePath?: (this: PluginContext<TOptions>, baseName: KubbFile.BaseName, mode?: KubbFile.Mode, options?: TOptions['resolvePathOptions']) => KubbFile.OptionalPath;
316
317
  /**
317
318
  * Resolve to a name based on a string.
318
319
  * Useful when converting to PascalCase or camelCase.
@@ -330,8 +331,8 @@ type PluginLifecycleHooks = keyof PluginLifecycle;
330
331
  type PluginParameter<H extends PluginLifecycleHooks> = Parameters<Required<PluginLifecycle>[H]>;
331
332
  type ResolvePathParams<TOptions = object> = {
332
333
  pluginKey?: Plugin['key'];
333
- baseName: BaseName;
334
- mode?: Mode;
334
+ baseName: KubbFile.BaseName;
335
+ mode?: KubbFile.Mode;
335
336
  /**
336
337
  * Options to be passed to 'resolvePath' 3th parameter
337
338
  */
@@ -356,8 +357,8 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
356
357
  */
357
358
  fileManager: FileManager;
358
359
  pluginManager: PluginManager;
359
- addFile: (...file: Array<File>) => Promise<Array<ResolvedFile>>;
360
- resolvePath: (params: ResolvePathParams<TOptions['resolvePathOptions']>) => OptionalPath;
360
+ addFile: (...file: Array<KubbFile.File>) => Promise<Array<KubbFile.ResolvedFile>>;
361
+ resolvePath: (params: ResolvePathParams<TOptions['resolvePathOptions']>) => KubbFile.OptionalPath;
361
362
  resolveName: (params: ResolveNameParams) => string;
362
363
  logger: Logger;
363
364
  /**
@@ -436,8 +437,8 @@ type Events = {
436
437
  };
437
438
  type GetFileProps<TOptions = object> = {
438
439
  name: string;
439
- mode?: Mode;
440
- extname: Extname;
440
+ mode?: KubbFile.Mode;
441
+ extname: KubbFile.Extname;
441
442
  pluginKey: Plugin['key'];
442
443
  options?: TOptions;
443
444
  };
@@ -456,10 +457,10 @@ declare class PluginManager {
456
457
  extname,
457
458
  pluginKey,
458
459
  options
459
- }: GetFileProps<TOptions>): File<{
460
+ }: GetFileProps<TOptions>): KubbFile.File<{
460
461
  pluginKey: Plugin['key'];
461
462
  }>;
462
- resolvePath: <TOptions = object>(params: ResolvePathParams<TOptions>) => OptionalPath;
463
+ resolvePath: <TOptions = object>(params: ResolvePathParams<TOptions>) => KubbFile.OptionalPath;
463
464
  resolveName: (params: ResolveNameParams) => string;
464
465
  /**
465
466
  * Instead of calling `pluginManager.events.on` you can use `pluginManager.on`. This one also has better types.
@@ -559,16 +560,16 @@ type FileMetaBase = {
559
560
  //#region src/generators/createGenerator.d.ts
560
561
  type UserGenerator$1<TOptions extends PluginFactoryOptions> = {
561
562
  name: string;
562
- operations?: (props: OperationsProps<TOptions>) => Promise<File[]>;
563
- operation?: (props: OperationProps<TOptions>) => Promise<File[]>;
564
- schema?: (props: SchemaProps<TOptions>) => Promise<File[]>;
563
+ operations?: (props: OperationsProps<TOptions>) => Promise<KubbFile.File[]>;
564
+ operation?: (props: OperationProps<TOptions>) => Promise<KubbFile.File[]>;
565
+ schema?: (props: SchemaProps<TOptions>) => Promise<KubbFile.File[]>;
565
566
  };
566
567
  type CoreGenerator<TOptions extends PluginFactoryOptions> = {
567
568
  name: string;
568
569
  type: 'core';
569
- operations: (props: OperationsProps<TOptions>) => Promise<File[]>;
570
- operation: (props: OperationProps<TOptions>) => Promise<File[]>;
571
- schema: (props: SchemaProps<TOptions>) => Promise<File[]>;
570
+ operations: (props: OperationsProps<TOptions>) => Promise<KubbFile.File[]>;
571
+ operation: (props: OperationProps<TOptions>) => Promise<KubbFile.File[]>;
572
+ schema: (props: SchemaProps<TOptions>) => Promise<KubbFile.File[]>;
572
573
  };
573
574
  declare function createGenerator<TOptions extends PluginFactoryOptions>(generator: UserGenerator$1<TOptions>): CoreGenerator<TOptions>;
574
575
  //#endregion
@@ -668,7 +669,7 @@ type Options$1 = {
668
669
  type Ref = {
669
670
  propertyName: string;
670
671
  originalName: string;
671
- path: OptionalPath;
672
+ path: KubbFile.OptionalPath;
672
673
  pluginKey?: Plugin['key'];
673
674
  };
674
675
  type Refs = Record<string, Ref>;
@@ -677,8 +678,8 @@ type Resolver = {
677
678
  * Original name or name resolved by `resolveName({ name: operation?.getOperationId() as string, pluginName })`
678
679
  */
679
680
  name: string;
680
- baseName: BaseName;
681
- path: Path;
681
+ baseName: KubbFile.BaseName;
682
+ path: KubbFile.Path;
682
683
  };
683
684
  type OperationSchema = {
684
685
  /**
@@ -752,7 +753,7 @@ declare const jsonGenerator: CoreGenerator<PluginOas>;
752
753
  //#endregion
753
754
  //#region src/SchemaGenerator.d.ts
754
755
  type GetSchemaGeneratorOptions<T extends SchemaGenerator<any, any, any>> = T extends SchemaGenerator<infer Options, any, any> ? Options : never;
755
- type SchemaMethodResult<TFileMeta extends FileMetaBase> = Promise<File<TFileMeta> | Array<File<TFileMeta>> | null>;
756
+ type SchemaMethodResult<TFileMeta extends FileMetaBase> = Promise<KubbFile.File<TFileMeta> | Array<KubbFile.File<TFileMeta>> | null>;
756
757
  type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
757
758
  fabric: Fabric;
758
759
  oas: Oas;
@@ -761,7 +762,7 @@ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
761
762
  * Current plugin
762
763
  */
763
764
  plugin: Plugin<TPluginOptions>;
764
- mode: Mode;
765
+ mode: KubbFile.Mode;
765
766
  include?: Array<'schemas' | 'responses' | 'requestBodies'>;
766
767
  override: Array<Override<TOptions>> | undefined;
767
768
  contentType?: contentType;
@@ -810,7 +811,7 @@ declare class SchemaGenerator<TOptions extends SchemaGeneratorOptions = SchemaGe
810
811
  static findInObject<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
811
812
  static find<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
812
813
  static combineObjects(tree: Schema[] | undefined): Schema[];
813
- build(...generators: Array<Generator<TPluginOptions>>): Promise<Array<File<TFileMeta>>>;
814
+ build(...generators: Array<Generator<TPluginOptions>>): Promise<Array<KubbFile.File<TFileMeta>>>;
814
815
  }
815
816
  //#endregion
816
817
  //#region src/generators/utils.d.ts
@@ -889,7 +890,7 @@ type SchemaProps<TOptions extends PluginFactoryOptions> = {
889
890
  type Generator<TOptions extends PluginFactoryOptions> = CoreGenerator<TOptions> | ReactGenerator<TOptions>;
890
891
  //#endregion
891
892
  //#region src/OperationGenerator.d.ts
892
- type OperationMethodResult<TFileMeta extends FileMetaBase> = Promise<File<TFileMeta> | Array<File<TFileMeta>> | null>;
893
+ type OperationMethodResult<TFileMeta extends FileMetaBase> = Promise<KubbFile.File<TFileMeta> | Array<KubbFile.File<TFileMeta>> | null>;
893
894
  type Context<TOptions, TPluginOptions extends PluginFactoryOptions> = {
894
895
  fabric: Fabric;
895
896
  oas: Oas;
@@ -902,7 +903,7 @@ type Context<TOptions, TPluginOptions extends PluginFactoryOptions> = {
902
903
  * Current plugin
903
904
  */
904
905
  plugin: Plugin<TPluginOptions>;
905
- mode: Mode;
906
+ mode: KubbFile.Mode;
906
907
  };
907
908
  declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TPluginOptions['resolvedOptions'], Context<TPluginOptions['resolvedOptions'], TPluginOptions>> {
908
909
  #private;
@@ -916,8 +917,8 @@ declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = P
916
917
  method: HttpMethod;
917
918
  operation: Operation$1;
918
919
  }>>;
919
- build(...generators: Array<Generator<TPluginOptions>>): Promise<Array<File<TFileMeta>>>;
920
+ build(...generators: Array<Generator<TPluginOptions>>): Promise<Array<KubbFile.File<TFileMeta>>>;
920
921
  }
921
922
  //#endregion
922
- export { Config as A, SchemaObject$1 as B, Ref as C, createReactGenerator as D, Resolver as E, HttpMethod as F, OasTypes as I, OpenAPIV3$1 as L, Plugin as M, ResolveNameParams as N, createGenerator as O, Oas as P, OpenAPIV3_1 as R, PluginOas as S, ResolvePathOptions as T, contentType as V, Include as _, pluginOasName as a, Options$1 as b, buildSchema as c, SchemaGeneratorBuildOptions as d, SchemaGeneratorOptions as f, Exclude$1 as g, API as h, pluginOas as i, Output as j, FileMetaBase as k, GetSchemaGeneratorOptions as l, jsonGenerator as m, OperationMethodResult as n, buildOperation as o, SchemaMethodResult as p, Generator as r, buildOperations as s, OperationGenerator as t, SchemaGenerator as u, OperationSchema as v, Refs as w, Override as x, OperationSchemas as y, Operation$1 as z };
923
- //# sourceMappingURL=OperationGenerator-BZPWkxw4.d.ts.map
923
+ export { Config as A, contentType as B, Ref as C, createReactGenerator as D, Resolver as E, OasTypes as F, OpenAPIV3$1 as I, OpenAPIV3_1 as L, Plugin as M, ResolveNameParams as N, createGenerator as O, Oas as P, Operation$1 as R, PluginOas as S, ResolvePathOptions as T, Include as _, pluginOasName as a, Options$1 as b, buildSchema as c, SchemaGeneratorBuildOptions as d, SchemaGeneratorOptions as f, Exclude$1 as g, API as h, pluginOas as i, Output as j, FileMetaBase as k, GetSchemaGeneratorOptions as l, jsonGenerator as m, OperationMethodResult as n, buildOperation as o, SchemaMethodResult as p, Generator as r, buildOperations as s, OperationGenerator as t, SchemaGenerator as u, OperationSchema as v, Refs as w, Override as x, OperationSchemas as y, SchemaObject$1 as z };
924
+ //# sourceMappingURL=OperationGenerator-CRZpkIpZ.d.ts.map
@@ -1,4 +1,4 @@
1
- import { d as File, g as ResolvedFile, h as Path, i as SchemaKeywordMapper, l as BaseName, m as OptionalPath, p as Mode, t as Schema, u as Extname } from "./SchemaMapper-MiRB5_Zp.cjs";
1
+ import { i as SchemaKeywordMapper, t as Schema } from "./SchemaMapper-CX7sIIuZ.cjs";
2
2
  import * as OasTypes from "oas/types";
3
3
  import { HttpMethods as HttpMethod, OASDocument, SchemaObject, User } from "oas/types";
4
4
  import { Operation, Operation as Operation$1 } from "oas/operation";
@@ -6,6 +6,7 @@ import { OpenAPIV3, OpenAPIV3 as OpenAPIV3$1, OpenAPIV3_1 } from "openapi-types"
6
6
  import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
7
7
  import BaseOas from "oas";
8
8
  import { KubbNode } from "@kubb/react-fabric/types";
9
+ import { KubbFile } from "@kubb/fabric-core/types";
9
10
  import { Fabric, FileManager } from "@kubb/react-fabric";
10
11
  import { ConsolaInstance, LogLevel } from "consola";
11
12
 
@@ -181,7 +182,7 @@ type Config<TInput = Input> = {
181
182
  * Override the extension to the generated imports and exports, by default each plugin will add an extension
182
183
  * @default { '.ts': '.ts'}
183
184
  */
184
- extension?: Record<Extname, Extname | ''>;
185
+ extension?: Record<KubbFile.Extname, KubbFile.Extname | ''>;
185
186
  /**
186
187
  * Specify how `index.ts` files should be created. You can also disable the generation of barrel files here. While each plugin has its own `barrelType` option, this setting controls the creation of the root barrel file, such as` src/gen/index.ts`.
187
188
  * @default 'named'
@@ -312,7 +313,7 @@ type PluginLifecycle<TOptions extends PluginFactoryOptions = PluginFactoryOption
312
313
  * @type hookFirst
313
314
  * @example ('./Pet.ts', './src/gen/') => '/src/gen/Pet.ts'
314
315
  */
315
- resolvePath?: (this: PluginContext<TOptions>, baseName: BaseName, mode?: Mode, options?: TOptions['resolvePathOptions']) => OptionalPath;
316
+ resolvePath?: (this: PluginContext<TOptions>, baseName: KubbFile.BaseName, mode?: KubbFile.Mode, options?: TOptions['resolvePathOptions']) => KubbFile.OptionalPath;
316
317
  /**
317
318
  * Resolve to a name based on a string.
318
319
  * Useful when converting to PascalCase or camelCase.
@@ -330,8 +331,8 @@ type PluginLifecycleHooks = keyof PluginLifecycle;
330
331
  type PluginParameter<H extends PluginLifecycleHooks> = Parameters<Required<PluginLifecycle>[H]>;
331
332
  type ResolvePathParams<TOptions = object> = {
332
333
  pluginKey?: Plugin['key'];
333
- baseName: BaseName;
334
- mode?: Mode;
334
+ baseName: KubbFile.BaseName;
335
+ mode?: KubbFile.Mode;
335
336
  /**
336
337
  * Options to be passed to 'resolvePath' 3th parameter
337
338
  */
@@ -356,8 +357,8 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
356
357
  */
357
358
  fileManager: FileManager;
358
359
  pluginManager: PluginManager;
359
- addFile: (...file: Array<File>) => Promise<Array<ResolvedFile>>;
360
- resolvePath: (params: ResolvePathParams<TOptions['resolvePathOptions']>) => OptionalPath;
360
+ addFile: (...file: Array<KubbFile.File>) => Promise<Array<KubbFile.ResolvedFile>>;
361
+ resolvePath: (params: ResolvePathParams<TOptions['resolvePathOptions']>) => KubbFile.OptionalPath;
361
362
  resolveName: (params: ResolveNameParams) => string;
362
363
  logger: Logger;
363
364
  /**
@@ -436,8 +437,8 @@ type Events = {
436
437
  };
437
438
  type GetFileProps<TOptions = object> = {
438
439
  name: string;
439
- mode?: Mode;
440
- extname: Extname;
440
+ mode?: KubbFile.Mode;
441
+ extname: KubbFile.Extname;
441
442
  pluginKey: Plugin['key'];
442
443
  options?: TOptions;
443
444
  };
@@ -456,10 +457,10 @@ declare class PluginManager {
456
457
  extname,
457
458
  pluginKey,
458
459
  options
459
- }: GetFileProps<TOptions>): File<{
460
+ }: GetFileProps<TOptions>): KubbFile.File<{
460
461
  pluginKey: Plugin['key'];
461
462
  }>;
462
- resolvePath: <TOptions = object>(params: ResolvePathParams<TOptions>) => OptionalPath;
463
+ resolvePath: <TOptions = object>(params: ResolvePathParams<TOptions>) => KubbFile.OptionalPath;
463
464
  resolveName: (params: ResolveNameParams) => string;
464
465
  /**
465
466
  * Instead of calling `pluginManager.events.on` you can use `pluginManager.on`. This one also has better types.
@@ -559,16 +560,16 @@ type FileMetaBase = {
559
560
  //#region src/generators/createGenerator.d.ts
560
561
  type UserGenerator$1<TOptions extends PluginFactoryOptions> = {
561
562
  name: string;
562
- operations?: (props: OperationsProps<TOptions>) => Promise<File[]>;
563
- operation?: (props: OperationProps<TOptions>) => Promise<File[]>;
564
- schema?: (props: SchemaProps<TOptions>) => Promise<File[]>;
563
+ operations?: (props: OperationsProps<TOptions>) => Promise<KubbFile.File[]>;
564
+ operation?: (props: OperationProps<TOptions>) => Promise<KubbFile.File[]>;
565
+ schema?: (props: SchemaProps<TOptions>) => Promise<KubbFile.File[]>;
565
566
  };
566
567
  type CoreGenerator<TOptions extends PluginFactoryOptions> = {
567
568
  name: string;
568
569
  type: 'core';
569
- operations: (props: OperationsProps<TOptions>) => Promise<File[]>;
570
- operation: (props: OperationProps<TOptions>) => Promise<File[]>;
571
- schema: (props: SchemaProps<TOptions>) => Promise<File[]>;
570
+ operations: (props: OperationsProps<TOptions>) => Promise<KubbFile.File[]>;
571
+ operation: (props: OperationProps<TOptions>) => Promise<KubbFile.File[]>;
572
+ schema: (props: SchemaProps<TOptions>) => Promise<KubbFile.File[]>;
572
573
  };
573
574
  declare function createGenerator<TOptions extends PluginFactoryOptions>(generator: UserGenerator$1<TOptions>): CoreGenerator<TOptions>;
574
575
  //#endregion
@@ -668,7 +669,7 @@ type Options$1 = {
668
669
  type Ref = {
669
670
  propertyName: string;
670
671
  originalName: string;
671
- path: OptionalPath;
672
+ path: KubbFile.OptionalPath;
672
673
  pluginKey?: Plugin['key'];
673
674
  };
674
675
  type Refs = Record<string, Ref>;
@@ -677,8 +678,8 @@ type Resolver = {
677
678
  * Original name or name resolved by `resolveName({ name: operation?.getOperationId() as string, pluginName })`
678
679
  */
679
680
  name: string;
680
- baseName: BaseName;
681
- path: Path;
681
+ baseName: KubbFile.BaseName;
682
+ path: KubbFile.Path;
682
683
  };
683
684
  type OperationSchema = {
684
685
  /**
@@ -752,7 +753,7 @@ declare const jsonGenerator: CoreGenerator<PluginOas>;
752
753
  //#endregion
753
754
  //#region src/SchemaGenerator.d.ts
754
755
  type GetSchemaGeneratorOptions<T extends SchemaGenerator<any, any, any>> = T extends SchemaGenerator<infer Options, any, any> ? Options : never;
755
- type SchemaMethodResult<TFileMeta extends FileMetaBase> = Promise<File<TFileMeta> | Array<File<TFileMeta>> | null>;
756
+ type SchemaMethodResult<TFileMeta extends FileMetaBase> = Promise<KubbFile.File<TFileMeta> | Array<KubbFile.File<TFileMeta>> | null>;
756
757
  type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
757
758
  fabric: Fabric;
758
759
  oas: Oas;
@@ -761,7 +762,7 @@ type Context$1<TOptions, TPluginOptions extends PluginFactoryOptions> = {
761
762
  * Current plugin
762
763
  */
763
764
  plugin: Plugin<TPluginOptions>;
764
- mode: Mode;
765
+ mode: KubbFile.Mode;
765
766
  include?: Array<'schemas' | 'responses' | 'requestBodies'>;
766
767
  override: Array<Override<TOptions>> | undefined;
767
768
  contentType?: contentType;
@@ -810,7 +811,7 @@ declare class SchemaGenerator<TOptions extends SchemaGeneratorOptions = SchemaGe
810
811
  static findInObject<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
811
812
  static find<T extends keyof SchemaKeywordMapper>(tree: Schema[] | undefined, keyword: T): SchemaKeywordMapper[T] | undefined;
812
813
  static combineObjects(tree: Schema[] | undefined): Schema[];
813
- build(...generators: Array<Generator<TPluginOptions>>): Promise<Array<File<TFileMeta>>>;
814
+ build(...generators: Array<Generator<TPluginOptions>>): Promise<Array<KubbFile.File<TFileMeta>>>;
814
815
  }
815
816
  //#endregion
816
817
  //#region src/generators/utils.d.ts
@@ -889,7 +890,7 @@ type SchemaProps<TOptions extends PluginFactoryOptions> = {
889
890
  type Generator<TOptions extends PluginFactoryOptions> = CoreGenerator<TOptions> | ReactGenerator<TOptions>;
890
891
  //#endregion
891
892
  //#region src/OperationGenerator.d.ts
892
- type OperationMethodResult<TFileMeta extends FileMetaBase> = Promise<File<TFileMeta> | Array<File<TFileMeta>> | null>;
893
+ type OperationMethodResult<TFileMeta extends FileMetaBase> = Promise<KubbFile.File<TFileMeta> | Array<KubbFile.File<TFileMeta>> | null>;
893
894
  type Context<TOptions, TPluginOptions extends PluginFactoryOptions> = {
894
895
  fabric: Fabric;
895
896
  oas: Oas;
@@ -902,7 +903,7 @@ type Context<TOptions, TPluginOptions extends PluginFactoryOptions> = {
902
903
  * Current plugin
903
904
  */
904
905
  plugin: Plugin<TPluginOptions>;
905
- mode: Mode;
906
+ mode: KubbFile.Mode;
906
907
  };
907
908
  declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = PluginFactoryOptions, TFileMeta extends FileMetaBase = FileMetaBase> extends BaseGenerator<TPluginOptions['resolvedOptions'], Context<TPluginOptions['resolvedOptions'], TPluginOptions>> {
908
909
  #private;
@@ -916,8 +917,8 @@ declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = P
916
917
  method: HttpMethod;
917
918
  operation: Operation$1;
918
919
  }>>;
919
- build(...generators: Array<Generator<TPluginOptions>>): Promise<Array<File<TFileMeta>>>;
920
+ build(...generators: Array<Generator<TPluginOptions>>): Promise<Array<KubbFile.File<TFileMeta>>>;
920
921
  }
921
922
  //#endregion
922
- export { Config as A, SchemaObject$1 as B, Ref as C, createReactGenerator as D, Resolver as E, HttpMethod as F, OasTypes as I, OpenAPIV3$1 as L, Plugin as M, ResolveNameParams as N, createGenerator as O, Oas as P, OpenAPIV3_1 as R, PluginOas as S, ResolvePathOptions as T, contentType as V, Include as _, pluginOasName as a, Options$1 as b, buildSchema as c, SchemaGeneratorBuildOptions as d, SchemaGeneratorOptions as f, Exclude$1 as g, API as h, pluginOas as i, Output as j, FileMetaBase as k, GetSchemaGeneratorOptions as l, jsonGenerator as m, OperationMethodResult as n, buildOperation as o, SchemaMethodResult as p, Generator as r, buildOperations as s, OperationGenerator as t, SchemaGenerator as u, OperationSchema as v, Refs as w, Override as x, OperationSchemas as y, Operation$1 as z };
923
- //# sourceMappingURL=OperationGenerator-CJTAer7l.d.cts.map
923
+ export { Config as A, contentType as B, Ref as C, createReactGenerator as D, Resolver as E, OasTypes as F, OpenAPIV3$1 as I, OpenAPIV3_1 as L, Plugin as M, ResolveNameParams as N, createGenerator as O, Oas as P, Operation$1 as R, PluginOas as S, ResolvePathOptions as T, Include as _, pluginOasName as a, Options$1 as b, buildSchema as c, SchemaGeneratorBuildOptions as d, SchemaGeneratorOptions as f, Exclude$1 as g, API as h, pluginOas as i, Output as j, FileMetaBase as k, GetSchemaGeneratorOptions as l, jsonGenerator as m, OperationMethodResult as n, buildOperation as o, SchemaMethodResult as p, Generator as r, buildOperations as s, OperationGenerator as t, SchemaGenerator as u, OperationSchema as v, Refs as w, Override as x, OperationSchemas as y, SchemaObject$1 as z };
924
+ //# sourceMappingURL=OperationGenerator-S_1PevQN.d.cts.map
@@ -1,5 +1,5 @@
1
- import { B as SchemaObject } from "./OperationGenerator-CJTAer7l.cjs";
2
- import { t as Schema } from "./SchemaMapper-MiRB5_Zp.cjs";
1
+ import { z as SchemaObject } from "./OperationGenerator-S_1PevQN.cjs";
2
+ import { t as Schema } from "./SchemaMapper-CX7sIIuZ.cjs";
3
3
  import { Key, KubbNode } from "@kubb/react-fabric/types";
4
4
 
5
5
  //#region src/components/Schema.d.ts
@@ -35,4 +35,4 @@ declare namespace Schema$1 {
35
35
  }
36
36
  //#endregion
37
37
  export { SchemaContextProps as n, Schema$1 as t };
38
- //# sourceMappingURL=Schema-zcZF0UIp.d.cts.map
38
+ //# sourceMappingURL=Schema-CZsDEhET.d.cts.map
@@ -1,5 +1,5 @@
1
- import { B as SchemaObject } from "./OperationGenerator-BZPWkxw4.js";
2
- import { t as Schema } from "./SchemaMapper-CqBW0VOy.js";
1
+ import { z as SchemaObject } from "./OperationGenerator-CRZpkIpZ.js";
2
+ import { t as Schema } from "./SchemaMapper-CtfTw3hq.js";
3
3
  import { Key, KubbNode } from "@kubb/react-fabric/types";
4
4
 
5
5
  //#region src/components/Schema.d.ts
@@ -35,4 +35,4 @@ declare namespace Schema$1 {
35
35
  }
36
36
  //#endregion
37
37
  export { SchemaContextProps as n, Schema$1 as t };
38
- //# sourceMappingURL=Schema-CjraJhJi.d.ts.map
38
+ //# sourceMappingURL=Schema-DBvtiLS7.d.ts.map
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-CUT6urMc.cjs');
2
- const require_utils = require('./utils-nzdccPlU.cjs');
2
+ const require_utils = require('./utils-DYf-j63H.cjs');
3
3
  const require_SchemaMapper = require('./SchemaMapper-DoL-a6qq.cjs');
4
4
  const require_getSchemas = require('./getSchemas-DY8s2CSl.cjs');
5
5
  let __kubb_core_transformers = require("@kubb/core/transformers");
@@ -963,4 +963,4 @@ Object.defineProperty(exports, 'pLimit', {
963
963
  return pLimit;
964
964
  }
965
965
  });
966
- //# sourceMappingURL=SchemaGenerator-DzVHk6OP.cjs.map
966
+ //# sourceMappingURL=SchemaGenerator-DWj6buY0.cjs.map