@skmtc/core 0.0.931 → 0.0.933

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.
Files changed (111) hide show
  1. package/esm/context/GenerateContext.d.ts +5 -210
  2. package/esm/context/GenerateContext.d.ts.map +1 -1
  3. package/esm/context/GenerateContext.js +0 -52
  4. package/esm/context/RenderContext.d.ts +1 -1
  5. package/esm/context/RenderContext.d.ts.map +1 -1
  6. package/esm/context/types.d.ts +179 -0
  7. package/esm/context/types.d.ts.map +1 -1
  8. package/esm/dsl/ContentBase.d.ts +2 -2
  9. package/esm/dsl/ContentBase.d.ts.map +1 -1
  10. package/esm/dsl/ContentSettings.d.ts +1 -1
  11. package/esm/dsl/ContentSettings.js +1 -1
  12. package/esm/dsl/Definition.d.ts +1 -1
  13. package/esm/dsl/Definition.d.ts.map +1 -1
  14. package/esm/{types → dsl}/GeneratedValue.d.ts +2 -2
  15. package/esm/dsl/GeneratedValue.d.ts.map +1 -0
  16. package/esm/dsl/GeneratedValueList.d.ts +1 -1
  17. package/esm/dsl/GeneratedValueList.d.ts.map +1 -1
  18. package/{script/types → esm/dsl}/GeneratorKeys.d.ts +3 -3
  19. package/esm/dsl/GeneratorKeys.d.ts.map +1 -0
  20. package/esm/{types → dsl}/GeneratorKeys.js +2 -4
  21. package/esm/dsl/Inserted.d.ts +1 -84
  22. package/esm/dsl/Inserted.d.ts.map +1 -1
  23. package/esm/dsl/Inserted.js +0 -83
  24. package/esm/dsl/JsonFile.d.ts +0 -80
  25. package/esm/dsl/JsonFile.d.ts.map +1 -1
  26. package/esm/dsl/JsonFile.js +0 -80
  27. package/esm/dsl/Stringable.d.ts +0 -67
  28. package/esm/dsl/Stringable.d.ts.map +1 -1
  29. package/esm/dsl/model/ModelBase.d.ts +4 -3
  30. package/esm/dsl/model/ModelBase.d.ts.map +1 -1
  31. package/esm/dsl/model/ModelDriver.d.ts +2 -2
  32. package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
  33. package/esm/dsl/model/ModelDriver.js +1 -1
  34. package/esm/dsl/model/toModelBase.d.ts +3 -3
  35. package/esm/dsl/model/toModelBase.js +1 -1
  36. package/esm/dsl/model/toModelEntry.d.ts.map +1 -1
  37. package/esm/dsl/operation/OperationBase.d.ts +4 -3
  38. package/esm/dsl/operation/OperationBase.d.ts.map +1 -1
  39. package/esm/dsl/operation/OperationDriver.d.ts +2 -2
  40. package/esm/dsl/operation/OperationDriver.d.ts.map +1 -1
  41. package/esm/dsl/operation/OperationDriver.js +1 -1
  42. package/esm/dsl/operation/toOperationBase.d.ts +5 -5
  43. package/esm/dsl/operation/toOperationBase.js +1 -1
  44. package/esm/mod.d.ts +2 -2
  45. package/esm/mod.d.ts.map +1 -1
  46. package/esm/mod.js +2 -2
  47. package/esm/types/CustomValue.d.ts +1 -1
  48. package/esm/types/CustomValue.d.ts.map +1 -1
  49. package/esm/types/TypeSystem.d.ts +1 -1
  50. package/esm/types/TypeSystem.d.ts.map +1 -1
  51. package/esm/typescript/ReactRouterPathParams.d.ts +1 -1
  52. package/esm/typescript/ReactRouterPathParams.d.ts.map +1 -1
  53. package/package.json +3 -3
  54. package/script/context/GenerateContext.d.ts +5 -210
  55. package/script/context/GenerateContext.d.ts.map +1 -1
  56. package/script/context/GenerateContext.js +0 -52
  57. package/script/context/RenderContext.d.ts +1 -1
  58. package/script/context/RenderContext.d.ts.map +1 -1
  59. package/script/context/types.d.ts +179 -0
  60. package/script/context/types.d.ts.map +1 -1
  61. package/script/dsl/ContentBase.d.ts +2 -2
  62. package/script/dsl/ContentBase.d.ts.map +1 -1
  63. package/script/dsl/ContentSettings.d.ts +1 -1
  64. package/script/dsl/ContentSettings.js +1 -1
  65. package/script/dsl/Definition.d.ts +1 -1
  66. package/script/dsl/Definition.d.ts.map +1 -1
  67. package/script/{types → dsl}/GeneratedValue.d.ts +2 -2
  68. package/script/dsl/GeneratedValue.d.ts.map +1 -0
  69. package/script/dsl/GeneratedValueList.d.ts +1 -1
  70. package/script/dsl/GeneratedValueList.d.ts.map +1 -1
  71. package/{esm/types → script/dsl}/GeneratorKeys.d.ts +3 -3
  72. package/script/dsl/GeneratorKeys.d.ts.map +1 -0
  73. package/script/{types → dsl}/GeneratorKeys.js +2 -4
  74. package/script/dsl/Inserted.d.ts +1 -84
  75. package/script/dsl/Inserted.d.ts.map +1 -1
  76. package/script/dsl/Inserted.js +0 -83
  77. package/script/dsl/JsonFile.d.ts +0 -80
  78. package/script/dsl/JsonFile.d.ts.map +1 -1
  79. package/script/dsl/JsonFile.js +0 -80
  80. package/script/dsl/Stringable.d.ts +0 -67
  81. package/script/dsl/Stringable.d.ts.map +1 -1
  82. package/script/dsl/model/ModelBase.d.ts +4 -3
  83. package/script/dsl/model/ModelBase.d.ts.map +1 -1
  84. package/script/dsl/model/ModelDriver.d.ts +2 -2
  85. package/script/dsl/model/ModelDriver.d.ts.map +1 -1
  86. package/script/dsl/model/ModelDriver.js +1 -1
  87. package/script/dsl/model/toModelBase.d.ts +3 -3
  88. package/script/dsl/model/toModelBase.js +1 -1
  89. package/script/dsl/model/toModelEntry.d.ts.map +1 -1
  90. package/script/dsl/operation/OperationBase.d.ts +4 -3
  91. package/script/dsl/operation/OperationBase.d.ts.map +1 -1
  92. package/script/dsl/operation/OperationDriver.d.ts +2 -2
  93. package/script/dsl/operation/OperationDriver.d.ts.map +1 -1
  94. package/script/dsl/operation/OperationDriver.js +1 -1
  95. package/script/dsl/operation/toOperationBase.d.ts +5 -5
  96. package/script/dsl/operation/toOperationBase.js +1 -1
  97. package/script/mod.d.ts +2 -2
  98. package/script/mod.d.ts.map +1 -1
  99. package/script/mod.js +2 -2
  100. package/script/types/CustomValue.d.ts +1 -1
  101. package/script/types/CustomValue.d.ts.map +1 -1
  102. package/script/types/TypeSystem.d.ts +1 -1
  103. package/script/types/TypeSystem.d.ts.map +1 -1
  104. package/script/typescript/ReactRouterPathParams.d.ts +1 -1
  105. package/script/typescript/ReactRouterPathParams.d.ts.map +1 -1
  106. package/esm/types/GeneratedValue.d.ts.map +0 -1
  107. package/esm/types/GeneratorKeys.d.ts.map +0 -1
  108. package/script/types/GeneratedValue.d.ts.map +0 -1
  109. package/script/types/GeneratorKeys.d.ts.map +0 -1
  110. /package/esm/{types → dsl}/GeneratedValue.js +0 -0
  111. /package/script/{types → dsl}/GeneratedValue.js +0 -0
