@skmtc/core 0.18.1 → 0.27.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 (586) hide show
  1. package/README.md +4 -3
  2. package/esm/anchors/ParserAdapter.d.ts +22 -3
  3. package/esm/anchors/ParserAdapter.d.ts.map +1 -1
  4. package/esm/anchors/attribute.d.ts.map +1 -1
  5. package/esm/anchors/buildSidecar.d.ts.map +1 -1
  6. package/esm/anchors/buildSidecar.js +1 -1
  7. package/esm/anchors/generationMap.d.ts.map +1 -1
  8. package/esm/anchors/postPass.d.ts +1 -1
  9. package/esm/anchors/postPass.js +1 -1
  10. package/esm/anchors/sidecar.d.ts +2 -2
  11. package/esm/anchors/sidecar.js +1 -1
  12. package/esm/context/CoreContext.d.ts +7 -1
  13. package/esm/context/CoreContext.d.ts.map +1 -1
  14. package/esm/context/CoreContext.js +17 -11
  15. package/esm/context/GenerateContext.d.ts +25 -4
  16. package/esm/context/GenerateContext.d.ts.map +1 -1
  17. package/esm/context/GenerateContext.js +159 -76
  18. package/esm/context/ParseContext.d.ts.map +1 -1
  19. package/esm/context/ParseIssue.d.ts +1 -1
  20. package/esm/context/RenderContext.d.ts +2 -6
  21. package/esm/context/RenderContext.d.ts.map +1 -1
  22. package/esm/context/RenderContext.js +4 -14
  23. package/esm/context/generateTypes.d.ts +35 -8
  24. package/esm/context/generateTypes.d.ts.map +1 -1
  25. 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
  26. package/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
  27. package/esm/deps/jsr.io/@std/internal/1.0.14/_os.js +14 -0
  28. package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts.map +1 -1
  29. package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  30. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts.map +1 -1
  31. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.js +1 -1
  32. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts.map +1 -1
  33. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.js +1 -1
  34. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts.map +1 -1
  35. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.js +1 -1
  36. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts.map +1 -1
  37. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.js +1 -1
  38. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts.map +1 -1
  39. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.js +1 -1
  40. package/esm/deps/jsr.io/@std/path/1.1.6/extname.d.ts +25 -0
  41. package/esm/deps/jsr.io/@std/path/1.1.6/extname.d.ts.map +1 -0
  42. package/esm/deps/jsr.io/@std/path/1.1.6/extname.js +31 -0
  43. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts.map +1 -1
  44. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.js +2 -2
  45. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts.map +1 -1
  46. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.js +2 -2
  47. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts.map +1 -1
  48. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.js +1 -1
  49. package/esm/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts +42 -0
  50. package/esm/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts.map +1 -0
  51. package/esm/deps/jsr.io/@std/path/1.1.6/posix/extname.js +98 -0
  52. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts.map +1 -1
  53. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.js +1 -1
  54. 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
  55. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.js +1 -1
  56. 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
  57. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.js +1 -1
  58. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts.map +1 -1
  59. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.js +1 -1
  60. package/esm/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts +18 -0
  61. package/esm/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts.map +1 -0
  62. package/esm/deps/jsr.io/@std/path/1.1.6/windows/extname.js +83 -0
  63. 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
  64. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.js +1 -1
  65. 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
  66. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.js +1 -1
  67. 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
  68. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.js +1 -1
  69. package/esm/dsl/CodeFileBase.d.ts +57 -24
  70. package/esm/dsl/CodeFileBase.d.ts.map +1 -1
  71. package/esm/dsl/CodeFileBase.js +35 -53
  72. package/esm/dsl/FileBase.d.ts +21 -25
  73. package/esm/dsl/FileBase.d.ts.map +1 -1
  74. package/esm/dsl/FileBase.js +20 -29
  75. package/esm/dsl/GeneratorKeys.d.ts +19 -19
  76. package/esm/dsl/GeneratorKeys.d.ts.map +1 -1
  77. package/esm/dsl/GeneratorKeys.js +6 -5
  78. package/esm/dsl/IdentifierBase.d.ts +19 -5
  79. package/esm/dsl/IdentifierBase.d.ts.map +1 -1
  80. package/esm/dsl/IdentifierBase.js +21 -5
  81. package/esm/dsl/IdentifierType.d.ts +8 -14
  82. package/esm/dsl/IdentifierType.d.ts.map +1 -1
  83. package/esm/dsl/Lang.d.ts +18 -38
  84. package/esm/dsl/Lang.d.ts.map +1 -1
  85. package/esm/dsl/MarkdownFile.d.ts +55 -0
  86. package/esm/dsl/MarkdownFile.d.ts.map +1 -0
  87. package/esm/dsl/MarkdownFile.js +58 -0
  88. package/esm/dsl/model/ModelDriver.d.ts +3 -1
  89. package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
  90. package/esm/dsl/model/ModelDriver.js +6 -8
  91. package/esm/dsl/model/toModelEntry.d.ts +21 -17
  92. package/esm/dsl/model/toModelEntry.d.ts.map +1 -1
  93. package/esm/dsl/model/toModelEntry.js +3 -27
  94. package/esm/dsl/model/toModelProjectionBase.d.ts +15 -15
  95. package/esm/dsl/model/toModelProjectionBase.d.ts.map +1 -1
  96. package/esm/dsl/model/types.d.ts +2 -52
  97. package/esm/dsl/model/types.d.ts.map +1 -1
  98. package/esm/dsl/operation/gql/GqlOperationDriver.d.ts +3 -1
  99. package/esm/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -1
  100. package/esm/dsl/operation/gql/GqlOperationDriver.js +12 -9
  101. package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts +20 -15
  102. package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -1
  103. package/esm/dsl/operation/gql/toGqlOperationEntry.js +3 -25
  104. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +11 -10
  105. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -1
  106. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.js +7 -1
  107. package/esm/dsl/operation/gql/types.d.ts +1 -33
  108. package/esm/dsl/operation/gql/types.d.ts.map +1 -1
  109. package/esm/dsl/operation/oas/OasOperationDriver.d.ts +3 -1
  110. package/esm/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -1
  111. package/esm/dsl/operation/oas/OasOperationDriver.js +12 -9
  112. package/esm/dsl/operation/oas/toOasOperationEntry.d.ts +21 -17
  113. package/esm/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -1
  114. package/esm/dsl/operation/oas/toOasOperationEntry.js +3 -32
  115. package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts +11 -10
  116. package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -1
  117. package/esm/dsl/operation/oas/types.d.ts +1 -43
  118. package/esm/dsl/operation/oas/types.d.ts.map +1 -1
  119. package/esm/dsl/webhook/WebhookDriver.d.ts +3 -1
  120. package/esm/dsl/webhook/WebhookDriver.d.ts.map +1 -1
  121. package/esm/dsl/webhook/WebhookDriver.js +12 -9
  122. package/esm/dsl/webhook/toWebhookEntry.d.ts +21 -16
  123. package/esm/dsl/webhook/toWebhookEntry.d.ts.map +1 -1
  124. package/esm/dsl/webhook/toWebhookEntry.js +3 -32
  125. package/esm/dsl/webhook/toWebhookProjectionBase.d.ts +11 -10
  126. package/esm/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -1
  127. package/esm/dsl/webhook/types.d.ts +1 -36
  128. package/esm/dsl/webhook/types.d.ts.map +1 -1
  129. package/esm/enrichments/toEnrichmentDescriptor.d.ts +72 -27
  130. package/esm/enrichments/toEnrichmentDescriptor.d.ts.map +1 -1
  131. package/esm/enrichments/toEnrichmentDescriptor.js +57 -31
  132. package/esm/enrichments/validateConfig.d.ts +1 -1
  133. package/esm/enrichments/validateConfig.d.ts.map +1 -1
  134. package/esm/enrichments/validateConfig.js +2 -2
  135. package/esm/gql/_helpers/unwrapType.d.ts.map +1 -1
  136. package/esm/gql/enum/toEnumType.d.ts.map +1 -1
  137. package/esm/gql/field/toFieldSchema.d.ts.map +1 -1
  138. package/esm/gql/input/toInputType.d.ts.map +1 -1
  139. package/esm/gql/interface/toInterfaceUnion.d.ts.map +1 -1
  140. package/esm/gql/object/toObjectType.d.ts.map +1 -1
  141. package/esm/gql/operation/toRootField.d.ts.map +1 -1
  142. package/esm/gql/union/toUnionType.d.ts.map +1 -1
  143. package/esm/helpers/applyGeneratedSuffix.d.ts +43 -0
  144. package/esm/helpers/applyGeneratedSuffix.d.ts.map +1 -0
  145. package/esm/helpers/applyGeneratedSuffix.js +79 -0
  146. package/esm/helpers/isImported.js +1 -1
  147. package/esm/helpers/strings.d.ts.map +1 -1
  148. package/esm/helpers/toResolvedArtifactPath.js +1 -1
  149. package/esm/mod.d.ts +8 -1
  150. package/esm/mod.d.ts.map +1 -1
  151. package/esm/mod.js +8 -1
  152. package/esm/oas/array/Array.d.ts +2 -0
  153. package/esm/oas/array/Array.d.ts.map +1 -1
  154. package/esm/oas/array/Array.js +4 -0
  155. package/esm/oas/boolean/Boolean.d.ts +3 -1
  156. package/esm/oas/boolean/Boolean.d.ts.map +1 -1
  157. package/esm/oas/boolean/Boolean.js +4 -0
  158. package/esm/oas/components/Components.d.ts +5 -0
  159. package/esm/oas/components/Components.d.ts.map +1 -1
  160. package/esm/oas/components/Components.js +6 -1
  161. package/esm/oas/document/Document.d.ts.map +1 -1
  162. package/esm/oas/integer/Integer.d.ts +3 -1
  163. package/esm/oas/integer/Integer.d.ts.map +1 -1
  164. package/esm/oas/integer/Integer.js +4 -0
  165. package/esm/oas/link/Link.d.ts +68 -0
  166. package/esm/oas/link/Link.d.ts.map +1 -0
  167. package/esm/oas/link/Link.js +107 -0
  168. package/esm/oas/number/Number.d.ts +3 -1
  169. package/esm/oas/number/Number.d.ts.map +1 -1
  170. package/esm/oas/number/Number.js +4 -0
  171. package/esm/oas/object/Object.d.ts +9 -0
  172. package/esm/oas/object/Object.d.ts.map +1 -1
  173. package/esm/oas/object/Object.js +14 -0
  174. package/esm/oas/operation/Operation.d.ts +15 -0
  175. package/esm/oas/operation/Operation.d.ts.map +1 -1
  176. package/esm/oas/operation/Operation.js +33 -0
  177. package/esm/oas/ref/Ref.d.ts +23 -1
  178. package/esm/oas/ref/Ref.d.ts.map +1 -1
  179. package/esm/oas/ref/Ref.js +32 -0
  180. package/esm/oas/ref/ref-types.d.ts +18 -1
  181. package/esm/oas/ref/ref-types.d.ts.map +1 -1
  182. package/esm/oas/ref/ref-types.js +12 -1
  183. package/esm/oas/response/Response.d.ts +4 -0
  184. package/esm/oas/response/Response.d.ts.map +1 -1
  185. package/esm/oas/response/Response.js +7 -0
  186. package/esm/oas/schemaPath/traverseSchema.d.ts +31 -0
  187. package/esm/oas/schemaPath/traverseSchema.d.ts.map +1 -0
  188. package/esm/oas/schemaPath/traverseSchema.js +115 -0
  189. package/esm/oas/string/String.d.ts +3 -1
  190. package/esm/oas/string/String.d.ts.map +1 -1
  191. package/esm/oas/string/String.js +4 -0
  192. package/esm/oas/union/Union.d.ts +9 -0
  193. package/esm/oas/union/Union.d.ts.map +1 -1
  194. package/esm/oas/union/Union.js +14 -0
  195. package/esm/oas/unknown/Unknown.d.ts +3 -1
  196. package/esm/oas/unknown/Unknown.d.ts.map +1 -1
  197. package/esm/oas/unknown/Unknown.js +4 -0
  198. package/esm/parse/v3-0/array/toArray.d.ts.map +1 -1
  199. package/esm/parse/v3-0/boolean/toBoolean.d.ts.map +1 -1
  200. package/esm/parse/v3-0/components/toComponentsV3.d.ts.map +1 -1
  201. package/esm/parse/v3-0/components/toComponentsV3.js +3 -1
  202. package/esm/parse/v3-0/integer/toInteger.d.ts.map +1 -1
  203. package/esm/parse/v3-0/link/toLinksV3.d.ts +17 -0
  204. package/esm/parse/v3-0/link/toLinksV3.d.ts.map +1 -0
  205. package/esm/parse/v3-0/link/toLinksV3.js +40 -0
  206. package/esm/parse/v3-0/object/toObject.d.ts.map +1 -1
  207. package/esm/parse/v3-0/object/toObject.js +3 -1
  208. package/esm/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -1
  209. package/esm/parse/v3-0/ref/toRefV31.d.ts.map +1 -1
  210. package/esm/parse/v3-0/response/toResponseV3.d.ts.map +1 -1
  211. package/esm/parse/v3-0/response/toResponseV3.js +4 -1
  212. package/esm/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -1
  213. package/esm/parse/v3-0/schema/toSchemasV3.js +7 -1
  214. package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
  215. package/esm/parse/v3-0/string/toString.d.ts.map +1 -1
  216. package/esm/parse/v3-0/union/toUnion.d.ts.map +1 -1
  217. package/esm/parse/v3-0/union/toUnion.js +3 -1
  218. package/esm/parse/v3-0/unknown/toUnknown.d.ts.map +1 -1
  219. package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts.map +1 -1
  220. package/esm/parse/v3-1/array/toArray.d.ts.map +1 -1
  221. package/esm/parse/v3-1/boolean/toBoolean.d.ts.map +1 -1
  222. package/esm/parse/v3-1/components/toComponentsV3.d.ts.map +1 -1
  223. package/esm/parse/v3-1/components/toComponentsV3.js +3 -1
  224. package/esm/parse/v3-1/integer/toInteger.d.ts.map +1 -1
  225. package/esm/parse/v3-1/link/toLinksV3.d.ts +17 -0
  226. package/esm/parse/v3-1/link/toLinksV3.d.ts.map +1 -0
  227. package/esm/parse/v3-1/link/toLinksV3.js +40 -0
  228. package/esm/parse/v3-1/object/toObject.d.ts.map +1 -1
  229. package/esm/parse/v3-1/object/toObject.js +3 -1
  230. package/esm/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -1
  231. package/esm/parse/v3-1/ref/toRefV31.d.ts.map +1 -1
  232. package/esm/parse/v3-1/response/toResponseV3.d.ts.map +1 -1
  233. package/esm/parse/v3-1/response/toResponseV3.js +4 -1
  234. package/esm/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -1
  235. package/esm/parse/v3-1/schema/toSchemasV3.js +7 -1
  236. package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
  237. package/esm/parse/v3-1/string/toString.d.ts.map +1 -1
  238. package/esm/parse/v3-1/union/toUnion.d.ts.map +1 -1
  239. package/esm/parse/v3-1/union/toUnion.js +3 -1
  240. package/esm/parse/v3-1/unknown/toUnknown.d.ts.map +1 -1
  241. package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts.map +1 -1
  242. package/esm/run/toArtifacts.d.ts +8 -1
  243. package/esm/run/toArtifacts.d.ts.map +1 -1
  244. package/esm/run/toArtifacts.js +5 -5
  245. package/esm/run/toInspection.d.ts +8 -0
  246. package/esm/run/toInspection.d.ts.map +1 -0
  247. package/esm/run/toInspection.js +78 -0
  248. package/esm/types/Enrichments.d.ts +19 -8
  249. package/esm/types/Enrichments.d.ts.map +1 -1
  250. package/esm/types/Enrichments.js +4 -3
  251. package/esm/types/GeneratorType.d.ts +5 -5
  252. package/esm/types/GeneratorType.d.ts.map +1 -1
  253. package/esm/types/Manifest.d.ts +9 -2
  254. package/esm/types/Manifest.d.ts.map +1 -1
  255. package/esm/types/Manifest.js +3 -3
  256. package/esm/types/ModuleSelect.d.ts +81 -0
  257. package/esm/types/ModuleSelect.d.ts.map +1 -0
  258. package/esm/types/ModuleSelect.js +63 -0
  259. package/esm/types/Preview.d.ts +4 -27
  260. package/esm/types/Preview.d.ts.map +1 -1
  261. package/esm/types/Preview.js +4 -25
  262. package/esm/types/SchemaPath.d.ts +17 -0
  263. package/esm/types/SchemaPath.d.ts.map +1 -0
  264. package/esm/types/SchemaPath.js +9 -0
  265. package/esm/types/Settings.d.ts +45 -3
  266. package/esm/types/Settings.d.ts.map +1 -1
  267. package/esm/types/Settings.js +16 -20
  268. package/esm/types/SkmtcDocument.d.ts +1 -1
  269. package/esm/types/SupportedSubjects.d.ts +1 -1
  270. package/package.json +1 -1
  271. package/script/anchors/ParserAdapter.d.ts +22 -3
  272. package/script/anchors/ParserAdapter.d.ts.map +1 -1
  273. package/script/anchors/attribute.d.ts.map +1 -1
  274. package/script/anchors/buildSidecar.d.ts.map +1 -1
  275. package/script/anchors/buildSidecar.js +1 -1
  276. package/script/anchors/generationMap.d.ts.map +1 -1
  277. package/script/anchors/postPass.d.ts +1 -1
  278. package/script/anchors/postPass.js +1 -1
  279. package/script/anchors/sidecar.d.ts +2 -2
  280. package/script/anchors/sidecar.js +1 -1
  281. package/script/context/CoreContext.d.ts +7 -1
  282. package/script/context/CoreContext.d.ts.map +1 -1
  283. package/script/context/CoreContext.js +17 -11
  284. package/script/context/GenerateContext.d.ts +25 -4
  285. package/script/context/GenerateContext.d.ts.map +1 -1
  286. package/script/context/GenerateContext.js +159 -76
  287. package/script/context/ParseContext.d.ts.map +1 -1
  288. package/script/context/ParseIssue.d.ts +1 -1
  289. package/script/context/RenderContext.d.ts +2 -6
  290. package/script/context/RenderContext.d.ts.map +1 -1
  291. package/script/context/RenderContext.js +4 -14
  292. package/script/context/generateTypes.d.ts +35 -8
  293. package/script/context/generateTypes.d.ts.map +1 -1
  294. 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
  295. package/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
  296. package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.js +7 -5
  297. package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts.map +1 -1
  298. package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  299. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts.map +1 -1
  300. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.js +1 -1
  301. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts.map +1 -1
  302. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.js +1 -1
  303. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts.map +1 -1
  304. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.js +1 -1
  305. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts.map +1 -1
  306. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.js +1 -1
  307. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts.map +1 -1
  308. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.js +1 -1
  309. package/script/deps/jsr.io/@std/path/1.1.6/extname.d.ts +25 -0
  310. package/script/deps/jsr.io/@std/path/1.1.6/extname.d.ts.map +1 -0
  311. package/script/deps/jsr.io/@std/path/1.1.6/extname.js +34 -0
  312. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts.map +1 -1
  313. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.js +2 -2
  314. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts.map +1 -1
  315. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.js +2 -2
  316. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts.map +1 -1
  317. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.js +1 -1
  318. package/script/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts +42 -0
  319. package/script/deps/jsr.io/@std/path/1.1.6/posix/extname.d.ts.map +1 -0
  320. package/script/deps/jsr.io/@std/path/1.1.6/posix/extname.js +101 -0
  321. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts.map +1 -1
  322. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.js +1 -1
  323. 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
  324. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.js +1 -1
  325. 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
  326. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.js +1 -1
  327. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts.map +1 -1
  328. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.js +1 -1
  329. package/script/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts +18 -0
  330. package/script/deps/jsr.io/@std/path/1.1.6/windows/extname.d.ts.map +1 -0
  331. package/script/deps/jsr.io/@std/path/1.1.6/windows/extname.js +86 -0
  332. 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
  333. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.js +1 -1
  334. 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
  335. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.js +1 -1
  336. 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
  337. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.js +1 -1
  338. package/script/dsl/CodeFileBase.d.ts +57 -24
  339. package/script/dsl/CodeFileBase.d.ts.map +1 -1
  340. package/script/dsl/CodeFileBase.js +37 -54
  341. package/script/dsl/FileBase.d.ts +21 -25
  342. package/script/dsl/FileBase.d.ts.map +1 -1
  343. package/script/dsl/FileBase.js +20 -29
  344. package/script/dsl/GeneratorKeys.d.ts +19 -19
  345. package/script/dsl/GeneratorKeys.d.ts.map +1 -1
  346. package/script/dsl/GeneratorKeys.js +6 -5
  347. package/script/dsl/IdentifierBase.d.ts +19 -5
  348. package/script/dsl/IdentifierBase.d.ts.map +1 -1
  349. package/script/dsl/IdentifierBase.js +21 -5
  350. package/script/dsl/IdentifierType.d.ts +8 -14
  351. package/script/dsl/IdentifierType.d.ts.map +1 -1
  352. package/script/dsl/Lang.d.ts +18 -38
  353. package/script/dsl/Lang.d.ts.map +1 -1
  354. package/script/dsl/MarkdownFile.d.ts +55 -0
  355. package/script/dsl/MarkdownFile.d.ts.map +1 -0
  356. package/script/dsl/MarkdownFile.js +62 -0
  357. package/script/dsl/model/ModelDriver.d.ts +3 -1
  358. package/script/dsl/model/ModelDriver.d.ts.map +1 -1
  359. package/script/dsl/model/ModelDriver.js +6 -8
  360. package/script/dsl/model/toModelEntry.d.ts +21 -17
  361. package/script/dsl/model/toModelEntry.d.ts.map +1 -1
  362. package/script/dsl/model/toModelEntry.js +3 -63
  363. package/script/dsl/model/toModelProjectionBase.d.ts +15 -15
  364. package/script/dsl/model/toModelProjectionBase.d.ts.map +1 -1
  365. package/script/dsl/model/types.d.ts +2 -52
  366. package/script/dsl/model/types.d.ts.map +1 -1
  367. package/script/dsl/operation/gql/GqlOperationDriver.d.ts +3 -1
  368. package/script/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -1
  369. package/script/dsl/operation/gql/GqlOperationDriver.js +12 -9
  370. package/script/dsl/operation/gql/toGqlOperationEntry.d.ts +20 -15
  371. package/script/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -1
  372. package/script/dsl/operation/gql/toGqlOperationEntry.js +3 -61
  373. package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +11 -10
  374. package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -1
  375. package/script/dsl/operation/gql/toGqlOperationProjectionBase.js +7 -1
  376. package/script/dsl/operation/gql/types.d.ts +1 -33
  377. package/script/dsl/operation/gql/types.d.ts.map +1 -1
  378. package/script/dsl/operation/oas/OasOperationDriver.d.ts +3 -1
  379. package/script/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -1
  380. package/script/dsl/operation/oas/OasOperationDriver.js +12 -9
  381. package/script/dsl/operation/oas/toOasOperationEntry.d.ts +21 -17
  382. package/script/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -1
  383. package/script/dsl/operation/oas/toOasOperationEntry.js +3 -68
  384. package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts +11 -10
  385. package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -1
  386. package/script/dsl/operation/oas/types.d.ts +1 -43
  387. package/script/dsl/operation/oas/types.d.ts.map +1 -1
  388. package/script/dsl/webhook/WebhookDriver.d.ts +3 -1
  389. package/script/dsl/webhook/WebhookDriver.d.ts.map +1 -1
  390. package/script/dsl/webhook/WebhookDriver.js +12 -9
  391. package/script/dsl/webhook/toWebhookEntry.d.ts +21 -16
  392. package/script/dsl/webhook/toWebhookEntry.d.ts.map +1 -1
  393. package/script/dsl/webhook/toWebhookEntry.js +3 -68
  394. package/script/dsl/webhook/toWebhookProjectionBase.d.ts +11 -10
  395. package/script/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -1
  396. package/script/dsl/webhook/types.d.ts +1 -36
  397. package/script/dsl/webhook/types.d.ts.map +1 -1
  398. package/script/enrichments/toEnrichmentDescriptor.d.ts +72 -27
  399. package/script/enrichments/toEnrichmentDescriptor.d.ts.map +1 -1
  400. package/script/enrichments/toEnrichmentDescriptor.js +57 -31
  401. package/script/enrichments/validateConfig.d.ts +1 -1
  402. package/script/enrichments/validateConfig.d.ts.map +1 -1
  403. package/script/enrichments/validateConfig.js +2 -2
  404. package/script/gql/_helpers/unwrapType.d.ts.map +1 -1
  405. package/script/gql/enum/toEnumType.d.ts.map +1 -1
  406. package/script/gql/field/toFieldSchema.d.ts.map +1 -1
  407. package/script/gql/input/toInputType.d.ts.map +1 -1
  408. package/script/gql/interface/toInterfaceUnion.d.ts.map +1 -1
  409. package/script/gql/object/toObjectType.d.ts.map +1 -1
  410. package/script/gql/operation/toRootField.d.ts.map +1 -1
  411. package/script/gql/union/toUnionType.d.ts.map +1 -1
  412. package/script/helpers/applyGeneratedSuffix.d.ts +43 -0
  413. package/script/helpers/applyGeneratedSuffix.d.ts.map +1 -0
  414. package/script/helpers/applyGeneratedSuffix.js +84 -0
  415. package/script/helpers/isImported.js +1 -1
  416. package/script/helpers/strings.d.ts.map +1 -1
  417. package/script/helpers/toResolvedArtifactPath.js +1 -1
  418. package/script/mod.d.ts +8 -1
  419. package/script/mod.d.ts.map +1 -1
  420. package/script/mod.js +8 -1
  421. package/script/oas/array/Array.d.ts +2 -0
  422. package/script/oas/array/Array.d.ts.map +1 -1
  423. package/script/oas/array/Array.js +4 -0
  424. package/script/oas/boolean/Boolean.d.ts +3 -1
  425. package/script/oas/boolean/Boolean.d.ts.map +1 -1
  426. package/script/oas/boolean/Boolean.js +4 -0
  427. package/script/oas/components/Components.d.ts +5 -0
  428. package/script/oas/components/Components.d.ts.map +1 -1
  429. package/script/oas/components/Components.js +6 -1
  430. package/script/oas/document/Document.d.ts.map +1 -1
  431. package/script/oas/integer/Integer.d.ts +3 -1
  432. package/script/oas/integer/Integer.d.ts.map +1 -1
  433. package/script/oas/integer/Integer.js +4 -0
  434. package/script/oas/link/Link.d.ts +68 -0
  435. package/script/oas/link/Link.d.ts.map +1 -0
  436. package/script/oas/link/Link.js +111 -0
  437. package/script/oas/number/Number.d.ts +3 -1
  438. package/script/oas/number/Number.d.ts.map +1 -1
  439. package/script/oas/number/Number.js +4 -0
  440. package/script/oas/object/Object.d.ts +9 -0
  441. package/script/oas/object/Object.d.ts.map +1 -1
  442. package/script/oas/object/Object.js +14 -0
  443. package/script/oas/operation/Operation.d.ts +15 -0
  444. package/script/oas/operation/Operation.d.ts.map +1 -1
  445. package/script/oas/operation/Operation.js +33 -0
  446. package/script/oas/ref/Ref.d.ts +23 -1
  447. package/script/oas/ref/Ref.d.ts.map +1 -1
  448. package/script/oas/ref/Ref.js +32 -0
  449. package/script/oas/ref/ref-types.d.ts +18 -1
  450. package/script/oas/ref/ref-types.d.ts.map +1 -1
  451. package/script/oas/ref/ref-types.js +13 -2
  452. package/script/oas/response/Response.d.ts +4 -0
  453. package/script/oas/response/Response.d.ts.map +1 -1
  454. package/script/oas/response/Response.js +7 -0
  455. package/script/oas/schemaPath/traverseSchema.d.ts +31 -0
  456. package/script/oas/schemaPath/traverseSchema.d.ts.map +1 -0
  457. package/script/oas/schemaPath/traverseSchema.js +119 -0
  458. package/script/oas/string/String.d.ts +3 -1
  459. package/script/oas/string/String.d.ts.map +1 -1
  460. package/script/oas/string/String.js +4 -0
  461. package/script/oas/union/Union.d.ts +9 -0
  462. package/script/oas/union/Union.d.ts.map +1 -1
  463. package/script/oas/union/Union.js +14 -0
  464. package/script/oas/unknown/Unknown.d.ts +3 -1
  465. package/script/oas/unknown/Unknown.d.ts.map +1 -1
  466. package/script/oas/unknown/Unknown.js +4 -0
  467. package/script/parse/v3-0/array/toArray.d.ts.map +1 -1
  468. package/script/parse/v3-0/boolean/toBoolean.d.ts.map +1 -1
  469. package/script/parse/v3-0/components/toComponentsV3.d.ts.map +1 -1
  470. package/script/parse/v3-0/components/toComponentsV3.js +3 -1
  471. package/script/parse/v3-0/integer/toInteger.d.ts.map +1 -1
  472. package/script/parse/v3-0/link/toLinksV3.d.ts +17 -0
  473. package/script/parse/v3-0/link/toLinksV3.d.ts.map +1 -0
  474. package/script/parse/v3-0/link/toLinksV3.js +44 -0
  475. package/script/parse/v3-0/object/toObject.d.ts.map +1 -1
  476. package/script/parse/v3-0/object/toObject.js +3 -1
  477. package/script/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -1
  478. package/script/parse/v3-0/ref/toRefV31.d.ts.map +1 -1
  479. package/script/parse/v3-0/response/toResponseV3.d.ts.map +1 -1
  480. package/script/parse/v3-0/response/toResponseV3.js +4 -1
  481. package/script/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -1
  482. package/script/parse/v3-0/schema/toSchemasV3.js +7 -1
  483. package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
  484. package/script/parse/v3-0/string/toString.d.ts.map +1 -1
  485. package/script/parse/v3-0/union/toUnion.d.ts.map +1 -1
  486. package/script/parse/v3-0/union/toUnion.js +3 -1
  487. package/script/parse/v3-0/unknown/toUnknown.d.ts.map +1 -1
  488. package/script/parse/v3-0/webhook/toWebhooksV3.d.ts.map +1 -1
  489. package/script/parse/v3-1/array/toArray.d.ts.map +1 -1
  490. package/script/parse/v3-1/boolean/toBoolean.d.ts.map +1 -1
  491. package/script/parse/v3-1/components/toComponentsV3.d.ts.map +1 -1
  492. package/script/parse/v3-1/components/toComponentsV3.js +3 -1
  493. package/script/parse/v3-1/integer/toInteger.d.ts.map +1 -1
  494. package/script/parse/v3-1/link/toLinksV3.d.ts +17 -0
  495. package/script/parse/v3-1/link/toLinksV3.d.ts.map +1 -0
  496. package/script/parse/v3-1/link/toLinksV3.js +44 -0
  497. package/script/parse/v3-1/object/toObject.d.ts.map +1 -1
  498. package/script/parse/v3-1/object/toObject.js +3 -1
  499. package/script/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -1
  500. package/script/parse/v3-1/ref/toRefV31.d.ts.map +1 -1
  501. package/script/parse/v3-1/response/toResponseV3.d.ts.map +1 -1
  502. package/script/parse/v3-1/response/toResponseV3.js +4 -1
  503. package/script/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -1
  504. package/script/parse/v3-1/schema/toSchemasV3.js +7 -1
  505. package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
  506. package/script/parse/v3-1/string/toString.d.ts.map +1 -1
  507. package/script/parse/v3-1/union/toUnion.d.ts.map +1 -1
  508. package/script/parse/v3-1/union/toUnion.js +3 -1
  509. package/script/parse/v3-1/unknown/toUnknown.d.ts.map +1 -1
  510. package/script/parse/v3-1/webhook/toWebhooksV3.d.ts.map +1 -1
  511. package/script/run/toArtifacts.d.ts +8 -1
  512. package/script/run/toArtifacts.d.ts.map +1 -1
  513. package/script/run/toArtifacts.js +5 -5
  514. package/script/run/toInspection.d.ts +8 -0
  515. package/script/run/toInspection.d.ts.map +1 -0
  516. package/script/run/toInspection.js +82 -0
  517. package/script/types/Enrichments.d.ts +19 -8
  518. package/script/types/Enrichments.d.ts.map +1 -1
  519. package/script/types/Enrichments.js +5 -4
  520. package/script/types/GeneratorType.d.ts +5 -5
  521. package/script/types/GeneratorType.d.ts.map +1 -1
  522. package/script/types/Manifest.d.ts +9 -2
  523. package/script/types/Manifest.d.ts.map +1 -1
  524. package/script/types/Manifest.js +2 -2
  525. package/script/types/ModuleSelect.d.ts +81 -0
  526. package/script/types/ModuleSelect.d.ts.map +1 -0
  527. package/script/types/ModuleSelect.js +101 -0
  528. package/script/types/Preview.d.ts +4 -27
  529. package/script/types/Preview.d.ts.map +1 -1
  530. package/script/types/Preview.js +5 -26
  531. package/script/types/SchemaPath.d.ts +17 -0
  532. package/script/types/SchemaPath.d.ts.map +1 -0
  533. package/script/types/{AccessorPath.js → SchemaPath.js} +7 -7
  534. package/script/types/Settings.d.ts +45 -3
  535. package/script/types/Settings.d.ts.map +1 -1
  536. package/script/types/Settings.js +13 -17
  537. package/script/types/SkmtcDocument.d.ts +1 -1
  538. package/script/types/SupportedSubjects.d.ts +1 -1
  539. package/esm/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +0 -1
  540. package/esm/deps/jsr.io/@std/internal/1.0.13/_os.js +0 -12
  541. package/esm/types/AccessorPath.d.ts +0 -17
  542. package/esm/types/AccessorPath.d.ts.map +0 -1
  543. package/esm/types/AccessorPath.js +0 -9
  544. package/script/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +0 -1
  545. package/script/types/AccessorPath.d.ts +0 -17
  546. package/script/types/AccessorPath.d.ts.map +0 -1
  547. /package/esm/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.d.ts +0 -0
  548. /package/esm/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.js +0 -0
  549. /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.d.ts +0 -0
  550. /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts +0 -0
  551. /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.js +0 -0
  552. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts +0 -0
  553. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts +0 -0
  554. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts +0 -0
  555. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts +0 -0
  556. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts +0 -0
  557. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts +0 -0
  558. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts +0 -0
  559. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts +0 -0
  560. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts +0 -0
  561. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.d.ts +0 -0
  562. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.d.ts +0 -0
  563. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts +0 -0
  564. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.d.ts +0 -0
  565. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.d.ts +0 -0
  566. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.d.ts +0 -0
  567. /package/script/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.d.ts +0 -0
  568. /package/script/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.js +0 -0
  569. /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.d.ts +0 -0
  570. /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts +0 -0
  571. /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.js +0 -0
  572. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts +0 -0
  573. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts +0 -0
  574. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts +0 -0
  575. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts +0 -0
  576. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts +0 -0
  577. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts +0 -0
  578. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts +0 -0
  579. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts +0 -0
  580. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts +0 -0
  581. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.d.ts +0 -0
  582. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.d.ts +0 -0
  583. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts +0 -0
  584. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.d.ts +0 -0
  585. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.d.ts +0 -0
  586. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.d.ts +0 -0
