@kubb/plugin-ts 5.0.0-beta.27 → 5.0.0-beta.28
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 +20 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -4
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/generators/typeGenerator.tsx +4 -4
package/dist/index.js
CHANGED
|
@@ -1178,11 +1178,19 @@ const typeGenerator = defineGenerator({
|
|
|
1178
1178
|
meta: meta.file.meta,
|
|
1179
1179
|
banner: resolver.resolveBanner(ctx.meta, {
|
|
1180
1180
|
output,
|
|
1181
|
-
config
|
|
1181
|
+
config,
|
|
1182
|
+
file: {
|
|
1183
|
+
path: meta.file.path,
|
|
1184
|
+
baseName: meta.file.baseName
|
|
1185
|
+
}
|
|
1182
1186
|
}),
|
|
1183
1187
|
footer: resolver.resolveFooter(ctx.meta, {
|
|
1184
1188
|
output,
|
|
1185
|
-
config
|
|
1189
|
+
config,
|
|
1190
|
+
file: {
|
|
1191
|
+
path: meta.file.path,
|
|
1192
|
+
baseName: meta.file.baseName
|
|
1193
|
+
}
|
|
1186
1194
|
}),
|
|
1187
1195
|
children: [mode === "split" && imports.map((imp) => /* @__PURE__ */ jsx(File.Import, {
|
|
1188
1196
|
root: meta.file.path,
|
|
@@ -1360,11 +1368,19 @@ const typeGenerator = defineGenerator({
|
|
|
1360
1368
|
meta: meta.file.meta,
|
|
1361
1369
|
banner: resolver.resolveBanner(ctx.meta, {
|
|
1362
1370
|
output,
|
|
1363
|
-
config
|
|
1371
|
+
config,
|
|
1372
|
+
file: {
|
|
1373
|
+
path: meta.file.path,
|
|
1374
|
+
baseName: meta.file.baseName
|
|
1375
|
+
}
|
|
1364
1376
|
}),
|
|
1365
1377
|
footer: resolver.resolveFooter(ctx.meta, {
|
|
1366
1378
|
output,
|
|
1367
|
-
config
|
|
1379
|
+
config,
|
|
1380
|
+
file: {
|
|
1381
|
+
path: meta.file.path,
|
|
1382
|
+
baseName: meta.file.baseName
|
|
1383
|
+
}
|
|
1368
1384
|
}),
|
|
1369
1385
|
children: [
|
|
1370
1386
|
paramTypes,
|