@@ -3,12 +3,13 @@ import { Definition } from '../dsl/Definition.js';
3
3
  import type { OasDocument } from '../oas/document/Document.js';
4
4
  import type { OasSchema } from '../oas/schema/Schema.js';
5
5
  import type { OasRef } from '../oas/ref/Ref.js';
6
+ import type { BuildModelSettingsArgs, DefineAndRegisterArgs, GenerateContextType, GenerateResult, InsertModelOptions, InsertNormalisedModelArgs, InsertNormalisedModelOptions, InsertNormalisedModelReturn, InsertOperationOptions, PickArgs, RegisterArgs, RegisterJsonArgs, ToOperationSettingsArgs } from './types.js';
6
7
  import type { ClientSettings } from '../types/Settings.js';
7
8
  import type { Method } from '../types/Method.js';
8
9
  import type { OperationInsertable } from '../dsl/operation/types.js';
9
10
  import type { OasOperation } from '../oas/operation/Operation.js';
10
11
  import type { ModelInsertable } from '../dsl/model/types.js';
11
- import type { GenerationType, GeneratedValue } from '../types/GeneratedValue.js';
12
+ import type { GenerationType, GeneratedValue } from '../dsl/GeneratedValue.js';
12
13
  import { ContentSettings } from '../dsl/ContentSettings.js';
13
14
  import type { RefName } from '../types/RefName.js';
14
15
  import type * as log from '../deps/jsr.io/@std/log/0.224.14/mod.js';
@@ -16,12 +17,10 @@ import type { Logger } from '../types/Logger.js';
16
17
  import type { ResultType } from '../types/Results.js';
17
18
  import type { StackTrail } from './StackTrail.js';
18
19
  import type { Identifier } from '../dsl/Identifier.js';
19
- import type { SchemaToNonRef, SchemaToValueFn, SchemaType, TypeSystemOutput } from '../types/TypeSystem.js';
20
+ import type { SchemaToValueFn, SchemaType } from '../types/TypeSystem.js';
20
21
  import { Inserted } from '../dsl/Inserted.js';