@@ -129,7 +129,7 @@ export type OasOperationGeneratorKey = Brand<NakedOasOperationGeneratorKey, 'Oas
129
129
  * Branded type for GraphQL operation generator keys.
130
130
  *
131
131
  * Sibling to {@link OasOperationGeneratorKey} for the GraphQL protocol. The key
132
- * encodes the generator ID, the root kind (`query` / `mutation` /
132
+ * encodes the generator ID, the root type (`query` / `mutation` /
133
133
  * `subscription`), and the root field name.
134
134
  */
135
135
  export type GqlOperationGeneratorKey = Brand<NakedGqlOperationGeneratorKey, 'GqlOperationGeneratorKey'>;
@@ -210,15 +210,15 @@ type ToOasOperationGeneratorKeyArgs = {
210
210
  path: string;
211
211
  /** HTTP method */
212
212
  method: Method;
213
- /** Operation variant name (use `'main'` for variants-unaware generators) */
214
- variant: string;
213
+ /** Operation variant name — omitted means `'main'` */
214
+ variant?: string;
215
215
  } | {
216
216
  /** Unique identifier for the generator */
217
217
  generatorId: string;
218
218
  /** OpenAPI operation object containing path and method */
219
219
  operation: OasOperation;
220
- /** Operation variant name (use `'main'` for variants-unaware generators) */
221
- variant: string;
220
+ /** Operation variant name — omitted means `'main'` */
221
+ variant?: string;
222
222
  };
223
223
  /**
224
224
  * Creates an OAS operation generator key from generator ID and operation details.
@@ -271,15 +271,15 @@ type ToWebhookGeneratorKeyArgs = {
271
271
  name: string;
272
272
  /** HTTP method */
273
273
  method: Method;
274
- /** Webhook variant name (use `'main'` for variants-unaware generators) */
275
- variant: string;
274
+ /** Webhook variant name — omitted means `'main'` */
275
+ variant?: string;
276
276
  } | {
277
277
  /** Unique identifier for the generator */
278
278
  generatorId: string;
279
279
  /** OpenAPI webhook object containing name and method */
280
280
  webhook: OasWebhook;
281
- /** Webhook variant name (use `'main'` for variants-unaware generators) */
282
- variant: string;
281
+ /** Webhook variant name — omitted means `'main'` */
282
+ variant?: string;
283
283
  };
