@kubb/plugin-ts 5.0.0-alpha.32 → 5.0.0-alpha.34
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 +19 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/components/Enum.tsx +3 -3
- package/src/components/Type.tsx +3 -3
- package/src/generators/typeGenerator.tsx +1 -1
- package/src/generators/typeGeneratorLegacy.tsx +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import ts from "typescript";
|
|
|
5
5
|
import * as _$_kubb_core0 from "@kubb/core";
|
|
6
6
|
import { CompatibilityPreset, Exclude, Generator, Group, Include, Output, Override, PluginFactoryOptions, PrinterFactoryOptions, PrinterPartial, ResolvePathOptions, Resolver, UserGroup } from "@kubb/core";
|
|
7
7
|
import { EnumSchemaNode, FunctionParamNode, OperationNode, ParameterNode, SchemaNode, StatusCode, Visitor } from "@kubb/ast/types";
|
|
8
|
-
import {
|
|
8
|
+
import { KubbReactNode } from "@kubb/renderer-jsx/types";
|
|
9
9
|
|
|
10
10
|
//#region src/printers/printerTs.d.ts
|
|
11
11
|
/**
|
|
@@ -447,7 +447,7 @@ declare function Enum({
|
|
|
447
447
|
enumTypeSuffix,
|
|
448
448
|
enumKeyCasing,
|
|
449
449
|
resolver
|
|
450
|
-
}: Props$1):
|
|
450
|
+
}: Props$1): KubbReactNode;
|
|
451
451
|
//#endregion
|
|
452
452
|
//#region src/components/Type.d.ts
|
|
453
453
|
type Props = {
|
|
@@ -471,7 +471,7 @@ declare function Type({
|
|
|
471
471
|
enumTypeSuffix,
|
|
472
472
|
enumKeyCasing,
|
|
473
473
|
resolver
|
|
474
|
-
}: Props):
|
|
474
|
+
}: Props): KubbReactNode;
|
|
475
475
|
//#endregion
|
|
476
476
|
//#region src/generators/typeGenerator.d.ts
|
|
477
477
|
declare const typeGenerator: _$_kubb_core0.Generator<PluginTs>;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk--u3MIqq1.js";
|
|
2
2
|
import { safePrint } from "@kubb/parser-ts";
|
|
3
|
-
import { File } from "@kubb/
|
|
3
|
+
import { File } from "@kubb/renderer-jsx";
|
|
4
4
|
import { caseParams, collect, createPrinterFactory, createProperty, createSchema, extractRefName, isStringType, narrowSchema, schemaTypes, syncSchemaRef, transform } from "@kubb/ast";
|
|
5
5
|
import { isNumber } from "remeda";
|
|
6
6
|
import ts from "typescript";
|
|
7
|
-
import { Fragment, jsx, jsxs } from "@kubb/
|
|
7
|
+
import { Fragment, jsx, jsxs } from "@kubb/renderer-jsx/jsx-runtime";
|
|
8
8
|
import { createPlugin, defineGenerator, definePresets, definePrinter, defineResolver, getPreset, mergeGenerators } from "@kubb/core";
|
|
9
9
|
//#region ../../internals/utils/src/casing.ts
|
|
10
10
|
/**
|
|
@@ -1059,7 +1059,7 @@ const typeGenerator = defineGenerator({
|
|
|
1059
1059
|
});
|
|
1060
1060
|
//#endregion
|
|
1061
1061
|
//#region package.json
|
|
1062
|
-
var version = "5.0.0-alpha.
|
|
1062
|
+
var version = "5.0.0-alpha.34";
|
|
1063
1063
|
//#endregion
|
|
1064
1064
|
//#region src/resolvers/resolverTs.ts
|
|
1065
1065
|
/**
|