21
- import { File } from '../dsl/File.js';
22
- import { JsonFile } from '../dsl/JsonFile.js';
23
22
  import type { GeneratorsMapContainer } from '../types/GeneratorType.js';
24
- import type { OperationSource, ModelSource, Preview, Mapping } from '../types/Preview.js';
23
+ import type { OperationSource, ModelSource } from '../types/Preview.js';
25
24
  import type { OasVoid } from '../oas/void/Void.js';
26
25
  type ConstructorArgs = {
27
26
  oasDocument: OasDocument;
@@ -31,30 +30,6 @@ type ConstructorArgs = {
31
30
  captureCurrentResult: (result: ResultType) => void;
32
31
  toGeneratorConfigMap: <EnrichmentType = undefined>() => GeneratorsMapContainer<EnrichmentType>;
33
32
  };
34
- /**
35
- * Arguments for picking a specific export from a generator module.
36
- *
37
- * Used to select and configure specific exports from generator modules
38
- * during the artifact generation process.
39
- */
40
- export type PickArgs = {
41
- /** The name of the export to pick from the generator module */
42
- name: string;
43
- /** The file path where the export should be made available */
44
- exportPath: string;
45
- };
46
- /**
47
- * Arguments for registering a JSON file in the generation context.
48
- *
49
- * Used to register JSON configuration files, manifests, or other JSON
50
- * data that should be included in the generated output artifacts.
51
- */
52
- export type RegisterJsonArgs = {
53
- /** The destination file path where the JSON should be written */
54
- destinationPath: string;
55
- /** The JSON object to write to the file */
56
- json: Record<string, unknown>;
57
- };
58
33
  /**
59
34
  * Arguments for applying package imports to a generated file.
60
35
  *
@@ -81,22 +56,6 @@ export type BaseRegisterArgs = {
81
56
  /** Definition objects to include in the generated content */
82
57
  definitions?: (Definition | undefined)[];
83
58
  };
84
- /**
85
- * Arguments for registering generated content with a specific destination.
86
- *
87
- * Extends BaseRegisterArgs to include a destination path, allowing content
88
- * to be registered and associated with a specific output file location.
89
- */
90
- export type RegisterArgs = {
91
- /** Import statements to include, organized by module path */
92
- imports?: Record<string, ImportNameArg[]>;
93
- /** Re-export statements to include, organized by module path */
94
- reExports?: Record<string, Identifier[]>;
95
- /** Definition objects to include in the generated content */
96
- definitions?: (Definition | undefined)[];
97
- /** The destination file path where the content should be registered */
98
- destinationPath: string;
99
- };
100
59
  /**
101
60
  * Arguments for creating and registering a definition from a schema.
102
61
  *
@@ -119,24 +78,6 @@ export type CreateAndRegisterDefinition<Schema extends SchemaType> = {
119
78
  /** Whether to exclude this definition from exports */
120
79
  noExport?: boolean;
121
80
  };
122
- /**
123
- * Arguments for defining and registering a value in the generation context.
124
- *
125
- * Used to create definitions from pre-generated values and register them
126
- * in the generation context for inclusion in output files.
127
- *
128
- * @template V - The generated value type extending GeneratedValue
129
- */
130
- export type DefineAndRegisterArgs<V extends GeneratedValue> = {
131
- /** The identifier for the definition */
132
- identifier: Identifier;
133
- /** The generated value to define */
134
- value: V;
135
- /** The destination file path where the definition should be registered */
136
- destinationPath: string;
137
- /** Whether to exclude this definition from exports */
138
- noExport?: boolean;
139
- };
140
81
  /**
141
82
  * Arguments for retrieving operation-specific settings.
142
83
  *
@@ -177,75 +118,6 @@ export type ToModelSettingsArgs = {
177
118
  /** The reference name of the model */
178
119
  refName: RefName;
179
120
  };