284
284
  /**
285
285
  * Creates a webhook generator key from generator ID and webhook details.
@@ -293,25 +293,25 @@ export declare const toWebhookGeneratorKey: ({ generatorId, variant, ...rest }:
293
293
  * Arguments for {@link toGqlOperationGeneratorKey}.
294
294
  *
295
295
  * Can specify operation details directly or provide a {@link GqlOperation}
296
- * object from which the root kind and field name will be extracted. The
296
+ * object from which the root type and field name will be extracted. The
297
297
  * `variant` segment is always required (see {@link Variant}).
298
298
  */
299
299
  type ToGqlOperationGeneratorKeyArgs = {
300
300
  /** Unique identifier for the generator */
301
301
  generatorId: string;
302
- /** GraphQL root kind */
302
+ /** GraphQL root type */
303
303
  rootKind: GqlRootKind;
304
304
  /** Root field name */
305
305
  fieldName: string;
306
- /** Operation variant name (use `'main'` for variants-unaware generators) */
307
- variant: string;
306
+ /** Operation variant name — omitted means `'main'` */
307
+ variant?: string;
308
308
  } | {
309
309
  /** Unique identifier for the generator */
310
310
  generatorId: string;
311
311
  /** GraphQL operation object */
312
312
  operation: GqlOperation;
313
- /** Operation variant name (use `'main'` for variants-unaware generators) */
314
- variant: string;
313
+ /** Operation variant name — omitted means `'main'` */
314
+ variant?: string;
315
315
  };
