@kubb/ast 5.0.0-beta.44 → 5.0.0-beta.45
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.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{types-lc8xMmUs.d.ts → types-BaaNZbSi.d.ts} +4 -19
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
- package/src/infer.ts +2 -2
- package/src/nodes/code.ts +0 -6
- package/src/nodes/file.ts +1 -1
- package/src/nodes/http.ts +1 -35
- package/src/nodes/index.ts +4 -10
- package/src/nodes/operation.ts +2 -2
- package/src/nodes/schema.ts +6 -6
- package/src/printer.ts +2 -2
- package/src/types.ts +2 -19
- package/src/utils/ast.ts +1 -1
- package/src/visitor.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-C0LytTxp.js";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as SchemaDialect, $t as httpMethods, A as createFunctionParameter, At as IntersectionSchemaNode, B as createProperty, Bt as TimeSchemaNode, C as UserFileNode, Ct as FileNode, D as createExport, Dt as DateSchemaNode, E as createConst, Et as ArraySchemaNode, F as createOperation, Ft as ScalarSchemaType, G as createText, Gt as CodeNode, H as createSchema, Ht as UrlSchemaNode, I as createOutput, It as SchemaNode, J as update, Jt as JSDocNode, K as createType, Kt as ConstNode, L as createParameter, Lt as SchemaNodeByType, M as createImport, Mt as ObjectSchemaNode, N as createInput, Nt as PrimitiveSchemaType, O as createFile, Ot as DatetimeSchemaNode, P as createJsx, Pt as RefSchemaNode, Q as dispatch, Qt as NodeKind, R as createParameterGroup, Rt as SchemaType, S as DistributiveOmit, St as ExportNode, T as createBreak, Tt as SourceNode, U as createSource, Ut as PropertyNode, V as createResponse, Vt as UnionSchemaNode, W as createStreamInput, Wt as ArrowFunctionNode, X as ParserOptions, Xt as TextNode, Y as InferSchemaNode, Yt as JsxNode, Z as DispatchRule, Zt as TypeNode, _ as Printer, _t as FunctionParamNode, a as createDiscriminantNode, at as InputMeta, b as createPrinterFactory, bt as ParameterGroupNode, c as findCircularSchemas, ct as OutputNode, d as ParentOf, dt as OperationNode, en as schemaTypes, et as defineSchemaDialect, f as Visitor, ft as ResponseNode, g as walk, gt as FunctionNodeType, h as transform, ht as ParameterNode, i as containsCircularRef, it as Node, j as createFunctionParameters, jt as NumberSchemaNode, k as createFunction, kt as EnumSchemaNode, l as isStringType, lt as HttpMethod, m as collect, mt as ParameterLocation, n as caseParams, nt as applyDedupe, o as createOperationParams, ot as InputNode, p as VisitorContext, pt as StatusCode, q as syncOptionality, qt as FunctionNode, r as collectUsedSchemaNames, rt as buildDedupePlan, s as extractStringsFromNodes, st as InputStreamNode, t as OperationParamsResolver, tt as DedupePlan, u as syncSchemaRef, ut as HttpOperationNode, v as PrinterFactoryOptions, vt as FunctionParameterNode, w as createArrowFunction, wt as ImportNode, x as definePrinter, xt as ParamsTypeNode, y as PrinterPartial, yt as FunctionParametersNode, z as createParamsType, zt as StringSchemaNode } from "./types-BaaNZbSi.js";
|
|
3
3
|
|
|
4
4
|
//#region src/guards.d.ts
|
|
5
5
|
/**
|
|
@@ -154,5 +154,5 @@ declare function mergeAdjacentObjectsLazy(members: Iterable<SchemaNode>): Genera
|
|
|
154
154
|
declare function simplifyUnion(members: Array<SchemaNode>): Array<SchemaNode>;
|
|
155
155
|
declare function setEnumName(propNode: SchemaNode, parentName: string | null | undefined, propName: string, enumSuffix: string): SchemaNode;
|
|
156
156
|
//#endregion
|
|
157
|
-
export { type ArraySchemaNode, type ArrowFunctionNode, type
|
|
157
|
+
export { type ArraySchemaNode, type ArrowFunctionNode, type CodeNode, type ConstNode, type DateSchemaNode, type DatetimeSchemaNode, type DedupePlan, type DispatchRule, type DistributiveOmit, type EnumSchemaNode, type ExportNode, type FileNode, type FunctionNode, type FunctionNodeType, type FunctionParamNode, type FunctionParameterNode, type FunctionParametersNode, type HttpMethod, type HttpOperationNode, type ImportNode, type InferSchemaNode, type InputMeta, type InputNode, type InputStreamNode, type IntersectionSchemaNode, type JSDocNode, type JsxNode, type Node, type NodeKind, type NumberSchemaNode, type ObjectSchemaNode, type OperationNode, type OperationParamsResolver, 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 RefSchemaNode, type ResponseNode, type ScalarSchemaType, type SchemaDialect, type SchemaNode, type SchemaNodeByType, type SchemaType, type SourceNode, type StatusCode, type StringSchemaNode, type TextNode, type TimeSchemaNode, type TypeNode, type UnionSchemaNode, type UrlSchemaNode, type UserFileNode, type Visitor, type VisitorContext, applyDedupe, buildDedupePlan, caseParams, collect, collectImports, collectUsedSchemaNames, containsCircularRef, createArrowFunction, createBreak, createConst, createDiscriminantNode, createExport, createFile, createFunction, createFunctionParameter, createFunctionParameters, createImport, createInput, createJsx, createOperation, createOperationParams, createOutput, createParameter, createParameterGroup, createParamsType, createPrinterFactory, createProperty, createResponse, createSchema, createSource, createStreamInput, createText, createType, definePrinter, defineSchemaDialect, dispatch, extractStringsFromNodes, findCircularSchemas, httpMethods, isHttpOperationNode, isInputNode, isOperationNode, isOutputNode, isSchemaNode, isStringType, mergeAdjacentObjectsLazy, narrowSchema, schemaSignature, schemaTypes, setDiscriminatorEnum, setEnumName, simplifyUnion, syncOptionality, syncSchemaRef, transform, update, walk };
|
|
158
158
|
//# sourceMappingURL=index.d.ts.map
|