@skmtc/core 0.16.3 → 0.26.0

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 (516) hide show
  1. package/README.md +0 -1
  2. package/esm/anchors/buildSidecar.js +1 -1
  3. package/esm/anchors/postPass.d.ts +1 -1
  4. package/esm/anchors/postPass.js +1 -1
  5. package/esm/anchors/sidecar.d.ts +2 -2
  6. package/esm/anchors/sidecar.js +1 -1
  7. package/esm/context/CoreContext.d.ts +7 -1
  8. package/esm/context/CoreContext.d.ts.map +1 -1
  9. package/esm/context/CoreContext.js +17 -11
  10. package/esm/context/GenerateContext.d.ts +28 -7
  11. package/esm/context/GenerateContext.d.ts.map +1 -1
  12. package/esm/context/GenerateContext.js +164 -86
  13. package/esm/context/ParseContext.d.ts +16 -0
  14. package/esm/context/ParseContext.d.ts.map +1 -1
  15. package/esm/context/ParseContext.js +16 -0
  16. package/esm/context/ParseIssue.d.ts +1 -1
  17. package/esm/context/RenderContext.d.ts +2 -6
  18. package/esm/context/RenderContext.d.ts.map +1 -1
  19. package/esm/context/RenderContext.js +4 -14
  20. package/esm/context/generateTypes.d.ts +35 -8
  21. package/esm/context/generateTypes.d.ts.map +1 -1
  22. package/{script/deps/jsr.io/@std/fs/1.0.23 → esm/deps/jsr.io/@std/fs/1.0.24}/exists.d.ts.map +1 -1
  23. package/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
  24. package/esm/deps/jsr.io/@std/internal/1.0.14/_os.js +14 -0
  25. package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts.map +1 -1
  26. package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  27. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts.map +1 -1
  28. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.js +1 -1
  29. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts.map +1 -1
  30. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.js +1 -1
  31. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts.map +1 -1
  32. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.js +1 -1
  33. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts.map +1 -1
  34. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.js +1 -1
  35. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts.map +1 -1
  36. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.js +1 -1
  37. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts.map +1 -1
  38. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.js +2 -2
  39. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts.map +1 -1
  40. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.js +2 -2
  41. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts.map +1 -1
  42. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.js +1 -1
  43. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts.map +1 -1
  44. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.js +1 -1
  45. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/posix/join.d.ts.map +1 -1
  46. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.js +1 -1
  47. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/posix/normalize.d.ts.map +1 -1
  48. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.js +1 -1
  49. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts.map +1 -1
  50. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.js +1 -1
  51. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/windows/from_file_url.d.ts.map +1 -1
  52. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.js +1 -1
  53. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/windows/join.d.ts.map +1 -1
  54. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.js +1 -1
  55. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.6}/windows/normalize.d.ts.map +1 -1
  56. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.js +1 -1
  57. package/esm/dsl/CodeFileBase.d.ts +57 -24
  58. package/esm/dsl/CodeFileBase.d.ts.map +1 -1
  59. package/esm/dsl/CodeFileBase.js +35 -53
  60. package/esm/dsl/FileBase.d.ts +21 -25
  61. package/esm/dsl/FileBase.d.ts.map +1 -1
  62. package/esm/dsl/FileBase.js +20 -29
  63. package/esm/dsl/GeneratorKeys.d.ts +19 -19
  64. package/esm/dsl/GeneratorKeys.d.ts.map +1 -1
  65. package/esm/dsl/GeneratorKeys.js +6 -5
  66. package/esm/dsl/IdentifierBase.d.ts +19 -5
  67. package/esm/dsl/IdentifierBase.d.ts.map +1 -1
  68. package/esm/dsl/IdentifierBase.js +21 -5
  69. package/esm/dsl/IdentifierType.d.ts +8 -14
  70. package/esm/dsl/IdentifierType.d.ts.map +1 -1
  71. package/esm/dsl/Lang.d.ts +18 -38
  72. package/esm/dsl/Lang.d.ts.map +1 -1
  73. package/esm/dsl/MarkdownFile.d.ts +55 -0
  74. package/esm/dsl/MarkdownFile.d.ts.map +1 -0
  75. package/esm/dsl/MarkdownFile.js +58 -0
  76. package/esm/dsl/model/ModelDriver.d.ts +3 -1
  77. package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
  78. package/esm/dsl/model/ModelDriver.js +29 -2
  79. package/esm/dsl/model/toModelEntry.d.ts +24 -14
  80. package/esm/dsl/model/toModelEntry.d.ts.map +1 -1
  81. package/esm/dsl/model/toModelEntry.js +7 -3
  82. package/esm/dsl/model/toModelProjectionBase.d.ts +31 -18
  83. package/esm/dsl/model/toModelProjectionBase.d.ts.map +1 -1
  84. package/esm/dsl/model/toModelProjectionBase.js +3 -3
  85. package/esm/dsl/model/types.d.ts +23 -27
  86. package/esm/dsl/model/types.d.ts.map +1 -1
  87. package/esm/dsl/operation/gql/GqlOperationDriver.d.ts +3 -1
  88. package/esm/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -1
  89. package/esm/dsl/operation/gql/GqlOperationDriver.js +12 -9
  90. package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts +20 -15
  91. package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -1
  92. package/esm/dsl/operation/gql/toGqlOperationEntry.js +3 -25
  93. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +11 -10
  94. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -1
  95. package/esm/dsl/operation/gql/types.d.ts +1 -28
  96. package/esm/dsl/operation/gql/types.d.ts.map +1 -1
  97. package/esm/dsl/operation/oas/OasOperationDriver.d.ts +3 -1
  98. package/esm/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -1
  99. package/esm/dsl/operation/oas/OasOperationDriver.js +12 -9
  100. package/esm/dsl/operation/oas/toOasOperationEntry.d.ts +21 -17
  101. package/esm/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -1
  102. package/esm/dsl/operation/oas/toOasOperationEntry.js +3 -32
  103. package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts +11 -10
  104. package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -1
  105. package/esm/dsl/operation/oas/types.d.ts +1 -38
  106. package/esm/dsl/operation/oas/types.d.ts.map +1 -1
  107. package/esm/dsl/webhook/WebhookDriver.d.ts +3 -1
  108. package/esm/dsl/webhook/WebhookDriver.d.ts.map +1 -1
  109. package/esm/dsl/webhook/WebhookDriver.js +12 -9
  110. package/esm/dsl/webhook/toWebhookEntry.d.ts +21 -16
  111. package/esm/dsl/webhook/toWebhookEntry.d.ts.map +1 -1
  112. package/esm/dsl/webhook/toWebhookEntry.js +3 -32
  113. package/esm/dsl/webhook/toWebhookProjectionBase.d.ts +11 -10
  114. package/esm/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -1
  115. package/esm/dsl/webhook/types.d.ts +1 -36
  116. package/esm/dsl/webhook/types.d.ts.map +1 -1
  117. package/esm/enrichments/toEnrichmentDescriptor.d.ts +72 -27
  118. package/esm/enrichments/toEnrichmentDescriptor.d.ts.map +1 -1
  119. package/esm/enrichments/toEnrichmentDescriptor.js +57 -31
  120. package/esm/enrichments/validateConfig.d.ts +60 -0
  121. package/esm/enrichments/validateConfig.d.ts.map +1 -0
  122. package/esm/enrichments/validateConfig.js +176 -0
  123. package/esm/helpers/isImported.js +1 -1
  124. package/esm/helpers/toResolvedArtifactPath.js +1 -1
  125. package/esm/mod.d.ts +8 -1
  126. package/esm/mod.d.ts.map +1 -1
  127. package/esm/mod.js +8 -1
  128. package/esm/oas/array/Array.d.ts +2 -0
  129. package/esm/oas/array/Array.d.ts.map +1 -1
  130. package/esm/oas/array/Array.js +4 -0
  131. package/esm/oas/boolean/Boolean.d.ts +3 -1
  132. package/esm/oas/boolean/Boolean.d.ts.map +1 -1
  133. package/esm/oas/boolean/Boolean.js +4 -0
  134. package/esm/oas/components/Components.d.ts +5 -0
  135. package/esm/oas/components/Components.d.ts.map +1 -1
  136. package/esm/oas/components/Components.js +6 -1
  137. package/esm/oas/integer/Integer.d.ts +3 -1
  138. package/esm/oas/integer/Integer.d.ts.map +1 -1
  139. package/esm/oas/integer/Integer.js +4 -0
  140. package/esm/oas/link/Link.d.ts +68 -0
  141. package/esm/oas/link/Link.d.ts.map +1 -0
  142. package/esm/oas/link/Link.js +107 -0
  143. package/esm/oas/number/Number.d.ts +3 -1
  144. package/esm/oas/number/Number.d.ts.map +1 -1
  145. package/esm/oas/number/Number.js +4 -0
  146. package/esm/oas/object/Object.d.ts +9 -0
  147. package/esm/oas/object/Object.d.ts.map +1 -1
  148. package/esm/oas/object/Object.js +14 -0
  149. package/esm/oas/operation/Operation.d.ts +15 -0
  150. package/esm/oas/operation/Operation.d.ts.map +1 -1
  151. package/esm/oas/operation/Operation.js +33 -0
  152. package/esm/oas/ref/Ref.d.ts +23 -1
  153. package/esm/oas/ref/Ref.d.ts.map +1 -1
  154. package/esm/oas/ref/Ref.js +32 -0
  155. package/esm/oas/ref/ref-types.d.ts +18 -1
  156. package/esm/oas/ref/ref-types.d.ts.map +1 -1
  157. package/esm/oas/ref/ref-types.js +12 -1
  158. package/esm/oas/response/Response.d.ts +4 -0
  159. package/esm/oas/response/Response.d.ts.map +1 -1
  160. package/esm/oas/response/Response.js +7 -0
  161. package/esm/oas/schemaPath/traverseSchema.d.ts +31 -0
  162. package/esm/oas/schemaPath/traverseSchema.d.ts.map +1 -0
  163. package/esm/oas/schemaPath/traverseSchema.js +113 -0
  164. package/esm/oas/string/String.d.ts +3 -1
  165. package/esm/oas/string/String.d.ts.map +1 -1
  166. package/esm/oas/string/String.js +4 -0
  167. package/esm/oas/union/Union.d.ts +9 -0
  168. package/esm/oas/union/Union.d.ts.map +1 -1
  169. package/esm/oas/union/Union.js +14 -0
  170. package/esm/oas/unknown/Unknown.d.ts +3 -1
  171. package/esm/oas/unknown/Unknown.d.ts.map +1 -1
  172. package/esm/oas/unknown/Unknown.js +4 -0
  173. package/esm/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -1
  174. package/esm/parse/v3-0/_merge-all-of/decompose-union.js +8 -12
  175. package/esm/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -1
  176. package/esm/parse/v3-0/_merge-all-of/merge-union.js +0 -8
  177. package/esm/parse/v3-0/components/toComponentsV3.d.ts.map +1 -1
  178. package/esm/parse/v3-0/components/toComponentsV3.js +3 -1
  179. package/esm/parse/v3-0/link/toLinksV3.d.ts +17 -0
  180. package/esm/parse/v3-0/link/toLinksV3.d.ts.map +1 -0
  181. package/esm/parse/v3-0/link/toLinksV3.js +40 -0
  182. package/esm/parse/v3-0/object/toObject.d.ts.map +1 -1
  183. package/esm/parse/v3-0/object/toObject.js +3 -1
  184. package/esm/parse/v3-0/response/toResponseV3.d.ts.map +1 -1
  185. package/esm/parse/v3-0/response/toResponseV3.js +4 -1
  186. package/esm/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -1
  187. package/esm/parse/v3-0/schema/toSchemasV3.js +8 -0
  188. package/esm/parse/v3-0/union/toUnion.d.ts.map +1 -1
  189. package/esm/parse/v3-0/union/toUnion.js +3 -1
  190. package/esm/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -1
  191. package/esm/parse/v3-1/_merge-all-of/decompose-union.js +8 -12
  192. package/esm/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -1
  193. package/esm/parse/v3-1/_merge-all-of/merge-union.js +0 -8
  194. package/esm/parse/v3-1/components/toComponentsV3.d.ts.map +1 -1
  195. package/esm/parse/v3-1/components/toComponentsV3.js +3 -1
  196. package/esm/parse/v3-1/link/toLinksV3.d.ts +17 -0
  197. package/esm/parse/v3-1/link/toLinksV3.d.ts.map +1 -0
  198. package/esm/parse/v3-1/link/toLinksV3.js +40 -0
  199. package/esm/parse/v3-1/object/toObject.d.ts.map +1 -1
  200. package/esm/parse/v3-1/object/toObject.js +3 -1
  201. package/esm/parse/v3-1/response/toResponseV3.d.ts.map +1 -1
  202. package/esm/parse/v3-1/response/toResponseV3.js +4 -1
  203. package/esm/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -1
  204. package/esm/parse/v3-1/schema/toSchemasV3.js +8 -0
  205. package/esm/parse/v3-1/union/toUnion.d.ts.map +1 -1
  206. package/esm/parse/v3-1/union/toUnion.js +3 -1
  207. package/esm/run/toArtifacts.d.ts +8 -1
  208. package/esm/run/toArtifacts.d.ts.map +1 -1
  209. package/esm/run/toArtifacts.js +5 -5
  210. package/esm/run/toInspection.d.ts +8 -0
  211. package/esm/run/toInspection.d.ts.map +1 -0
  212. package/esm/run/toInspection.js +78 -0
  213. package/esm/types/Enrichments.d.ts +19 -8
  214. package/esm/types/Enrichments.d.ts.map +1 -1
  215. package/esm/types/Enrichments.js +4 -3
  216. package/esm/types/GeneratorType.d.ts +5 -5
  217. package/esm/types/GeneratorType.d.ts.map +1 -1
  218. package/esm/types/Manifest.d.ts +1 -2
  219. package/esm/types/Manifest.d.ts.map +1 -1
  220. package/esm/types/Manifest.js +1 -2
  221. package/esm/types/ModuleSelect.d.ts +81 -0
  222. package/esm/types/ModuleSelect.d.ts.map +1 -0
  223. package/esm/types/ModuleSelect.js +63 -0
  224. package/esm/types/Preview.d.ts +4 -27
  225. package/esm/types/Preview.d.ts.map +1 -1
  226. package/esm/types/Preview.js +4 -25
  227. package/esm/types/SchemaPath.d.ts +17 -0
  228. package/esm/types/SchemaPath.d.ts.map +1 -0
  229. package/esm/types/SchemaPath.js +9 -0
  230. package/esm/types/Settings.d.ts +24 -3
  231. package/esm/types/Settings.d.ts.map +1 -1
  232. package/esm/types/Settings.js +20 -13
  233. package/esm/types/SkmtcDocument.d.ts +1 -1
  234. package/esm/types/SupportedSubjects.d.ts +1 -1
  235. package/package.json +1 -1
  236. package/script/anchors/buildSidecar.js +1 -1
  237. package/script/anchors/postPass.d.ts +1 -1
  238. package/script/anchors/postPass.js +1 -1
  239. package/script/anchors/sidecar.d.ts +2 -2
  240. package/script/anchors/sidecar.js +1 -1
  241. package/script/context/CoreContext.d.ts +7 -1
  242. package/script/context/CoreContext.d.ts.map +1 -1
  243. package/script/context/CoreContext.js +17 -11
  244. package/script/context/GenerateContext.d.ts +28 -7
  245. package/script/context/GenerateContext.d.ts.map +1 -1
  246. package/script/context/GenerateContext.js +164 -86
  247. package/script/context/ParseContext.d.ts +16 -0
  248. package/script/context/ParseContext.d.ts.map +1 -1
  249. package/script/context/ParseContext.js +16 -0
  250. package/script/context/ParseIssue.d.ts +1 -1
  251. package/script/context/RenderContext.d.ts +2 -6
  252. package/script/context/RenderContext.d.ts.map +1 -1
  253. package/script/context/RenderContext.js +4 -14
  254. package/script/context/generateTypes.d.ts +35 -8
  255. package/script/context/generateTypes.d.ts.map +1 -1
  256. package/{esm/deps/jsr.io/@std/fs/1.0.23 → script/deps/jsr.io/@std/fs/1.0.24}/exists.d.ts.map +1 -1
  257. package/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
  258. package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.js +7 -5
  259. package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts.map +1 -1
  260. package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  261. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts.map +1 -1
  262. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.js +1 -1
  263. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts.map +1 -1
  264. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.js +1 -1
  265. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts.map +1 -1
  266. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.js +1 -1
  267. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts.map +1 -1
  268. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.js +1 -1
  269. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts.map +1 -1
  270. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.js +1 -1
  271. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts.map +1 -1
  272. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.js +2 -2
  273. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts.map +1 -1
  274. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.js +2 -2
  275. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts.map +1 -1
  276. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.js +1 -1
  277. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts.map +1 -1
  278. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.js +1 -1
  279. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/posix/join.d.ts.map +1 -1
  280. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.js +1 -1
  281. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/posix/normalize.d.ts.map +1 -1
  282. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.js +1 -1
  283. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts.map +1 -1
  284. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.js +1 -1
  285. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/windows/from_file_url.d.ts.map +1 -1
  286. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.js +1 -1
  287. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/windows/join.d.ts.map +1 -1
  288. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.js +1 -1
  289. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.6}/windows/normalize.d.ts.map +1 -1
  290. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.js +1 -1
  291. package/script/dsl/CodeFileBase.d.ts +57 -24
  292. package/script/dsl/CodeFileBase.d.ts.map +1 -1
  293. package/script/dsl/CodeFileBase.js +37 -54
  294. package/script/dsl/FileBase.d.ts +21 -25
  295. package/script/dsl/FileBase.d.ts.map +1 -1
  296. package/script/dsl/FileBase.js +20 -29
  297. package/script/dsl/GeneratorKeys.d.ts +19 -19
  298. package/script/dsl/GeneratorKeys.d.ts.map +1 -1
  299. package/script/dsl/GeneratorKeys.js +6 -5
  300. package/script/dsl/IdentifierBase.d.ts +19 -5
  301. package/script/dsl/IdentifierBase.d.ts.map +1 -1
  302. package/script/dsl/IdentifierBase.js +21 -5
  303. package/script/dsl/IdentifierType.d.ts +8 -14
  304. package/script/dsl/IdentifierType.d.ts.map +1 -1
  305. package/script/dsl/Lang.d.ts +18 -38
  306. package/script/dsl/Lang.d.ts.map +1 -1
  307. package/script/dsl/MarkdownFile.d.ts +55 -0
  308. package/script/dsl/MarkdownFile.d.ts.map +1 -0
  309. package/script/dsl/MarkdownFile.js +62 -0
  310. package/script/dsl/model/ModelDriver.d.ts +3 -1
  311. package/script/dsl/model/ModelDriver.d.ts.map +1 -1
  312. package/script/dsl/model/ModelDriver.js +29 -2
  313. package/script/dsl/model/toModelEntry.d.ts +24 -14
  314. package/script/dsl/model/toModelEntry.d.ts.map +1 -1
  315. package/script/dsl/model/toModelEntry.js +7 -3
  316. package/script/dsl/model/toModelProjectionBase.d.ts +31 -18
  317. package/script/dsl/model/toModelProjectionBase.d.ts.map +1 -1
  318. package/script/dsl/model/toModelProjectionBase.js +3 -3
  319. package/script/dsl/model/types.d.ts +23 -27
  320. package/script/dsl/model/types.d.ts.map +1 -1
  321. package/script/dsl/operation/gql/GqlOperationDriver.d.ts +3 -1
  322. package/script/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -1
  323. package/script/dsl/operation/gql/GqlOperationDriver.js +12 -9
  324. package/script/dsl/operation/gql/toGqlOperationEntry.d.ts +20 -15
  325. package/script/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -1
  326. package/script/dsl/operation/gql/toGqlOperationEntry.js +3 -61
  327. package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +11 -10
  328. package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -1
  329. package/script/dsl/operation/gql/types.d.ts +1 -28
  330. package/script/dsl/operation/gql/types.d.ts.map +1 -1
  331. package/script/dsl/operation/oas/OasOperationDriver.d.ts +3 -1
  332. package/script/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -1
  333. package/script/dsl/operation/oas/OasOperationDriver.js +12 -9
  334. package/script/dsl/operation/oas/toOasOperationEntry.d.ts +21 -17
  335. package/script/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -1
  336. package/script/dsl/operation/oas/toOasOperationEntry.js +3 -68
  337. package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts +11 -10
  338. package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -1
  339. package/script/dsl/operation/oas/types.d.ts +1 -38
  340. package/script/dsl/operation/oas/types.d.ts.map +1 -1
  341. package/script/dsl/webhook/WebhookDriver.d.ts +3 -1
  342. package/script/dsl/webhook/WebhookDriver.d.ts.map +1 -1
  343. package/script/dsl/webhook/WebhookDriver.js +12 -9
  344. package/script/dsl/webhook/toWebhookEntry.d.ts +21 -16
  345. package/script/dsl/webhook/toWebhookEntry.d.ts.map +1 -1
  346. package/script/dsl/webhook/toWebhookEntry.js +3 -68
  347. package/script/dsl/webhook/toWebhookProjectionBase.d.ts +11 -10
  348. package/script/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -1
  349. package/script/dsl/webhook/types.d.ts +1 -36
  350. package/script/dsl/webhook/types.d.ts.map +1 -1
  351. package/script/enrichments/toEnrichmentDescriptor.d.ts +72 -27
  352. package/script/enrichments/toEnrichmentDescriptor.d.ts.map +1 -1
  353. package/script/enrichments/toEnrichmentDescriptor.js +57 -31
  354. package/script/enrichments/validateConfig.d.ts +60 -0
  355. package/script/enrichments/validateConfig.d.ts.map +1 -0
  356. package/script/enrichments/validateConfig.js +213 -0
  357. package/script/helpers/isImported.js +1 -1
  358. package/script/helpers/toResolvedArtifactPath.js +1 -1
  359. package/script/mod.d.ts +8 -1
  360. package/script/mod.d.ts.map +1 -1
  361. package/script/mod.js +8 -1
  362. package/script/oas/array/Array.d.ts +2 -0
  363. package/script/oas/array/Array.d.ts.map +1 -1
  364. package/script/oas/array/Array.js +4 -0
  365. package/script/oas/boolean/Boolean.d.ts +3 -1
  366. package/script/oas/boolean/Boolean.d.ts.map +1 -1
  367. package/script/oas/boolean/Boolean.js +4 -0
  368. package/script/oas/components/Components.d.ts +5 -0
  369. package/script/oas/components/Components.d.ts.map +1 -1
  370. package/script/oas/components/Components.js +6 -1
  371. package/script/oas/integer/Integer.d.ts +3 -1
  372. package/script/oas/integer/Integer.d.ts.map +1 -1
  373. package/script/oas/integer/Integer.js +4 -0
  374. package/script/oas/link/Link.d.ts +68 -0
  375. package/script/oas/link/Link.d.ts.map +1 -0
  376. package/script/oas/link/Link.js +111 -0
  377. package/script/oas/number/Number.d.ts +3 -1
  378. package/script/oas/number/Number.d.ts.map +1 -1
  379. package/script/oas/number/Number.js +4 -0
  380. package/script/oas/object/Object.d.ts +9 -0
  381. package/script/oas/object/Object.d.ts.map +1 -1
  382. package/script/oas/object/Object.js +14 -0
  383. package/script/oas/operation/Operation.d.ts +15 -0
  384. package/script/oas/operation/Operation.d.ts.map +1 -1
  385. package/script/oas/operation/Operation.js +33 -0
  386. package/script/oas/ref/Ref.d.ts +23 -1
  387. package/script/oas/ref/Ref.d.ts.map +1 -1
  388. package/script/oas/ref/Ref.js +32 -0
  389. package/script/oas/ref/ref-types.d.ts +18 -1
  390. package/script/oas/ref/ref-types.d.ts.map +1 -1
  391. package/script/oas/ref/ref-types.js +13 -2
  392. package/script/oas/response/Response.d.ts +4 -0
  393. package/script/oas/response/Response.d.ts.map +1 -1
  394. package/script/oas/response/Response.js +7 -0
  395. package/script/oas/schemaPath/traverseSchema.d.ts +31 -0
  396. package/script/oas/schemaPath/traverseSchema.d.ts.map +1 -0
  397. package/script/oas/schemaPath/traverseSchema.js +117 -0
  398. package/script/oas/string/String.d.ts +3 -1
  399. package/script/oas/string/String.d.ts.map +1 -1
  400. package/script/oas/string/String.js +4 -0
  401. package/script/oas/union/Union.d.ts +9 -0
  402. package/script/oas/union/Union.d.ts.map +1 -1
  403. package/script/oas/union/Union.js +14 -0
  404. package/script/oas/unknown/Unknown.d.ts +3 -1
  405. package/script/oas/unknown/Unknown.d.ts.map +1 -1
  406. package/script/oas/unknown/Unknown.js +4 -0
  407. package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -1
  408. package/script/parse/v3-0/_merge-all-of/decompose-union.js +8 -12
  409. package/script/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -1
  410. package/script/parse/v3-0/_merge-all-of/merge-union.js +0 -8
  411. package/script/parse/v3-0/components/toComponentsV3.d.ts.map +1 -1
  412. package/script/parse/v3-0/components/toComponentsV3.js +3 -1
  413. package/script/parse/v3-0/link/toLinksV3.d.ts +17 -0
  414. package/script/parse/v3-0/link/toLinksV3.d.ts.map +1 -0
  415. package/script/parse/v3-0/link/toLinksV3.js +44 -0
  416. package/script/parse/v3-0/object/toObject.d.ts.map +1 -1
  417. package/script/parse/v3-0/object/toObject.js +3 -1
  418. package/script/parse/v3-0/response/toResponseV3.d.ts.map +1 -1
  419. package/script/parse/v3-0/response/toResponseV3.js +4 -1
  420. package/script/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -1
  421. package/script/parse/v3-0/schema/toSchemasV3.js +8 -0
  422. package/script/parse/v3-0/union/toUnion.d.ts.map +1 -1
  423. package/script/parse/v3-0/union/toUnion.js +3 -1
  424. package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -1
  425. package/script/parse/v3-1/_merge-all-of/decompose-union.js +8 -12
  426. package/script/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -1
  427. package/script/parse/v3-1/_merge-all-of/merge-union.js +0 -8
  428. package/script/parse/v3-1/components/toComponentsV3.d.ts.map +1 -1
  429. package/script/parse/v3-1/components/toComponentsV3.js +3 -1
  430. package/script/parse/v3-1/link/toLinksV3.d.ts +17 -0
  431. package/script/parse/v3-1/link/toLinksV3.d.ts.map +1 -0
  432. package/script/parse/v3-1/link/toLinksV3.js +44 -0
  433. package/script/parse/v3-1/object/toObject.d.ts.map +1 -1
  434. package/script/parse/v3-1/object/toObject.js +3 -1
  435. package/script/parse/v3-1/response/toResponseV3.d.ts.map +1 -1
  436. package/script/parse/v3-1/response/toResponseV3.js +4 -1
  437. package/script/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -1
  438. package/script/parse/v3-1/schema/toSchemasV3.js +8 -0
  439. package/script/parse/v3-1/union/toUnion.d.ts.map +1 -1
  440. package/script/parse/v3-1/union/toUnion.js +3 -1
  441. package/script/run/toArtifacts.d.ts +8 -1
  442. package/script/run/toArtifacts.d.ts.map +1 -1
  443. package/script/run/toArtifacts.js +5 -5
  444. package/script/run/toInspection.d.ts +8 -0
  445. package/script/run/toInspection.d.ts.map +1 -0
  446. package/script/run/toInspection.js +82 -0
  447. package/script/types/Enrichments.d.ts +19 -8
  448. package/script/types/Enrichments.d.ts.map +1 -1
  449. package/script/types/Enrichments.js +5 -4
  450. package/script/types/GeneratorType.d.ts +5 -5
  451. package/script/types/GeneratorType.d.ts.map +1 -1
  452. package/script/types/Manifest.d.ts +1 -2
  453. package/script/types/Manifest.d.ts.map +1 -1
  454. package/script/types/Manifest.js +0 -1
  455. package/script/types/ModuleSelect.d.ts +81 -0
  456. package/script/types/ModuleSelect.d.ts.map +1 -0
  457. package/script/types/ModuleSelect.js +101 -0
  458. package/script/types/Preview.d.ts +4 -27
  459. package/script/types/Preview.d.ts.map +1 -1
  460. package/script/types/Preview.js +5 -26
  461. package/script/types/SchemaPath.d.ts +17 -0
  462. package/script/types/SchemaPath.d.ts.map +1 -0
  463. package/script/types/{AccessorPath.js → SchemaPath.js} +7 -7
  464. package/script/types/Settings.d.ts +24 -3
  465. package/script/types/Settings.d.ts.map +1 -1
  466. package/script/types/Settings.js +17 -10
  467. package/script/types/SkmtcDocument.d.ts +1 -1
  468. package/script/types/SupportedSubjects.d.ts +1 -1
  469. package/esm/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +0 -1
  470. package/esm/deps/jsr.io/@std/internal/1.0.13/_os.js +0 -12
  471. package/esm/types/AccessorPath.d.ts +0 -17
  472. package/esm/types/AccessorPath.d.ts.map +0 -1
  473. package/esm/types/AccessorPath.js +0 -9
  474. package/script/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +0 -1
  475. package/script/types/AccessorPath.d.ts +0 -17
  476. package/script/types/AccessorPath.d.ts.map +0 -1
  477. /package/esm/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.d.ts +0 -0
  478. /package/esm/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.js +0 -0
  479. /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.d.ts +0 -0
  480. /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts +0 -0
  481. /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.js +0 -0
  482. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts +0 -0
  483. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts +0 -0
  484. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts +0 -0
  485. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts +0 -0
  486. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts +0 -0
  487. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts +0 -0
  488. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts +0 -0
  489. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts +0 -0
  490. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts +0 -0
  491. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.d.ts +0 -0
  492. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.d.ts +0 -0
  493. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts +0 -0
  494. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.d.ts +0 -0
  495. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.d.ts +0 -0
  496. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.d.ts +0 -0
  497. /package/script/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.d.ts +0 -0
  498. /package/script/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.js +0 -0
  499. /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.d.ts +0 -0
  500. /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts +0 -0
  501. /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.js +0 -0
  502. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts +0 -0
  503. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts +0 -0
  504. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts +0 -0
  505. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts +0 -0
  506. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts +0 -0
  507. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts +0 -0
  508. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts +0 -0
  509. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts +0 -0
  510. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts +0 -0
  511. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.d.ts +0 -0
  512. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.d.ts +0 -0
  513. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts +0 -0
  514. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.d.ts +0 -0
  515. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.d.ts +0 -0
  516. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.d.ts +0 -0
