@kubb/ast 5.3.14 → 5.3.16

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.
@@ -1703,13 +1703,12 @@ type FileNode<TMeta extends object = object> = BaseNode & {
1703
1703
  */
1704
1704
  footer?: string | null;
1705
1705
  /**
1706
- * Absolute on-disk path to copy verbatim into the output, bypassing the parser.
1706
+ * Absolute on-disk path to copy into the output, through the parser's `copy` hook when it has one.
1707
1707
  *
1708
1708
  * Use to emit a real source file shipped inside a package (a template) into the generated
1709
- * folder without reformatting or import reordering. Only `banner` and `footer` are applied
1710
- * around the copied content. When set, `copy` provides the file content and any `sources`
1711
- * nodes are ignored for output; `sources` may still carry `name`/`isExportable`/`isIndexable`
1712
- * so barrel generation treats the file the same as a rendered one.
1709
+ * folder. When set, `copy` provides the file content and any `sources` nodes are ignored for
1710
+ * output; `sources` may still carry `name`/`isExportable`/`isIndexable` so barrel generation
1711
+ * treats the file the same as a rendered one.
1713
1712
  */
1714
1713
  copy?: string | null;
1715
1714
  };
@@ -1793,7 +1792,7 @@ type UserFileNode<TMeta extends object = object> = Omit<FileNode<TMeta>, 'kind'
1793
1792
  * // file.extname = '.ts'
1794
1793
  * ```
1795
1794
  *
1796
- * @example Copy a real file into the output verbatim
1795
+ * @example Copy a real file into the output
1797
1796
  * ```ts
