@kubb/plugin-ts 5.0.12 → 5.0.14
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 +2 -2
- package/dist/index.d.cts +819 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +18 -3
- package/dist/index.js.map +1 -1
- package/kubb-extension.json +1 -1
- package/package.json +13 -8
- package/dist/rolldown-runtime-CthDji9g.js +0 -18
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { n as __name } from "./rolldown-runtime-CthDji9g.js";
|
|
2
|
-
import { KubbReactNode } from "kubb/jsx";
|
|
3
1
|
import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
|
|
2
|
+
import { KubbReactNode } from "kubb/jsx";
|
|
4
3
|
import ts from "typescript";
|
|
5
4
|
//#region src/printers/printerTs.d.ts
|
|
6
5
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
|
-
import { n as __name, t as __exportAll } from "./rolldown-runtime-CthDji9g.js";
|
|
2
1
|
import { createRequire } from "node:module";
|
|
3
2
|
import { parserTs } from "@kubb/parser-ts";
|
|
4
3
|
import { File, jsxRenderer } from "kubb/jsx";
|
|
5
4
|
import { Resolver, addGenerator, assertPluginOption, ast, createResolver, defineExtension, defineGenerator, isStringType, setMacros, setResolver, syncSchemaRef } from "kubb/kit";
|
|
6
5
|
import { Fragment, jsx, jsxs } from "kubb/jsx/jsx-runtime";
|
|
6
|
+
//#region \0rolldown/runtime.js
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __name = (target, value) => __defProp(target, "name", {
|
|
9
|
+
value,
|
|
10
|
+
configurable: true
|
|
11
|
+
});
|
|
12
|
+
var __exportAll = (all, no_symbols) => {
|
|
13
|
+
let target = {};
|
|
14
|
+
for (var name in all) __defProp(target, name, {
|
|
15
|
+
get: all[name],
|
|
16
|
+
enumerable: true
|
|
17
|
+
});
|
|
18
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
19
|
+
return target;
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
7
22
|
//#region ../../internals/utils/src/casing.ts
|
|
8
23
|
/**
|
|
9
24
|
* Shared implementation for camelCase and PascalCase conversion.
|
|
@@ -1621,11 +1636,11 @@ const typeGenerator = defineGenerator({
|
|
|
1621
1636
|
//#region kubb-extension.json
|
|
1622
1637
|
var compatibility = {
|
|
1623
1638
|
"kubb": ">=5.8.3",
|
|
1624
|
-
"node": ">=22"
|
|
1639
|
+
"node": ">=22.12"
|
|
1625
1640
|
};
|
|
1626
1641
|
//#endregion
|
|
1627
1642
|
//#region package.json
|
|
1628
|
-
var version = "5.0.
|
|
1643
|
+
var version = "5.0.14";
|
|
1629
1644
|
//#endregion
|
|
1630
1645
|
//#region src/resolvers/resolverTs.ts
|
|
1631
1646
|
/**
|