180
- /**
181
- * Options for inserting an operation into the generation context.
182
- *
183
- * Configures how an OpenAPI operation should be processed and
184
- * included in the generated code output.
185
- *
186
- * @template T - The generation type extending GenerationType
187
- */
188
- export type InsertOperationOptions<T extends GenerationType> = {
189
- /** Whether to exclude this operation from exports */
190
- noExport?: boolean;
191
- /** The type of generation to apply */
192
- generation?: T;
193
- /** Custom destination path for the operation */
194
- destinationPath?: string;
195
- };
196
- /**
197
- * Arguments for inserting a normalized model into the generation context.
198
- *
199
- * Used to process and register OpenAPI schema objects as normalized
200
- * model definitions with fallback naming when schema names are unavailable.
201
- *
202
- * @template Schema - The schema type (OasSchema, OasRef, or OasVoid)
203
- */
204
- export type InsertNormalisedModelArgs<Schema extends OasSchema | OasRef<'schema'> | OasVoid> = {
205
- /** Fallback name to use if the schema doesn't have a name */
206
- fallbackName: string;
207
- /** The OpenAPI schema to normalize and insert */
208
- schema: Schema;
209
- /** The destination file path for the model */
210
- destinationPath: string;
211
- };
212
- /**
213
- * Options for inserting a normalized model.
214
- *
215
- * Configures how a normalized model should be processed and
216
- * included in the generated code output.
217
- */
218
- export type InsertNormalisedModelOptions = {
219
- /** Whether to exclude this model from exports */
220
- noExport?: boolean;
221
- };
222
- /**
223
- * Return type for inserting a normalized model.
224
- *
225
- * Provides type-safe return values based on the schema type being processed.
226
- * Returns different Definition types depending on whether the schema is a
227
- * reference or a concrete schema.
228
- *
229
- * @template V - The generated value type
230
- * @template Schema - The schema type being processed
231
- */
232
- export type InsertNormalisedModelReturn<V extends GeneratedValue, Schema extends OasSchema | OasRef<'schema'> | OasVoid> = Schema extends OasRef<'schema'> ? Definition<V> : Definition<TypeSystemOutput<SchemaToNonRef<Schema>['type']>>;
233
- /**
234
- * Options for inserting a model into the generation context.
235
- *
236
- * Configures how a model should be processed and included in
237
- * the generated code output.
238
- *
239
- * @template T - The generation type extending GenerationType
240
- */
241
- export type InsertModelOptions<T extends GenerationType> = {
242
- /** Whether to exclude this model from exports */
243
- noExport?: boolean;
244
- /** The type of generation to apply */
245
- generation?: T;
246
- /** Custom destination path for the model */
247
- destinationPath?: string;
248
- };
249
121
  /**
250
122
  * Return type for insert operations in the generation context.
251
123
  *
@@ -257,31 +129,6 @@ export type InsertModelOptions<T extends GenerationType> = {
257
129
  * @template EnrichmentType - The enrichment data type
258
130
  */
259
131
  export type InsertReturn<V extends GeneratedValue, T extends GenerationType, EnrichmentType> = Inserted<V, T, EnrichmentType>;
260
- /**
261
- * Arguments for generating operation content settings.
262
- *
263
- * @template V - The value type for the operation
264
- * @template EnrichmentType - Optional enrichment type for the operation
265
- */
266
- export type ToOperationSettingsArgs<V, EnrichmentType = undefined> = {
267
- operation: OasOperation;
268
- insertable: OperationInsertable<V, EnrichmentType>;
269
- };
270
- /**
271
- * Arguments for building model content settings.
272
- *
273
- * @template V - The value type for the model
274
- * @template EnrichmentType - Optional enrichment type for the model
275
- */
276
- export type BuildModelSettingsArgs<V, EnrichmentType = undefined> = {
277
- refName: RefName;
278
- insertable: ModelInsertable<V, EnrichmentType>;
279
- };
280
- type GenerateResult = {
281
- files: Map<string, File | JsonFile>;
282
- previews: Record<string, Record<string, Preview>>;
283
- mappings: Record<string, Record<string, Mapping>>;
284
- };
285
132
  /**
286
133
  * The generation context for the second phase of the SKMTC transformation pipeline.
287
134
  *
@@ -324,60 +171,8 @@ type GenerateResult = {
324
171
  * }
325
172
  * }
326
173
  * ```
327
- *
328
- * @example Operation generator usage
329
- * ```typescript
330
- * class ApiClientGenerator extends OperationBase {
331
- * generate(): Definition {
332
- * const operation = this.context.getOperation(this.path, this.method);
333
- *
334
- * const functionName = this.context.createOperationName(this.path, this.method);
335
- *
336
- * return new Definition({
337
- * context: this.context,
338
- * identifier: Identifier.createVariable(functionName),
339
- * value: {
340
- * generatorKey: this.generatorKey,
341
- * content: this.generateClientFunction(operation)
342
- * }
343
- * });
344
- * }
345
- * }
346
- * ```
347
- *
348
- * @example Schema and type system integration
349
- * ```typescript
350
- * class MyGenerator extends ModelBase {
351
- * generate(): Definition {
352
- * const schema = this.context.getSchema(this.refName);
353
- *
354
- * // Transform schema using type system
355
- * const typeOutput = this.context.transformSchema(schema, {
356
- * stringType: 'string',
357
- * numberType: 'number',
358
- * arrayType: (items) => `Array<${items}>`
359
- * });
360
- *
361
- * // Register dependencies
362
- * if (schema.hasReferences()) {
363
- * this.context.addImportsToFile('./models/types.ts', {
364
- * './common': ['BaseModel']
365
- * });
366
- * }
367
- *
368
- * return new Definition({
369
- * context: this.context,
370
- * identifier: Identifier.createType(this.refName),
371
- * value: {
372
- * generatorKey: this.generatorKey,
373
- * content: typeOutput.content
374
- * }
375
- * });
376
- * }
377
- * }
378
- * ```
379
174
  */
