@skmtc/core 0.18.1 → 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 (482) 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 +25 -4
  11. package/esm/context/GenerateContext.d.ts.map +1 -1
  12. package/esm/context/GenerateContext.js +135 -70
  13. package/esm/context/ParseIssue.d.ts +1 -1
  14. package/esm/context/RenderContext.d.ts +2 -6
  15. package/esm/context/RenderContext.d.ts.map +1 -1
  16. package/esm/context/RenderContext.js +4 -14
  17. package/esm/context/generateTypes.d.ts +35 -8
  18. package/esm/context/generateTypes.d.ts.map +1 -1
  19. 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
  20. package/esm/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@std/internal/1.0.14/_os.js +14 -0
  22. package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts.map +1 -1
  23. package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  24. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts.map +1 -1
  25. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.js +1 -1
  26. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts.map +1 -1
  27. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.js +1 -1
  28. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts.map +1 -1
  29. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.js +1 -1
  30. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts.map +1 -1
  31. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.js +1 -1
  32. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts.map +1 -1
  33. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.js +1 -1
  34. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts.map +1 -1
  35. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.js +2 -2
  36. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts.map +1 -1
  37. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.js +2 -2
  38. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts.map +1 -1
  39. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.js +1 -1
  40. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts.map +1 -1
  41. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.js +1 -1
  42. 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
  43. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.js +1 -1
  44. 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
  45. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.js +1 -1
  46. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts.map +1 -1
  47. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.js +1 -1
  48. 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
  49. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.js +1 -1
  50. 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
  51. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.js +1 -1
  52. 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
  53. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.js +1 -1
  54. package/esm/dsl/CodeFileBase.d.ts +57 -24
  55. package/esm/dsl/CodeFileBase.d.ts.map +1 -1
  56. package/esm/dsl/CodeFileBase.js +35 -53
  57. package/esm/dsl/FileBase.d.ts +21 -25
  58. package/esm/dsl/FileBase.d.ts.map +1 -1
  59. package/esm/dsl/FileBase.js +20 -29
  60. package/esm/dsl/GeneratorKeys.d.ts +19 -19
  61. package/esm/dsl/GeneratorKeys.d.ts.map +1 -1
  62. package/esm/dsl/GeneratorKeys.js +6 -5
  63. package/esm/dsl/IdentifierBase.d.ts +19 -5
  64. package/esm/dsl/IdentifierBase.d.ts.map +1 -1
  65. package/esm/dsl/IdentifierBase.js +21 -5
  66. package/esm/dsl/IdentifierType.d.ts +8 -14
  67. package/esm/dsl/IdentifierType.d.ts.map +1 -1
  68. package/esm/dsl/Lang.d.ts +18 -38
  69. package/esm/dsl/Lang.d.ts.map +1 -1
  70. package/esm/dsl/MarkdownFile.d.ts +55 -0
  71. package/esm/dsl/MarkdownFile.d.ts.map +1 -0
  72. package/esm/dsl/MarkdownFile.js +58 -0
  73. package/esm/dsl/model/ModelDriver.d.ts +3 -1
  74. package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
  75. package/esm/dsl/model/ModelDriver.js +6 -8
  76. package/esm/dsl/model/toModelEntry.d.ts +21 -17
  77. package/esm/dsl/model/toModelEntry.d.ts.map +1 -1
  78. package/esm/dsl/model/toModelEntry.js +3 -27
  79. package/esm/dsl/model/toModelProjectionBase.d.ts +15 -15
  80. package/esm/dsl/model/toModelProjectionBase.d.ts.map +1 -1
  81. package/esm/dsl/model/types.d.ts +2 -52
  82. package/esm/dsl/model/types.d.ts.map +1 -1
  83. package/esm/dsl/operation/gql/GqlOperationDriver.d.ts +3 -1
  84. package/esm/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -1
  85. package/esm/dsl/operation/gql/GqlOperationDriver.js +12 -9
  86. package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts +20 -15
  87. package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -1
  88. package/esm/dsl/operation/gql/toGqlOperationEntry.js +3 -25
  89. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +11 -10
  90. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -1
  91. package/esm/dsl/operation/gql/types.d.ts +1 -33
  92. package/esm/dsl/operation/gql/types.d.ts.map +1 -1
  93. package/esm/dsl/operation/oas/OasOperationDriver.d.ts +3 -1
  94. package/esm/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -1
  95. package/esm/dsl/operation/oas/OasOperationDriver.js +12 -9
  96. package/esm/dsl/operation/oas/toOasOperationEntry.d.ts +21 -17
  97. package/esm/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -1
  98. package/esm/dsl/operation/oas/toOasOperationEntry.js +3 -32
  99. package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts +11 -10
  100. package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -1
  101. package/esm/dsl/operation/oas/types.d.ts +1 -43
  102. package/esm/dsl/operation/oas/types.d.ts.map +1 -1
  103. package/esm/dsl/webhook/WebhookDriver.d.ts +3 -1
  104. package/esm/dsl/webhook/WebhookDriver.d.ts.map +1 -1
  105. package/esm/dsl/webhook/WebhookDriver.js +12 -9
  106. package/esm/dsl/webhook/toWebhookEntry.d.ts +21 -16
  107. package/esm/dsl/webhook/toWebhookEntry.d.ts.map +1 -1
  108. package/esm/dsl/webhook/toWebhookEntry.js +3 -32
  109. package/esm/dsl/webhook/toWebhookProjectionBase.d.ts +11 -10
  110. package/esm/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -1
  111. package/esm/dsl/webhook/types.d.ts +1 -36
  112. package/esm/dsl/webhook/types.d.ts.map +1 -1
  113. package/esm/enrichments/toEnrichmentDescriptor.d.ts +72 -27
  114. package/esm/enrichments/toEnrichmentDescriptor.d.ts.map +1 -1
  115. package/esm/enrichments/toEnrichmentDescriptor.js +57 -31
  116. package/esm/enrichments/validateConfig.d.ts +1 -1
  117. package/esm/enrichments/validateConfig.js +2 -2
  118. package/esm/helpers/isImported.js +1 -1
  119. package/esm/helpers/toResolvedArtifactPath.js +1 -1
  120. package/esm/mod.d.ts +7 -1
  121. package/esm/mod.d.ts.map +1 -1
  122. package/esm/mod.js +7 -1
  123. package/esm/oas/array/Array.d.ts +2 -0
  124. package/esm/oas/array/Array.d.ts.map +1 -1
  125. package/esm/oas/array/Array.js +4 -0
  126. package/esm/oas/boolean/Boolean.d.ts +3 -1
  127. package/esm/oas/boolean/Boolean.d.ts.map +1 -1
  128. package/esm/oas/boolean/Boolean.js +4 -0
  129. package/esm/oas/components/Components.d.ts +5 -0
  130. package/esm/oas/components/Components.d.ts.map +1 -1
  131. package/esm/oas/components/Components.js +6 -1
  132. package/esm/oas/integer/Integer.d.ts +3 -1
  133. package/esm/oas/integer/Integer.d.ts.map +1 -1
  134. package/esm/oas/integer/Integer.js +4 -0
  135. package/esm/oas/link/Link.d.ts +68 -0
  136. package/esm/oas/link/Link.d.ts.map +1 -0
  137. package/esm/oas/link/Link.js +107 -0
  138. package/esm/oas/number/Number.d.ts +3 -1
  139. package/esm/oas/number/Number.d.ts.map +1 -1
  140. package/esm/oas/number/Number.js +4 -0
  141. package/esm/oas/object/Object.d.ts +9 -0
  142. package/esm/oas/object/Object.d.ts.map +1 -1
  143. package/esm/oas/object/Object.js +14 -0
  144. package/esm/oas/operation/Operation.d.ts +15 -0
  145. package/esm/oas/operation/Operation.d.ts.map +1 -1
  146. package/esm/oas/operation/Operation.js +33 -0
  147. package/esm/oas/ref/Ref.d.ts +23 -1
  148. package/esm/oas/ref/Ref.d.ts.map +1 -1
  149. package/esm/oas/ref/Ref.js +32 -0
  150. package/esm/oas/ref/ref-types.d.ts +18 -1
  151. package/esm/oas/ref/ref-types.d.ts.map +1 -1
  152. package/esm/oas/ref/ref-types.js +12 -1
  153. package/esm/oas/response/Response.d.ts +4 -0
  154. package/esm/oas/response/Response.d.ts.map +1 -1
  155. package/esm/oas/response/Response.js +7 -0
  156. package/esm/oas/schemaPath/traverseSchema.d.ts +31 -0
  157. package/esm/oas/schemaPath/traverseSchema.d.ts.map +1 -0
  158. package/esm/oas/schemaPath/traverseSchema.js +113 -0
  159. package/esm/oas/string/String.d.ts +3 -1
  160. package/esm/oas/string/String.d.ts.map +1 -1
  161. package/esm/oas/string/String.js +4 -0
  162. package/esm/oas/union/Union.d.ts +9 -0
  163. package/esm/oas/union/Union.d.ts.map +1 -1
  164. package/esm/oas/union/Union.js +14 -0
  165. package/esm/oas/unknown/Unknown.d.ts +3 -1
  166. package/esm/oas/unknown/Unknown.d.ts.map +1 -1
  167. package/esm/oas/unknown/Unknown.js +4 -0
  168. package/esm/parse/v3-0/components/toComponentsV3.d.ts.map +1 -1
  169. package/esm/parse/v3-0/components/toComponentsV3.js +3 -1
  170. package/esm/parse/v3-0/link/toLinksV3.d.ts +17 -0
  171. package/esm/parse/v3-0/link/toLinksV3.d.ts.map +1 -0
  172. package/esm/parse/v3-0/link/toLinksV3.js +40 -0
  173. package/esm/parse/v3-0/object/toObject.d.ts.map +1 -1
  174. package/esm/parse/v3-0/object/toObject.js +3 -1
  175. package/esm/parse/v3-0/response/toResponseV3.d.ts.map +1 -1
  176. package/esm/parse/v3-0/response/toResponseV3.js +4 -1
  177. package/esm/parse/v3-0/union/toUnion.d.ts.map +1 -1
  178. package/esm/parse/v3-0/union/toUnion.js +3 -1
  179. package/esm/parse/v3-1/components/toComponentsV3.d.ts.map +1 -1
  180. package/esm/parse/v3-1/components/toComponentsV3.js +3 -1
  181. package/esm/parse/v3-1/link/toLinksV3.d.ts +17 -0
  182. package/esm/parse/v3-1/link/toLinksV3.d.ts.map +1 -0
  183. package/esm/parse/v3-1/link/toLinksV3.js +40 -0
  184. package/esm/parse/v3-1/object/toObject.d.ts.map +1 -1
  185. package/esm/parse/v3-1/object/toObject.js +3 -1
  186. package/esm/parse/v3-1/response/toResponseV3.d.ts.map +1 -1
  187. package/esm/parse/v3-1/response/toResponseV3.js +4 -1
  188. package/esm/parse/v3-1/union/toUnion.d.ts.map +1 -1
  189. package/esm/parse/v3-1/union/toUnion.js +3 -1
  190. package/esm/run/toArtifacts.d.ts +8 -1
  191. package/esm/run/toArtifacts.d.ts.map +1 -1
  192. package/esm/run/toArtifacts.js +5 -5
  193. package/esm/run/toInspection.d.ts +8 -0
  194. package/esm/run/toInspection.d.ts.map +1 -0
  195. package/esm/run/toInspection.js +78 -0
  196. package/esm/types/Enrichments.d.ts +19 -8
  197. package/esm/types/Enrichments.d.ts.map +1 -1
  198. package/esm/types/Enrichments.js +4 -3
  199. package/esm/types/GeneratorType.d.ts +5 -5
  200. package/esm/types/GeneratorType.d.ts.map +1 -1
  201. package/esm/types/Manifest.d.ts +1 -2
  202. package/esm/types/Manifest.d.ts.map +1 -1
  203. package/esm/types/Manifest.js +1 -2
  204. package/esm/types/ModuleSelect.d.ts +81 -0
  205. package/esm/types/ModuleSelect.d.ts.map +1 -0
  206. package/esm/types/ModuleSelect.js +63 -0
  207. package/esm/types/Preview.d.ts +4 -27
  208. package/esm/types/Preview.d.ts.map +1 -1
  209. package/esm/types/Preview.js +4 -25
  210. package/esm/types/SchemaPath.d.ts +17 -0
  211. package/esm/types/SchemaPath.d.ts.map +1 -0
  212. package/esm/types/SchemaPath.js +9 -0
  213. package/esm/types/Settings.d.ts +8 -0
  214. package/esm/types/Settings.d.ts.map +1 -1
  215. package/esm/types/Settings.js +1 -0
  216. package/esm/types/SkmtcDocument.d.ts +1 -1
  217. package/esm/types/SupportedSubjects.d.ts +1 -1
  218. package/package.json +1 -1
  219. package/script/anchors/buildSidecar.js +1 -1
  220. package/script/anchors/postPass.d.ts +1 -1
  221. package/script/anchors/postPass.js +1 -1
  222. package/script/anchors/sidecar.d.ts +2 -2
  223. package/script/anchors/sidecar.js +1 -1
  224. package/script/context/CoreContext.d.ts +7 -1
  225. package/script/context/CoreContext.d.ts.map +1 -1
  226. package/script/context/CoreContext.js +17 -11
  227. package/script/context/GenerateContext.d.ts +25 -4
  228. package/script/context/GenerateContext.d.ts.map +1 -1
  229. package/script/context/GenerateContext.js +135 -70
  230. package/script/context/ParseIssue.d.ts +1 -1
  231. package/script/context/RenderContext.d.ts +2 -6
  232. package/script/context/RenderContext.d.ts.map +1 -1
  233. package/script/context/RenderContext.js +4 -14
  234. package/script/context/generateTypes.d.ts +35 -8
  235. package/script/context/generateTypes.d.ts.map +1 -1
  236. 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
  237. package/script/deps/jsr.io/@std/internal/1.0.14/_os.d.ts.map +1 -0
  238. package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.js +7 -5
  239. package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts.map +1 -1
  240. package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  241. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts.map +1 -1
  242. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.js +1 -1
  243. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts.map +1 -1
  244. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.js +1 -1
  245. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts.map +1 -1
  246. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.js +1 -1
  247. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts.map +1 -1
  248. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.js +1 -1
  249. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts.map +1 -1
  250. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.js +1 -1
  251. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts.map +1 -1
  252. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.js +2 -2
  253. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts.map +1 -1
  254. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.js +2 -2
  255. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts.map +1 -1
  256. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.js +1 -1
  257. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts.map +1 -1
  258. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.js +1 -1
  259. 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
  260. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.js +1 -1
  261. 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
  262. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.js +1 -1
  263. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts.map +1 -1
  264. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.js +1 -1
  265. 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
  266. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.js +1 -1
  267. 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
  268. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.js +1 -1
  269. 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
  270. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.js +1 -1
  271. package/script/dsl/CodeFileBase.d.ts +57 -24
  272. package/script/dsl/CodeFileBase.d.ts.map +1 -1
  273. package/script/dsl/CodeFileBase.js +37 -54
  274. package/script/dsl/FileBase.d.ts +21 -25
  275. package/script/dsl/FileBase.d.ts.map +1 -1
  276. package/script/dsl/FileBase.js +20 -29
  277. package/script/dsl/GeneratorKeys.d.ts +19 -19
  278. package/script/dsl/GeneratorKeys.d.ts.map +1 -1
  279. package/script/dsl/GeneratorKeys.js +6 -5
  280. package/script/dsl/IdentifierBase.d.ts +19 -5
  281. package/script/dsl/IdentifierBase.d.ts.map +1 -1
  282. package/script/dsl/IdentifierBase.js +21 -5
  283. package/script/dsl/IdentifierType.d.ts +8 -14
  284. package/script/dsl/IdentifierType.d.ts.map +1 -1
  285. package/script/dsl/Lang.d.ts +18 -38
  286. package/script/dsl/Lang.d.ts.map +1 -1
  287. package/script/dsl/MarkdownFile.d.ts +55 -0
  288. package/script/dsl/MarkdownFile.d.ts.map +1 -0
  289. package/script/dsl/MarkdownFile.js +62 -0
  290. package/script/dsl/model/ModelDriver.d.ts +3 -1
  291. package/script/dsl/model/ModelDriver.d.ts.map +1 -1
  292. package/script/dsl/model/ModelDriver.js +6 -8
  293. package/script/dsl/model/toModelEntry.d.ts +21 -17
  294. package/script/dsl/model/toModelEntry.d.ts.map +1 -1
  295. package/script/dsl/model/toModelEntry.js +3 -63
  296. package/script/dsl/model/toModelProjectionBase.d.ts +15 -15
  297. package/script/dsl/model/toModelProjectionBase.d.ts.map +1 -1
  298. package/script/dsl/model/types.d.ts +2 -52
  299. package/script/dsl/model/types.d.ts.map +1 -1
  300. package/script/dsl/operation/gql/GqlOperationDriver.d.ts +3 -1
  301. package/script/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -1
  302. package/script/dsl/operation/gql/GqlOperationDriver.js +12 -9
  303. package/script/dsl/operation/gql/toGqlOperationEntry.d.ts +20 -15
  304. package/script/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -1
  305. package/script/dsl/operation/gql/toGqlOperationEntry.js +3 -61
  306. package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +11 -10
  307. package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -1
  308. package/script/dsl/operation/gql/types.d.ts +1 -33
  309. package/script/dsl/operation/gql/types.d.ts.map +1 -1
  310. package/script/dsl/operation/oas/OasOperationDriver.d.ts +3 -1
  311. package/script/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -1
  312. package/script/dsl/operation/oas/OasOperationDriver.js +12 -9
  313. package/script/dsl/operation/oas/toOasOperationEntry.d.ts +21 -17
  314. package/script/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -1
  315. package/script/dsl/operation/oas/toOasOperationEntry.js +3 -68
  316. package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts +11 -10
  317. package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -1
  318. package/script/dsl/operation/oas/types.d.ts +1 -43
  319. package/script/dsl/operation/oas/types.d.ts.map +1 -1
  320. package/script/dsl/webhook/WebhookDriver.d.ts +3 -1
  321. package/script/dsl/webhook/WebhookDriver.d.ts.map +1 -1
  322. package/script/dsl/webhook/WebhookDriver.js +12 -9
  323. package/script/dsl/webhook/toWebhookEntry.d.ts +21 -16
  324. package/script/dsl/webhook/toWebhookEntry.d.ts.map +1 -1
  325. package/script/dsl/webhook/toWebhookEntry.js +3 -68
  326. package/script/dsl/webhook/toWebhookProjectionBase.d.ts +11 -10
  327. package/script/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -1
  328. package/script/dsl/webhook/types.d.ts +1 -36
  329. package/script/dsl/webhook/types.d.ts.map +1 -1
  330. package/script/enrichments/toEnrichmentDescriptor.d.ts +72 -27
  331. package/script/enrichments/toEnrichmentDescriptor.d.ts.map +1 -1
  332. package/script/enrichments/toEnrichmentDescriptor.js +57 -31
  333. package/script/enrichments/validateConfig.d.ts +1 -1
  334. package/script/enrichments/validateConfig.js +2 -2
  335. package/script/helpers/isImported.js +1 -1
  336. package/script/helpers/toResolvedArtifactPath.js +1 -1
  337. package/script/mod.d.ts +7 -1
  338. package/script/mod.d.ts.map +1 -1
  339. package/script/mod.js +7 -1
  340. package/script/oas/array/Array.d.ts +2 -0
  341. package/script/oas/array/Array.d.ts.map +1 -1
  342. package/script/oas/array/Array.js +4 -0
  343. package/script/oas/boolean/Boolean.d.ts +3 -1
  344. package/script/oas/boolean/Boolean.d.ts.map +1 -1
  345. package/script/oas/boolean/Boolean.js +4 -0
  346. package/script/oas/components/Components.d.ts +5 -0
  347. package/script/oas/components/Components.d.ts.map +1 -1
  348. package/script/oas/components/Components.js +6 -1
  349. package/script/oas/integer/Integer.d.ts +3 -1
  350. package/script/oas/integer/Integer.d.ts.map +1 -1
  351. package/script/oas/integer/Integer.js +4 -0
  352. package/script/oas/link/Link.d.ts +68 -0
  353. package/script/oas/link/Link.d.ts.map +1 -0
  354. package/script/oas/link/Link.js +111 -0
  355. package/script/oas/number/Number.d.ts +3 -1
  356. package/script/oas/number/Number.d.ts.map +1 -1
  357. package/script/oas/number/Number.js +4 -0
  358. package/script/oas/object/Object.d.ts +9 -0
  359. package/script/oas/object/Object.d.ts.map +1 -1
  360. package/script/oas/object/Object.js +14 -0
  361. package/script/oas/operation/Operation.d.ts +15 -0
  362. package/script/oas/operation/Operation.d.ts.map +1 -1
  363. package/script/oas/operation/Operation.js +33 -0
  364. package/script/oas/ref/Ref.d.ts +23 -1
  365. package/script/oas/ref/Ref.d.ts.map +1 -1
  366. package/script/oas/ref/Ref.js +32 -0
  367. package/script/oas/ref/ref-types.d.ts +18 -1
  368. package/script/oas/ref/ref-types.d.ts.map +1 -1
  369. package/script/oas/ref/ref-types.js +13 -2
  370. package/script/oas/response/Response.d.ts +4 -0
  371. package/script/oas/response/Response.d.ts.map +1 -1
  372. package/script/oas/response/Response.js +7 -0
  373. package/script/oas/schemaPath/traverseSchema.d.ts +31 -0
  374. package/script/oas/schemaPath/traverseSchema.d.ts.map +1 -0
  375. package/script/oas/schemaPath/traverseSchema.js +117 -0
  376. package/script/oas/string/String.d.ts +3 -1
  377. package/script/oas/string/String.d.ts.map +1 -1
  378. package/script/oas/string/String.js +4 -0
  379. package/script/oas/union/Union.d.ts +9 -0
  380. package/script/oas/union/Union.d.ts.map +1 -1
  381. package/script/oas/union/Union.js +14 -0
  382. package/script/oas/unknown/Unknown.d.ts +3 -1
  383. package/script/oas/unknown/Unknown.d.ts.map +1 -1
  384. package/script/oas/unknown/Unknown.js +4 -0
  385. package/script/parse/v3-0/components/toComponentsV3.d.ts.map +1 -1
  386. package/script/parse/v3-0/components/toComponentsV3.js +3 -1
  387. package/script/parse/v3-0/link/toLinksV3.d.ts +17 -0
  388. package/script/parse/v3-0/link/toLinksV3.d.ts.map +1 -0
  389. package/script/parse/v3-0/link/toLinksV3.js +44 -0
  390. package/script/parse/v3-0/object/toObject.d.ts.map +1 -1
  391. package/script/parse/v3-0/object/toObject.js +3 -1
  392. package/script/parse/v3-0/response/toResponseV3.d.ts.map +1 -1
  393. package/script/parse/v3-0/response/toResponseV3.js +4 -1
  394. package/script/parse/v3-0/union/toUnion.d.ts.map +1 -1
  395. package/script/parse/v3-0/union/toUnion.js +3 -1
  396. package/script/parse/v3-1/components/toComponentsV3.d.ts.map +1 -1
  397. package/script/parse/v3-1/components/toComponentsV3.js +3 -1
  398. package/script/parse/v3-1/link/toLinksV3.d.ts +17 -0
  399. package/script/parse/v3-1/link/toLinksV3.d.ts.map +1 -0
  400. package/script/parse/v3-1/link/toLinksV3.js +44 -0
  401. package/script/parse/v3-1/object/toObject.d.ts.map +1 -1
  402. package/script/parse/v3-1/object/toObject.js +3 -1
  403. package/script/parse/v3-1/response/toResponseV3.d.ts.map +1 -1
  404. package/script/parse/v3-1/response/toResponseV3.js +4 -1
  405. package/script/parse/v3-1/union/toUnion.d.ts.map +1 -1
  406. package/script/parse/v3-1/union/toUnion.js +3 -1
  407. package/script/run/toArtifacts.d.ts +8 -1
  408. package/script/run/toArtifacts.d.ts.map +1 -1
  409. package/script/run/toArtifacts.js +5 -5
  410. package/script/run/toInspection.d.ts +8 -0
  411. package/script/run/toInspection.d.ts.map +1 -0
  412. package/script/run/toInspection.js +82 -0
  413. package/script/types/Enrichments.d.ts +19 -8
  414. package/script/types/Enrichments.d.ts.map +1 -1
  415. package/script/types/Enrichments.js +5 -4
  416. package/script/types/GeneratorType.d.ts +5 -5
  417. package/script/types/GeneratorType.d.ts.map +1 -1
  418. package/script/types/Manifest.d.ts +1 -2
  419. package/script/types/Manifest.d.ts.map +1 -1
  420. package/script/types/Manifest.js +0 -1
  421. package/script/types/ModuleSelect.d.ts +81 -0
  422. package/script/types/ModuleSelect.d.ts.map +1 -0
  423. package/script/types/ModuleSelect.js +101 -0
  424. package/script/types/Preview.d.ts +4 -27
  425. package/script/types/Preview.d.ts.map +1 -1
  426. package/script/types/Preview.js +5 -26
  427. package/script/types/SchemaPath.d.ts +17 -0
  428. package/script/types/SchemaPath.d.ts.map +1 -0
  429. package/script/types/{AccessorPath.js → SchemaPath.js} +7 -7
  430. package/script/types/Settings.d.ts +8 -0
  431. package/script/types/Settings.d.ts.map +1 -1
  432. package/script/types/Settings.js +1 -0
  433. package/script/types/SkmtcDocument.d.ts +1 -1
  434. package/script/types/SupportedSubjects.d.ts +1 -1
  435. package/esm/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +0 -1
  436. package/esm/deps/jsr.io/@std/internal/1.0.13/_os.js +0 -12
  437. package/esm/types/AccessorPath.d.ts +0 -17
  438. package/esm/types/AccessorPath.d.ts.map +0 -1
  439. package/esm/types/AccessorPath.js +0 -9
  440. package/script/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +0 -1
  441. package/script/types/AccessorPath.d.ts +0 -17
  442. package/script/types/AccessorPath.d.ts.map +0 -1
  443. /package/esm/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.d.ts +0 -0
  444. /package/esm/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.js +0 -0
  445. /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.d.ts +0 -0
  446. /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts +0 -0
  447. /package/esm/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.js +0 -0
  448. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts +0 -0
  449. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts +0 -0
  450. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts +0 -0
  451. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts +0 -0
  452. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts +0 -0
  453. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts +0 -0
  454. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts +0 -0
  455. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts +0 -0
  456. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts +0 -0
  457. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.d.ts +0 -0
  458. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.d.ts +0 -0
  459. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts +0 -0
  460. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.d.ts +0 -0
  461. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.d.ts +0 -0
  462. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.d.ts +0 -0
  463. /package/script/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.d.ts +0 -0
  464. /package/script/deps/jsr.io/@std/fs/{1.0.23 → 1.0.24}/exists.js +0 -0
  465. /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/_os.d.ts +0 -0
  466. /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.d.ts +0 -0
  467. /package/script/deps/jsr.io/@std/internal/{1.0.13 → 1.0.14}/os.js +0 -0
  468. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/assert_path.d.ts +0 -0
  469. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/constants.d.ts +0 -0
  470. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/from_file_url.d.ts +0 -0
  471. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize.d.ts +0 -0
  472. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/_common/normalize_string.d.ts +0 -0
  473. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/join.d.ts +0 -0
  474. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/normalize.d.ts +0 -0
  475. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/_util.d.ts +0 -0
  476. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/from_file_url.d.ts +0 -0
  477. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/join.d.ts +0 -0
  478. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/posix/normalize.d.ts +0 -0
  479. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/_util.d.ts +0 -0
  480. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/from_file_url.d.ts +0 -0
  481. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/join.d.ts +0 -0
  482. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.6}/windows/normalize.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Manifest.d.ts","sourceRoot":"","sources":["../../src/types/Manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,OAAO,sBAAsB,CAAC;AAG9B,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,EAAW,KAAK,OAAO,EAAE,KAAK,OAAO,EAAW,MAAM,cAAc,CAAA;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAG1D,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4D5B,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,U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0BAA0B,CAAA;AAG1D,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4D5B,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,aAAa,CAAC,aAAa,CAIvD,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,aAAa,CAAC,WAAW,CAGnD,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,OAAO,EAAE,WAAW,CAAA;IACpB;;;;;OAKG;IACH,WAAW,EAAE,UAAU,EAAE,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,aAAa,CAAC,eAAe,CAW3D,CAAA"}
