@kubb/plugin-oas 2.25.4 → 2.25.5
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/{chunk-REUEIIL3.cjs → chunk-7N7ULYN2.cjs} +3 -3
- package/dist/{chunk-REUEIIL3.cjs.map → chunk-7N7ULYN2.cjs.map} +1 -1
- package/dist/{chunk-IOHUYXT5.cjs → chunk-CB4BJMGC.cjs} +7 -8
- package/dist/chunk-CB4BJMGC.cjs.map +1 -0
- package/dist/{chunk-C7EB64G2.js → chunk-KEVZ6FD5.js} +7 -8
- package/dist/chunk-KEVZ6FD5.js.map +1 -0
- package/dist/{chunk-7NYIF73B.js → chunk-VNSF4EQP.js} +2 -2
- package/dist/components.cjs +3 -3
- package/dist/components.js +2 -2
- package/dist/hooks.cjs +7 -7
- package/dist/hooks.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/SchemaGenerator.ts +6 -8
- package/dist/chunk-C7EB64G2.js.map +0 -1
- package/dist/chunk-IOHUYXT5.cjs.map +0 -1
- /package/dist/{chunk-7NYIF73B.js.map → chunk-VNSF4EQP.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCB4BJMGCcjs = require('./chunk-CB4BJMGC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -3182,7 +3182,7 @@ Schema.File = function({ output, isTypeOnly, children }) {
|
|
|
3182
3182
|
Schema.Imports = ({ isTypeOnly, extName }) => {
|
|
3183
3183
|
const { tree } = useSchema();
|
|
3184
3184
|
const { path: root } = _react.useFile.call(void 0, );
|
|
3185
|
-
const refs =
|
|
3185
|
+
const refs = _chunkCB4BJMGCcjs.SchemaGenerator.deepSearch(tree, _chunkCB4BJMGCcjs.schemaKeywords.ref);
|
|
3186
3186
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: _optionalChain([refs, 'optionalAccess', _ => _.map, 'call', _2 => _2((item, i) => {
|
|
3187
3187
|
if (!item.args.path) {
|
|
3188
3188
|
return void 0;
|
|
@@ -3262,4 +3262,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
3262
3262
|
* LICENSE file in the root directory of this source tree.
|
|
3263
3263
|
*)
|
|
3264
3264
|
*/
|
|
3265
|
-
//# sourceMappingURL=chunk-
|
|
3265
|
+
//# sourceMappingURL=chunk-7N7ULYN2.cjs.map
|