1798
1797
  * const file = createFile({
1799
1798
  * baseName: 'client.ts',
@@ -2790,4 +2789,4 @@ type PrinterBuilder<T extends PrinterFactoryOptions> = (options: T['options']) =
2790
2789
  declare function createPrinter<T extends PrinterFactoryOptions = PrinterFactoryOptions>(build: PrinterBuilder<T>): (options?: T['options']) => Printer<T>;
2791
2790
  //#endregion
2792
2791
  export { importDef as $, textDef as $t, ResponseNode as A, InferSchemaNode as At, createParameter as B, TypeNode as Bt, inputDef as C, schemaDef as Ct, OperationNode as D, DateOnlyTypeValue as Dt, HttpOperationNode as E, propertyDef as Et, createRequestBody as F, ConstNode as Ft, SourceNode as G, createBreak as Gt, ExportNode as H, breakDef as Ht, requestBodyDef as I, FunctionNode as It, createFile as J, createJsx as Jt, UserFileNode as K, createConst as Kt, ParameterLocation as L, JSDocNode as Lt, createResponse as M, ArrowFunctionNode as Mt, responseDef as N, BreakNode as Nt, createOperation as O, DateTimeTypeValue as Ot, RequestBodyNode as P, CodeNode as Pt, fileDef as Q, jsxDef as Qt, ParameterNode as R, JsxNode as Rt, createInput as S, createSchema as St, HttpMethod as T, createProperty as Tt, FileNode as U, constDef as Ut, parameterDef as V, arrowFunctionDef as Vt, ImportNode as W, createArrowFunction as Wt, createSource as X, createType as Xt, createImport as Y, createText as Yt, exportDef as Z, functionDef as Zt, OutputNode as _, SchemaType as _t, Enforce as a, NodeKind as an, DateSchemaNode as at, InputMeta as b, UnionSchemaNode as bt, composeMacros as c, IntersectionSchemaNode as ct, Visitor as d, PrimitiveSchemaType as dt, typeDef as en, sourceDef as et, VisitorContext as f, RefSchemaNode as ft, Node as g, SchemaNodeByType as gt, transform as h, SchemaNode as ht, createPrinter as i, BaseNode as in, ArraySchemaNode as it, StatusCode as j, ParserOptions as jt, operationDef as k, DateTypeOptions as kt, defineMacro as l, NumberSchemaNode as lt, collectSync as m, ScalarSchemaType as mt, PrinterFactoryOptions as n, NodeDef as nn, contentDef as nt, Macro as o, schemaTypes as on, DatetimeSchemaNode as ot, collect as p, ScalarSchemaNode as pt, createExport as q, createFunction as qt, PrinterPartial as r, defineNode as rn, createContent as rt, applyMacros as s, EnumSchemaNode as st, Printer as t, DistributiveOmit as tn, ContentNode as tt, ParentOf as u, ObjectSchemaNode as ut, createOutput as v, StringSchemaNode as vt, GenericOperationNode as w, PropertyNode as wt, InputNode as x, UrlSchemaNode as xt, outputDef as y, TimeSchemaNode as yt, ParameterStyle as z, TextNode as zt };
2793
- //# sourceMappingURL=types-DiCduvU8.d.ts.map
2792
+ //# sourceMappingURL=types-C_kqUloi.d.ts.map
package/dist/types.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as ResponseNode, At as InferSchemaNode, Bt as TypeNode, D as OperationNode, Dt as DateOnlyTypeValue, E as HttpOperationNode, Ft as ConstNode, G as SourceNode, H as ExportNode, It as FunctionNode, K as UserFileNode, L as ParameterLocation, Lt as JSDocNode, Mt as ArrowFunctionNode, Nt as BreakNode, Ot as DateTimeTypeValue, P as RequestBodyNode, Pt as CodeNode, R as ParameterNode, Rt as JsxNode, T as HttpMethod, U as FileNode, W as ImportNode, _ as OutputNode, _t as SchemaType, a as Enforce, an as NodeKind, at as DateSchemaNode, b as InputMeta, bt as UnionSchemaNode, ct as IntersectionSchemaNode, d as Visitor, dt as PrimitiveSchemaType, f as VisitorContext, ft as RefSchemaNode, g as Node, gt as SchemaNodeByType, ht as SchemaNode, it as ArraySchemaNode, j as StatusCode, jt as ParserOptions, kt as DateTypeOptions, lt as NumberSchemaNode, mt as ScalarSchemaType, n as PrinterFactoryOptions, nn as NodeDef, o as Macro, ot as DatetimeSchemaNode, pt as ScalarSchemaNode, r as PrinterPartial, st as EnumSchemaNode, t as Printer, tn as DistributiveOmit, tt as ContentNode, u as ParentOf, ut as ObjectSchemaNode, vt as StringSchemaNode, w as GenericOperationNode, wt as PropertyNode, x as InputNode, xt as UrlSchemaNode, yt as TimeSchemaNode, z as ParameterStyle, zt as TextNode } from "./types-DiCduvU8.js";
1
+ import { A as ResponseNode, At as InferSchemaNode, Bt as TypeNode, D as OperationNode, Dt as DateOnlyTypeValue, E as HttpOperationNode, Ft as ConstNode, G as SourceNode, H as ExportNode, It as FunctionNode, K as UserFileNode, L as ParameterLocation, Lt as JSDocNode, Mt as ArrowFunctionNode, Nt as BreakNode, Ot as DateTimeTypeValue, P as RequestBodyNode, Pt as CodeNode, R as ParameterNode, Rt as JsxNode, T as HttpMethod, U as FileNode, W as ImportNode, _ as OutputNode, _t as SchemaType, a as Enforce, an as NodeKind, at as DateSchemaNode, b as InputMeta, bt as UnionSchemaNode, ct as IntersectionSchemaNode, d as Visitor, dt as PrimitiveSchemaType, f as VisitorContext, ft as RefSchemaNode, g as Node, gt as SchemaNodeByType, ht as SchemaNode, it as ArraySchemaNode, j as StatusCode, jt as ParserOptions, kt as DateTypeOptions, lt as NumberSchemaNode, mt as ScalarSchemaType, n as PrinterFactoryOptions, nn as NodeDef, o as Macro, ot as DatetimeSchemaNode, pt as ScalarSchemaNode, r as PrinterPartial, st as EnumSchemaNode, t as Printer, tn as DistributiveOmit, tt as ContentNode, u as ParentOf, ut as ObjectSchemaNode, vt as StringSchemaNode, w as GenericOperationNode, wt as PropertyNode, x as InputNode, xt as UrlSchemaNode, yt as TimeSchemaNode, z as ParameterStyle, zt as TextNode } from "./types-C_kqUloi.js";
2
2
  export type { ArraySchemaNode, ArrowFunctionNode, BreakNode, CodeNode, ConstNode, ContentNode, DateOnlyTypeValue, DateSchemaNode, DateTimeTypeValue, DateTypeOptions, DatetimeSchemaNode, DistributiveOmit, Enforce, EnumSchemaNode, ExportNode, FileNode, FunctionNode, GenericOperationNode, HttpMethod, HttpOperationNode, ImportNode, InferSchemaNode, InputMeta, InputNode, IntersectionSchemaNode, JSDocNode, JsxNode, Macro, Node, NodeDef, NodeKind, NumberSchemaNode, ObjectSchemaNode, OperationNode, OutputNode, ParameterLocation, ParameterNode, ParameterStyle, ParentOf, ParserOptions, PrimitiveSchemaType, Printer, PrinterFactoryOptions, PrinterPartial, PropertyNode, RefSchemaNode, RequestBodyNode, ResponseNode, ScalarSchemaNode, ScalarSchemaType, SchemaNode, SchemaNodeByType, SchemaType, SourceNode, StatusCode, StringSchemaNode, TextNode, TimeSchemaNode, TypeNode, UnionSchemaNode, UrlSchemaNode, UserFileNode, Visitor, VisitorContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/ast",
3
- "version": "5.3.14",
3
+ "version": "5.3.16",
4
4
  "description": "Spec-agnostic AST layer for Kubb. Defines the node tree, visitor pattern, factory functions, and type guards used across all code generation plugins.",
5
5
  "keywords": [
6
6
  "ast",