@@ -9,8 +9,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
9
9
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
- var _GenerateContext_instances, _GenerateContext_files, _GenerateContext_previews, _GenerateContext_mappings, _GenerateContext_captureChannel, _GenerateContext_supports, _GenerateContext_subjectDefaults, _GenerateContext_runOasOperationGenerator, _GenerateContext_runWebhookGenerator, _GenerateContext_runGqlOperationGenerator, _GenerateContext_runModelGenerator, _GenerateContext_addPreview, _GenerateContext_addMapping;
13
- import { normalize } from '../deps/jsr.io/@std/path/1.1.4/normalize.js';
12
+ var _GenerateContext_instances, _GenerateContext_files, _GenerateContext_previews, _GenerateContext_captureChannel, _GenerateContext_schemaRefNames, _GenerateContext_subjectDefaults, _GenerateContext_runOasOperationGenerator, _GenerateContext_runWebhookGenerator, _GenerateContext_runGqlOperationGenerator, _GenerateContext_runModelGenerator, _GenerateContext_addPreview;
13
+ import { normalize } from '../deps/jsr.io/@std/path/1.1.6/normalize.js';
14
14
  import { OasOperationDriver } from '../dsl/operation/oas/OasOperationDriver.js';
15
15
  import { WebhookDriver } from '../dsl/webhook/WebhookDriver.js';
