@kubb/plugin-oas 3.0.0-alpha.4 → 3.0.0-alpha.6

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 (36) hide show
  1. package/dist/{OperationGenerator-D7rSlflc.d.cts → OperationGenerator-Do52cvD0.d.cts} +1 -1
  2. package/dist/{OperationGenerator-vw0Zf-Mi.d.ts → OperationGenerator-Dzs1oRvm.d.ts} +1 -1
  3. package/dist/{Schema-gHgN14i2.d.ts → Schema-C90zFdkU.d.ts} +1 -1
  4. package/dist/{Schema-DxyOIX7q.d.cts → Schema-DDVEcNcu.d.cts} +1 -1
  5. package/dist/{chunk-264TCCJF.cjs → chunk-RQZBFORW.cjs} +6 -6
  6. package/dist/{chunk-264TCCJF.cjs.map → chunk-RQZBFORW.cjs.map} +1 -1
  7. package/dist/{chunk-FZN3PBEK.js → chunk-UJNAXXVE.js} +7 -7
  8. package/dist/{chunk-FZN3PBEK.js.map → chunk-UJNAXXVE.js.map} +1 -1
  9. package/dist/components.cjs +2 -2
  10. package/dist/components.d.cts +3 -3
  11. package/dist/components.d.ts +3 -3
  12. package/dist/components.js +1 -1
  13. package/dist/hooks.cjs +6 -6
  14. package/dist/hooks.d.cts +2 -2
  15. package/dist/hooks.d.ts +2 -2
  16. package/dist/hooks.js +1 -1
  17. package/dist/index.cjs +18 -31
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +2 -2
  20. package/dist/index.d.ts +2 -2
  21. package/dist/index.js +13 -26
  22. package/dist/index.js.map +1 -1
  23. package/dist/utils.cjs +2 -3
  24. package/dist/utils.cjs.map +1 -1
  25. package/dist/utils.d.cts +4 -1
  26. package/dist/utils.d.ts +4 -1
  27. package/dist/utils.js +2 -3
  28. package/dist/utils.js.map +1 -1
  29. package/package.json +9 -9
  30. package/src/components/Oas.tsx +1 -1
  31. package/src/components/Operation.tsx +1 -1
  32. package/src/components/Schema.tsx +22 -28
  33. package/src/parser.tsx +2 -1
  34. package/src/plugin.ts +13 -29
  35. package/src/utils/getGroupedByTagFiles.ts +5 -3
  36. package/src/utils/getParams.ts +1 -1
@@ -3823,7 +3823,7 @@ import { useContext } from "@kubb/react";
3823
3823
 
3824
3824
  // src/components/Schema.tsx
3825
3825
  init_esm_shims();
3826
- import { File, Parser, createContext as createContext2, useApp, useFile } from "@kubb/react";
3826
+ import { File, createContext as createContext2, useApp, useFile } from "@kubb/react";
3827
3827
  var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
3828
3828
  var SchemaContext = createContext2({
3829
3829
  name: "unknown",
@@ -3844,7 +3844,7 @@ Schema.File = function({ output, isTypeOnly, children }) {
3844
3844
  if (!resolvedPath2) {
3845
3845
  return null;
3846
3846
  }
3847
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Parser, { language: "typescript", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
3847
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
3848
3848
  File,
3849
3849
  {
3850
3850
  baseName: baseName2,
@@ -3854,7 +3854,7 @@ Schema.File = function({ output, isTypeOnly, children }) {
3854
3854
  },
3855
3855
  children
3856
3856
  }
3857
- ) });
3857
+ );
3858
3858
  }
3859
3859
  const baseName = `${pluginManager.resolveName({
3860
3860
  name,
@@ -3868,7 +3868,7 @@ Schema.File = function({ output, isTypeOnly, children }) {
3868
3868
  if (!resolvedPath) {
3869
3869
  return null;
3870
3870
  }
3871
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Parser, { language: "typescript", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
3871
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
3872
3872
  File,
3873
3873
  {
3874
3874
  baseName,
@@ -3881,7 +3881,7 @@ Schema.File = function({ output, isTypeOnly, children }) {
3881
3881
  children
3882
3882
  ]
3883
3883
  }
3884
- ) });
3884
+ );
3885
3885
  };
3886
3886
  Schema.Imports = ({ isTypeOnly, extName }) => {
3887
3887
  const { tree } = useSchema();
@@ -3891,7 +3891,7 @@ Schema.Imports = ({ isTypeOnly, extName }) => {
3891
3891
  if (!item.args.path) {
3892
3892
  return void 0;
3893
3893
  }
3894
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(File.Import, { extName, root, name: [item.args.name], path: item.args.path, isTypeOnly: item.args.isTypeOnly ?? isTypeOnly }, i);
3894
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(File.Import, { root, name: [item.args.name], path: item.args.path, isTypeOnly: item.args.isTypeOnly ?? isTypeOnly }, i);
3895
3895
  }).filter(Boolean) });
3896
3896
  };
3897
3897
  Schema.Context = SchemaContext;
@@ -3970,4 +3970,4 @@ react/cjs/react-jsx-runtime.development.js:
3970
3970
  * LICENSE file in the root directory of this source tree.
3971
3971
  *)
3972
3972
  */
3973
- //# sourceMappingURL=chunk-FZN3PBEK.js.map
3973
+ //# sourceMappingURL=chunk-UJNAXXVE.js.map