380
- export declare class GenerateContext {
175
+ export declare class GenerateContext implements GenerateContextType {
381
176
  #private;
382
177
  /** The parsed OpenAPI document being processed */
383
178
  oasDocument: OasDocument;
@@ -1 +1 @@
1
- {"version":3,"file":"GenerateContext.d.ts","sourceRoot":"","sources":["../../src/context/GenerateContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAA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EAAE,eAAe,EAAE,QAAgB,EAAE,GAAE,kBAAkB,CAAC,CAAC,CAAM,GAC5E,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC;IAcjC;;;;;;;;;OASG;IACH,0BAA0B,CAAC,CAAC,EAAE,cAAc,EAAE,EAC5C,SAAS,EACT,UAAU,EACX,EAAE,uBAAuB,CAAC,CAAC,EAAE,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC;IAQ/E;;;;;;;;OAQG;IACH,sBAAsB,CAAC,CAAC,EAAE,cAAc,EAAE,EACxC,OAAO,EACP,UAAU,EACX,EAAE,sBAAsB,CAAC,CAAC,EAAE,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC;IAuB9E;;;;;OAKG;IACH,oBAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC;IAYzF;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS;CAOvE;AAED,KAAK,qBAAqB,GAAG;IAC3B,SAAS,EAAE,YAAY,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,GAAI,4BAG/B,qBAAqB,KAAG,eAKzB,CAAA;AAEF,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,GAAI,0BAA0B,iBAAiB,KAAG,WAI1E,CAAA"}
@@ -64,58 +64,6 @@ import { match } from 'ts-pattern';
64
64
  * }
65
65
  * }
66
66
  * ```
67
- *
68
- * @example Operation generator usage
69
- * ```typescript
70
- * class ApiClientGenerator extends OperationBase {
71
- * generate(): Definition {
72
- * const operation = this.context.getOperation(this.path, this.method);
73
- *
74
- * const functionName = this.context.createOperationName(this.path, this.method);
75
- *
76
- * return new Definition({
77
- * context: this.context,
78
- * identifier: Identifier.createVariable(functionName),
79
- * value: {
80
- * generatorKey: this.generatorKey,
81
- * content: this.generateClientFunction(operation)
82
- * }
83
- * });
84
- * }
85
- * }
86
- * ```
87
- *
88
- * @example Schema and type system integration
89
- * ```typescript
90
- * class MyGenerator extends ModelBase {
91
- * generate(): Definition {
92
- * const schema = this.context.getSchema(this.refName);
93
- *
94
- * // Transform schema using type system
95
- * const typeOutput = this.context.transformSchema(schema, {
96
- * stringType: 'string',
97
- * numberType: 'number',
98
- * arrayType: (items) => `Array<${items}>`
99
- * });
100
- *
101
- * // Register dependencies
102
- * if (schema.hasReferences()) {
103
- * this.context.addImportsToFile('./models/types.ts', {
104
- * './common': ['BaseModel']
105
- * });
106
- * }
107
- *
108
- * return new Definition({
109
- * context: this.context,
110
- * identifier: Identifier.createType(this.refName),
111
- * value: {
112
- * generatorKey: this.generatorKey,
113
- * content: typeOutput.content
114
- * }
115
- * });
116
- * }
117
- * }
118
- * ```
119
67
  */
120
68
  export class GenerateContext {
121
69
  /**
@@ -1,7 +1,7 @@
1
1
  import type { PrettierConfigType } from '../types/PrettierConfig.js';
2
2
  import type { FilesRenderResult, RenderResult } from './types.js';
3
3
  import type { Definition } from '../dsl/Definition.js';
4
- import type { PickArgs } from './GenerateContext.js';
4
+ import type { PickArgs } from './types.js';
5
5
  import type { ResultType } from '../types/Results.js';
6
6
  import type { StackTrail } from './StackTrail.js';
7
7
  import type * as log from '../deps/jsr.io/@std/log/0.224.14/mod.js';
@@ -1 +1 @@
1
- {"version":3,"file":"RenderContext.d.ts","sourceRoot":"","sources":["../../src/context/RenderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAEpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEjE,OAAO,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O,IAAI,iBAAiB;IAqC5B;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC;IAIvC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,QAAQ;IAU1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS;CAO7D"}
@@ -2,6 +2,38 @@ import type { ManifestEntry } from '../types/Manifest.js';
2
2
  import type { Mapping, Preview } from '../types/Preview.js';
3
3
  import type { ResultsItem } from '../types/Results.js';
4
4
  import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from 'openapi-types';
5
+ import type { JsonFile } from '../dsl/JsonFile.js';
6
+ import type { GeneratedValue, GenerationType } from '../dsl/GeneratedValue.js';
7
+ import type { Definition } from '../dsl/Definition.js';
8
+ import type { OasOperation } from '../oas/operation/Operation.js';
9
+ import type { OperationInsertable } from '../dsl/operation/types.js';
10
+ import type { Inserted } from '../dsl/Inserted.js';
11
+ import type { OasSchema } from '../oas/schema/Schema.js';
12
+ import type { OasRef } from '../oas/ref/Ref.js';
13
+ import type { OasVoid } from '../oas/void/Void.js';
14
+ import type { ModelInsertable } from '../dsl/model/types.js';
15
+ import type { Identifier } from '../dsl/Identifier.js';
16
+ import type { ImportNameArg } from '../dsl/Import.js';
17
+ import type { ContentSettings } from '../dsl/ContentSettings.js';
18
+ import type { RefName } from '../types/RefName.js';
19
+ import type { SchemaToNonRef, TypeSystemOutput } from '../types/TypeSystem.js';
20
+ import type { File } from '../dsl/File.js';
21
+ /**
22
+ * Options for inserting an operation into the generation context.
23
+ *
24
+ * Configures how an OpenAPI operation should be processed and
25
+ * included in the generated code output.
26
+ *
27
+ * @template T - The generation type extending GenerationType
28
+ */
29
+ export type InsertOperationOptions<T extends GenerationType> = {
30
+ /** Whether to exclude this operation from exports */
31
+ noExport?: boolean;
32
+ /** The type of generation to apply */
33
+ generation?: T;
34
+ /** Custom destination path for the operation */
35
+ destinationPath?: string;
36
+ };
5
37
  /**
6
38
  * Type representing the three phases of the SKMTC pipeline.
7
39
  */
@@ -45,4 +77,151 @@ export type AnyOasDocument = OpenAPIV2.Document | OpenAPIV3.Document | OpenAPIV3
45
77
  * Types of issues that can be encountered during OpenAPI schema parsing.
46
78
  */
47
79
  export type IssueType = 'UNEXPECTED_PROPERTY' | 'MISSING_OBJECT_TYPE' | 'MISSING_STRING_TYPE' | 'MISSING_ARRAY_TYPE' | 'MISSING_BOOLEAN_TYPE' | 'INVALID_EXAMPLE' | 'INVALID_ENUM' | 'INVALID_DEFAULT' | 'INVALID_NULLABLE' | 'UNEXPECTED_FORMAT' | 'INVALID_RESPONSE' | 'INVALID_FORMAT' | 'INVALID_OPERATION' | 'INVALID_SCHEMA' | 'INVALID_PARAMETER' | 'INVALID_DEPENDENCY_REF';
80
+ export type GenerateResult = {
81
+ files: Map<string, File | JsonFile>;
82
+ previews: Record<string, Record<string, Preview>>;
83
+ mappings: Record<string, Record<string, Mapping>>;
84
+ };
85
+ /**
86
+ * Arguments for registering a JSON file in the generation context.
87
+ *
88
+ * Used to register JSON configuration files, manifests, or other JSON
89
+ * data that should be included in the generated output artifacts.
90
+ */
91
+ export type RegisterJsonArgs = {
92
+ /** The destination file path where the JSON should be written */
93
+ destinationPath: string;
94
+ /** The JSON object to write to the file */
95
+ json: Record<string, unknown>;
96
+ };
97
+ /**
98
+ * Arguments for defining and registering a value in the generation context.
99
+ *
100
+ * Used to create definitions from pre-generated values and register them
101
+ * in the generation context for inclusion in output files.
102
+ *
103
+ * @template V - The generated value type extending GeneratedValue
104
+ */
105
+ export type DefineAndRegisterArgs<V extends GeneratedValue> = {
106
+ /** The identifier for the definition */
107
+ identifier: Identifier;
108
+ /** The generated value to define */
109
+ value: V;
110
+ /** The destination file path where the definition should be registered */
111
+ destinationPath: string;
112
+ /** Whether to exclude this definition from exports */
113
+ noExport?: boolean;
114
+ };
115
+ /**
116
+ * Arguments for registering generated content with a specific destination.
117
+ *
118
+ * Extends BaseRegisterArgs to include a destination path, allowing content
119
+ * to be registered and associated with a specific output file location.
120
+ */
121
+ export type RegisterArgs = {
122
+ /** Import statements to include, organized by module path */
123
+ imports?: Record<string, ImportNameArg[]>;
124
+ /** Re-export statements to include, organized by module path */
125
+ reExports?: Record<string, Identifier[]>;
126
+ /** Definition objects to include in the generated content */
127
+ definitions?: (Definition | undefined)[];
128
+ /** The destination file path where the content should be registered */
129
+ destinationPath: string;
130
+ };
131
+ /**
132
+ * Arguments for inserting a normalized model into the generation context.
133
+ *
134
+ * Used to process and register OpenAPI schema objects as normalized
135
+ * model definitions with fallback naming when schema names are unavailable.
136
+ *
137
+ * @template Schema - The schema type (OasSchema, OasRef, or OasVoid)
138
+ */
139
+ export type InsertNormalisedModelArgs<Schema extends OasSchema | OasRef<'schema'> | OasVoid> = {
140
+ /** Fallback name to use if the schema doesn't have a name */
141
+ fallbackName: string;
142
+ /** The OpenAPI schema to normalize and insert */
143
+ schema: Schema;
144
+ /** The destination file path for the model */
145
+ destinationPath: string;
146
+ };
147
+ /**
148
+ * Options for inserting a model into the generation context.
149
+ *
150
+ * Configures how a model should be processed and included in
151
+ * the generated code output.
152
+ *
153
+ * @template T - The generation type extending GenerationType
154
+ */
155
+ export type InsertModelOptions<T extends GenerationType> = {
156
+ /** Whether to exclude this model from exports */
157
+ noExport?: boolean;
158
+ /** The type of generation to apply */
159
+ generation?: T;
160
+ /** Custom destination path for the model */
161
+ destinationPath?: string;
162
+ };
163
+ /**
164
+ * Options for inserting a normalized model.
165
+ */
166
+ export type InsertNormalisedModelOptions = {
167
+ /** Whether to exclude this model from exports */
168
+ noExport?: boolean;
169
+ };
170
+ /**
171
+ * Arguments for picking a specific export from a generator module.
172
+ *
173
+ * Used to select and configure specific exports from generator modules
174
+ * during the artifact generation process.
175
+ */
176
+ export type PickArgs = {
177
+ /** The name of the export to pick from the generator module */
178
+ name: string;
179
+ /** The file path where the export should be made available */
180
+ exportPath: string;
181
+ };
182
+ /**
183
+ * Arguments for building model content settings.
184
+ *
185
+ * @template V - The value type for the model
186
+ * @template EnrichmentType - Optional enrichment type for the model
187
+ */
188
+ export type BuildModelSettingsArgs<V, EnrichmentType = undefined> = {
189
+ refName: RefName;
190
+ insertable: ModelInsertable<V, EnrichmentType>;
191
+ };
192
+ /**
193
+ * Arguments for generating operation content settings.
194
+ *
195
+ * @template V - The value type for the operation
196
+ * @template EnrichmentType - Optional enrichment type for the operation
197
+ */
198
+ export type ToOperationSettingsArgs<V, EnrichmentType = undefined> = {
199
+ operation: OasOperation;
200
+ insertable: OperationInsertable<V, EnrichmentType>;
201
+ };
202
+ /**
203
+ * Return type for inserting a normalized model.
204
+ *
205
+ * Provides type-safe return values based on the schema type being processed.
206
+ * Returns different Definition types depending on whether the schema is a
207
+ * reference or a concrete schema.
208
+ *
209
+ * @template V - The generated value type
210
+ * @template Schema - The schema type being processed
211
+ */
212
+ export type InsertNormalisedModelReturn<V extends GeneratedValue, Schema extends OasSchema | OasRef<'schema'> | OasVoid> = Schema extends OasRef<'schema'> ? Definition<V> : Definition<TypeSystemOutput<SchemaToNonRef<Schema>['type']>>;
213
+ export type GenerateContextType = {
214
+ toArtifacts: () => GenerateResult;
215
+ trace: <T>(token: string, fn: () => T) => T;
216
+ defineAndRegister: <V extends GeneratedValue>({ identifier, value, destinationPath, noExport }: DefineAndRegisterArgs<V>) => Definition<V>;
217
+ registerJson: ({ destinationPath, json }: RegisterJsonArgs) => void;
218
+ register: ({ imports, definitions, destinationPath, reExports }: RegisterArgs) => void;
219
+ insertOperation: <V extends GeneratedValue, T extends GenerationType, EnrichmentType = undefined>(insertable: OperationInsertable<V, EnrichmentType>, operation: OasOperation, { generation, destinationPath, noExport }: InsertOperationOptions<T>) => Inserted<V, T, EnrichmentType>;
220
+ insertNormalisedModel: <V extends GeneratedValue, Schema extends OasSchema | OasRef<'schema'> | OasVoid, EnrichmentType>(insertable: ModelInsertable<V, EnrichmentType>, { schema, fallbackName, destinationPath }: InsertNormalisedModelArgs<Schema>, { noExport }: InsertNormalisedModelOptions) => InsertNormalisedModelReturn<V, Schema>;
221
+ insertModel: <V extends GeneratedValue, T extends GenerationType, EnrichmentType>(insertable: ModelInsertable<V, EnrichmentType>, refName: RefName, { generation, destinationPath, noExport }: InsertModelOptions<T>) => Inserted<V, T, EnrichmentType>;
222
+ toOperationContentSettings: <V, EnrichmentType>({ operation, insertable }: ToOperationSettingsArgs<V, EnrichmentType>) => ContentSettings<EnrichmentType>;
223
+ toModelContentSettings: <V, EnrichmentType>({ refName, insertable }: BuildModelSettingsArgs<V, EnrichmentType>) => ContentSettings<EnrichmentType>;
224
+ resolveSchemaRefOnce: (refName: RefName, generatorId: string) => OasSchema | OasRef<'schema'>;
225
+ findDefinition: ({ name, exportPath }: PickArgs) => Definition | undefined;
226
+ };
48
227
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/context/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEtE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAA;AAEvD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,yDAAyD;IACzD,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED;;GAEG;AACH,MAAM,M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YAAY,EAAE,eAAe,EAAE,EAAE,yBAAyB,CAAC,MAAM,CAAC,EAC5E,EAAE,QAAQ,EAAE,EAAE,4BAA4B,KACvC,2BAA2B,CAAC,CAAC,EAAE,MAAM,CAAC,CAAA;IAC3C,WAAW,EAAE,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,cAAc,EAAE,cAAc,EAC9E,UAAU,EAAE,eAAe,CAAC,CAAC,EAAE,cAAc,CAAC,EAC9C,OAAO,EAAE,OAAO,EAChB,EAAE,UAAU,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAC7D,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC,CAAA;IACnC,0BAA0B,EAAE,CAAC,CAAC,EAAE,cAAc,EAAE,EAC9C,SAAS,EACT,UAAU,EACX,EAAE,uBAAuB,CAAC,CAAC,EAAE,cAAc,CAAC,KAAK,eAAe,CAAC,cAAc,CAAC,CAAA;IACjF,sBAAsB,EAAE,CAAC,CAAC,EAAE,cAAc,EAAE,EAC1C,OAAO,EACP,UAAU,EACX,EAAE,sBAAsB,CAAC,CAAC,EAAE,cAAc,CAAC,KAAK,eAAe,CAAC,cAAc,CAAC,CAAA;IAChF,oBAAoB,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAA;IAC7F,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,QAAQ,KAAK,UAAU,GAAG,SAAS,CAAA;CAC3E,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { GenerateContext } from '../context/GenerateContext.js';
2
- import type { RegisterArgs } from '../context/GenerateContext.js';
3
- import type { GeneratorKey } from '../types/GeneratorKeys.js';
2
+ import type { RegisterArgs } from '../context/types.js';
3
+ import type { GeneratorKey } from './GeneratorKeys.js';
4
4
  /**
5
5
  * Constructor arguments for {@link ContentBase}.
6
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ContentBase.d.ts","sourceRoot":"","sources":["../../src/dsl/ContentBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D;;GAEG;AACH,KAAK,eAAe,GAAG;IACrB,iEAAiE;IACjE,OAAO,EAAE,eAAe,CAAA;IACxB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,qBAAa,WAAW;IACtB,2EAA2E;IAC3E,OAAO,EAAE,eAAe,CAAA;IAExB,8CAA8C;IAC9C,OAAO,EAAE,OAAO,CAAQ;IAExB,6DAA6D;IAC7D,YAAY,EAAE,YAAY,GAAG,SAAS,CAAA;IAEtC;;;;;;OAMG;gBACS,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,eAAe;IAKtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,QAAQ,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;CAGnC"}
1
+ {"version":3,"file":"ContentBase.d.ts","sourceRoot":"","sources":["../../src/dsl/ContentBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD;;GAEG;AACH,KAAK,eAAe,GAAG;IACrB,iEAAiE;IACjE,OAAO,EAAE,eAAe,CAAA;IACxB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,qBAAa,WAAW;IACtB,2EAA2E;IAC3E,OAAO,EAAE,eAAe,CAAA;IAExB,8CAA8C;IAC9C,OAAO,EAAE,OAAO,CAAQ;IAExB,6DAA6D;IAC7D,YAAY,EAAE,YAAY,GAAG,SAAS,CAAA;IAEtC;;;;;;OAMG;gBACS,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,eAAe;IAKtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,QAAQ,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;CAGnC"}
@@ -136,7 +136,7 @@ export declare class ContentSettings<EnrichmentType = undefined> {
136
136
  * exportPath: './src/api/models.ts',
137
137
  * enrichments: {
138
138
  * includeValidation: true,
139
- * format: 'detailed'
139
+ * format: 'detailed'
140
140
  * }
141
141
  * });
142
142
  * ```
@@ -107,7 +107,7 @@ export class ContentSettings {
107
107
  * exportPath: './src/api/models.ts',
108
108
  * enrichments: {
109
109
  * includeValidation: true,
110
- * format: 'detailed'
110
+ * format: 'detailed'
111
111
  * }
112
112
  * });
113
113
  * ```
@@ -1,7 +1,7 @@
1
1
  import type { GenerateContext } from '../context/GenerateContext.js';
2
2
  import type { Identifier } from './Identifier.js';
3
3
  import { ContentBase } from './ContentBase.js';
4
- import type { GeneratedValue } from '../types/GeneratedValue.js';
4
+ import type { GeneratedValue } from './GeneratedValue.js';
5
5
  /**
6
6
  * Constructor arguments for {@link Definition}.
7
7
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/dsl/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE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