16
16
  import { GqlOperationDriver } from '../dsl/operation/gql/GqlOperationDriver.js';
@@ -22,6 +22,7 @@ import get from 'lodash-es/get.js';
22
22
  import { Inserted } from '../dsl/Inserted.js';
23
23
  import { CodeFileBase } from '../dsl/CodeFileBase.js';
24
24
  import { JsonFile } from '../dsl/JsonFile.js';
25
+ import { MarkdownFile } from '../dsl/MarkdownFile.js';
25
26
  import invariant from 'tiny-invariant';
26
27
  /**
27
28
  * The generation context for the second phase of the SKMTC transformation pipeline.
@@ -76,7 +77,6 @@ export class GenerateContext {
76
77
  _GenerateContext_instances.add(this);
77
78
  _GenerateContext_files.set(this, void 0);
78
79
  _GenerateContext_previews.set(this, void 0);
79
- _GenerateContext_mappings.set(this, void 0);
80
80
  /**
81
81
  * Parsed source document, wrapped in the {@link SkmtcParsedDocument}
82
82
  * discriminated union. Canonical representation; both protocol-neutral
@@ -133,7 +133,6 @@ export class GenerateContext {
133
133
  this.logger = logger;
134
134
  __classPrivateFieldSet(this, _GenerateContext_files, new Map(), "f");
135
135
  __classPrivateFieldSet(this, _GenerateContext_previews, {}, "f");
136
- __classPrivateFieldSet(this, _GenerateContext_mappings, {}, "f");
137
136
  this.document = document;
138
137
  this.settings = settings;
139
138
  this.captureCurrentResult = captureCurrentResult;
@@ -224,17 +223,16 @@ export class GenerateContext {
224
223
  });
225
224
  return {
226
225
  files: __classPrivateFieldGet(this, _GenerateContext_files, "f"),
227
- previews: __classPrivateFieldGet(this, _GenerateContext_previews, "f"),
228
- mappings: __classPrivateFieldGet(this, _GenerateContext_mappings, "f")
226
+ previews: __classPrivateFieldGet(this, _GenerateContext_previews, "f")
229
227
  };
230
228
  }
231
229
  /**
232
230
  * Evaluate each generator's `isSupported` over the parsed document's subjects
233
231
  * and report the subjects each generator supports — capability only, no
234
232
  * transform and no render. Operation generators report the operations their
235
- * `isSupported` accepts; model generators report every model (the generate
236
- * pipeline applies no model-level `isSupported`). A generator targeting the
237
- * other protocol reports nothing.
233
+ * `isSupported` accepts; model generators report the models theirs accepts
234
+ * (a generator that declares no `isSupported` defaults to every subject). A
235
+ * generator targeting the other protocol reports nothing.
238
236
  */
