@skmtc/core 0.0.783 → 0.0.786

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 (59) hide show
  1. package/esm/dsl/File.d.ts +208 -0
  2. package/esm/dsl/File.d.ts.map +1 -1
  3. package/esm/dsl/File.js +197 -0
  4. package/esm/dsl/Identifier.d.ts +152 -0
  5. package/esm/dsl/Identifier.d.ts.map +1 -1
  6. package/esm/dsl/Identifier.js +152 -0
  7. package/esm/dsl/Import.d.ts +221 -0
  8. package/esm/dsl/Import.d.ts.map +1 -1
  9. package/esm/dsl/Import.js +202 -0
  10. package/esm/dsl/model/ModelBase.d.ts +257 -0
  11. package/esm/dsl/model/ModelBase.d.ts.map +1 -1
  12. package/esm/dsl/model/ModelBase.js +248 -0
  13. package/esm/dsl/operation/OperationBase.d.ts +356 -1
  14. package/esm/dsl/operation/OperationBase.d.ts.map +1 -1
  15. package/esm/dsl/operation/OperationBase.js +347 -1
  16. package/esm/oas/document/Document.d.ts +155 -1
  17. package/esm/oas/document/Document.d.ts.map +1 -1
  18. package/esm/oas/document/Document.js +141 -2
  19. package/esm/oas/object/Object.d.ts +255 -10
  20. package/esm/oas/object/Object.d.ts.map +1 -1
  21. package/esm/oas/object/Object.js +229 -10
  22. package/esm/types/GeneratorKeys.d.ts +336 -0
  23. package/esm/types/GeneratorKeys.d.ts.map +1 -1
  24. package/esm/types/GeneratorKeys.js +243 -0
  25. package/esm/types/GeneratorType.d.ts +119 -0
  26. package/esm/types/GeneratorType.d.ts.map +1 -1
  27. package/esm/types/Method.d.ts +109 -0
  28. package/esm/types/Method.d.ts.map +1 -1
  29. package/esm/types/Method.js +84 -0
  30. package/package.json +5 -1
  31. package/script/dsl/File.d.ts +208 -0
  32. package/script/dsl/File.d.ts.map +1 -1
  33. package/script/dsl/File.js +197 -0
  34. package/script/dsl/Identifier.d.ts +152 -0
  35. package/script/dsl/Identifier.d.ts.map +1 -1
  36. package/script/dsl/Identifier.js +152 -0
  37. package/script/dsl/Import.d.ts +221 -0
  38. package/script/dsl/Import.d.ts.map +1 -1
  39. package/script/dsl/Import.js +202 -0
  40. package/script/dsl/model/ModelBase.d.ts +257 -0
  41. package/script/dsl/model/ModelBase.d.ts.map +1 -1
  42. package/script/dsl/model/ModelBase.js +248 -0
  43. package/script/dsl/operation/OperationBase.d.ts +356 -1
  44. package/script/dsl/operation/OperationBase.d.ts.map +1 -1
  45. package/script/dsl/operation/OperationBase.js +347 -1
  46. package/script/oas/document/Document.d.ts +155 -1
  47. package/script/oas/document/Document.d.ts.map +1 -1
  48. package/script/oas/document/Document.js +141 -2
  49. package/script/oas/object/Object.d.ts +255 -10
  50. package/script/oas/object/Object.d.ts.map +1 -1
  51. package/script/oas/object/Object.js +229 -10
  52. package/script/types/GeneratorKeys.d.ts +336 -0
  53. package/script/types/GeneratorKeys.d.ts.map +1 -1
  54. package/script/types/GeneratorKeys.js +243 -0
  55. package/script/types/GeneratorType.d.ts +119 -0
  56. package/script/types/GeneratorType.d.ts.map +1 -1
  57. package/script/types/Method.d.ts +109 -0
  58. package/script/types/Method.d.ts.map +1 -1
  59. package/script/types/Method.js +84 -0
@@ -15,8 +15,85 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.OasDocument = void 0;
16
16
  require("../../_dnt.polyfills.js");