@@ -185,7 +185,6 @@ exports.manifestContent = v.object({
185
185
  region: v.optional(v.string()),
186
186
  files: v.record(v.string(), exports.manifestEntry),
187
187
  previews: v.record(v.string(), Preview_js_1.preview),
188
- mappings: v.optional(v.record(v.string(), Preview_js_1.mapping)),
189
188
  results: Results_js_1.resultsItem,
190
189
  parseIssues: v.array(parseIssue),
191
190
  startAt: v.number(),
@@ -0,0 +1,81 @@
1
+ import * as v from 'valibot';
2
+ import { type ModuleExport } from './ModuleExport.js';
3
+ import { type SchemaPath } from './SchemaPath.js';
4
+ /**
5
+ * One field binding: WHERE in the subject's data shape the field lives
6
+ * (`schemaPath`) and — optionally — WHICH consumer component renders it
7
+ * (`module`). The two are one unit by construction, asymmetrically:
8
+ * a component can never be stored without the path that gives it a type
9
+ * (which is what lets the editor's type-aware matcher verify the pair
10
+ * before it is ever written), while a path WITHOUT a component is the
11
+ * everyday "use the generator's default rendering" state — it's how
12
+ * schema-seeded fields start out, and how label/order overrides are
13
+ * expressed for fields that need no custom input.
14
+ *
15
+ * Stored in `client.json` under the literal key `moduleSelect`:
16
+ *
17
+ * ```jsonc
18
+ * {
19
+ * "moduleSelect": {
20
+ * "schemaPath": ["RequestBody", "officeIds"],
21
+ * "module": { "exportName": "OfficesMultiSelectField", "exportPath": "@/inputs/OfficesMultiSelectField.generated.tsx" }
22
+ * },
23
+ * "label": "Offices"
24
+ * }
25
+ * ```
26
+ */
27
+ export type ModuleSelect = {
28
+ /** Path into the subject's data shape: a target token (`RequestBody` /
29
+ * `SuccessResponse` / `Model`) followed by property names. */
30
+ schemaPath: SchemaPath;
31
+ /** The consumer component bound to that field; absent = the generator's
32
+ * default rendering for the field's type. */
33
+ module?: ModuleExport;
34
+ };
35
+ /**
36
+ * The standard lens/input module type: a candidate module fits a field when
37
+ * it accepts `{ lens: Lens<Normalize<FieldType>> }` (react-hook-form lenses).
38
+ * `__SlotNormalize` mirrors what generated form code does with
39
+ * `lens.focus(path).defined()` — optional/nullable wrappers are stripped on
40
+ * primitives and made recursively optional on objects — so an optional
41
+ * `string | undefined` field still matches a `Lens<string>` input.
42
+ *
43
+ * Pass as `moduleSelect(lensInputModuleType)`. Generators with a custom
44
+ * binding (e.g. a table cell renderer taking `{ value: F }`) declare their
45
+ * own `export type XModule<F> = …` source instead.
46
+ */
47
+ export declare const lensInputModuleType: string;
48
+ /**
49
+ * Declare a `moduleSelect` enrichment field: the `{ schemaPath, module? }`
50
+ * binding validated as one value. The enrichment editor renders it as a
51
+ * single composite control (path picker + type-matched component picker,
52
+ * the component gated on the path), and `toEnrichmentDescriptor` projects
53
+ * it as `type: 'moduleSelect'` carrying the declared `moduleType`.
54
+ *
55
+ * `moduleType` is the TypeScript source of the contract a chosen module
56
+ * must satisfy for the field — a single `export type XModule<F> = …` the
57
+ * editor's matcher checks candidates against
58
+ * (`typeof Candidate extends XModule<FieldType>`). It is a required part of
59
+ * the declaration, so the contract is always explicit — there is no hidden
60
+ * editor-side default. For the common lens/input case pass
61
+ * {@link lensInputModuleType}; only generators with a genuinely custom
62
+ * binding write their own source.
63
+ *
64
+ * ```ts
65
+ * import { lensInputModuleType, moduleSelect } from '@skmtc/core'
66
+ *
67
+ * export const formFieldItem = v.object({
68
+ * moduleSelect: v.optional(v.pipe(moduleSelect(lensInputModuleType), v.title('Input'))),
69
+ * label: v.optional(v.string())
70
+ * })
71
+ * ```
72
+ */
73
+ export declare const moduleSelect: (moduleType: string) => v.GenericSchema<ModuleSelect>;
74
+ /**
75
+ * The module type a schema was declared with, or `undefined` when the schema
76
+ * is not a {@link moduleSelect}. Callers pass the schema as observed at
77
+ * runtime (the descriptor walker's structural view), so the parameter is
78
+ * deliberately `unknown`.
79
+ */
80
+ export declare const moduleTypeOf: (schema: unknown) => string | undefined;
81
+ //# sourceMappingURL=ModuleSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModuleSelect.d.ts","sourceRoot":"","sources":["../../src/types/ModuleSelect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EAAc,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;mEAC+D;IAC/D,UAAU,EAAE,UAAU,CAAA;IACtB;kDAC8C;IAC9C,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB,CAAA;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAGkD,CAAA;AAOpF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,YAAY,GAAI,YAAY,MAAM,KAAG,CAAC,CAAC,aAAa,CAAC,YAAY,CAO7E,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,OAAO,KAAG,MAAM,GAAG,SAC6B,CAAA"}
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.moduleTypeOf = exports.moduleSelect = exports.lensInputModuleType = void 0;
37
+ const v = __importStar(require("valibot"));
38
+ const ModuleExport_js_1 = require("./ModuleExport.js");
39
+ const SchemaPath_js_1 = require("./SchemaPath.js");
40
+ /**
41
+ * The standard lens/input module type: a candidate module fits a field when
42
+ * it accepts `{ lens: Lens<Normalize<FieldType>> }` (react-hook-form lenses).
43
+ * `__SlotNormalize` mirrors what generated form code does with
44
+ * `lens.focus(path).defined()` — optional/nullable wrappers are stripped on
45
+ * primitives and made recursively optional on objects — so an optional
46
+ * `string | undefined` field still matches a `Lens<string>` input.
47
+ *
48
+ * Pass as `moduleSelect(lensInputModuleType)`. Generators with a custom
49
+ * binding (e.g. a table cell renderer taking `{ value: F }`) declare their
50
+ * own `export type XModule<F> = …` source instead.
51
+ */
52
+ exports.lensInputModuleType = `import type { Lens } from '@hookform/lenses'
53
+ type __SlotPrimitive = string | number | boolean | bigint | symbol | null | undefined | Date
54
+ type __SlotNormalize<T> = [T] extends [__SlotPrimitive] ? NonNullable<T> : T extends ReadonlyArray<infer U> ? Array<__SlotNormalize<U>> : { [K in keyof T]?: __SlotNormalize<NonNullable<T[K]>> }
55
+ export type InputModule<F> = (props: { lens: Lens<__SlotNormalize<F>> }) => unknown`;
56
+ // Factory-created schemas can't be reference-compared to a singleton (unlike
57
+ // `moduleExport`), so the descriptor walker recognises them — and reads their
58
+ // declared module type — through this registry.
59
+ const moduleTypes = new WeakMap();
60
+ /**
61
+ * Declare a `moduleSelect` enrichment field: the `{ schemaPath, module? }`
62
+ * binding validated as one value. The enrichment editor renders it as a
63
+ * single composite control (path picker + type-matched component picker,
64
+ * the component gated on the path), and `toEnrichmentDescriptor` projects
65
+ * it as `type: 'moduleSelect'` carrying the declared `moduleType`.
66
+ *
67
+ * `moduleType` is the TypeScript source of the contract a chosen module
68
+ * must satisfy for the field — a single `export type XModule<F> = …` the
69
+ * editor's matcher checks candidates against
70
+ * (`typeof Candidate extends XModule<FieldType>`). It is a required part of
71
+ * the declaration, so the contract is always explicit — there is no hidden
72
+ * editor-side default. For the common lens/input case pass
73
+ * {@link lensInputModuleType}; only generators with a genuinely custom
74
+ * binding write their own source.
75
+ *
76
+ * ```ts
77
+ * import { lensInputModuleType, moduleSelect } from '@skmtc/core'
78
+ *
79
+ * export const formFieldItem = v.object({
80
+ * moduleSelect: v.optional(v.pipe(moduleSelect(lensInputModuleType), v.title('Input'))),
81
+ * label: v.optional(v.string())
82
+ * })
83
+ * ```
84
+ */
85
+ const moduleSelect = (moduleType) => {
86
+ const schema = v.object({
87
+ schemaPath: SchemaPath_js_1.schemaPath,
88
+ module: v.optional(ModuleExport_js_1.moduleExport)
89
+ });
90
+ moduleTypes.set(schema, moduleType);
91
+ return schema;
92
+ };
93
+ exports.moduleSelect = moduleSelect;
94
+ /**
95
+ * The module type a schema was declared with, or `undefined` when the schema
96
+ * is not a {@link moduleSelect}. Callers pass the schema as observed at
97
+ * runtime (the descriptor walker's structural view), so the parameter is
98
+ * deliberately `unknown`.
99
+ */
100
+ const moduleTypeOf = (schema) => typeof schema === 'object' && schema !== null ? moduleTypes.get(schema) : undefined;
101
+ exports.moduleTypeOf = moduleTypeOf;
@@ -1,10 +1,9 @@
1
1
  /**
2
- * @fileoverview Preview and Mapping System for SKMTC Core
2
+ * @fileoverview Preview System for SKMTC Core
3
3
  *
4
- * Types and Valibot schemas for the preview and mapping systems. Generators
5
- * may emit a {@link PreviewModule} and/or a {@link MappingModule} per
6
- * operation or model; the dispatcher pairs each module with a `*Source`
7
- * descriptor so tooling can trace generated code back to its origin in the
4
+ * Types and Valibot schemas for the preview system. Generators may emit a
5
+ * {@link PreviewModule} per operation or model; the dispatcher pairs each
6
+ * module with a `*Source` descriptor so tooling can trace generated code back to its origin in the
8
7
  * source schema.
9
8
  *
10
9
  * ## Source descriptors
@@ -117,19 +116,10 @@ export type PreviewModule = {
117
116
  name: string;
118
117
  exportPath: string;
119
118
  };
120
- export type MappingModule = {
121
- name: string;
122
- exportPath: string;
123
- schema: string;
124
- };
125
119
  export type Preview = {
126
120
  module: PreviewModule;
127
121
  source: OasOperationSource | WebhookSource | GqlOperationSource | ModelSource;
128
122
  };
129
- export type Mapping = {
130
- module: MappingModule;
131
- source: OasOperationSource | WebhookSource | GqlOperationSource | ModelSource;
132
- };
133
123
  /**
134
124
  * Valibot schema for validating OAS operation source objects.
135
125
  *
@@ -184,23 +174,10 @@ export declare const modelSource: v.ObjectSchema<{
184
174
  * Validates preview module structures: name, export path, and group.
185
175
  */
186
176
  export declare const previewModule: v.GenericSchema<PreviewModule>;
187
- /**
188
- * Valibot schema for validating mapping module objects.
189
- *
190
- * Validates mapping module structures: name, export path, group, item type
191
- * (`'input'` | `'formatter'`), and schema reference.
192
- */
193
- export declare const mappingModule: v.GenericSchema<MappingModule>;
194
177
  /**
195
178
  * Valibot schema for validating preview objects.
196
179
  *
197
180
  * Validates complete preview structures including module and source information.
198
181
  */
199
182
  export declare const preview: v.GenericSchema<Preview>;
200
- /**
201
- * Valibot schema for validating mapping objects.
202
- *
203
- * Validates complete mapping structures including module and source information.
204
- */
205
- export declare const mapping: v.GenericSchema<Mapping>;
206
183
  //# sourceMappingURL=Preview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../src/types/Preview.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,OAAO,sBAAsB,CAAC;AAG9B,OAAO,EAAU,KAAK,MAAM,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AACnE,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,cAAc,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;I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,YAAY,CAAC,SAAS,CAAC,CAAA;CAC5C,EACD,SAAS,CAOT,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,YAAY,CACtC;IACE,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;IAClD,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,CAAA;IAC/C,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,CAAA;IAC3C,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,CAAA;CAC5C,EACD,SAAS,CAMT,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,aAAa,CAAC,aAAa,CAGvD,CAAA;AAQF;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,CAG3C,CAAA"}
@@ -33,14 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.mapping = exports.preview = exports.mappingModule = exports.previewModule = exports.modelSource = exports.gqlOperationSource = exports.oasOperationSource = void 0;
36
+ exports.preview = exports.previewModule = exports.modelSource = exports.gqlOperationSource = exports.oasOperationSource = void 0;
37
37
  /**
38
- * @fileoverview Preview and Mapping System for SKMTC Core
38
+ * @fileoverview Preview System for SKMTC Core
39
39
  *
40
- * Types and Valibot schemas for the preview and mapping systems. Generators
41
- * may emit a {@link PreviewModule} and/or a {@link MappingModule} per
42
- * operation or model; the dispatcher pairs each module with a `*Source`
43
- * descriptor so tooling can trace generated code back to its origin in the
40
+ * Types and Valibot schemas for the preview system. Generators may emit a
41
+ * {@link PreviewModule} per operation or model; the dispatcher pairs each
42
+ * module with a `*Source` descriptor so tooling can trace generated code back to its origin in the
44
43
  * source schema.
45
44
  *
46
45
  * ## Source descriptors
@@ -153,17 +152,6 @@ exports.previewModule = v.object({
153
152
  name: v.string(),
154
153
  exportPath: v.string()
155
154
  });
156
- /**
157
- * Valibot schema for validating mapping module objects.
158
- *
159
- * Validates mapping module structures: name, export path, group, item type
160
- * (`'input'` | `'formatter'`), and schema reference.
161
- */
162
- exports.mappingModule = v.object({
163
- name: v.string(),
164
- exportPath: v.string(),
165
- schema: v.string()
166
- });
167
155
  const source = v.variant('type', [exports.oasOperationSource, exports.gqlOperationSource, exports.modelSource]);
168
156
  /**
169
157
  * Valibot schema for validating preview objects.
@@ -174,12 +162,3 @@ exports.preview = v.object({
174
162
  module: exports.previewModule,
175
163
  source: source
176
164
  });
177
- /**
178
- * Valibot schema for validating mapping objects.
179
- *
180
- * Validates complete mapping structures including module and source information.
181
- */
182
- exports.mapping = v.object({
183
- module: exports.mappingModule,
184
- source: source
185
- });
@@ -0,0 +1,17 @@
1
+ import * as v from 'valibot';
2
+ /**
3
+ * A path of property names into a parsed schema document — e.g.
4
+ * `['customer', 'primaryAddress', 'type']` to reach the nested
5
+ * `type` property. Generators that overlay per-field enrichments
6
+ * key those overlays by schema path.
7
+ */
8
+ export type SchemaPath = string[];
9
+ /**
10
+ * Canonical Valibot schema for an `SchemaPath`. There is deliberately no
11
+ * standalone path-picker widget: a path is declared together with its
12
+ * component binding as one `moduleSelect` field (this schema is the
13
+ * `schemaPath` half of that pair). Used standalone it renders as a generic
14
+ * array of strings.
15
+ */
16
+ export declare const schemaPath: v.GenericSchema<SchemaPath>;
17
+ //# sourceMappingURL=SchemaPath.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchemaPath.d.ts","sourceRoot":"","sources":["../../src/types/SchemaPath.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,EAAE,CAAA;AAEjC;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,CAAC,CAAC,aAAa,CAAC,UAAU,CAAuB,CAAA"}
@@ -33,13 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.accessorPath = void 0;
36
+ exports.schemaPath = void 0;
37
37
  const v = __importStar(require("valibot"));
38
38
  /**
39
- * Canonical Valibot schema for an `AccessorPath`. Generators should
40
- * import this rather than write `v.array(v.string())` inline — the
41
- * descriptor walker identity-matches the exported value and emits a
42
- * schema-aware path-picker widget (`kind: "accessorPath"`) instead of
43
- * a generic array of strings.
39
+ * Canonical Valibot schema for an `SchemaPath`. There is deliberately no
40
+ * standalone path-picker widget: a path is declared together with its
41
+ * component binding as one `moduleSelect` field (this schema is the
42
+ * `schemaPath` half of that pair). Used standalone it renders as a generic
43
+ * array of strings.
44
44
  */
45
- exports.accessorPath = v.array(v.string());
45
+ exports.schemaPath = v.array(v.string());
@@ -455,6 +455,14 @@ export type SkmtcClientConfig = {
455
455
  * Ignored by `skmtc generate`; consumed only by `skmtc push`.
456
456
  */
457
457
  project?: string;
458
+ /**
459
+ * skmtc-hub API binding in `@<account>/<slug>` form — the registered schema
460
+ * this project's `source` maps to on the hub, analogous to a git remote.
461
+ * Recorded by `skmtc project create` (the schema-register write-back) so a
462
+ * re-run versions the same API instead of creating a duplicate. Ignored by
463
+ * `skmtc generate`.
464
+ */
465
+ api?: string;
458
466
  /** Optional schema path or url for OpenAPI schema */
459
467
  source?: string;
460
468
  /** Client settings for customizing generation behavior */
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,OAAO,sBAAsB,CAAC;AAG9B,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KA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H;;;;;;;GAOG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B,kDAAkD;IAClD,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,kEAAkE;IAClE,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;IACd;;;;;OAKG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qDAAqD;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,aAAa,CAAC,iBAAiB,CAO/D,CAAC"}
@@ -205,6 +205,7 @@ exports.skmtcClientConfig = v.object({
205
205
  serverUrl: v.optional(v.string()),
206
206
  projectKey: v.optional(v.string()),
207
207
  project: v.optional(v.string()),
208
+ api: v.optional(v.string()),
208
209
  source: v.optional(v.string()),
209
210
  settings: exports.clientSettings,
210
211
  });
@@ -55,7 +55,7 @@ export declare const toGqlParsedDocument: (value: GqlDocument) => SkmtcParsedDoc
55
55
  /**
56
56
  * Discriminated union representing a *raw* source document accepted by
57
57
  * `CoreContext.toArtifacts`. This is the public input shape — callers
58
- * supply the schema as the protocol-specific source kind, and the
58
+ * supply the schema as the protocol-specific source type, and the
59
59
  * pipeline runs the protocol-appropriate parser before handing the
60
60
  * post-parse {@link SkmtcParsedDocument} to the generate phase.
61
61
  *
@@ -22,7 +22,7 @@ export type SupportedGqlOperation = {
22
22
  rootKind: string;
23
23
  fieldName: string;
24
24
  };
25
- /** What one generator supports, discriminated by its subject kind. */
25
+ /** What one generator supports, discriminated by its subject type. */
26
26
  export type GeneratorSupport = {
27
27
  type: 'oasOperation';
28
28
  operations: SupportedOasOperation[];
@@ -1 +0,0 @@
1
- {"version":3,"file":"_os.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.13/_os.ts"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,IAAI,OAAO,CAUtC"}
@@ -1,12 +0,0 @@
1
- // Copyright 2018-2026 the Deno authors. MIT license.
2
- import * as dntShim from "../../../../../_dnt.shims.js";
3
- export function checkWindows() {
4
- // deno-lint-ignore no-explicit-any
5
- const global = dntShim.dntGlobalThis;
6
- const os = global.Deno?.build?.os;
7
- // Check Deno, then the remaining runtimes (e.g. Node, Bun and the browser)
8
- return typeof os === "string"
9
- ? os === "windows"
10
- : global.navigator?.platform?.startsWith("Win") ??
11
- global.process?.platform?.startsWith("win") ?? false;
12
- }
@@ -1,17 +0,0 @@
1
- import * as v from 'valibot';
2
- /**
3
- * A path of property names into a parsed schema document — e.g.
4
- * `['customer', 'primaryAddress', 'type']` to reach the nested
5
- * `type` property. Generators that overlay per-field enrichments
6
- * key those overlays by accessor path.
7
- */
8
- export type AccessorPath = string[];
9
- /**
10
- * Canonical Valibot schema for an `AccessorPath`. Generators should
11
- * import this rather than write `v.array(v.string())` inline — the
12
- * descriptor walker identity-matches the exported value and emits a
13
- * schema-aware path-picker widget (`kind: "accessorPath"`) instead of
14
- * a generic array of strings.
15
- */
16
- export declare const accessorPath: v.GenericSchema<AccessorPath>;
17
- //# sourceMappingURL=AccessorPath.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccessorPath.d.ts","sourceRoot":"","sources":["../../src/types/AccessorPath.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,EAAE,CAAA;AAEnC;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,aAAa,CAAC,YAAY,CAAuB,CAAA"}
@@ -1,9 +0,0 @@
1
- import * as v from 'valibot';
2
- /**
3
- * Canonical Valibot schema for an `AccessorPath`. Generators should
4
- * import this rather than write `v.array(v.string())` inline — the
5
- * descriptor walker identity-matches the exported value and emits a
6
- * schema-aware path-picker widget (`kind: "accessorPath"`) instead of
7
- * a generic array of strings.
8
- */
9
- export const accessorPath = v.array(v.string());
@@ -1 +0,0 @@
1
- {"version":3,"file":"_os.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.13/_os.ts"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,IAAI,OAAO,CAUtC"}
@@ -1,17 +0,0 @@
1
- import * as v from 'valibot';
2
- /**
3
- * A path of property names into a parsed schema document — e.g.
4
- * `['customer', 'primaryAddress', 'type']` to reach the nested
5
- * `type` property. Generators that overlay per-field enrichments
6
- * key those overlays by accessor path.
7
- */
8
- export type AccessorPath = string[];
9
- /**
10
- * Canonical Valibot schema for an `AccessorPath`. Generators should
11
- * import this rather than write `v.array(v.string())` inline — the
12
- * descriptor walker identity-matches the exported value and emits a
13
- * schema-aware path-picker widget (`kind: "accessorPath"`) instead of
14
- * a generic array of strings.
15
- */
16
- export declare const accessorPath: v.GenericSchema<AccessorPath>;
17
- //# sourceMappingURL=AccessorPath.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccessorPath.d.ts","sourceRoot":"","sources":["../../src/types/AccessorPath.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,EAAE,CAAA;AAEnC;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,aAAa,CAAC,YAAY,CAAuB,CAAA"}