@atomic-ehr/codegen 0.0.1-canary.20250821160126.c552195 → 0.0.1-canary.20250822150706.c3b8669

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 (122) hide show
  1. package/dist/api/builder.d.ts +3 -3
  2. package/dist/api/builder.d.ts.map +1 -1
  3. package/dist/api/builder.js +374 -0
  4. package/dist/api/generators/base/BaseGenerator.d.ts +4 -4
  5. package/dist/api/generators/base/BaseGenerator.d.ts.map +1 -1
  6. package/dist/api/generators/base/BaseGenerator.js +572 -0
  7. package/dist/api/generators/base/FileManager.d.ts +2 -2
  8. package/dist/api/generators/base/FileManager.d.ts.map +1 -1
  9. package/dist/api/generators/base/FileManager.js +204 -0
  10. package/dist/api/generators/base/PythonTypeMapper.d.ts +2 -2
  11. package/dist/api/generators/base/PythonTypeMapper.d.ts.map +1 -1
  12. package/dist/api/generators/base/PythonTypeMapper.js +71 -0
  13. package/dist/api/generators/base/TemplateEngine.d.ts +1 -1
  14. package/dist/api/generators/base/TemplateEngine.d.ts.map +1 -1
  15. package/dist/api/generators/base/TemplateEngine.js +133 -0
  16. package/dist/api/generators/base/TypeMapper.js +153 -0
  17. package/dist/api/generators/base/TypeScriptTypeMapper.d.ts +1 -1
  18. package/dist/api/generators/base/TypeScriptTypeMapper.d.ts.map +1 -1
  19. package/dist/api/generators/base/TypeScriptTypeMapper.js +232 -0
  20. package/dist/api/generators/base/builders/DirectoryBuilder.d.ts +4 -4
  21. package/dist/api/generators/base/builders/DirectoryBuilder.d.ts.map +1 -1
  22. package/dist/api/generators/base/builders/DirectoryBuilder.js +215 -0
  23. package/dist/api/generators/base/builders/FileBuilder.d.ts +2 -2
  24. package/dist/api/generators/base/builders/FileBuilder.d.ts.map +1 -1
  25. package/dist/api/generators/base/builders/FileBuilder.js +408 -0
  26. package/dist/api/generators/base/builders/IndexBuilder.d.ts +2 -2
  27. package/dist/api/generators/base/builders/IndexBuilder.d.ts.map +1 -1
  28. package/dist/api/generators/base/builders/IndexBuilder.js +290 -0
  29. package/dist/api/generators/base/enhanced-errors.d.ts +2 -2
  30. package/dist/api/generators/base/enhanced-errors.d.ts.map +1 -1
  31. package/dist/api/generators/base/enhanced-errors.js +259 -0
  32. package/dist/api/generators/base/error-handler.d.ts +1 -1
  33. package/dist/api/generators/base/error-handler.d.ts.map +1 -1
  34. package/dist/api/generators/base/error-handler.js +243 -0
  35. package/dist/api/generators/base/errors.d.ts +2 -2
  36. package/dist/api/generators/base/errors.d.ts.map +1 -1
  37. package/dist/api/generators/base/errors.js +694 -0
  38. package/dist/api/generators/base/index.d.ts +22 -22
  39. package/dist/api/generators/base/index.d.ts.map +1 -1
  40. package/dist/api/generators/base/index.js +161 -0
  41. package/dist/api/generators/base/types.d.ts +2 -2
  42. package/dist/api/generators/base/types.d.ts.map +1 -1
  43. package/dist/api/generators/base/types.js +12 -0
  44. package/dist/api/generators/rest-client.d.ts +2 -2
  45. package/dist/api/generators/rest-client.d.ts.map +1 -1
  46. package/dist/api/generators/rest-client.js +847 -0
  47. package/dist/api/generators/search-parameter-enhancer.d.ts +1 -1
  48. package/dist/api/generators/search-parameter-enhancer.d.ts.map +1 -1
  49. package/dist/api/generators/search-parameter-enhancer.js +801 -0
  50. package/dist/api/generators/types.js +4 -0
  51. package/dist/api/generators/typescript.d.ts +3 -3
  52. package/dist/api/generators/typescript.d.ts.map +1 -1
  53. package/dist/api/generators/typescript.js +537 -0
  54. package/dist/api/generators/validation-generator.js +632 -0
  55. package/dist/api/index.d.ts +10 -10
  56. package/dist/api/index.d.ts.map +1 -1
  57. package/dist/api/index.js +51 -0
  58. package/dist/cli/commands/generate/typescript.d.ts +1 -1
  59. package/dist/cli/commands/generate/typescript.d.ts.map +1 -1
  60. package/dist/cli/commands/generate/typescript.js +52 -0
  61. package/dist/cli/commands/generate.d.ts +5 -12
  62. package/dist/cli/commands/generate.d.ts.map +1 -1
  63. package/dist/cli/commands/generate.js +158 -0
  64. package/dist/cli/commands/index.d.ts +2 -1
  65. package/dist/cli/commands/index.d.ts.map +1 -1
  66. package/dist/cli/commands/index.js +100 -0
  67. package/dist/cli/commands/typeschema/generate.js +130 -0
  68. package/dist/cli/commands/typeschema.js +48 -0
  69. package/dist/cli/index.js +12 -8664
  70. package/dist/cli/utils/log.d.ts +2 -2
  71. package/dist/cli/utils/log.d.ts.map +1 -1
  72. package/dist/cli/utils/log.js +23 -0
  73. package/dist/cli/utils/prompts.js +224 -0
  74. package/dist/cli/utils/spinner.js +270 -0
  75. package/dist/config.d.ts +22 -2
  76. package/dist/config.d.ts.map +1 -1
  77. package/dist/config.js +703 -0
  78. package/dist/index.d.ts +2 -2
  79. package/dist/index.d.ts.map +1 -1
  80. package/dist/index.js +84 -38
  81. package/dist/logger.js +290 -0
  82. package/dist/typeschema/cache.d.ts +2 -2
  83. package/dist/typeschema/cache.d.ts.map +1 -1
  84. package/dist/typeschema/cache.js +285 -0
  85. package/dist/typeschema/core/binding.d.ts +1 -1
  86. package/dist/typeschema/core/binding.d.ts.map +1 -1
  87. package/dist/typeschema/core/binding.js +187 -0
  88. package/dist/typeschema/core/field-builder.d.ts +1 -1
  89. package/dist/typeschema/core/field-builder.d.ts.map +1 -1
  90. package/dist/typeschema/core/field-builder.js +259 -0
  91. package/dist/typeschema/core/identifier.js +117 -0
  92. package/dist/typeschema/core/nested-types.d.ts +1 -1
  93. package/dist/typeschema/core/nested-types.d.ts.map +1 -1
  94. package/dist/typeschema/core/nested-types.js +111 -0
  95. package/dist/typeschema/core/transformer.d.ts +2 -2
  96. package/dist/typeschema/core/transformer.d.ts.map +1 -1
  97. package/dist/typeschema/core/transformer.js +345 -0
  98. package/dist/typeschema/generator.d.ts +3 -3
  99. package/dist/typeschema/generator.d.ts.map +1 -1
  100. package/dist/typeschema/generator.js +352 -0
  101. package/dist/typeschema/index.d.ts +14 -14
  102. package/dist/typeschema/index.d.ts.map +1 -1
  103. package/dist/typeschema/index.js +92 -0
  104. package/dist/typeschema/parser.d.ts +2 -2
  105. package/dist/typeschema/parser.d.ts.map +1 -1
  106. package/dist/typeschema/parser.js +310 -0
  107. package/dist/typeschema/profile/processor.d.ts +1 -1
  108. package/dist/typeschema/profile/processor.d.ts.map +1 -1
  109. package/dist/typeschema/profile/processor.js +268 -0
  110. package/dist/typeschema/schema.js +456 -0
  111. package/dist/typeschema/type-schema.types.js +39 -0
  112. package/dist/typeschema/types.js +4 -0
  113. package/dist/typeschema/utils.d.ts +1 -1
  114. package/dist/typeschema/utils.d.ts.map +1 -1
  115. package/dist/typeschema/utils.js +13 -0
  116. package/dist/typeschema/value-set/processor.d.ts +1 -1
  117. package/dist/typeschema/value-set/processor.d.ts.map +1 -1
  118. package/dist/typeschema/value-set/processor.js +168 -0
  119. package/dist/utils/codegen-logger.js +204 -0
  120. package/dist/utils.js +42 -0
  121. package/package.json +15 -4
  122. package/dist/index-e7pfye24.js +0 -8532