17
17
  const ts_pattern_1 = require("ts-pattern");
18
- /** Top level document object describing the API */
18
+ /**
19
+ * Represents a complete OpenAPI v3 document in the SKMTC OAS processing system.
20
+ *
21
+ * The `OasDocument` class is the root object in the OAS hierarchy, containing all
22
+ * the information needed to describe a complete REST API. It provides normalized
23
+ * access to document properties with built-in validation and error handling.
24
+ *
25
+ * ## Key Features
26
+ *
27
+ * - **Normalized Structure**: Operations are flattened from nested paths for easier processing
28
+ * - **Lazy Initialization**: Fields are set after construction during parsing
29
+ * - **Type Safety**: All properties are typed and validated on access
30
+ * - **Extensibility**: Supports OpenAPI extension fields (x-* properties)
31
+ * - **JSON Serialization**: Can be converted back to standard OpenAPI JSON format
32
+ *
33
+ * @example Basic document access
34
+ * ```typescript
35
+ * import { OasDocument } from '@skmtc/core';
36
+ *
37
+ * // Document is typically created during parsing
38
+ * const document = new OasDocument();
39
+ * document.fields = {
40
+ * openapi: '3.0.0',
41
+ * info: { title: 'My API', version: '1.0.0' },
42
+ * operations: [
43
+ * // ... parsed operations
44
+ * ],
45
+ * components: {
46
+ * schemas: {
47
+ * User: { type: 'object', properties: { id: { type: 'string' } } }
48
+ * }
49
+ * }
50
+ * };
51
+ *
52
+ * console.log(document.info.title); // 'My API'
53
+ * console.log(document.operations.length); // Number of operations
54
+ * ```
55
+ *
56
+ * @example Iterating over operations
57
+ * ```typescript
58
+ * // Process all operations in the document
59
+ * for (const operation of document.operations) {
60
+ * console.log(`${operation.method.toUpperCase()} ${operation.path}`);
61
+ *
62
+ * if (operation.operationId) {
63
+ * console.log(`Operation ID: ${operation.operationId}`);
64
+ * }
65
+ * }
66
+ * ```
67
+ *
68
+ * @example Working with components
69
+ * ```typescript
70
+ * if (document.components?.schemas) {
71
+ * const userSchema = document.components.schemas.get('User');
72
+ * if (userSchema) {
73
+ * console.log('User schema found:', userSchema);
74
+ * }
75
+ * }
76
+ * ```
77
+ */
19
78
  class OasDocument {
79
+ /**
80
+ * Creates a new OasDocument instance.
81
+ *
82
+ * The document is typically created with undefined fields and populated
83
+ * later during the parsing process. This allows for lazy initialization
84
+ * and proper error handling during document processing.
85
+ *
86
+ * @param fields - Optional document fields (usually set later during parsing)
87
+ *
88
+ * @example
89
+ * ```typescript
90
+ * // Usually created without fields during parsing
91
+ * const document = new OasDocument();
92
+ *
93
+ * // Fields are set later by the parser
94
+ * document.fields = parsedDocumentFields;
95
+ * ```
96
+ */
20
97
  constructor(fields) {
21
98
  /** Static identifier property for OasDocument */
22
99
  Object.defineProperty(this, "oasType", {
@@ -25,10 +102,31 @@ class OasDocument {
25
102
  writable: true,
26
103
  value: 'openapi'
27
104
  });
28
- /** @internal */
105
+ /** @internal Private fields storage */
29
106
  _OasDocument_fields.set(this, void 0);
30
107
  __classPrivateFieldSet(this, _OasDocument_fields, fields, "f");
31
108
  }
109
+ /**
110
+ * Removes an item from the document based on a stack trail path.
111
+ *
112
+ * This method is used internally during document processing to remove
113
+ * specific operations or schema components. The stack trail indicates
114
+ * the path to the item within the document structure.
115
+ *
116
+ * @param stackTrail - Path to the item to remove
117
+ * @returns The removed item, or undefined if not found
118
+ *
119
+ * @internal This method is primarily used by the processing pipeline
120
+ *
121
+ * @example
122
+ * ```typescript
123
+ * // Remove an operation at /users POST
124
+ * const removed = document.removeItem(new StackTrail(['paths', '/users', 'post']));
125
+ *
126
+ * // Remove a schema component
127
+ * const removedSchema = document.removeItem(new StackTrail(['components', 'schemas', 'User']));
128
+ * ```
129
+ */
32
130
  removeItem(stackTrail) {
33
131
  const [first, second, third] = stackTrail.stackTrail;
34
132
  return (0, ts_pattern_1.match)(first)
@@ -50,6 +148,26 @@ class OasDocument {
50
148
  throw new Error(`Unexpected stack trail: ${stackTrail}`);
51
149
  });
52
150
  }
151
+ /**
152
+ * Sets the document fields after parsing.
153
+ *
154
+ * This setter is called by the parsing pipeline to populate the document
155
+ * with parsed OpenAPI data. It enables lazy initialization and proper
156
+ * error handling during document processing.
157
+ *
158
+ * @param fields - The parsed document fields
159
+ *
160
+ * @example
161
+ * ```typescript
162
+ * const document = new OasDocument();
163
+ * document.fields = {
164
+ * openapi: '3.0.0',
165
+ * info: { title: 'API', version: '1.0' },
166
+ * operations: [],
167
+ * // ... other fields
168
+ * };
169
+ * ```
170
+ */
53
171
  set fields(fields) {
54
172
  __classPrivateFieldSet(this, _OasDocument_fields, fields, "f");
55
173
  }
@@ -108,6 +226,27 @@ class OasDocument {
108
226
  }
109
227
  return __classPrivateFieldGet(this, _OasDocument_fields, "f").extensionFields;
110
228
  }
