@kubb/plugin-ts
Advanced tools
| //#region \0rolldown/runtime.js | ||
| var __defProp = Object.defineProperty; | ||
| var __name = (target, value) => __defProp(target, "name", { | ||
| value, | ||
| configurable: true | ||
| }); | ||
| //#endregion | ||
| export { __name as t }; |
+3
-4
@@ -1,3 +0,2 @@ | ||
| import { t as __name } from "./chunk--u3MIqq1.js"; | ||
| import * as _$_kubb_core0 from "@kubb/core"; | ||
| import { t as __name } from "./chunk-C0LytTxp.js"; | ||
| import { Exclude, Generator, Group, Include, Output, Override, PluginFactoryOptions, Resolver, ast } from "@kubb/core"; | ||
@@ -500,3 +499,3 @@ import ts from "typescript"; | ||
| */ | ||
| declare const typeGenerator: _$_kubb_core0.Generator<PluginTs, unknown>; | ||
| declare const typeGenerator: import("@kubb/core").Generator<PluginTs, unknown>; | ||
| //#endregion | ||
@@ -533,3 +532,3 @@ //#region src/plugin.d.ts | ||
| */ | ||
| declare const pluginTs: (options?: Options | undefined) => _$_kubb_core0.Plugin<PluginTs>; | ||
| declare const pluginTs: (options?: Options | undefined) => import("@kubb/core").Plugin<PluginTs>; | ||
| //#endregion | ||
@@ -536,0 +535,0 @@ //#region src/printers/functionPrinter.d.ts |
+7
-7
@@ -1,2 +0,2 @@ | ||
| import { t as __name } from "./chunk--u3MIqq1.js"; | ||
| import { t as __name } from "./chunk-C0LytTxp.js"; | ||
| import { parserTs } from "@kubb/parser-ts"; | ||
@@ -873,13 +873,13 @@ import { File, jsxRendererSync } from "@kubb/renderer-jsx"; | ||
| * | ||
| * Returns `null` when grouping is disabled, matching the per-plugin convention. | ||
| * A user-provided `group.name` always wins over the default namer, so callers stay in | ||
| * control of their output folders. Returns `null` when grouping is disabled, matching the | ||
| * per-plugin convention. | ||
| * | ||
| * @param group - The user-supplied group option, or `undefined` to disable grouping. | ||
| * @param options.suffix - Appended to non-`path` group names, e.g. `'Controller'` or `'Requests'`. | ||
| * @param options.honorName - When `true`, a user-provided `group.name` overrides the default namer. | ||
| * | ||
| * @example | ||
| * ```ts | ||
| * createGroupConfig(group, { suffix: 'Controller' }) // plugin-ts, plugin-zod | ||
| * createGroupConfig(group, { suffix: 'Controller', honorName: true }) // plugin-faker, plugin-client, … | ||
| * createGroupConfig(group, { suffix: 'Requests', honorName: true }) // plugin-cypress, plugin-mcp | ||
| * createGroupConfig(group, { suffix: 'Controller' }) // plugin-ts, plugin-client, … | ||
| * createGroupConfig(group, { suffix: 'Requests' }) // plugin-cypress, plugin-mcp | ||
| * ``` | ||
@@ -895,3 +895,3 @@ */ | ||
| ...group, | ||
| name: options.honorName && group.name ? group.name : defaultName | ||
| name: group.name ? group.name : defaultName | ||
| }; | ||
@@ -898,0 +898,0 @@ } |
+5
-5
| { | ||
| "name": "@kubb/plugin-ts", | ||
| "version": "5.0.0-beta.35", | ||
| "version": "5.0.0-beta.36", | ||
| "description": "Generate TypeScript types, interfaces, and enums from your OpenAPI specification. The foundational plugin that powers type safety across the entire Kubb ecosystem.", | ||
@@ -49,5 +49,5 @@ "keywords": [ | ||
| "dependencies": { | ||
| "@kubb/core": "5.0.0-beta.35", | ||
| "@kubb/parser-ts": "5.0.0-beta.35", | ||
| "@kubb/renderer-jsx": "5.0.0-beta.35", | ||
| "@kubb/core": "5.0.0-beta.36", | ||
| "@kubb/parser-ts": "5.0.0-beta.36", | ||
| "@kubb/renderer-jsx": "5.0.0-beta.36", | ||
| "remeda": "^2.37.0", | ||
@@ -61,3 +61,3 @@ "typescript": "^6.0.3" | ||
| "peerDependencies": { | ||
| "@kubb/renderer-jsx": "5.0.0-beta.35" | ||
| "@kubb/renderer-jsx": "5.0.0-beta.36" | ||
| }, | ||
@@ -64,0 +64,0 @@ "size-limit": [ |
| //#region \0rolldown/runtime.js | ||
| var __defProp = Object.defineProperty; | ||
| var __name = (target, value) => __defProp(target, "name", { | ||
| value, | ||
| configurable: true | ||
| }); | ||
| //#endregion | ||
| export { __name as t }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
575567
0.08%6423
-0.02%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
Updated