239
237
  toSupportedSubjects() {
240
238
  const generators = Object.values(this.toGeneratorConfigMap());
@@ -244,7 +242,11 @@ export class GenerateContext {
244
242
  case 'oasOperation': {
245
243
  const operations = this.document.type === 'oas'
246
244
  ? this.document.value.operations
247
- .filter(operation => __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ operation, context: this, variant: DEFAULT_VARIANT })))
245
+ .filter(operation => generatorConfig.isSupported({
246
+ operation,
247
+ context: this,
248
+ variant: DEFAULT_VARIANT
249
+ }))
248
250
  .map(operation => ({ path: operation.path, method: operation.method }))
249
251
  : [];
250
252
  out[generatorConfig.id] = { type: 'oasOperation', operations };
@@ -253,7 +255,11 @@ export class GenerateContext {
253
255
  case 'webhook': {
254
256
  const webhooks = this.document.type === 'oas'
255
257
  ? this.document.value.webhooks
256
- .filter(webhook => __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ webhook, context: this, variant: DEFAULT_VARIANT })))
258
+ .filter(webhook => generatorConfig.isSupported({
259
+ webhook,
260
+ context: this,
261
+ variant: DEFAULT_VARIANT
262
+ }))
257
263
  .map(webhook => ({ name: webhook.name, method: webhook.method }))