229
+ /**
230
+ * Converts the document back to a JSON-serializable OpenAPI object.
231
+ *
232
+ * This method serializes the document to a standard OpenAPI v3 format,
233
+ * which can be used for output, validation, or further processing. The
234
+ * resulting object follows the OpenAPI specification structure.
235
+ *
236
+ * @returns A JSON-serializable object representing the OpenAPI document
237
+ *
238
+ * @example
239
+ * ```typescript
240
+ * // Convert document back to standard OpenAPI format
241
+ * const openApiJson = document.toJSON();
242
+ *
243
+ * // Can be stringified for output
244
+ * const yamlString = JSON.stringify(openApiJson, null, 2);
245
+ *
246
+ * // Or used with OpenAPI tools
247
+ * await validateOpenApiDocument(openApiJson);
248
+ * ```
249
+ */
111
250
  toJSON() {
112
251
  return {
113
252
  openapi: this.openapi,
@@ -3,32 +3,138 @@ import type { OasRef } from '../ref/Ref.js';
3
3
  import type { OasSchema, ToJsonSchemaOptions } from '../schema/Schema.js';
4
4
  import type { CustomValue } from '../../types/CustomValue.js';
5
5
  import type { OpenAPIV3 } from 'openapi-types';
6
+ /**
7
+ * Constructor fields for {@link OasObject}.
8
+ *
9
+ * @template Nullable - Whether the object can be null (affects type unions)
10
+ */
6
11
  export type OasObjectFields<Nullable extends boolean | undefined> = {
12
+ /** A short summary of the object */
7
13
  title?: string;
14
+ /** A description of the object */
8
15
  description?: string;
16
+ /** Record mapping property names to their schemas */
9
17
  properties?: Record<string, OasSchema | OasRef<'schema'> | CustomValue> | undefined;
18
+ /** Array of required property names */
10
19
  required?: string[] | undefined;
20
+ /** Default value for the object (null allowed if Nullable is true) */
11
21
  default?: Nullable extends true ? Record<string, unknown> | null | undefined : Record<string, unknown> | undefined;
22
+ /** Whether additional properties are allowed (true/false/schema) */
12
23
  additionalProperties?: boolean | OasSchema | OasRef<'schema'> | undefined;
24
+ /** Whether the object value can be null */
13
25
  nullable?: Nullable;
26
+ /** Maximum number of properties allowed */
14
27
  maxProperties?: number;
28
+ /** Minimum number of properties required */
15
29
  minProperties?: number;
30
+ /** Array of valid enum values for the object */
16
31
  enums?: Nullable extends true ? (Record<string, unknown> | null)[] | undefined : Record<string, unknown>[] | undefined;
32
+ /** Custom extension fields (x-* properties) */
17
33
  extensionFields?: Record<string, unknown>;
34
+ /** Example value for the object (null allowed if Nullable is true) */
18
35
  example?: Nullable extends true ? Record<string, unknown> | null | undefined : Record<string, unknown> | undefined;
36
+ /** Whether the object is read-only */
19
37
  readOnly?: boolean;
38
+ /** Whether the object is write-only */
20
39
  writeOnly?: boolean;
40
+ /** Whether the object is deprecated */
21
41
  deprecated?: boolean;
22
42
  };
43
+ /**
44
+ * Arguments for the {@link OasObject.addProperty} method.
45
+ */
23
46
  export type AddPropertyArgs = {
47
+ /** The name of the property to add */
24
48
  name: string;
49
+ /** The schema definition for the property */
25
50
  schema: OasSchema | OasRef<'schema'> | CustomValue | undefined;
51
+ /** Whether the property should be required */
26
52
  required?: boolean;
27
53
  };
28
54
  /**
29
- * Object representing an object and/or a record in the OpenAPI Specification.
55
+ * Represents an object schema in the OpenAPI Specification.
56
+ *
57
+ * `OasObject` handles both:
58
+ * - **Objects**: Types with fixed, named properties (like TypeScript interfaces)
59
+ * - **Records**: Types with dynamic keys and consistent value types (like TypeScript Record<string, T>)
60
+ *
61
+ * This class provides comprehensive support for object validation constraints,
62
+ * property management, and JSON Schema conversion. It supports nullable types
63
+ * through generic type parameters and handles complex property relationships.
64
+ *
65
+ * ## Key Features
66
+ *
67
+ * - **Property Management**: Add/remove properties with automatic required field handling
68
+ * - **Type Safety**: Generic nullable type support with proper TypeScript inference
69
+ * - **Validation**: Min/max properties, additional properties, and enum constraints
70
+ * - **JSON Schema**: Convert to standard JSON Schema format for validation
71
+ * - **Immutability**: All mutations return new instances (functional style)
72
+ *
73
+ * @template Nullable - Whether the object value itself can be null
74
+ *
75
+ * @example Basic object schema
76
+ * ```typescript
77
+ * import { OasObject } from '@skmtc/core';
78
+ *
79
+ * const userObject = new OasObject({
80
+ * title: 'User',
81
+ * description: 'A user in the system',
82
+ * properties: {
83
+ * id: new OasString({ title: 'User ID' }),
84
+ * name: new OasString({ title: 'Full Name' }),
85
+ * email: new OasString({ format: 'email' })
86
+ * },
87
+ * required: ['id', 'name'],
88
+ * additionalProperties: false
89
+ * });
90
+ * ```
30
91
  *
31
- * Objects have fixed, named fields. Records have any number of fields that do not have predefined names.
92
+ * @example Dynamic property management
93
+ * ```typescript
94
+ * // Start with empty object
95
+ * let schema = OasObject.empty();
96
+ *
97
+ * // Add properties dynamically
98
+ * schema = schema.addProperty({
99
+ * name: 'id',
100
+ * schema: new OasString(),
101
+ * required: true
102
+ * });
103
+ *
104
+ * schema = schema.addProperty({
105
+ * name: 'metadata',
106
+ * schema: new OasObject({ additionalProperties: true }),
107
+ * required: false
108
+ * });
109
+ *
110
+ * // Remove a property
111
+ * schema = schema.removeProperty('metadata');
112
+ * ```
113
+ *
114
+ * @example Record-style object (additional properties)
115
+ * ```typescript
116
+ * const recordObject = new OasObject({
117
+ * title: 'StringMap',
118
+ * description: 'A map of string keys to string values',
119
+ * additionalProperties: new OasString(), // Any string key -> string value
120
+ * minProperties: 1 // At least one property required
121
+ * });
122
+ *
123
+ * // This allows: { [key: string]: string }
124
+ * ```
125
+ *
126
+ * @example Nullable object support
127
+ * ```typescript
128
+ * const nullableUser = new OasObject<true>({
129
+ * nullable: true,
130
+ * properties: {
131
+ * name: new OasString()
132
+ * },
133
+ * default: null // Can have null default when nullable
134
+ * });
135
+ *
136
+ * // This represents: { name: string } | null
137
+ * ```
32
138
  */
33
139
  export declare class OasObject<Nullable extends boolean | undefined = boolean | undefined> {
34
140
  /**
@@ -82,29 +188,168 @@ export declare class OasObject<Nullable extends boolean | undefined = boolean |
82
188
  writeOnly?: boolean;
83
189
  deprecated?: boolean;
84
190
  enums?: Nullable extends true ? (Record<string, unknown> | null)[] | undefined : Record<string, unknown>[] | undefined;
191
+ /**
192
+ * Creates a new OasObject instance.
193
+ *
194
+ * @param fields - Object configuration fields
195
+ *
196
+ * @example
197
+ * ```typescript
198
+ * const userSchema = new OasObject({
199
+ * title: 'User',
200
+ * properties: {
201
+ * id: new OasString({ title: 'ID' }),
202
+ * name: new OasString({ title: 'Name' })
203
+ * },
204
+ * required: ['id'],
205
+ * additionalProperties: false
206
+ * });
207
+ * ```
208
+ */
85
209
  constructor(fields?: OasObjectFields<Nullable>);
86
- /** Creates new empty OasObject */
210
+ /**
211
+ * Creates a new empty OasObject with no properties.
212
+ *
213
+ * This factory method creates a non-nullable object with empty properties
214
+ * and required arrays, useful as a starting point for dynamic object building.
215
+ *
216
+ * @returns A new empty OasObject instance
217
+ *
218
+ * @example
219
+ * ```typescript
220
+ * // Start with empty object and build up
221
+ * let schema = OasObject.empty();
222
+ *
223
+ * schema = schema.addProperty({
224
+ * name: 'id',
225
+ * schema: new OasString(),
226
+ * required: true
227
+ * });
228
+ *
229
+ * schema = schema.addProperty({
230
+ * name: 'name',
231
+ * schema: new OasString(),
232
+ * required: true
233
+ * });
234
+ * ```
235
+ */
87
236
  static empty(): OasObject<false>;
88
237
  /**
89
238
  * Adds a new property to the object.
90
239
  *
91
- * @param {AddPropertyArgs} args - The arguments for adding a property.
92
- * @param {string} args.name - The name of the property to add.
93
- * @param {OasSchema | OasRef<'schema'> | CustomValue | undefined} args.schema - The schema of the property to add.
94
- * @param {boolean} args.required - Whether the property is required.
95
- * @returns {OasObject} A new OasObject with the added property.
240
+ * This method returns a new OasObject instance with the added property,
241
+ * following an immutable pattern. If the property is marked as required,
242
+ * it will be added to the required array.
243
+ *
244
+ * @param args - Property addition arguments
245
+ * @param args.name - The name of the property to add
246
+ * @param args.schema - The schema definition for the property
247
+ * @param args.required - Whether the property should be required (default: false)
248
+ * @returns A new OasObject with the added property
249
+ *
250
+ * @example Adding a simple property
251
+ * ```typescript
252
+ * const original = OasObject.empty();
253
+ * const withName = original.addProperty({
254
+ * name: 'username',
255
+ * schema: new OasString({ minLength: 3 }),
256
+ * required: true
257
+ * });
258
+ *
259
+ * console.log(withName.required); // ['username']
260
+ * ```
261
+ *
262
+ * @example Chaining property additions
263
+ * ```typescript
264
+ * const userSchema = OasObject.empty()
265
+ * .addProperty({
266
+ * name: 'id',
267
+ * schema: new OasInteger(),
268
+ * required: true
269
+ * })
270
+ * .addProperty({
271
+ * name: 'email',
272
+ * schema: new OasString({ format: 'email' }),
273
+ * required: true
274
+ * })
275
+ * .addProperty({
276
+ * name: 'age',
277
+ * schema: new OasInteger({ minimum: 0 }),
278
+ * required: false
279
+ * });
280
+ * ```
96
281
  */
97
282
  addProperty({ name, schema, required }: AddPropertyArgs): OasObject;
98
283
  /**
99
284
  * Removes a property from the object.
100
285
  *
101
- * @param {string} name - The name of the property to remove.
102
- * @returns {OasObject} A new OasObject with the removed property.
286
+ * This method returns a new OasObject instance with the specified property
287
+ * removed. If the property was required, it will also be removed from the
288
+ * required array. If the property doesn't exist, returns the same instance.
289
+ *
290
+ * @param name - The name of the property to remove
291
+ * @returns A new OasObject with the property removed, or the same instance if property doesn't exist
292
+ *
293
+ * @example
294
+ * ```typescript
295
+ * const userSchema = new OasObject({
296
+ * properties: {
297
+ * id: new OasString(),
298
+ * name: new OasString(),
299
+ * email: new OasString(),
300
+ * temporaryField: new OasString()
301
+ * },
302
+ * required: ['id', 'name', 'temporaryField']
303
+ * });
304
+ *
305
+ * // Remove temporary field
306
+ * const cleanedSchema = userSchema.removeProperty('temporaryField');
307
+ *
308
+ * console.log(cleanedSchema.required); // ['id', 'name']
309
+ * console.log('temporaryField' in cleanedSchema.properties); // false
310
+ * ```
103
311
  */
104
312
  removeProperty(name: string): OasObject;
105
313
  isRef(): this is OasRef<'schema'>;
106
314
  resolve(): OasObject;
107
315
  resolveOnce(): OasObject;
316
+ /**
317
+ * Converts the OasObject to a standard JSON Schema object.
318
+ *
319
+ * This method serializes the object to the JSON Schema format used in
320
+ * OpenAPI specifications. It handles property conversion, additional
321
+ * properties rules, and validation constraints.
322
+ *
323
+ * @param options - Conversion options for handling references and context
324
+ * @returns A JSON Schema representation of the object
325
+ *
326
+ * @example
327
+ * ```typescript
328
+ * const userObject = new OasObject({
329
+ * title: 'User',
330
+ * properties: {
331
+ * id: new OasString(),
332
+ * name: new OasString()
333
+ * },
334
+ * required: ['id'],
335
+ * additionalProperties: false
336
+ * });
337
+ *
338
+ * const jsonSchema = userObject.toJsonSchema({ refContext: new Map() });
339
+ *
340
+ * console.log(jsonSchema);
341
+ * // {
342
+ * // type: 'object',
343
+ * // title: 'User',
344
+ * // properties: {
345
+ * // id: { type: 'string' },
346
+ * // name: { type: 'string' }
347
+ * // },
348
+ * // required: ['id'],
349
+ * // additionalProperties: false
350
+ * // }
351
+ * ```
352
+ */
108
353
  toJsonSchema(options: ToJsonSchemaOptions): OpenAPIV3.NonArraySchemaObject;
109
354
  }
110
355
  //# sourceMappingURL=Object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Object.d.ts","sourceRoot":"","sources":["../../../src/oas/object/Object.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,MAAM,MAAM,eAAe,CAAC,QAAQ,SAAS,OAAO,GAAG,SAAS,IAAI;IAClE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,WAAW,CAAC,GAAG,SAAS,CAAA;IACnF,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IAC/B,OAAO,CAAC,EAAE,QAAQ,SAAS,IAAI,GAC3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,GAC1C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;IACvC,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAA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