@kubb/swagger-ts 2.0.0-beta.8 → 2.0.0-beta.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.
package/dist/index.cjs CHANGED
@@ -3633,7 +3633,7 @@ function Template({
3633
3633
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
3634
3634
  `export const ${name} = ${JSON.stringify(api, void 0, 2)} as const`,
3635
3635
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("br", {}),
3636
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(react.Type, { name: typeName, export: true, children: `Parse<typeof ${name}>` })
3636
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(react.Type, { name: typeName, export: true, children: `Infer<typeof ${name}>` })
3637
3637
  ] });
3638
3638
  }
3639
3639
  var defaultTemplates = { default: Template };
@@ -3656,7 +3656,7 @@ Oas.File = function({ name, typeName, templates = defaultTemplates }) {
3656
3656
  path: file.path,
3657
3657
  meta: file.meta,
3658
3658
  children: [
3659
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(react.File.Import, { name: ["Parse"], path: "@kubb/swagger-ts/infer", isTypeOnly: true }),
3659
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(react.File.Import, { name: ["Infer"], path: "@kubb/swagger-ts/oas", isTypeOnly: true }),
3660
3660
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(react.File.Source, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Oas, { Template: Template2, name, typeName }) })
3661
3661
  ]
3662
3662
  }
@@ -3940,8 +3940,8 @@ var definePlugin = core.createPlugin((options) => {
3940
3940
  // src/types.ts
3941
3941
  init_cjs_shims();
3942
3942
 
3943
- // src/infer/index.ts
3944
- var infer_exports = {};
3943
+ // src/oas/index.ts
3944
+ var oas_exports = {};
3945
3945
  init_cjs_shims();
3946
3946
 
3947
3947
  // src/index.ts
@@ -3993,7 +3993,7 @@ react/cjs/react-jsx-runtime.development.js:
3993
3993
  *)
3994
3994
  */
3995
3995
 
3996
- exports.Infer = infer_exports;
3996
+ exports.Oas = oas_exports;
3997
3997
  exports.default = src_default;
3998
3998
  exports.definePlugin = definePlugin;
3999
3999
  exports.pluginKey = pluginKey;