316
316
  /**
317
317
  * Creates a GraphQL operation generator key.
@@ -331,8 +331,8 @@ type ToModelGeneratorKeyArgs = {
331
331
  generatorId: string;
332
332
  /** Reference name of the schema model */
333
333
  refName: RefName;
334
- /** Model variant name (use `'main'` for variants-unaware generators) */
335
- variant: string;
334
+ /** Model variant name — omitted means `'main'` */
335
+ variant?: string;
336
336
  };
337
337
  /**
338
338
  * Creates a model generator key from generator ID, schema reference name,
@@ -455,7 +455,7 @@ export declare const isWebhookGeneratorKey: (arg: unknown) => arg is WebhookGene
455
455
  *
456
456
  * Validates that the argument is a string with the format
457
457
  * `generatorId|rootKind|fieldName`, with `rootKind` constrained to a
458
- * GraphQL root operation kind (`query` / `mutation` / `subscription`).
458
+ * GraphQL root operation type (`query` / `mutation` / `subscription`).
459
459
  */
460
460
  export declare const isGqlOperationGeneratorKey: (arg: unknown) => arg is GqlOperationGeneratorKey;
461
461
  /**
@@ -572,7 +572,7 @@ export type GeneratorKeyObject = {
572
572
  type: 'gqlOperation';
573
573
  /** Generator identifier */
