@kubb/ast 5.0.0-alpha.57 → 5.0.0-alpha.59

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.57",
3
+ "version": "5.0.0-alpha.59",
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
  "ast",
package/src/constants.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import type { NodeKind } from './nodes/base.ts'
2
2
  import type { MediaType } from './nodes/http.ts'
3
3
  import type { HttpMethod } from './nodes/operation.ts'
4
- import type { ParameterLocation } from './nodes/parameter.ts'
5
4
  import type { SchemaType } from './nodes/schema.ts'
6
5
 
7
6
  /**
@@ -177,13 +176,6 @@ export const httpMethods = {
177
176
  trace: 'TRACE',
178
177
  } as const satisfies Record<Lowercase<HttpMethod>, HttpMethod>
179
178
 
180
- export const parameterLocations = {
181
- path: 'path',
182
- query: 'query',
183
- header: 'header',
184
- cookie: 'cookie',
185
- } as const satisfies Record<ParameterLocation, ParameterLocation>
186
-
187
179
  /**
188
180
  * Default maximum number of concurrent callbacks used by `walk`.
189
181
  *
@@ -198,16 +190,6 @@ export const parameterLocations = {
198
190
  */
199
191
  export const WALK_CONCURRENCY = 30
200
192
 
201
- /**
202
- * Fallback response status code used for catch-all responses.
203
- *
204
- * @example
205
- * ```ts
206
- * const status = DEFAULT_STATUS_CODE // 'default'
207
- * ```
208
- */
209
- export const DEFAULT_STATUS_CODE = 'default' as const
210
-
211
193
  export const mediaTypes = {
212
194
  applicationJson: 'application/json',
213
195
  applicationXml: 'application/xml',