258
264
  : [];
259
265
  out[generatorConfig.id] = { type: 'webhook', webhooks };
@@ -262,7 +268,11 @@ export class GenerateContext {
262
268
  case 'gqlOperation': {
263
269
  const operations = this.document.type === 'gql'
264
270
  ? this.document.value.operations
265
- .filter(operation => __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ operation, context: this, variant: DEFAULT_VARIANT })))
271
+ .filter(operation => generatorConfig.isSupported({
272
+ operation,
273
+ context: this,
274
+ variant: DEFAULT_VARIANT
275
+ }))
266
276
  .map(operation => ({
267
277
  rootKind: operation.rootKind,
268
278
  fieldName: operation.fieldName
@@ -272,10 +282,8 @@ export class GenerateContext {
272
282
  break;
273
283
  }
274
284
  case 'model': {
275
- const refNames = this.document.type === 'oas'
276
- ? (this.document.value.components?.toSchemasRefNames() ?? [])
277
- : this.document.value.registry.toSchemasRefNames();
278
- out[generatorConfig.id] = { type: 'model', models: [...refNames] };
285
+ const models = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_schemaRefNames).call(this).filter(refName => generatorConfig.isSupported({ refName, context: this, variant: DEFAULT_VARIANT }));
286
+ out[generatorConfig.id] = { type: 'model', models };
279
287
  break;
280
288
  }
281
289
  default: {
@@ -311,7 +319,7 @@ export class GenerateContext {
311
319
  break;
312
320
  const operations = {};
313
321
  this.document.value.operations.forEach(operation => {
314
- if (!__classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ operation, context: this, variant: DEFAULT_VARIANT }))) {
322
+ if (!generatorConfig.isSupported({ operation, context: this, variant: DEFAULT_VARIANT })) {
315
323
  return;
316
324
  }
317
325
  const leaf = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_subjectDefaults).call(this, () => toDefaults({ operation, context: this, variant: DEFAULT_VARIANT }));
@@ -331,7 +339,7 @@ export class GenerateContext {
331
339
  break;
332
340
  const webhooks = {};
333
341
  this.document.value.webhooks.forEach(webhook => {
334
- if (!__classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ webhook, context: this, variant: DEFAULT_VARIANT }))) {
342
+ if (!generatorConfig.isSupported({ webhook, context: this, variant: DEFAULT_VARIANT })) {
335
343
  return;
336
344
  }
337
345
  const leaf = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_subjectDefaults).call(this, () => toDefaults({ webhook, context: this, variant: DEFAULT_VARIANT }));
@@ -349,14 +357,15 @@ export class GenerateContext {
349
357
  const toDefaults = generatorConfig.toEnrichmentDefaults;
350
358
  if (!toDefaults)
351
359
  break;
352
- // Model entries carry no `isSupported` — the generate pipeline visits
353
- // every refName and filters inside the callback. Mirror that here: the
354
- // hook itself returns `undefined` for schemas it doesn't seed.
355
- const refNames = this.document.type === 'oas'
356
- ? (this.document.value.components?.toSchemasRefNames() ?? [])
357
- : this.document.value.registry.toSchemasRefNames();
360
+ // Seed only the models the generator supports — mirrors the
361
+ // operation arm. A generator that declares no `isSupported`
362
+ // defaults to every model; the hook itself still returns
363
+ // `undefined` for schemas it doesn't seed.
358
364
  const models = {};
359
- for (const refName of refNames) {
365
+ for (const refName of __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_schemaRefNames).call(this)) {
366
+ if (!generatorConfig.isSupported({ refName, context: this, variant: DEFAULT_VARIANT })) {
367
+ continue;
368
+ }
360
369
  const leaf = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_subjectDefaults).call(this, () => toDefaults({ refName, context: this, variant: DEFAULT_VARIANT }));
361
370
  if (leaf === undefined)
362
371
  continue;
@@ -392,6 +401,19 @@ export class GenerateContext {
392
401
  getFile(filePath) {
393
402
  return __classPrivateFieldGet(this, _GenerateContext_files, "f").get(normalize(filePath));
394
403
  }
404
+ /**
405
+ * Read-only view of every file generated so far, keyed by (normalized)
406
+ * export path. An **inspection / tooling** seam — NOT a coordination
407
+ * surface: generators must still register via `register` / `insert*`, and
408
+ * the storage stays `#`-private so nothing outside can mutate or re-bind it.
409
+ *
410
+ * Unlike {@link getFile} (which needs a path) this lets tooling *enumerate*
411
+ * the files map — e.g. a debugger visualiser snapshotting the in-progress
412
+ * state at a breakpoint. The `ReadonlyMap` type signals look-don't-touch.
413
+ */
414
+ get inspectedFiles() {
415
+ return __classPrivateFieldGet(this, _GenerateContext_files, "f");
416
+ }
395
417
  /**
396
418
  * Store a language-constructed file. The engine never constructs a
397
419
  * concrete (language) `File`; the language's `register` builds its own
@@ -421,6 +443,25 @@ export class GenerateContext {
421
443
  invariant(currentFile instanceof JsonFile, `File at "${destinationPath}" is not a "JsonFile" type`);
422
444
  currentFile.content = json;
423
445
  }
446
+ /**
447
+ * Registers Markdown content for output to a file.
448
+ *
449
+ * The Markdown counterpart of {@link registerJson} — create-or-replace, last
450
+ * write wins. The `markdown` is any {@link Stringable} (typically a composed
451
+ * snippet tree), rendered verbatim into a {@link MarkdownFile}.
452
+ *
453
+ * @experimental This method is experimental and may change in future versions
454
+ */
455
+ registerMarkdown({ destinationPath, markdown }) {
456
+ const normalizedPath = normalize(destinationPath);
457
+ let currentFile = this.getFile(normalizedPath);
458
+ if (!currentFile) {
459
+ currentFile = new MarkdownFile({ path: normalizedPath, content: '' });
460
+ this.addFile(currentFile);
461
+ }
462
+ invariant(currentFile instanceof MarkdownFile, `File at "${destinationPath}" is not a "MarkdownFile" type`);
463
+ currentFile.content = markdown;
464
+ }
424
465
  /**
425
466
  * Insert supplied `imports` and `definitions` into file at `destinationPath`.
426
467
  *
@@ -432,7 +473,7 @@ export class GenerateContext {
432
473
  *
433
474
  * @mutates this.files
434
475
  */
435
- register({ imports = [], reExports = [], definitions, destinationPath }) {
476
+ register({ imports = [], reExports = [], definitions, custom, destinationPath }) {
436
477
  const normalizedPath = normalize(destinationPath);
437
478
  const currentFile = this.getFile(normalizedPath);
438
479
  // `register` never creates files — it speaks pure data and the engine
@@ -442,22 +483,27 @@ export class GenerateContext {
442
483
  // caller.
443
484
  invariant(currentFile, `Cannot register into '${normalizedPath}' — the file does not exist. ` +
444
485
  `Pre-create it through your lang (its register function does this).`);
445
- // Definitions merge is language-neutral — `addDefinition` lives on
446
- // `FileBase`, so this works for any language's file.
447
- definitions?.forEach(definition => {
448
- if (definition) {
449
- currentFile.addDefinition(definition);
450
- }
451
- });
452
- // Imports and re-exports are standardised `ImportBase` /
453
- // `ReExportBase` objects; the neutral merges (keyed by `mergeKey`)
454
- // live on `CodeFileBase`. `JsonFile` has neither, so the guard skips
455
- // it.
456
- if (imports.length > 0 && currentFile instanceof CodeFileBase) {
457
- currentFile.addImports(imports);
486
+ // `custom` is language-neutral — it lives on `FileBase`, so any file
487
+ // (code or not, e.g. a JSON/Markdown file) can receive it. Last
488
+ // non-`undefined` write wins.
489
+ if (custom !== undefined) {
490
+ currentFile.custom = custom;
458
491
  }
459
- if (reExports.length > 0 && currentFile instanceof CodeFileBase) {
460
- currentFile.addReExports(reExports);
492
+ // Definitions, imports, and re-exports — and their duplication/merge
493
+ // policy — are code-file concerns owned by the language subclass.
494
+ // `JsonFile` (no definitions/imports) is skipped by the guard.
495
+ if (currentFile instanceof CodeFileBase) {
496
+ definitions?.forEach(definition => {
497
+ if (definition) {
498
+ currentFile.addDefinition(definition);
499
+ }
500
+ });
501
+ if (imports.length > 0) {
502
+ currentFile.addImports(imports);
503
+ }
504
+ if (reExports.length > 0) {
505
+ currentFile.addReExports(reExports);
506
+ }
461
507
  }
462
508
  }
463
509
  /**
@@ -595,7 +641,7 @@ export class GenerateContext {
595
641
  * given operation.
596
642
  */
597
643
  toOperationContentSettings(args) {
598
- const { variant } = args;
644
+ const variant = args.variant ?? DEFAULT_VARIANT;
599
645
  if (isGqlToOperationSettingsArgs(args)) {
600
646
  const enrichments = args.projection.toEnrichments({
601
647
  operation: args.operation,
@@ -649,7 +695,7 @@ export class GenerateContext {
649
695
  * protocol discrimination.
650
696
  */
651
697
  toWebhookContentSettings(args) {
652
- const { variant } = args;
698
+ const variant = args.variant ?? DEFAULT_VARIANT;
653
699
  const enrichments = args.projection.toEnrichments({
654
700
  webhook: args.webhook,
655
701
  context: this,
@@ -676,12 +722,12 @@ export class GenerateContext {
676
722
  /**
677
723
  * Build content settings for a model projection by calling its statics
678
724
  * `toIdentifierName` (pure, for the name) + `toIdentifierType`
679
- * (context-aware, for kind/typeName/exported), `toExportPath`, and
725
+ * (context-aware, for type/typeName/exported), `toExportPath`, and
680
726
  * `toEnrichments` against the given `refName` and `variant`. The full
681
727
  * identifier is assembled through the projection's language
682
728
  * (`lang.toIdentifier`).
683
729
  */
684
- toModelContentSettings({ refName, projection, variant }) {
730
+ toModelContentSettings({ refName, projection, variant = DEFAULT_VARIANT }) {
685
731
  const enrichments = projection.toEnrichments({ refName, context: this, variant });
686
732
  return new ContentSettings({
687
733
  identifier: projection.lang.toIdentifier({
@@ -722,18 +768,23 @@ export class GenerateContext {
722
768
  * @returns Matching definition if found or `undefined` otherwise
723
769
  */
724
770
  findDefinition({ name, exportPath }) {
725
- // Pure lookup — no file is created on a miss. `definitions` lives on
726
- // `FileBase`, so this reads any language's file without narrowing.
727
- return this.getFile(exportPath)?.definitions.get(name);
771
+ // Pure lookup — no file is created on a miss. Definitions live on the
772
+ // code-file subclass, so narrow; a non-code file (`JsonFile`) has none.
773
+ // The cache wants the single primary for the name → first match.
774
+ const file = this.getFile(exportPath);
775
+ return file instanceof CodeFileBase ? file.findDefinitions({ name })?.[0] : undefined;
728
776
  }
729
777
  }
730
- _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(), _GenerateContext_mappings = new WeakMap(), _GenerateContext_captureChannel = new WeakMap(), _GenerateContext_instances = new WeakSet(), _GenerateContext_supports = function _GenerateContext_supports(probe) {
731
- try {
732
- return probe();
733
- }
734
- catch (error) {
735
- this.logger.error(error);
736
- return false;
778
+ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(), _GenerateContext_captureChannel = new WeakMap(), _GenerateContext_instances = new WeakSet(), _GenerateContext_schemaRefNames = function _GenerateContext_schemaRefNames() {
779
+ switch (this.document.type) {
780
+ case 'oas':
781
+ return [...(this.document.value.components?.toSchemasRefNames() ?? [])];
782
+ case 'gql':
783
+ return [...this.document.value.registry.toSchemasRefNames()];
784
+ default: {
785
+ const _exhaustive = this.document;
786
+ throw new Error(`Unhandled document type: ${JSON.stringify(_exhaustive)}`);
787
+ }
737
788
  }
738
789
  }, _GenerateContext_subjectDefaults = function _GenerateContext_subjectDefaults(produce) {
739
790
  try {
@@ -762,7 +813,12 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
762
813
  // at config-load time once it lands)
763
814
  // - present, object → enumerate keys; 'main' must be among
764
815
  // them or we throw (loud beats silent zero-output)
765
- const opEnrichments = get(this.settings, ['enrichments', generatorConfig.id, operation.path, operation.method]);
816
+ const opEnrichments = get(this.settings, [
817
+ 'enrichments',
818
+ generatorConfig.id,
819
+ operation.path,
820
+ operation.method
821
+ ]);
766
822
  const variants = toVariantList({
767
823
  opEnrichments,
768
824
  generatorId: generatorConfig.id,
@@ -782,11 +838,21 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
782
838
  // this method"; a populated array names the variants the
783
839
  // entry applies to.
784
840
  if (include !== undefined &&
785
- !matchesPathFilter({ paths: include, path: operation.path, method: operation.method, variant })) {
841
+ !matchesPathFilter({
842
+ paths: include,
843
+ path: operation.path,
844
+ method: operation.method,
845
+ variant
846
+ })) {
786
847
  this.captureCurrentResult('skipped', st);
787
848
  return;
788
849
  }
789
- if (matchesPathFilter({ paths: skip, path: operation.path, method: operation.method, variant })) {
850
+ if (matchesPathFilter({
851
+ paths: skip,
852
+ path: operation.path,
853
+ method: operation.method,
854
+ variant
855
+ })) {
790
856
  this.captureCurrentResult('skipped', st);
791
857
  return;
792
858
  }
@@ -801,7 +867,6 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
801
867
  variant
802
868
  });
803
869
  __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, operation, variant }));
804
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, operation, variant }));
805
870
  this.captureCurrentResult('success', st);
806
871
  }
807
872
  catch (error) {
@@ -819,7 +884,12 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
819
884
  // the webhook analogue of the operation routing. `toVariantList`
820
885
  // handles absent / non-object / object enrichment blocks and
821
886
  // enforces the `'main'`-must-be-present rule.
822
- const webhookEnrichments = get(this.settings, ['enrichments', generatorConfig.id, webhook.name, webhook.method]);
887
+ const webhookEnrichments = get(this.settings, [
888
+ 'enrichments',
889
+ generatorConfig.id,
890
+ webhook.name,
891
+ webhook.method
892
+ ]);
823
893
  const variants = toVariantList({
824
894
  opEnrichments: webhookEnrichments,
825
895
  generatorId: generatorConfig.id,
@@ -838,11 +908,21 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
838
908
  // operations (the webhook name occupies the `path` slot), so
839
909
  // `matchesPathFilter` is reused with `path: webhook.name`.
840
910
  if (include !== undefined &&
841
- !matchesPathFilter({ paths: include, path: webhook.name, method: webhook.method, variant })) {
911
+ !matchesPathFilter({
912
+ paths: include,
913
+ path: webhook.name,
914
+ method: webhook.method,
915
+ variant
916
+ })) {
842
917
  this.captureCurrentResult('skipped', st);
843
918
  return;
844
919
  }
845
- if (matchesPathFilter({ paths: skip, path: webhook.name, method: webhook.method, variant })) {
920
+ if (matchesPathFilter({
921
+ paths: skip,
922
+ path: webhook.name,
923
+ method: webhook.method,
924
+ variant
925
+ })) {
846
926
  this.captureCurrentResult('skipped', st);
847
927
  return;
848
928
  }
@@ -857,7 +937,6 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
857
937
  variant
858
938
  });
859
939
  __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, webhook, variant }));
860
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, webhook, variant }));
861
940
  this.captureCurrentResult('success', st);
862
941
  }
863
942
  catch (error) {
@@ -873,7 +952,12 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
873
952
  stackTrail.trace(operation.identifier, opTrail => {
874
953
  // GraphQL enrichment routing key is
875
954
  // `[generatorId][rootKind][fieldName][variant]`.
876
- const opEnrichments = get(this.settings, ['enrichments', generatorConfig.id, operation.rootKind, operation.fieldName]);
955
+ const opEnrichments = get(this.settings, [
956
+ 'enrichments',
957
+ generatorConfig.id,
958
+ operation.rootKind,
959
+ operation.fieldName
960
+ ]);
877
961
  const variants = toVariantList({
878
962
  opEnrichments,
879
963
  generatorId: generatorConfig.id,
@@ -898,7 +982,6 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
898
982
  variant
899
983
  });
900
984
  __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, operation, variant }));
901
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, operation, variant }));
902
985
  this.captureCurrentResult('success', st);
903
986
  }
904
987
  catch (error) {
@@ -911,7 +994,7 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
911
994
  });
912
995
  }, _GenerateContext_runModelGenerator = function _GenerateContext_runModelGenerator(document, generatorConfig, include, skip, stackTrail) {
913
996
  const refNames = document.type === 'oas'
914
- ? (document.value.components?.toSchemasRefNames() ?? [])
997
+ ? document.value.components?.toSchemasRefNames() ?? []
915
998
  : document.value.registry.toSchemasRefNames();
916
999
  refNames.forEach(refName => {
917
1000
  stackTrail.trace(refName, refTrail => {
@@ -926,7 +1009,11 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
926
1009
  // at config-load time once it lands)
927
1010
  // - present, object → enumerate keys; 'main' must be among
928
1011
  // them or we throw (loud beats silent zero-output)
929
- const modelEnrichments = get(this.settings, ['enrichments', generatorConfig.id, refName]);
1012
+ const modelEnrichments = get(this.settings, [
1013
+ 'enrichments',
1014
+ generatorConfig.id,
1015
+ refName
1016
+ ]);
930
1017
  const variants = toVariantList({
931
1018
  opEnrichments: modelEnrichments,
932
1019
  generatorId: generatorConfig.id,
@@ -935,13 +1022,16 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
935
1022
  variants.forEach(variant => {
936
1023
  refTrail.trace(`variant: ${variant}`, st => {
937
1024
  try {
938
- // Order: include (allow) → skip (deny). Match is now on
939
- // `(refName, variant)`. An empty variant array on a
940
- // refName means "every variant of this refName"; a
941
- // populated array names the variants the entry applies
942
- // to.
943
- if (include !== undefined &&
944
- !matchesRefFilter({ refs: include, refName, variant })) {
1025
+ if (typeof generatorConfig.isSupported === 'function' &&
1026
+ !generatorConfig.isSupported({ refName, context: this, variant })) {
1027
+ this.captureCurrentResult('notSupported', st);
1028
+ return;
1029
+ }
1030
+ // Order: isSupported (capability) → include (allow) → skip
1031
+ // (deny). Match is on `(refName, variant)`. An empty variant
1032
+ // array on a refName means "every variant of this refName"; a
1033
+ // populated array names the variants the entry applies to.
1034
+ if (include !== undefined && !matchesRefFilter({ refs: include, refName, variant })) {
945
1035
  this.captureCurrentResult('skipped', st);
946
1036
  return;
947
1037
  }
@@ -960,7 +1050,6 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
960
1050
  variant
961
1051
  });
962
1052
  __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, refName, variant }));
963
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, refName, variant }));
964
1053
  this.captureCurrentResult('success', st);
965
1054
  }
966
1055
  catch (error) {
@@ -982,17 +1071,6 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
982
1071
  module,
983
1072
  source
984
1073
  };
985
- }, _GenerateContext_addMapping = function _GenerateContext_addMapping(source, module) {
986
- if (!module) {
987
- return;
988
- }
989
- if (__classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.name]) {
990
- throw new Error(`Cannot override mapping module "${module.name}"`);
991
- }
992
- __classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.name] = {
993
- module,
994
- source
995
- };
996
1074
  };
997
1075
  /**
998
1076
  * Match a `(path, method, variant)` tuple against an operation-shaped
@@ -118,6 +118,22 @@ export declare class ParseContext {
118
118
  * the parsed document. Symmetric across protocols: OAS prunes via
119
119
  * `OasDocument.removeItem`, GQL via `GqlDocument.removeItem`. Each
120
120
  * pruned consumer yields an `INVALID_DEPENDENCY_REF` issue.
121
+ *
122
+ * Pruning is deliberately **single-level** — only the direct
123
+ * consumers of a parse-errored schema are removed. Anything those
124
+ * removals leave with a dangling reference is left in place: if a
125
+ * generator never resolves it, it is harmless; if one does, that
126
+ * single artifact fails at generate time and is isolated there. We
127
+ * do not cascade transitively.
128
+ *
129
+ * Known coarseness, intentionally left as-is for now: a `paths:P:M:…`
130
+ * consumer trail resolves to the *whole operation*, so an operation
131
+ * that references a broken schema is pruned even when the reference
132
+ * is only through a response it does not generate from. A finer
133
+ * design — don't prune operations for response-position refs and let
134
+ * generate-time isolation handle the dangling ref — is deferred; the
135
+ * single-level + generate-time-isolation contract above keeps the
136
+ * dangling ref safe in the meantime.
121
137
  */
122
138
  removeErroredItems(): void;
123
139
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ParseContext.d.ts","sour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EAAE,YAAY,GAAG,IAAI;IAMzE,aAAa,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,GAAG,IAAI;IAkE9E;;;;;;;;;;;;;;;;;OAiBG;IACH,GAAG,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,GAAG,IAAI;IAK1D;;;;;;;;;OASG;IACH,gBAAgB,CAAC,EACf,OAAO,EACP,UAAU,EACV,MAAM,EACN,UAAU,EACV,IAA4B,EAC7B,EAAE,oBAAoB,GAAG,IAAI;CAY/B"}
@@ -234,6 +234,22 @@ export class ParseContext {
234
234
  * the parsed document. Symmetric across protocols: OAS prunes via
235
235
  * `OasDocument.removeItem`, GQL via `GqlDocument.removeItem`. Each
236
236
  * pruned consumer yields an `INVALID_DEPENDENCY_REF` issue.
237
+ *
238
+ * Pruning is deliberately **single-level** — only the direct
239
+ * consumers of a parse-errored schema are removed. Anything those
240
+ * removals leave with a dangling reference is left in place: if a
241
+ * generator never resolves it, it is harmless; if one does, that
242
+ * single artifact fails at generate time and is isolated there. We
243
+ * do not cascade transitively.
244
+ *
245
+ * Known coarseness, intentionally left as-is for now: a `paths:P:M:…`
246
+ * consumer trail resolves to the *whole operation*, so an operation
247
+ * that references a broken schema is pruned even when the reference
248
+ * is only through a response it does not generate from. A finer
249
+ * design — don't prune operations for response-position refs and let
250
+ * generate-time isolation handle the dangling ref — is deferred; the
251
+ * single-level + generate-time-isolation contract above keeps the
252
+ * dangling ref safe in the meantime.
237
253
  */
238
254
  removeErroredItems() {
239
255
  switch (this.protocol.type) {
@@ -31,7 +31,7 @@ import type { OasIssueType } from './generateTypes.js';
31
31
  *
32
32
  * - `NESTED_LIST_LOSSY` — `[[T]]` collapsed to `OasUnknown`.
33
33
  * - `UNKNOWN_TYPE_KIND` — defensive fallback for an unrecognized
34
- * GraphQL type kind. Should never fire in practice.
34
+ * GraphQL type type. Should never fire in practice.
35
35
  * - `DROPPED_DIRECTIVE` — applied directive ignored during mapping
36
36
  * (other than `@deprecated`, whose `reason` we capture).
37
37
  * - `SKIPPED_FIELD_ARGUMENTS` — non-root object/interface field
@@ -5,7 +5,7 @@ import type { ResultType } from '../types/Results.js';
5
5
  import type * as log from '../deps/jsr.io/@std/log/0.224.14/mod.js';
6
6
  import type { Logger } from '../types/Logger.js';
7
7
  import type { FileBase } from '../dsl/FileBase.js';
8
- import type { Preview, Mapping } from '../types/Preview.js';
8
+ import type { Preview } from '../types/Preview.js';
9
9
  import type { StackTrail } from './StackTrail.js';
10
10
  import { type CaptureChannel } from '../anchors/CaptureSink.js';
11
11
  import type { GenerationMapEntry } from '../anchors/generationMap.js';
@@ -28,8 +28,6 @@ type ConstructorArgs = {
28
28
  files: Map<string, FileBase>;
29
29
  /** Preview data for generated content */
30
30
  previews: Record<string, Preview>;
31
- /** Mapping data for file relationships */
32
- mappings: Record<string, Mapping>;
33
31
  /** Base path for resolving file paths */
34
32
  basePath: string | undefined;
35
33
  /** Logger instance for debug information */
@@ -56,8 +54,6 @@ export declare class RenderContext {
56
54
  files: Map<string, FileBase>;
57
55
  /** Preview data for generated content */
58
56
  previews: Record<string, Preview>;
59
- /** Mapping data for file relationships */
60
- mappings: Record<string, Mapping>;
61
57
  /** Base path for resolving file paths */
62
58
  basePath: string | undefined;
63
59
  /** Logger instance for debug information */
@@ -74,7 +70,7 @@ export declare class RenderContext {
74
70
  *
75
71
  * @param args - Constructor arguments containing all required configuration
76
72
  */
77
- constructor({ files, previews, mappings, basePath, logger, captureCurrentResult, attribution, captureChannel }: ConstructorArgs);
73
+ constructor({ files, previews, basePath, logger, captureCurrentResult, attribution, captureChannel }: ConstructorArgs);
78
74
  /**
79
75
  * Renders all files in the context to their final form.
80
76
  *
@@ -1 +1 @@
1
- {"version":3,"file":"RenderContext.d.ts","sourceRoot":"","sources":["../../src/context/RenderContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA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