574
574
  generatorId: string;
575
- /** GraphQL root kind */
575
+ /** GraphQL root type */
576
576
  rootKind: GqlRootKind;
577
577
  /** Root field name */
578
578
  fieldName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"GeneratorKeys.d.ts","sourceRoot":"","sources":["../../src/dsl/GeneratorKeys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,OAAO,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,KAAK,MAAM,EAAY,MAAM,oBAAoB,CAAA;AAO1D;;;;;;;;;GASG;AACH,MAAM,MAAM,6BAA6B,GAAG,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,CAAA;AAErF;;;;;;;;GAQG;AACH,MAAM,MAAM,6BAA6B,GAAG,GAAG,MAAM,IAAI,WAAW,IAAI,MAAM,IAAI,MAAM,EAAE,CAAA;AAE1F;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,sBAAsB,GAAG,GAAG,MAAM,IAAI,MAA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nB,4BAA4B;IAC5B,OAAO,EAAE,MAAM,CAAA;IACf,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAA;CAChB,GACD;IACE,4CAA4C;IAC5C,IAAI,EAAE,gBAAgB,CAAA;IACtB,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAEL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,gBAAgB,GAAI,cAAc,YAAY,KAAG,kBA4B7D,CAAA"}
@@ -68,6 +68,7 @@ exports.fromGeneratorKey = exports.toGeneratorId = exports.isGeneratorOnlyKey =
68
68
  */
69
69
  require("../_dnt.polyfills.js");
70
70
  const Method_js_1 = require("../types/Method.js");
71
+ const Variant_js_1 = require("../types/Variant.js");
71
72
  const GQL_ROOT_KINDS = ['query', 'mutation', 'subscription'];
72
73
  const isGqlRootKind = (value) => GQL_ROOT_KINDS.includes(value);
73
74
  /**
@@ -105,7 +106,7 @@ const isGqlRootKind = (value) => GQL_ROOT_KINDS.includes(value);
105
106
  * // Result: 'rest-client|/posts|post' (branded)
106
107
  * ```
107
108
  */