@@ -0,0 +1,408 @@
1
+ /**
2
+ * Fluent file builder with lifecycle hooks and validation
3
+ *
4
+ * This provides a clean, chainable API for building files with imports,
5
+ * exports, content generation, and lifecycle hooks for customization.
6
+ */
7
+ import { FileOperationError, TemplateError } from "../errors";
8
+ /**
9
+ * Fluent builder for creating files with lifecycle hooks
10
+ *
11
+ * Features:
12
+ * - Fluent API for content building
13
+ * - Template integration
14
+ * - Import/export management
15
+ * - Lifecycle hooks (before/after save, error handling)
16
+ * - Content validation
17
+ * - Automatic import path resolution
18
+ */
19
+ export class FileBuilder {
20
+ config;
21
+ content = "";
22
+ imports = new Map();
23
+ exports = new Set();
24
+ metadata = new Map();
25
+ // Lifecycle hooks
26
+ beforeSaveHooks = [];
27
+ afterSaveHooks = [];
28
+ errorHooks = [];
29
+ // Options
30
+ options = {
31
+ template: undefined,
32
+ importStrategy: "auto",
33
+ validation: "strict",
34
+ prettify: true,
35
+ formatting: {
36
+ indentSize: 2,
37
+ useTabs: false,
38
+ maxLineLength: 100,
39
+ },
40
+ encoding: "utf-8",
41
+ };
42
+ constructor(config) {
43
+ this.config = config;
44
+ }
45
+ // ==========================================
46
+ // Content Building Methods
47
+ // ==========================================
48
+ /**
49
+ * Set content directly
50
+ * @param content File content
51
+ */
52
+ withContent(content) {
53
+ this.content = typeof content === "string" ? content : content();
54
+ return this;
55
+ }
56
+ /**
57
+ * Generate content from template
58
+ * @param templateName Template to use
59
+ * @param context Template context
60
+ */
61
+ withTemplate(templateName, context) {
62
+ if (!this.config.templateEngine) {
63
+ throw new TemplateError(`Template engine is required for template rendering. Template: '${templateName}'`, templateName, context);
64
+ }
65
+ this.options.template = templateName;
66
+ try {
67
+ this.content = this.config.templateEngine.render(templateName, {
68
+ ...context,
69
+ imports: this.imports,
70
+ exports: this.exports,
71
+ filename: this.config.filename,
72
+ });
73
+ }
74
+ catch (_error) {
75
+ throw new TemplateError(`Failed to render template '${templateName}'`, templateName, context, {
76
+ availableTemplates: this.config.templateEngine.getAvailableTemplates?.() || [],
77
+ });
78
+ }
79
+ return this;
80
+ }
81
+ /**
82
+ * Append content to existing content
83
+ * @param content Content to append
84
+ */
85
+ appendContent(content) {
86
+ this.content += content;
87
+ return this;
88
+ }
89
+ /**
90
+ * Prepend content to existing content
91
+ * @param content Content to prepend
92
+ */
93
+ prependContent(content) {
94
+ this.content = content + this.content;
95
+ return this;
96
+ }
97
+ // ==========================================
98
+ // Import/Export Management
99
+ // ==========================================
100
+ /**
101
+ * Set all imports at once
102
+ * @param imports Map of symbol name to import path
103
+ */
104
+ withImports(imports) {
105
+ this.imports.clear();
106
+ for (const [symbol, path] of imports) {
107
+ this.imports.set(symbol, path);
108
+ }
109
+ return this;
110
+ }
111
+ /**
112
+ * Add a single import
113
+ * @param symbol Symbol to import
114
+ * @param from Import path
115
+ */
116
+ addImport(symbol, from) {
117
+ this.imports.set(symbol, from);
118
+ return this;
119
+ }
120
+ /**
121
+ * Add multiple imports from the same path
122
+ * @param symbols Symbols to import
123
+ * @param from Import path
124
+ */
125
+ addImports(symbols, from) {
126
+ for (const symbol of symbols) {
127
+ this.imports.set(symbol, from);
128
+ }
129
+ return this;
130
+ }
131
+ /**
132
+ * Set all exports at once
133
+ * @param exports Array of export names
134
+ */
135
+ withExports(exports) {
136
+ this.exports.clear();
137
+ for (const exp of exports) {
138
+ this.exports.add(exp);
139
+ }
140
+ return this;
141
+ }
142
+ /**
143
+ * Add a single export
144
+ * @param name Export name
145
+ */
146
+ addExport(name) {
147
+ this.exports.add(name);
148
+ return this;
149
+ }
150
+ /**
151
+ * Add multiple exports
152
+ * @param names Export names
153
+ */
154
+ addExports(names) {
155
+ for (const name of names) {
156
+ this.exports.add(name);
157
+ }
158
+ return this;
159
+ }
160
+ // ==========================================
161
+ // Metadata and Options
162
+ // ==========================================
163
+ /**
164
+ * Set metadata for the file
165
+ * @param key Metadata key
166
+ * @param value Metadata value
167
+ */
168
+ withMetadata(key, value) {
169
+ this.metadata.set(key, value);
170
+ return this;
171
+ }
172
+ /**
173
+ * Set file builder options
174
+ * @param options Options to set
175
+ */
176
+ withOptions(options) {
177
+ this.options = { ...this.options, ...options };
178
+ return this;
179
+ }
180
+ // ==========================================
181
+ // Lifecycle Hooks
182
+ // ==========================================
183
+ /**
184
+ * Add hook to run before saving
185
+ * @param hook Hook function
186
+ */
187
+ onBeforeSave(hook) {
188
+ this.beforeSaveHooks.push(hook);
189
+ return this;
190
+ }
191
+ /**
192
+ * Add hook to run after successful save
193
+ * @param hook Hook function
194
+ */
195
+ onAfterSave(hook) {
196
+ this.afterSaveHooks.push(hook);
197
+ return this;
198
+ }
199
+ /**
200
+ * Add hook to run when error occurs
201
+ * @param hook Hook function
202
+ */
203
+ onError(hook) {
204
+ this.errorHooks.push(hook);
205
+ return this;
206
+ }
207
+ // ==========================================
208
+ // Execution Methods
209
+ // ==========================================
210
+ /**
211
+ * Build final content without saving
212
+ * @returns File context with final content
213
+ */
214
+ build() {
215
+ const finalContent = this.buildFinalContent();
216
+ return {
217
+ filename: this.config.filename,
218
+ content: finalContent,
219
+ imports: new Map(this.imports),
220
+ exports: new Set(this.exports),
221
+ metadata: Object.fromEntries(this.metadata),
222
+ templateName: this.options.template,
223
+ };
224
+ }
225
+ /**
226
+ * Save the file
227
+ * @returns Promise resolving to file path
228
+ */
229
+ async save() {
230
+ const context = this.build();
231
+ try {
232
+ // Run before-save hooks
233
+ for (const hook of this.beforeSaveHooks) {
234
+ await hook(context);
235
+ }
236
+ // Validate content if enabled
237
+ if (this.options.validation !== "none") {
238
+ await this.validateContent(context.content);
239
+ }
240
+ // Write file
241
+ const result = await this.config.fileManager.writeFile(this.config.filename, context.content, { encoding: this.options.encoding });
242
+ const stats = {
243
+ size: result.size,
244
+ generationTime: 0, // Set by caller if needed
245
+ writeTime: result.writeTime,
246
+ };
247
+ // Run after-save hooks
248
+ for (const hook of this.afterSaveHooks) {
249
+ await hook(result.path, stats);
250
+ }
251
+ this.config.logger.debug(`Saved ${this.config.filename} successfully`);
252
+ return result.path;
253
+ }
254
+ catch (error) {
255
+ // Run error hooks
256
+ for (const hook of this.errorHooks) {
257
+ try {
258
+ await hook(error instanceof Error ? error : new Error(String(error)), context);
259
+ }
260
+ catch (hookError) {
261
+ this.config.logger.warn(`Error hook failed: ${hookError instanceof Error ? hookError.message : String(hookError)}`);
262
+ }
263
+ }
264
+ throw error;
265
+ }
266
+ }
267
+ // ==========================================
268
+ // Private Helper Methods
269
+ // ==========================================
270
+ /**
271
+ * Build final content with imports and exports
272
+ */
273
+ buildFinalContent() {
274
+ const parts = [];
275
+ // Add imports
276
+ if (this.imports.size > 0 && this.options.importStrategy !== "none") {
277
+ parts.push(this.generateImportStatements());
278
+ parts.push(""); // Empty line after imports
279
+ }
280
+ // Add main content
281
+ if (this.content) {
282
+ parts.push(this.content);
283
+ }
284
+ // Add exports if not already in content
285
+ if (this.exports.size > 0 && !this.content.includes("export")) {
286
+ parts.push(""); // Empty line before exports
287
+ parts.push(this.generateExportStatements());
288
+ }
289
+ let finalContent = parts.join("\n");
290
+ // Prettify if enabled
291
+ if (this.options.prettify) {
292
+ finalContent = this.prettifyContent(finalContent);
293
+ }
294
+ return finalContent;
295
+ }
296
+ /**
297
+ * Generate import statements
298
+ */
299
+ generateImportStatements() {
300
+ const lines = [];
301
+ // Group imports by path
302
+ const importsByPath = new Map();
303
+ for (const [symbol, path] of this.imports) {
304
+ const resolvedPath = this.options.importStrategy === "auto"
305
+ ? this.config.fileManager.getRelativeImportPath(this.config.filename, path)
306
+ : path;
307
+ if (!importsByPath.has(resolvedPath)) {
308
+ importsByPath.set(resolvedPath, []);
309
+ }
310
+ importsByPath.get(resolvedPath)?.push(symbol);
311
+ }
312
+ // Generate import statements
313
+ for (const [path, symbols] of importsByPath) {
314
+ if (symbols.length === 1) {
315
+ lines.push(`import type { ${symbols[0]} } from '${path}';`);
316
+ }
317
+ else {
318
+ const sortedSymbols = symbols.sort();
319
+ if (sortedSymbols.length <= 3) {
320
+ lines.push(`import type { ${sortedSymbols.join(", ")} } from '${path}';`);
321
+ }
322
+ else {
323
+ lines.push(`import type {`);
324
+ const indent = "\t";
325
+ sortedSymbols.forEach((symbol, index) => {
326
+ const isLast = index === sortedSymbols.length - 1;
327
+ lines.push(`${indent}${symbol}${isLast ? "" : ","}`);
328
+ });
329
+ lines.push(`} from '${path}';`);
330
+ }
331
+ }
332
+ }
333
+ return lines.join("\n");
334
+ }
335
+ /**
336
+ * Generate export statements
337
+ */
338
+ generateExportStatements() {
339
+ const exports = Array.from(this.exports).sort();
340
+ return exports.map((exp) => `export { ${exp} };`).join("\n");
341
+ }
342
+ /**
343
+ * Prettify content (basic implementation)
344
+ */
345
+ prettifyContent(content) {
346
+ // Basic prettification
347
+ return content
348
+ .replace(/\n{3,}/g, "\n\n") // Max 2 consecutive newlines
349
+ .replace(/\t/g, this.options.formatting?.useTabs
350
+ ? "\t"
351
+ : " ".repeat(this.options.formatting?.indentSize || 2))
352
+ .trim();
353
+ }
354
+ /**
355
+ * Validate generated content
356
+ */
357
+ async validateContent(content) {
358
+ if (this.options.validation === "none")
359
+ return;
360
+ // Basic validation - check for syntax errors
361
+ const issues = [];
362
+ // Check for unmatched braces
363
+ const openBraces = (content.match(/\{/g) || []).length;
364
+ const closeBraces = (content.match(/\}/g) || []).length;
365
+ if (openBraces !== closeBraces) {
366
+ issues.push(`Unmatched braces: ${openBraces} open, ${closeBraces} close`);
367
+ }
368
+ // Check for unmatched parentheses
369
+ const openParens = (content.match(/\(/g) || []).length;
370
+ const closeParens = (content.match(/\)/g) || []).length;
371
+ if (openParens !== closeParens) {
372
+ issues.push(`Unmatched parentheses: ${openParens} open, ${closeParens} close`);
373
+ }
374
+ // Check for basic TypeScript syntax issues
375
+ if (this.config.filename.endsWith(".ts") ||
376
+ this.config.filename.endsWith(".tsx")) {
377
+ if (content.includes("interface") &&
378
+ !content.match(/interface\s+\w+\s*\{/)) {
379
+ issues.push("Invalid interface syntax detected");
380
+ }
381
+ }
382
+ if (issues.length > 0 && this.options.validation === "strict") {
383
+ throw new FileOperationError(`Content validation failed for ${this.config.filename}: ${issues.join(", ")}`, "write", this.config.filename);
384
+ }
385
+ else if (issues.length > 0) {
386
+ // Just warn for non-strict validation
387
+ this.config.logger.warn(`Validation issues in ${this.config.filename}: ${issues.join(", ")}`);
388
+ }
389
+ }
390
+ /**
391
+ * Get current content (for testing/debugging)
392
+ */
393
+ getContent() {
394
+ return this.content;
395
+ }
396
+ /**
397
+ * Get current imports (for testing/debugging)
398
+ */
399
+ getImports() {
400
+ return new Map(this.imports);
401
+ }
402
+ /**
403
+ * Get current exports (for testing/debugging)
404
+ */
405
+ getExports() {
406
+ return new Set(this.exports);
407
+ }
408
+ }
@@ -4,8 +4,8 @@
4
4
  * Automatically generates index files that export all types and functions
5
5
  * from a directory, with support for grouping and namespaces.
6
6
  */
7
- import type { CodegenLogger } from "../../../../utils/codegen-logger";
8
- import type { FileManager } from "../FileManager";
7
+ import type { CodegenLogger } from "../../../../utils/codegen-logger.js";
8
+ import type { FileManager } from "../FileManager.js";
9
9
  import type { TemplateEngine } from "../types";
10
10
  export interface IndexBuilderConfig {
11
11
  directory: string;
@@ -1 +1 @@
1
- {"version":3,"file":"IndexBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/api/generators/base/builders/IndexBuilder.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,MAAM,EAAE,aAAa,CAAC;CACtB;AAED;;;;;;;;;GASG;AACH,qBAAa,YAAY;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAC5C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA6B;IACrD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA6B;IACxD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA6B;IACvD,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,gBAAgB,CAAC,CAAiC;IAC1D,OAAO,CAAC,YAAY,CAAC,CAAuD;gBAEhE,MAAM,EAAE,kBAAkB;IAItC;;;;OAIG;IACH,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,YAAY;IAOlE;;;;OAIG;IACH,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,YAAY;IAK9D;;;OAGG;IACH,cAAc,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,YAAY;IAOhE;;;;OAIG;IACH,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,YAAY;IAK5D;;;OAGG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