@kubb/ast 5.0.0-alpha.34 → 5.0.0-alpha.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/ast",
3
- "version": "5.0.0-alpha.34",
3
+ "version": "5.0.0-alpha.36",
4
4
  "description": "Spec-agnostic AST layer for Kubb. Defines nodes, visitor pattern, and factory functions used across codegen plugins.",
5
5
  "keywords": [
6
6
  "kubb",
@@ -23,20 +23,9 @@
23
23
  "import": "./dist/index.js",
24
24
  "require": "./dist/index.cjs"
25
25
  },
26
- "./types": {
27
- "import": "./dist/types.js",
28
- "require": "./dist/types.cjs"
29
- },
30
26
  "./package.json": "./package.json"
31
27
  },
32
28
  "types": "./dist/index.d.ts",
33
- "typesVersions": {
34
- "*": {
35
- "types": [
36
- "./dist/types.d.ts"
37
- ]
38
- }
39
- },
40
29
  "files": [
41
30
  "src",
42
31
  "dist",
package/src/index.ts CHANGED
@@ -32,6 +32,7 @@ export { createPrinterFactory, definePrinter } from './printer.ts'
32
32
  export { extractRefName } from './refs.ts'
33
33
  export { childName, collectImports, enumPropName, findDiscriminator } from './resolvers.ts'
34
34
  export { mergeAdjacentObjects, setDiscriminatorEnum, setEnumName, simplifyUnion } from './transformers.ts'
35
+ export type * from './types.ts'
35
36
  export type { OperationParamsResolver } from './utils.ts'
36
37
  export {
37
38
  caseParams,
package/dist/types.cjs DELETED
File without changes
package/dist/types.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { $ as ResponseNode, $t as VisitorDepth, At as FunctionNodeType, Bt as ArrowFunctionNode, Ct as SchemaType, Dt as UnionSchemaNode, Et as TimeSchemaNode, Ft as ParamsTypeNode, G as InferSchemaNode, Gt as JSDocNode, Ht as CodeNode, It as ExportNode, J as InputMeta, Jt as TypeDeclarationNode, K as ParserOptions, Kt as JsxNode, Lt as FileNode, Mt as FunctionParameterNode, Nt as FunctionParametersNode, Ot as UrlSchemaNode, Pt as ParameterGroupNode, Q as OperationNode, Rt as ImportNode, St as SchemaNodeByType, Tt as StringSchemaNode, Ut as ConstNode, Vt as BreakNode, W as InferSchema, Wt as FunctionNode, X as OutputNode, Xt as BaseNode, Y as InputNode, Yt as TypeNode, Z as HttpMethod, Zt as NodeKind, _ as PrinterPartial, _t as PrimitiveSchemaType, a as TransformOptions, at as ArraySchemaNode, b as DistributiveOmit, bt as ScalarSchemaType, c as WalkOptions, ct as DatetimeSchemaNode, dt as FormatStringSchemaNode, et as HttpStatusCode, ft as IntersectionSchemaNode, g as PrinterFactoryOptions, gt as ObjectSchemaNode, h as Printer, ht as NumberSchemaNode, i as ParentOf, it as ParameterNode, jt as FunctionParamNode, kt as PropertyNode, lt as EnumSchemaNode, mt as Ipv6SchemaNode, n as CollectOptions, nt as StatusCode, o as Visitor, ot as ComplexSchemaType, p as RefMap, pt as Ipv4SchemaNode, q as Node, qt as TextNode, r as CollectVisitor, rt as ParameterLocation, s as VisitorContext, st as DateSchemaNode, t as AsyncVisitor, tt as MediaType, ut as EnumValueNode, vt as RefSchemaNode, wt as SpecialSchemaType, xt as SchemaNode, yt as ScalarSchemaNode, zt as SourceNode } from "./visitor-CJMIoAE3.js";
2
- export { type ArraySchemaNode, type ArrowFunctionNode, type AsyncVisitor, type BaseNode, type BreakNode, type CodeNode, type CollectOptions, type CollectVisitor, type ComplexSchemaType, type ConstNode, type DateSchemaNode, type DatetimeSchemaNode, type DistributiveOmit, type EnumSchemaNode, type EnumValueNode, type ExportNode, type FileNode, type FormatStringSchemaNode, type FunctionNode, type FunctionNodeType, type FunctionParamNode, type FunctionParameterNode, type FunctionParametersNode, type HttpMethod, type HttpStatusCode, type ImportNode, type InferSchema, type InferSchemaNode, type InputMeta, type InputNode, type IntersectionSchemaNode, type Ipv4SchemaNode, type Ipv6SchemaNode, type JSDocNode, type JsxNode, type MediaType, type Node, type NodeKind, type NumberSchemaNode, type ObjectSchemaNode, type OperationNode, type OutputNode, type ParameterGroupNode, type ParameterLocation, type ParameterNode, type ParamsTypeNode, type ParentOf, type ParserOptions, type PrimitiveSchemaType, type Printer, type PrinterFactoryOptions, type PrinterPartial, type PropertyNode, type RefMap, type RefSchemaNode, type ResponseNode, type ScalarSchemaNode, type ScalarSchemaType, type SchemaNode, type SchemaNodeByType, type SchemaType, type SourceNode, type SpecialSchemaType, type StatusCode, type StringSchemaNode, type TextNode, type TimeSchemaNode, type TransformOptions, type TypeDeclarationNode, type TypeNode, type UnionSchemaNode, type UrlSchemaNode, type Visitor, type VisitorContext, type VisitorDepth, type WalkOptions };
package/dist/types.js DELETED
@@ -1 +0,0 @@
1
- export {};