108
- const toOasOperationGeneratorKey = ({ generatorId, variant, ...rest }) => {
109
+ const toOasOperationGeneratorKey = ({ generatorId, variant = Variant_js_1.DEFAULT_VARIANT, ...rest }) => {
109
110
  const { path, method } = 'operation' in rest ? rest.operation : rest;
110
111
  const nakedKey = `${generatorId}|${path}|${method}|${variant}`;
111
112
  return nakedKey;
@@ -118,7 +119,7 @@ exports.toOasOperationGeneratorKey = toOasOperationGeneratorKey;
118
119
  * Format: `generatorId|webhook|name|method|variant`. The literal `webhook`
119
120
  * segment keeps webhook keys from colliding with operation keys.
120
121
  */
121
- const toWebhookGeneratorKey = ({ generatorId, variant, ...rest }) => {
122
+ const toWebhookGeneratorKey = ({ generatorId, variant = Variant_js_1.DEFAULT_VARIANT, ...rest }) => {
122
123
  const { name, method } = 'webhook' in rest ? rest.webhook : rest;
123
124
  const nakedKey = `${generatorId}|webhook|${name}|${method}|${variant}`;
124
125
  return nakedKey;
@@ -130,7 +131,7 @@ exports.toWebhookGeneratorKey = toWebhookGeneratorKey;
130
131
  * Sibling to {@link toOasOperationGeneratorKey} for the GraphQL protocol. Format:
131
132
  * `generatorId|rootKind|fieldName|variant`.
132
133
  */
133
- const toGqlOperationGeneratorKey = ({ generatorId, variant, ...rest }) => {
134
+ const toGqlOperationGeneratorKey = ({ generatorId, variant = Variant_js_1.DEFAULT_VARIANT, ...rest }) => {
134
135
  const { rootKind, fieldName } = 'operation' in rest
135
136
  ? { rootKind: rest.operation.rootKind, fieldName: rest.operation.fieldName }
136
137
  : rest;
@@ -166,7 +167,7 @@ exports.toGqlOperationGeneratorKey = toGqlOperationGeneratorKey;
166
167
  * // Result: 'zod-schemas|CreateUserRequest|coercive' (branded)
167
168
  * ```
168
169
  */
169
- const toModelGeneratorKey = ({ generatorId, refName, variant }) => {
170
+ const toModelGeneratorKey = ({ generatorId, refName, variant = Variant_js_1.DEFAULT_VARIANT }) => {
170
171
  const nakedKey = `${generatorId}|${refName}|${variant}`;
171
172
  return nakedKey;
172
173
  };
@@ -316,7 +317,7 @@ exports.isWebhookGeneratorKey = isWebhookGeneratorKey;
316
317
  *
317
318
  * Validates that the argument is a string with the format
318
319
  * `generatorId|rootKind|fieldName`, with `rootKind` constrained to a
319
- * GraphQL root operation kind (`query` / `mutation` / `subscription`).
320
+ * GraphQL root operation type (`query` / `mutation` / `subscription`).
320
321
  */
321
322
  const isGqlOperationGeneratorKey = (arg) => {
322
323
  if (typeof arg !== 'string') {
@@ -17,19 +17,19 @@ export type IdentifierBaseArgs = {
17
17
  * `(name, exportPath)` cross-generator cache key, and `DefinitionBase`. The
18
18
  * engine reads ONLY `.name` (the cache-key source); `typeName` and
19
19
  * `exported` are language-neutral facts it threads but never interprets.
20
- * Crucially it carries NO `kind` — the per-language declaration vocabulary
20
+ * Crucially it carries NO `type` — the per-language declaration vocabulary
21
21
  * lives, typed, on the language subclasses.
22
22
  *
23
23
  * It completes the neutral `*Base` family
24
24
  * (`CodeFileBase` / `DefinitionBase` / `ImportBase`): the concrete,
25
- * kind-carrying subclasses (`TsIdentifier`, `KtIdentifier`) live in the
25
+ * type-carrying subclasses (`TsIdentifier`, `KtIdentifier`) live in the
26
26
  * `@skmtc/lang-*` packages and **extend** this base. Construction goes
27
27
  * through a language package's factories (`createVariable` / `createType`
28
28
  * for TypeScript; `createDataClass` / `createEnumClass` / … for Kotlin) or
29
29
  * the engine's assembly seam `lang.toIdentifier({ name, ...identifierType })`.
30
- * The engine holds the result as `IdentifierBase`; the language's `kind` is
31
- * read only by the language renderers, which narrow via an `instanceof`
32
- * guard (`isTsIdentifier` / `isKtIdentifier`).
30
+ * The engine holds the result as `IdentifierBase`; the language's `type` is
31
+ * read only by the language renderers, which narrow back to the concrete
32
+ * subclass via `instanceof` (e.g. `value instanceof TsIdentifier`).
33
33
  */
34
34
  export declare class IdentifierBase {
35
35
  /** The identifier name — the only field the engine reads. */
@@ -51,5 +51,19 @@ export declare class IdentifierBase {
51
51
  * identifier is interpolated into generated code.
52
52
  */
53
53
  toString(): string;
54
+ /**
55
+ * The key under which a file stores and dedups this identifier's
56
+ * definition: two definitions whose identifiers share a `declarationKey`
57
+ * occupy the same declaration slot, so the later one collapses into the
58
+ * first (the cross-generator cache then resolves a name to its
59
+ * first-registered definition).
60
+ *
61
+ * The neutral default is the bare {@link name} — one definition per name,
62
+ * which is what most languages want. A language whose declaration space is
63
+ * richer overrides this: TypeScript folds in the declaration `type` so a
64
+ * `class Foo` and a `declare namespace Foo` — distinct declarations the
65
+ * compiler legitimately merges — get distinct keys instead of colliding.
66
+ */
67
+ declarationKey(): string;
54
68
  }
55
69
  //# sourceMappingURL=IdentifierBase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IdentifierBase.d.ts","sourceRoot":"","sources":["../../src/dsl/IdentifierBase.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,cAAc;IACzB,6DAA6D;IAC7D,IAAI,EAAE,MAAM,CAAA;IAEZ,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;;;OAOG;IACH,QAAQ,EAAE,OAAO,CAAA;gBAEL,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,kBAAkB;IAM5D;;;OAGG;IACH,QAAQ,IAAI,MAAM;CAGnB"}
1
+ {"version":3,"file":"IdentifierBase.d.ts","sourceRoot":"","sources":["../../src/dsl/IdentifierBase.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,cAAc;IACzB,6DAA6D;IAC7D,IAAI,EAAE,MAAM,CAAA;IAEZ,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;;;OAOG;IACH,QAAQ,EAAE,OAAO,CAAA;gBAEL,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,kBAAkB;IAM5D;;;OAGG;IACH,QAAQ,IAAI,MAAM;IAIlB;;;;;;;;;;;;OAYG;IACH,cAAc,IAAI,MAAM;CAGzB"}
@@ -9,19 +9,19 @@ exports.IdentifierBase = void 0;
9
9
  * `(name, exportPath)` cross-generator cache key, and `DefinitionBase`. The
10
10
  * engine reads ONLY `.name` (the cache-key source); `typeName` and
11
11
  * `exported` are language-neutral facts it threads but never interprets.
12
- * Crucially it carries NO `kind` — the per-language declaration vocabulary
12
+ * Crucially it carries NO `type` — the per-language declaration vocabulary
13
13
  * lives, typed, on the language subclasses.
14
14
  *
15
15
  * It completes the neutral `*Base` family
16
16
  * (`CodeFileBase` / `DefinitionBase` / `ImportBase`): the concrete,
17
- * kind-carrying subclasses (`TsIdentifier`, `KtIdentifier`) live in the
17
+ * type-carrying subclasses (`TsIdentifier`, `KtIdentifier`) live in the
18
18
  * `@skmtc/lang-*` packages and **extend** this base. Construction goes
19
19
  * through a language package's factories (`createVariable` / `createType`
20
20
  * for TypeScript; `createDataClass` / `createEnumClass` / … for Kotlin) or
21
21
  * the engine's assembly seam `lang.toIdentifier({ name, ...identifierType })`.
22
- * The engine holds the result as `IdentifierBase`; the language's `kind` is
23
- * read only by the language renderers, which narrow via an `instanceof`
24
- * guard (`isTsIdentifier` / `isKtIdentifier`).
22
+ * The engine holds the result as `IdentifierBase`; the language's `type` is
23
+ * read only by the language renderers, which narrow back to the concrete
24
+ * subclass via `instanceof` (e.g. `value instanceof TsIdentifier`).
25
25
  */
26
26
  class IdentifierBase {
27
27
  constructor({ name, typeName, exported }) {
@@ -64,5 +64,21 @@ class IdentifierBase {
64
64
  toString() {
65
65
  return this.name;
66
66
  }
67
+ /**
68
+ * The key under which a file stores and dedups this identifier's
69
+ * definition: two definitions whose identifiers share a `declarationKey`
70
+ * occupy the same declaration slot, so the later one collapses into the
71
+ * first (the cross-generator cache then resolves a name to its
72
+ * first-registered definition).
73
+ *
74
+ * The neutral default is the bare {@link name} — one definition per name,
75
+ * which is what most languages want. A language whose declaration space is
76
+ * richer overrides this: TypeScript folds in the declaration `type` so a
77
+ * `class Foo` and a `declare namespace Foo` — distinct declarations the
78
+ * compiler legitimately merges — get distinct keys instead of colliding.
79
+ */
80
+ declarationKey() {
81
+ return this.name;
82
+ }
67
83
  }
68
84
  exports.IdentifierBase = IdentifierBase;
@@ -1,28 +1,22 @@
1
- import type { Lang, LangKind } from './Lang.js';
2
1
  /**
3
2
  * The non-`name` parts of an identifier — everything a projection's
4
3
  * `toIdentifierType` derives from the schema (context-aware), bundled so
5
4
  * the engine can assemble the full identifier with
6
5
  * `lang.toIdentifier({ name, ...identifierType })`.
7
6
  *
8
- * Generic over the projection's {@link Lang}: the `kind` is drawn from that
9
- * language's declaration vocabulary, recovered via {@link LangKind} from the
10
- * typed `kind` on the {@link import('@/dsl/IdentifierBase.ts').IdentifierBase}
11
- * subclass the lang produces (`KtEntityKind` for `KtLang`, `TsEntityKind` for
12
- * the TypeScript `Lang`, …). A bare `Lang` falls back to the loose
13
- * `kind: string` — the opaque-kind boundary the engine never interprets.
14
- *
15
- * This is what lets a language's projection-base veneer parameterize core's
16
- * config (`ModelProjectionBaseConfig<E, KtLang>`) instead of recasting
17
- * `toIdentifierType`'s return: the tightening rides the `L` type argument.
7
+ * The `type` is the opaque-boundary `string` — the engine never interprets
8
+ * it. Each language's declaration-type vocabulary is a fixed fact of its lang
9
+ * package; a lang veneer tightens `toIdentifierType`'s return to its own
10
+ * `XxIdentifierType` (`type` narrowed to `XxEntityType`), which is assignable
11
+ * back to this shape. Core never models or recovers that vocabulary.
18
12
  *
19
13
  * Pairs with `toIdentifierName(args) -> string` (the pure, cache-key
20
14
  * source): the engine assembles
21
15
  * `lang.toIdentifier({ name: P.toIdentifierName(args), ...P.toIdentifierType(coordinate, context) })`.
22
16
  */
23
- export type IdentifierType<L extends Lang = Lang> = {
24
- /** Per-language declaration kind — `LangKind<L>`, opaque to the engine. */
25
- kind: LangKind<L>;
17
+ export type IdentifierType = {
18
+ /** Per-language declaration type — the opaque-boundary `string`. */
19
+ type: string;
26
20
  /** Optional type annotation, opaque to the engine (lang-interpreted). */
27
21
  typeName?: string;
28
22
  /** Whether the identifier is exported. Defaults to `true`. */
@@ -1 +1 @@
1
- {"version":3,"file":"IdentifierType.d.ts","sourceRoot":"","sources":["../../src/dsl/IdentifierType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAE/C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,IAAI,GAAG,IAAI,IAAI;IAClD,2EAA2E;IAC3E,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;IACjB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA"}
1
+ {"version":3,"file":"IdentifierType.d.ts","sourceRoot":"","sources":["../../src/dsl/IdentifierType.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,oEAAoE;IACpE,IAAI,EAAE,MAAM,CAAA;IACZ,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA"}
@@ -10,13 +10,9 @@ import type { SnippetBase, SnippetBaseArgs } from './SnippetBase.js';
10
10
  * Arguments for {@link Lang.toDefinition} — everything the language needs
11
11
  * to wrap a generated `value` in its own `Definition` subclass.
12
12
  *
13
- * `identifier` stays the neutral {@link IdentifierBase}: the engine holds
14
- * identifiers as the base and passes that to the factory (which narrows via
15
- * its own `instanceof` guard). Keeping it neutral is also what lets a typed
16
- * `Lang` (e.g. `KtLang`) satisfy the bare `Lang` constraint — `identifier`
17
- * is a contravariant parameter, so a narrower type here would break the
18
- * subtype relation. The typed identifier surfaces only on `toIdentifier`'s
19
- * RETURN (a covariant position).
13
+ * `identifier` is the neutral {@link IdentifierBase}: the engine holds
14
+ * identifiers as the base and passes that to the factory, which narrows to
15
+ * its own concrete subclass via `instanceof`.
20
16
  */
21
17
  export type LangToDefinitionArgs<V extends GeneratedValue = GeneratedValue> = {
22
18
  context: GenerateContextType;
@@ -40,12 +36,12 @@ export type LangToImportArgs = {
40
36
  * seam. `name` comes from the projection's pure `toIdentifierName`; the
41
37
  * remaining fields come from the context-aware `toIdentifierType`
42
38
  * (spread in). The language builds its concrete `IdentifierBase` subclass
43
- * (`TsIdentifier` / `KtIdentifier`), reading the opaque `kind` into its
44
- * typed `EntityKind` slot.
39
+ * (`TsIdentifier` / `KtIdentifier`), reading the opaque `type` into its
40
+ * typed `EntityType` slot.
45
41
  */
46
42
  export type LangToIdentifierArgs = {
47
43
  name: string;
48
- kind: string;
44
+ type: string;
49
45
  typeName?: string;
50
46
  exported?: boolean;
51
47
  };
@@ -72,7 +68,7 @@ export type LangToIdentifierArgs = {
72
68
  * vocabulary is intra-lang-package (each language's register function
73
69
  * converts its own form), so the neutral interface never names one.
74
70
  */
75
- export type Lang<IdentifierT extends IdentifierBase = IdentifierBase> = {
71
+ export type Lang = {
76
72
  /** Construct the language's file for `path`. */
77
73
  createFile: (args: {
78
74
  path: string;
@@ -84,28 +80,14 @@ export type Lang<IdentifierT extends IdentifierBase = IdentifierBase> = {
84
80
  toImport: (args: LangToImportArgs) => ImportBase;
85
81
  /**
86
82
  * Assemble this language's `IdentifierBase` subclass from name +
87
- * kind/type/exported. `kind` arrives as the opaque-boundary `string` (the
88
- * engine never narrows it); the language reads it into its typed
89
- * `EntityKind` slot. The returned `IdentifierT` is the language's concrete
90
- * subclass — its typed `kind` is the ONLY place `IdentifierT` appears (a
91
- * covariant return position), which is what lets {@link IdentifierType}
92
- * recover the vocabulary to tighten the projection config while a typed
93
- * `Lang` still satisfies the bare `Lang` constraint.
83
+ * type/typeName/exported. `type` arrives as the opaque-boundary `string` — the
84
+ * engine never narrows it; the language reads it into its own typed
85
+ * `EntityType` slot. The engine holds the result as the neutral
86
+ * `IdentifierBase`; the declaration-type vocabulary is a fixed fact of each
87
+ * language package, never modelled or recovered here.
94
88
  */
95
- toIdentifier: (args: LangToIdentifierArgs) => IdentifierT;
89
+ toIdentifier: (args: LangToIdentifierArgs) => IdentifierBase;
96
90
  };
97
- /**
98
- * The language's declaration-kind vocabulary, recovered from the typed
99
- * `kind` on the {@link IdentifierBase} subclass a `Lang` produces.
100
- *
101
- * `KtIdentifier` carries `kind: KtEntityKind`, `TsIdentifier` carries
102
- * `kind: TsEntityKind`, … The neutral `IdentifierBase` has no `kind`, so a
103
- * bare `Lang` falls back to the loose `string` — the opaque-kind boundary
104
- * the engine speaks.
105
- */
106
- export type LangKind<L extends Lang> = ReturnType<L['toIdentifier']> extends {
107
- kind: infer Kind extends string;
108
- } ? Kind : string;
109
91
  /**
110
92
  * The constructor contract a language's snippet base class must satisfy to
111
93
  * be used as the `base` of a projection-base factory
@@ -124,13 +106,11 @@ export type LangKind<L extends Lang> = ReturnType<L['toIdentifier']> extends {
124
106
  * generic over the base's *instance* type cannot type-safely extend it
125
107
  * (TS2415/TS2545 — see the scratch in `notes/lang/14`), and the price would
126
108
  * be that language-specific instance members are type-erased on projection
127
- * classes. Only the STATIC `lang` is parameterized — over the neutral `Lang`
128
- * by default, narrowed to a language's typed `Lang` (e.g. `KtLang`) when a
129
- * veneer threads `L` through. Narrowing a covariant static intersection does
130
- * not reawaken TS2415; the `extends config.base` in the factories stays well
131
- * typed because the instance side is unchanged.
109
+ * classes. The static `lang` is the neutral {@link Lang} — the engine reads
110
+ * it language-blind; each lang package's concrete declaration-type vocabulary
111
+ * is a fixed fact of that package, never recovered through this type.
132
112
  */
133
- export type LangSnippetConstructor<L extends Lang = Lang> = (new (args: SnippetBaseArgs) => SnippetBase) & {
134
- lang: L;
113
+ export type LangSnippetConstructor = (new (args: SnippetBaseArgs) => SnippetBase) & {
114
+ lang: Lang;
135
115
  };
136
116
  //# sourceMappingURL=Lang.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Lang.d.ts","sourceRoot":"","sources":["../../src/dsl/Lang.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAA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AAM,MAAM,sBAAsB,GAAG,CAAC,KAAK,IAAI,EAAE,eAAe,KAAK,WAAW,CAAC,GAAG;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAA"}
@@ -0,0 +1,55 @@
1
+ import { FileBase } from './FileBase.js';
2
+ import type { Stringable } from './Stringable.js';
3
+ /**
4
+ * Constructor arguments for {@link MarkdownFile}.
5
+ */
6
+ type MarkdownFileArgs = {
7
+ /** The file path for the generated Markdown file */
8
+ path: string;
9
+ /** The Markdown content to write to the file */
10
+ content: Stringable;
11
+ };
12
+ /**
13
+ * Represents a Markdown file in the SKMTC DSL system.
14
+ *
15
+ * The Markdown counterpart of {@link import('@/dsl/JsonFile.ts').JsonFile}: a
16
+ * degenerate, non-code file that extends {@link FileBase} directly — it holds
17
+ * no definitions, imports or re-exports, because Markdown has no grammar to
18
+ * coordinate. Its `content` is any {@link Stringable} (a string or a composed
19
+ * snippet tree) and `toString()` renders it verbatim. Written through
20
+ * `GenerateContext.registerMarkdown`.
21
+ *
22
+ * @example
23
+ * ```typescript
24
+ * import { MarkdownFile } from '@skmtc/core';
25
+ *
26
+ * const doc = new MarkdownFile({
27
+ * path: '@/docs/GetPet.generated.md',
28
+ * content: '# Get pet'
29
+ * });
30
+ *
31
+ * console.log(doc.toString()); // '# Get pet'
32
+ * ```
33
+ */
34
+ export declare class MarkdownFile extends FileBase {
35
+ /** The file type, always 'markdown' for Markdown files */
36
+ fileType: 'markdown';
37
+ /** The Markdown content to write to the file */
38
+ content: Stringable;
39
+ /**
40
+ * Creates a new MarkdownFile instance.
41
+ *
42
+ * @param args - Markdown file configuration
43
+ * @param args.path - The output path for this Markdown file
44
+ * @param args.content - The Markdown content to write
45
+ */
46
+ constructor({ path, content }: MarkdownFileArgs);
47
+ /**
48
+ * Renders the Markdown content to a string.
49
+ *
50
+ * @returns The Markdown content as a string
51
+ */
52
+ toString(): string;
53
+ }
54
+ export {};
55
+ //# sourceMappingURL=MarkdownFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkdownFile.d.ts","sourceRoot":"","sources":["../../src/dsl/MarkdownFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD;;GAEG;AACH,KAAK,gBAAgB,GAAG;IACtB,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAA;IACZ,gDAAgD;IAChD,OAAO,EAAE,UAAU,CAAA;CACpB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,YAAa,SAAQ,QAAQ;IACxC,0DAA0D;IAC1D,QAAQ,EAAE,UAAU,CAAa;IAEjC,gDAAgD;IAChD,OAAO,EAAE,UAAU,CAAA;IAEnB;;;;;;OAMG;gBACS,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,gBAAgB;IAK/C;;;;OAIG;IACM,QAAQ,IAAI,MAAM;CAG5B"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MarkdownFile = void 0;
4
+ const FileBase_js_1 = require("./FileBase.js");
5
+ /**
6
+ * Represents a Markdown file in the SKMTC DSL system.
7
+ *
8
+ * The Markdown counterpart of {@link import('@/dsl/JsonFile.ts').JsonFile}: a
9
+ * degenerate, non-code file that extends {@link FileBase} directly — it holds
10
+ * no definitions, imports or re-exports, because Markdown has no grammar to
11
+ * coordinate. Its `content` is any {@link Stringable} (a string or a composed
12
+ * snippet tree) and `toString()` renders it verbatim. Written through
13
+ * `GenerateContext.registerMarkdown`.
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ * import { MarkdownFile } from '@skmtc/core';
18
+ *
19
+ * const doc = new MarkdownFile({
20
+ * path: '@/docs/GetPet.generated.md',
21
+ * content: '# Get pet'
22
+ * });
23
+ *
24
+ * console.log(doc.toString()); // '# Get pet'
25
+ * ```
26
+ */
27
+ class MarkdownFile extends FileBase_js_1.FileBase {
28
+ /**
29
+ * Creates a new MarkdownFile instance.
30
+ *
31
+ * @param args - Markdown file configuration
32
+ * @param args.path - The output path for this Markdown file
33
+ * @param args.content - The Markdown content to write
34
+ */
35
+ constructor({ path, content }) {
36
+ super({ path });
37
+ /** The file type, always 'markdown' for Markdown files */
38
+ Object.defineProperty(this, "fileType", {
39
+ enumerable: true,
40
+ configurable: true,
41
+ writable: true,
42
+ value: 'markdown'
43
+ });
44
+ /** The Markdown content to write to the file */
45
+ Object.defineProperty(this, "content", {
46
+ enumerable: true,
47
+ configurable: true,
48
+ writable: true,
49
+ value: void 0
50
+ });
51
+ this.content = content;
52
+ }
53
+ /**
54
+ * Renders the Markdown content to a string.
55
+ *
56
+ * @returns The Markdown content as a string
57
+ */
58
+ toString() {
59
+ return this.content.toString();
60
+ }
61
+ }
62
+ exports.MarkdownFile = MarkdownFile;
@@ -16,8 +16,10 @@ type CreateModelArgs<V extends GeneratedValue, EnrichmentType> = {
16
16
  * peer's enrichment for this variant, asserts the variant exists
17
17
  * (or is the default `'main'` which is always permitted), and
18
18
  * threads it into the projection's `ContentSettings`.
19
+ * Optional — omitting it means `'main'`, so variants-unaware
20
+ * callers keep working unchanged.
19
21
  */
20
- variant: string;
22
+ variant?: string;
21
23
  };
22
24
  /**
23
25
  * Driver for the model insertion lifecycle.
@@ -1 +1 @@
1
- {"version":3,"file":"ModelDriver.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/ModelDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAI5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAA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cAAc,CAAC;IA0BrC,OAAO,CAAC,KAAK;IAoBb;;;;;OAKG;IACH,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,aAAa;IAkCrB,OAAO,CAAC,gBAAgB;CAsBzB"}
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ModelDriver = void 0;
7
- const normalize_js_1 = require("../../deps/jsr.io/@std/path/1.1.4/normalize.js");
7
+ const normalize_js_1 = require("../../deps/jsr.io/@std/path/1.1.6/normalize.js");
8
8
  const GeneratorKeys_js_1 = require("../GeneratorKeys.js");
9
9
  const Variant_js_1 = require("../../types/Variant.js");
10
10
  const get_js_1 = __importDefault(require("lodash-es/get.js"));
@@ -18,7 +18,7 @@ const get_js_1 = __importDefault(require("lodash-es/get.js"));
18
18
  * from the projection's `exportPath`.
19
19
  */
20
20
  class ModelDriver {
21
- constructor({ context, projection, refName, destinationPath, rootRef, noExport, variant }) {
21
+ constructor({ context, projection, refName, destinationPath, rootRef, noExport, variant = Variant_js_1.DEFAULT_VARIANT }) {
22
22
  Object.defineProperty(this, "context", {
23
23
  enumerable: true,
24
24
  configurable: true,
@@ -87,7 +87,7 @@ class ModelDriver {
87
87
  refName,
88
88
  variant
89
89
  });
90
- assertPeerSupported({ context, projection, refName });
90
+ assertPeerSupported({ context, projection, refName, variant });
91
91
  this.settings = this.context.toModelContentSettings({ refName, projection, variant });
92
92
  this.definition = this.apply({ destinationPath });
93
93
  this.context.modelDepth[`${projection.id}:${refName}`] = 0;
@@ -217,11 +217,9 @@ const assertPeerVariantExists = ({ context, generatorId, refName, variant }) =>
217
217
  * model: `toModelProjectionBase` defaults it to `() => true`, and a
218
218
  * hand-rolled projection may omit it.
219
219
  */
220
- const assertPeerSupported = ({ context, projection, refName }) => {
221
- if (typeof projection.isSupported !== 'function') {
222
- return;
223
- }
224
- if (!projection.isSupported({ refName, context })) {
220
+ const assertPeerSupported = ({ context, projection, refName, variant }) => {
221
+ const isSupported = projection.isSupported ?? (() => true);
222
+ if (!isSupported({ refName, context, variant })) {
225
223
  throw new Error(`[${projection.id}] Cannot insert '${refName}' — peer generator ` +
226
224
  `does not support this model (isSupported returned false).`);
227
225
  }