@skmtc/core 0.0.924 → 0.0.929

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 (737) hide show
  1. package/esm/app/validate.d.ts +0 -1
  2. package/esm/app/validate.d.ts.map +1 -1
  3. package/esm/app/validate.js +0 -1
  4. package/esm/context/CoreContext.d.ts +2 -2
  5. package/esm/context/CoreContext.d.ts.map +1 -1
  6. package/esm/context/CoreContext.js +10 -9
  7. package/esm/context/GenerateContext.d.ts +1 -1
  8. package/esm/context/GenerateContext.d.ts.map +1 -1
  9. package/esm/context/GenerateContext.js +4 -5
  10. package/esm/context/ParseContext.d.ts +1 -134
  11. package/esm/context/ParseContext.d.ts.map +1 -1
  12. package/esm/context/ParseContext.js +11 -157
  13. package/esm/context/RenderContext.d.ts +3 -8
  14. package/esm/context/RenderContext.d.ts.map +1 -1
  15. package/esm/context/RenderContext.js +16 -102
  16. package/esm/context/StackTrail.d.ts +0 -172
  17. package/esm/context/StackTrail.d.ts.map +1 -1
  18. package/esm/context/StackTrail.js +1 -195
  19. package/esm/dsl/Stringable.d.ts +0 -1
  20. package/esm/dsl/Stringable.d.ts.map +1 -1
  21. package/esm/dsl/Stringable.js +1 -76
  22. package/esm/dsl/model/toModelBase.d.ts +2 -3
  23. package/esm/dsl/model/toModelBase.d.ts.map +1 -1
  24. package/esm/dsl/model/toModelBase.js +1 -1
  25. package/esm/dsl/operation/toOperationBase.d.ts +2 -2
  26. package/esm/dsl/operation/toOperationBase.d.ts.map +1 -1
  27. package/esm/dsl/operation/toOperationBase.js +1 -1
  28. package/esm/dsl/operation/toOperationEntry.d.ts.map +1 -1
  29. package/esm/dsl/operation/toOperationEntry.js +1 -1
  30. package/esm/helpers/ResultsLog.js +1 -1
  31. package/esm/helpers/collateExamples.d.ts +0 -1
  32. package/esm/helpers/collateExamples.d.ts.map +1 -1
  33. package/esm/helpers/collateExamples.js +0 -1
  34. package/esm/helpers/formatNumber.d.ts +0 -1
  35. package/esm/helpers/formatNumber.d.ts.map +1 -1
  36. package/esm/helpers/formatNumber.js +0 -1
  37. package/esm/helpers/isEmpty.d.ts +0 -60
  38. package/esm/helpers/isEmpty.d.ts.map +1 -1
  39. package/esm/helpers/isEmpty.js +1 -61
  40. package/esm/helpers/naming.d.ts.map +1 -1
  41. package/esm/helpers/naming.js +2 -2
  42. package/esm/helpers/refFns.d.ts +0 -1
  43. package/esm/helpers/refFns.d.ts.map +1 -1
  44. package/esm/helpers/refFns.js +0 -1
  45. package/esm/helpers/strings.d.ts +0 -1
  46. package/esm/helpers/strings.d.ts.map +1 -1
  47. package/esm/helpers/strings.js +0 -1
  48. package/esm/helpers/toResolvedArtifactPath.d.ts +0 -1
  49. package/esm/helpers/toResolvedArtifactPath.d.ts.map +1 -1
  50. package/esm/helpers/toResolvedArtifactPath.js +0 -1
  51. package/esm/helpers/tracer.d.ts +1 -2
  52. package/esm/helpers/tracer.d.ts.map +1 -1
  53. package/esm/helpers/tracer.js +1 -1
  54. package/esm/mod.d.ts +0 -14
  55. package/esm/mod.d.ts.map +1 -1
  56. package/esm/mod.js +0 -14
  57. package/esm/oas/_helpers/parseEnum.d.ts +8 -136
  58. package/esm/oas/_helpers/parseEnum.d.ts.map +1 -1
  59. package/esm/oas/_helpers/parseEnum.js +21 -119
  60. package/esm/oas/_helpers/parseNullable.d.ts.map +1 -1
  61. package/esm/oas/_helpers/parseNullable.js +16 -6
  62. package/esm/oas/_merge-all-of/merge-enum-values.js +1 -1
  63. package/esm/oas/array/Array.d.ts +18 -96
  64. package/esm/oas/array/Array.d.ts.map +1 -1
  65. package/esm/oas/array/Array.js +38 -102
  66. package/esm/oas/array/array-types.d.ts +6 -174
  67. package/esm/oas/array/array-types.d.ts.map +1 -1
  68. package/esm/oas/array/array-types.js +4 -76
  69. package/esm/oas/array/toArray.d.ts +0 -52
  70. package/esm/oas/array/toArray.d.ts.map +1 -1
  71. package/esm/oas/array/toArray.js +67 -72
  72. package/esm/oas/boolean/Boolean.d.ts +12 -133
  73. package/esm/oas/boolean/Boolean.d.ts.map +1 -1
  74. package/esm/oas/boolean/Boolean.js +28 -134
  75. package/esm/oas/boolean/boolean-types.d.ts +14 -1
  76. package/esm/oas/boolean/boolean-types.d.ts.map +1 -1
  77. package/esm/oas/boolean/boolean-types.js +4 -1
  78. package/esm/oas/boolean/toBoolean.d.ts.map +1 -1
  79. package/esm/oas/boolean/toBoolean.js +75 -19
  80. package/esm/oas/components/Components.d.ts +0 -2
  81. package/esm/oas/components/Components.d.ts.map +1 -1
  82. package/esm/oas/components/Components.js +0 -2
  83. package/esm/oas/components/toComponentsV3.d.ts.map +1 -1
  84. package/esm/oas/components/toComponentsV3.js +7 -9
  85. package/esm/oas/discriminator/Discriminator.d.ts +0 -1
  86. package/esm/oas/discriminator/Discriminator.d.ts.map +1 -1
  87. package/esm/oas/discriminator/Discriminator.js +0 -1
  88. package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
  89. package/esm/oas/discriminator/toDiscriminatorV3.js +4 -1
  90. package/esm/oas/document/Document.d.ts +5 -1
  91. package/esm/oas/document/Document.d.ts.map +1 -1
  92. package/esm/oas/document/Document.js +7 -1
  93. package/esm/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
  94. package/esm/oas/document/toDocumentFieldsV3.js +11 -8
  95. package/esm/oas/example/Example.d.ts +10 -85
  96. package/esm/oas/example/Example.d.ts.map +1 -1
  97. package/esm/oas/example/Example.js +36 -105
  98. package/esm/oas/example/toExamplesV3.d.ts +1 -1
  99. package/esm/oas/example/toExamplesV3.d.ts.map +1 -1
  100. package/esm/oas/example/toExamplesV3.js +13 -8
  101. package/esm/oas/externalDocs/ExternalDocs.d.ts +10 -0
  102. package/esm/oas/externalDocs/ExternalDocs.d.ts.map +1 -0
  103. package/esm/oas/externalDocs/ExternalDocs.js +18 -0
  104. package/esm/oas/externalDocs/externalDocsTypes.d.ts +7 -0
  105. package/esm/oas/externalDocs/externalDocsTypes.d.ts.map +1 -0
  106. package/esm/oas/externalDocs/externalDocsTypes.js +6 -0
  107. package/esm/oas/externalDocs/toExternalDocs.d.ts +10 -0
  108. package/esm/oas/externalDocs/toExternalDocs.d.ts.map +1 -0
  109. package/esm/oas/externalDocs/toExternalDocs.js +15 -0
  110. package/esm/oas/header/Header.d.ts +6 -6
  111. package/esm/oas/header/Header.d.ts.map +1 -1
  112. package/esm/oas/header/toHeadersV3.d.ts.map +1 -1
  113. package/esm/oas/header/toHeadersV3.js +9 -5
  114. package/esm/oas/info/Info.d.ts +0 -1
  115. package/esm/oas/info/Info.d.ts.map +1 -1
  116. package/esm/oas/info/Info.js +0 -1
  117. package/esm/oas/integer/Integer.d.ts +18 -81
  118. package/esm/oas/integer/Integer.d.ts.map +1 -1
  119. package/esm/oas/integer/Integer.js +33 -82
  120. package/esm/oas/integer/integer-types.d.ts +21 -1
  121. package/esm/oas/integer/integer-types.d.ts.map +1 -1
  122. package/esm/oas/integer/integer-types.js +8 -2
  123. package/esm/oas/integer/toInteger.d.ts.map +1 -1
  124. package/esm/oas/integer/toInteger.js +66 -19
  125. package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
  126. package/esm/oas/mediaType/toMediaTypeItemV3.js +9 -10
  127. package/esm/oas/number/Number.d.ts +18 -164
  128. package/esm/oas/number/Number.d.ts.map +1 -1
  129. package/esm/oas/number/Number.js +33 -165
  130. package/esm/oas/number/number-types.d.ts +22 -2
  131. package/esm/oas/number/number-types.d.ts.map +1 -1
  132. package/esm/oas/number/number-types.js +4 -1
  133. package/esm/oas/number/toNumber.d.ts +0 -62
  134. package/esm/oas/number/toNumber.d.ts.map +1 -1
  135. package/esm/oas/number/toNumber.js +66 -81
  136. package/esm/oas/object/Object.d.ts +0 -1
  137. package/esm/oas/object/Object.d.ts.map +1 -1
  138. package/esm/oas/object/Object.js +0 -1
  139. package/esm/oas/object/toObject.d.ts.map +1 -1
  140. package/esm/oas/object/toObject.js +38 -13
  141. package/esm/oas/operation/Operation.d.ts +9 -108
  142. package/esm/oas/operation/Operation.d.ts.map +1 -1
  143. package/esm/oas/operation/Operation.js +16 -108
  144. package/esm/oas/operation/toOperationsV3.d.ts.map +1 -1
  145. package/esm/oas/operation/toOperationsV3.js +12 -7
  146. package/esm/oas/parameter/Parameter.d.ts +12 -13
  147. package/esm/oas/parameter/Parameter.d.ts.map +1 -1
  148. package/esm/oas/parameter/Parameter.js +0 -3
  149. package/esm/oas/parameter/parameter-types.d.ts +0 -20
  150. package/esm/oas/parameter/parameter-types.d.ts.map +1 -1
  151. package/esm/oas/parameter/parameter-types.js +0 -20
  152. package/esm/oas/parameter/toParameterV3.d.ts.map +1 -1
  153. package/esm/oas/parameter/toParameterV3.js +14 -11
  154. package/esm/oas/pathItem/toPathItemV3.d.ts.map +1 -1
  155. package/esm/oas/pathItem/toPathItemV3.js +2 -1
  156. package/esm/oas/ref/Ref.d.ts +0 -1
  157. package/esm/oas/ref/Ref.d.ts.map +1 -1
  158. package/esm/oas/ref/Ref.js +0 -1
  159. package/esm/oas/ref/toRefV31.d.ts.map +1 -1
  160. package/esm/oas/ref/toRefV31.js +4 -1
  161. package/esm/oas/requestBody/RequestBody.d.ts +0 -1
  162. package/esm/oas/requestBody/RequestBody.d.ts.map +1 -1
  163. package/esm/oas/requestBody/RequestBody.js +0 -1
  164. package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
  165. package/esm/oas/requestBody/toRequestBodiesV3.js +6 -2
  166. package/esm/oas/response/Response.d.ts +0 -1
  167. package/esm/oas/response/Response.d.ts.map +1 -1
  168. package/esm/oas/response/Response.js +0 -1
  169. package/esm/oas/response/toResponseV3.d.ts.map +1 -1
  170. package/esm/oas/response/toResponseV3.js +9 -8
  171. package/esm/oas/schema/Schema.d.ts +0 -1
  172. package/esm/oas/schema/Schema.d.ts.map +1 -1
  173. package/esm/oas/schema/Schema.js +1 -1
  174. package/esm/oas/schema/toSchemasV3.d.ts.map +1 -1
  175. package/esm/oas/schema/toSchemasV3.js +10 -16
  176. package/esm/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
  177. package/esm/oas/securitySchemes/toSecuritySchemes.js +22 -9
  178. package/esm/oas/server/Server.d.ts +0 -1
  179. package/esm/oas/server/Server.d.ts.map +1 -1
  180. package/esm/oas/server/Server.js +0 -1
  181. package/esm/oas/server/toServerV3.d.ts.map +1 -1
  182. package/esm/oas/server/toServerV3.js +2 -1
  183. package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +1 -1
  184. package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
  185. package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.js +17 -13
  186. package/esm/oas/string/String.d.ts +16 -88
  187. package/esm/oas/string/String.d.ts.map +1 -1
  188. package/esm/oas/string/String.js +33 -91
  189. package/esm/oas/string/string-types.d.ts +23 -80
  190. package/esm/oas/string/string-types.d.ts.map +1 -1
  191. package/esm/oas/string/string-types.js +6 -2
  192. package/esm/oas/string/toString.d.ts.map +1 -1
  193. package/esm/oas/string/toString.js +68 -18
  194. package/esm/oas/tag/Tag.d.ts +0 -1
  195. package/esm/oas/tag/Tag.d.ts.map +1 -1
  196. package/esm/oas/tag/Tag.js +0 -1
  197. package/esm/oas/union/toUnion.d.ts.map +1 -1
  198. package/esm/oas/union/toUnion.js +6 -2
  199. package/esm/oas/unknown/Unknown.d.ts +3 -1
  200. package/esm/oas/unknown/Unknown.d.ts.map +1 -1
  201. package/esm/oas/unknown/Unknown.js +8 -1
  202. package/esm/oas/unknown/toUnknown.js +1 -1
  203. package/esm/oas/void/Void.d.ts +0 -1
  204. package/esm/oas/void/Void.d.ts.map +1 -1
  205. package/esm/oas/void/Void.js +0 -1
  206. package/esm/run/toArtifacts.d.ts +2 -2
  207. package/esm/run/toArtifacts.d.ts.map +1 -1
  208. package/esm/run/toArtifacts.js +2 -2
  209. package/esm/types/Brand.d.ts +0 -1
  210. package/esm/types/Brand.d.ts.map +1 -1
  211. package/esm/types/Brand.js +1 -10
  212. package/esm/types/CustomValue.d.ts +0 -1
  213. package/esm/types/CustomValue.d.ts.map +1 -1
  214. package/esm/types/CustomValue.js +0 -1
  215. package/esm/types/DenoJson.d.ts +0 -1
  216. package/esm/types/DenoJson.d.ts.map +1 -1
  217. package/esm/types/DenoJson.js +0 -1
  218. package/esm/types/EnrichmentRequest.d.ts +0 -1
  219. package/esm/types/EnrichmentRequest.d.ts.map +1 -1
  220. package/esm/types/EnrichmentRequest.js +1 -1
  221. package/esm/types/Enrichments.d.ts +0 -1
  222. package/esm/types/Enrichments.d.ts.map +1 -1
  223. package/esm/types/Enrichments.js +0 -1
  224. package/esm/types/GeneratorKeys.d.ts +0 -1
  225. package/esm/types/GeneratorKeys.d.ts.map +1 -1
  226. package/esm/types/GeneratorKeys.js +0 -1
  227. package/esm/types/Manifest.d.ts +0 -1
  228. package/esm/types/Manifest.d.ts.map +1 -1
  229. package/esm/types/Manifest.js +0 -1
  230. package/esm/types/Method.d.ts +0 -165
  231. package/esm/types/Method.d.ts.map +1 -1
  232. package/esm/types/Method.js +1 -141
  233. package/esm/types/ModuleExport.d.ts +0 -1
  234. package/esm/types/ModuleExport.d.ts.map +1 -1
  235. package/esm/types/ModuleExport.js +0 -1
  236. package/esm/types/PrettierConfig.d.ts +0 -1
  237. package/esm/types/PrettierConfig.d.ts.map +1 -1
  238. package/esm/types/PrettierConfig.js +0 -1
  239. package/esm/types/Preview.d.ts +0 -1
  240. package/esm/types/Preview.d.ts.map +1 -1
  241. package/esm/types/Preview.js +0 -1
  242. package/esm/types/RefName.d.ts +0 -1
  243. package/esm/types/RefName.d.ts.map +1 -1
  244. package/esm/types/RefName.js +1 -1
  245. package/esm/types/Results.d.ts +0 -1
  246. package/esm/types/Results.d.ts.map +1 -1
  247. package/esm/types/Results.js +0 -1
  248. package/esm/types/Settings.d.ts +0 -1
  249. package/esm/types/Settings.d.ts.map +1 -1
  250. package/esm/types/Settings.js +0 -1
  251. package/esm/types/TypeSystem.d.ts +0 -1
  252. package/esm/types/TypeSystem.d.ts.map +1 -1
  253. package/esm/types/TypeSystem.js +1 -1
  254. package/esm/typescript/FunctionParameter.d.ts.map +1 -1
  255. package/esm/typescript/FunctionParameter.js +1 -1
  256. package/package.json +1 -15
  257. package/script/app/validate.d.ts +0 -1
  258. package/script/app/validate.d.ts.map +1 -1
  259. package/script/app/validate.js +0 -1
  260. package/script/context/CoreContext.d.ts +2 -2
  261. package/script/context/CoreContext.d.ts.map +1 -1
  262. package/script/context/CoreContext.js +10 -9
  263. package/script/context/GenerateContext.d.ts +1 -1
  264. package/script/context/GenerateContext.d.ts.map +1 -1
  265. package/script/context/GenerateContext.js +4 -38
  266. package/script/context/ParseContext.d.ts +1 -134
  267. package/script/context/ParseContext.d.ts.map +1 -1
  268. package/script/context/ParseContext.js +12 -192
  269. package/script/context/RenderContext.d.ts +3 -8
  270. package/script/context/RenderContext.d.ts.map +1 -1
  271. package/script/context/RenderContext.js +16 -135
  272. package/script/context/StackTrail.d.ts +0 -172
  273. package/script/context/StackTrail.d.ts.map +1 -1
  274. package/script/context/StackTrail.js +1 -195
  275. package/script/dsl/Stringable.d.ts +0 -1
  276. package/script/dsl/Stringable.d.ts.map +1 -1
  277. package/script/dsl/Stringable.js +0 -76
  278. package/script/dsl/model/toModelBase.d.ts +2 -3
  279. package/script/dsl/model/toModelBase.d.ts.map +1 -1
  280. package/script/dsl/model/toModelBase.js +5 -2
  281. package/script/dsl/operation/toOperationBase.d.ts +2 -2
  282. package/script/dsl/operation/toOperationBase.d.ts.map +1 -1
  283. package/script/dsl/operation/toOperationBase.js +5 -2
  284. package/script/dsl/operation/toOperationEntry.d.ts.map +1 -1
  285. package/script/dsl/operation/toOperationEntry.js +5 -2
  286. package/script/helpers/ResultsLog.js +5 -2
  287. package/script/helpers/collateExamples.d.ts +0 -1
  288. package/script/helpers/collateExamples.d.ts.map +1 -1
  289. package/script/helpers/collateExamples.js +0 -1
  290. package/script/helpers/formatNumber.d.ts +0 -1
  291. package/script/helpers/formatNumber.d.ts.map +1 -1
  292. package/script/helpers/formatNumber.js +0 -1
  293. package/script/helpers/isEmpty.d.ts +0 -60
  294. package/script/helpers/isEmpty.d.ts.map +1 -1
  295. package/script/helpers/isEmpty.js +1 -61
  296. package/script/helpers/naming.d.ts.map +1 -1
  297. package/script/helpers/naming.js +3 -3
  298. package/script/helpers/refFns.d.ts +0 -1
  299. package/script/helpers/refFns.d.ts.map +1 -1
  300. package/script/helpers/refFns.js +0 -1
  301. package/script/helpers/strings.d.ts +0 -1
  302. package/script/helpers/strings.d.ts.map +1 -1
  303. package/script/helpers/strings.js +0 -1
  304. package/script/helpers/toResolvedArtifactPath.d.ts +0 -1
  305. package/script/helpers/toResolvedArtifactPath.d.ts.map +1 -1
  306. package/script/helpers/toResolvedArtifactPath.js +2 -3
  307. package/script/helpers/tracer.d.ts +1 -2
  308. package/script/helpers/tracer.d.ts.map +1 -1
  309. package/script/helpers/tracer.js +1 -1
  310. package/script/mod.d.ts +0 -14
  311. package/script/mod.d.ts.map +1 -1
  312. package/script/mod.js +15 -29
  313. package/script/oas/_helpers/parseEnum.d.ts +8 -136
  314. package/script/oas/_helpers/parseEnum.d.ts.map +1 -1
  315. package/script/oas/_helpers/parseEnum.js +21 -152
  316. package/script/oas/_helpers/parseNullable.d.ts.map +1 -1
  317. package/script/oas/_helpers/parseNullable.js +16 -39
  318. package/script/oas/_merge-all-of/merge-enum-values.js +1 -1
  319. package/script/oas/array/Array.d.ts +18 -96
  320. package/script/oas/array/Array.d.ts.map +1 -1
  321. package/script/oas/array/Array.js +38 -102
  322. package/script/oas/array/array-types.d.ts +6 -174
  323. package/script/oas/array/array-types.d.ts.map +1 -1
  324. package/script/oas/array/array-types.js +5 -77
  325. package/script/oas/array/toArray.d.ts +0 -52
  326. package/script/oas/array/toArray.d.ts.map +1 -1
  327. package/script/oas/array/toArray.js +67 -72
  328. package/script/oas/boolean/Boolean.d.ts +12 -133
  329. package/script/oas/boolean/Boolean.d.ts.map +1 -1
  330. package/script/oas/boolean/Boolean.js +28 -134
  331. package/script/oas/boolean/boolean-types.d.ts +14 -1
  332. package/script/oas/boolean/boolean-types.d.ts.map +1 -1
  333. package/script/oas/boolean/boolean-types.js +4 -1
  334. package/script/oas/boolean/toBoolean.d.ts.map +1 -1
  335. package/script/oas/boolean/toBoolean.js +75 -19
  336. package/script/oas/components/Components.d.ts +0 -2
  337. package/script/oas/components/Components.d.ts.map +1 -1
  338. package/script/oas/components/Components.js +0 -2
  339. package/script/oas/components/toComponentsV3.d.ts.map +1 -1
  340. package/script/oas/components/toComponentsV3.js +7 -9
  341. package/script/oas/discriminator/Discriminator.d.ts +0 -1
  342. package/script/oas/discriminator/Discriminator.d.ts.map +1 -1
  343. package/script/oas/discriminator/Discriminator.js +0 -1
  344. package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
  345. package/script/oas/discriminator/toDiscriminatorV3.js +4 -1
  346. package/script/oas/document/Document.d.ts +5 -1
  347. package/script/oas/document/Document.d.ts.map +1 -1
  348. package/script/oas/document/Document.js +7 -1
  349. package/script/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
  350. package/script/oas/document/toDocumentFieldsV3.js +11 -8
  351. package/script/oas/example/Example.d.ts +10 -85
  352. package/script/oas/example/Example.d.ts.map +1 -1
  353. package/script/oas/example/Example.js +36 -105
  354. package/script/oas/example/toExamplesV3.d.ts +1 -1
  355. package/script/oas/example/toExamplesV3.d.ts.map +1 -1
  356. package/script/oas/example/toExamplesV3.js +13 -8
  357. package/script/oas/externalDocs/ExternalDocs.d.ts +10 -0
  358. package/script/oas/externalDocs/ExternalDocs.d.ts.map +1 -0
  359. package/script/oas/externalDocs/ExternalDocs.js +22 -0
  360. package/script/oas/externalDocs/externalDocsTypes.d.ts +7 -0
  361. package/script/oas/externalDocs/externalDocsTypes.d.ts.map +1 -0
  362. package/script/oas/{requestBody/requestBody-types.js → externalDocs/externalDocsTypes.js} +3 -6
  363. package/script/oas/externalDocs/toExternalDocs.d.ts +10 -0
  364. package/script/oas/externalDocs/toExternalDocs.d.ts.map +1 -0
  365. package/script/oas/{response/response-types.js → externalDocs/toExternalDocs.js} +16 -11
  366. package/script/oas/header/Header.d.ts +6 -6
  367. package/script/oas/header/Header.d.ts.map +1 -1
  368. package/script/oas/header/toHeadersV3.d.ts.map +1 -1
  369. package/script/oas/header/toHeadersV3.js +9 -5
  370. package/script/oas/info/Info.d.ts +0 -1
  371. package/script/oas/info/Info.d.ts.map +1 -1
  372. package/script/oas/info/Info.js +0 -1
  373. package/script/oas/integer/Integer.d.ts +18 -81
  374. package/script/oas/integer/Integer.d.ts.map +1 -1
  375. package/script/oas/integer/Integer.js +33 -82
  376. package/script/oas/integer/integer-types.d.ts +21 -1
  377. package/script/oas/integer/integer-types.d.ts.map +1 -1
  378. package/script/oas/integer/integer-types.js +8 -2
  379. package/script/oas/integer/toInteger.d.ts.map +1 -1
  380. package/script/oas/integer/toInteger.js +65 -18
  381. package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
  382. package/script/oas/mediaType/toMediaTypeItemV3.js +9 -10
  383. package/script/oas/number/Number.d.ts +18 -164
  384. package/script/oas/number/Number.d.ts.map +1 -1
  385. package/script/oas/number/Number.js +33 -165
  386. package/script/oas/number/number-types.d.ts +22 -2
  387. package/script/oas/number/number-types.d.ts.map +1 -1
  388. package/script/oas/number/number-types.js +4 -1
  389. package/script/oas/number/toNumber.d.ts +0 -62
  390. package/script/oas/number/toNumber.d.ts.map +1 -1
  391. package/script/oas/number/toNumber.js +66 -81
  392. package/script/oas/object/Object.d.ts +0 -1
  393. package/script/oas/object/Object.d.ts.map +1 -1
  394. package/script/oas/object/Object.js +0 -1
  395. package/script/oas/object/toObject.d.ts.map +1 -1
  396. package/script/oas/object/toObject.js +38 -46
  397. package/script/oas/operation/Operation.d.ts +9 -108
  398. package/script/oas/operation/Operation.d.ts.map +1 -1
  399. package/script/oas/operation/Operation.js +16 -108
  400. package/script/oas/operation/toOperationsV3.d.ts.map +1 -1
  401. package/script/oas/operation/toOperationsV3.js +12 -7
  402. package/script/oas/parameter/Parameter.d.ts +12 -13
  403. package/script/oas/parameter/Parameter.d.ts.map +1 -1
  404. package/script/oas/parameter/Parameter.js +0 -3
  405. package/script/oas/parameter/parameter-types.d.ts +0 -20
  406. package/script/oas/parameter/parameter-types.d.ts.map +1 -1
  407. package/script/oas/parameter/parameter-types.js +1 -21
  408. package/script/oas/parameter/toParameterV3.d.ts.map +1 -1
  409. package/script/oas/parameter/toParameterV3.js +14 -11
  410. package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -1
  411. package/script/oas/pathItem/toPathItemV3.js +2 -1
  412. package/script/oas/ref/Ref.d.ts +0 -1
  413. package/script/oas/ref/Ref.d.ts.map +1 -1
  414. package/script/oas/ref/Ref.js +0 -1
  415. package/script/oas/ref/toRefV31.d.ts.map +1 -1
  416. package/script/oas/ref/toRefV31.js +4 -1
  417. package/script/oas/requestBody/RequestBody.d.ts +0 -1
  418. package/script/oas/requestBody/RequestBody.d.ts.map +1 -1
  419. package/script/oas/requestBody/RequestBody.js +0 -1
  420. package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
  421. package/script/oas/requestBody/toRequestBodiesV3.js +6 -2
  422. package/script/oas/response/Response.d.ts +0 -1
  423. package/script/oas/response/Response.d.ts.map +1 -1
  424. package/script/oas/response/Response.js +0 -1
  425. package/script/oas/response/toResponseV3.d.ts.map +1 -1
  426. package/script/oas/response/toResponseV3.js +9 -8
  427. package/script/oas/schema/Schema.d.ts +0 -1
  428. package/script/oas/schema/Schema.d.ts.map +1 -1
  429. package/script/oas/schema/Schema.js +0 -1
  430. package/script/oas/schema/toSchemasV3.d.ts.map +1 -1
  431. package/script/oas/schema/toSchemasV3.js +10 -16
  432. package/script/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
  433. package/script/oas/securitySchemes/toSecuritySchemes.js +22 -9
  434. package/script/oas/server/Server.d.ts +0 -1
  435. package/script/oas/server/Server.d.ts.map +1 -1
  436. package/script/oas/server/Server.js +0 -1
  437. package/script/oas/server/toServerV3.d.ts.map +1 -1
  438. package/script/oas/server/toServerV3.js +2 -1
  439. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +1 -1
  440. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
  441. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +17 -13
  442. package/script/oas/string/String.d.ts +16 -88
  443. package/script/oas/string/String.d.ts.map +1 -1
  444. package/script/oas/string/String.js +33 -91
  445. package/script/oas/string/string-types.d.ts +23 -80
  446. package/script/oas/string/string-types.d.ts.map +1 -1
  447. package/script/oas/string/string-types.js +6 -2
  448. package/script/oas/string/toString.d.ts.map +1 -1
  449. package/script/oas/string/toString.js +68 -18
  450. package/script/oas/tag/Tag.d.ts +0 -1
  451. package/script/oas/tag/Tag.d.ts.map +1 -1
  452. package/script/oas/tag/Tag.js +0 -1
  453. package/script/oas/union/toUnion.d.ts.map +1 -1
  454. package/script/oas/union/toUnion.js +6 -2
  455. package/script/oas/unknown/Unknown.d.ts +3 -1
  456. package/script/oas/unknown/Unknown.d.ts.map +1 -1
  457. package/script/oas/unknown/Unknown.js +8 -1
  458. package/script/oas/unknown/toUnknown.js +1 -1
  459. package/script/oas/void/Void.d.ts +0 -1
  460. package/script/oas/void/Void.d.ts.map +1 -1
  461. package/script/oas/void/Void.js +0 -1
  462. package/script/run/toArtifacts.d.ts +2 -2
  463. package/script/run/toArtifacts.d.ts.map +1 -1
  464. package/script/run/toArtifacts.js +2 -2
  465. package/script/types/Brand.d.ts +0 -1
  466. package/script/types/Brand.d.ts.map +1 -1
  467. package/script/types/Brand.js +0 -10
  468. package/script/types/CustomValue.d.ts +0 -1
  469. package/script/types/CustomValue.d.ts.map +1 -1
  470. package/script/types/CustomValue.js +0 -1
  471. package/script/types/DenoJson.d.ts +0 -1
  472. package/script/types/DenoJson.d.ts.map +1 -1
  473. package/script/types/DenoJson.js +0 -1
  474. package/script/types/EnrichmentRequest.d.ts +0 -1
  475. package/script/types/EnrichmentRequest.d.ts.map +1 -1
  476. package/script/types/EnrichmentRequest.js +1 -2
  477. package/script/types/Enrichments.d.ts +0 -1
  478. package/script/types/Enrichments.d.ts.map +1 -1
  479. package/script/types/Enrichments.js +35 -36
  480. package/script/types/GeneratorKeys.d.ts +0 -1
  481. package/script/types/GeneratorKeys.d.ts.map +1 -1
  482. package/script/types/GeneratorKeys.js +2 -3
  483. package/script/types/Manifest.d.ts +0 -1
  484. package/script/types/Manifest.d.ts.map +1 -1
  485. package/script/types/Manifest.js +35 -36
  486. package/script/types/Method.d.ts +0 -165
  487. package/script/types/Method.d.ts.map +1 -1
  488. package/script/types/Method.js +1 -141
  489. package/script/types/ModuleExport.d.ts +0 -1
  490. package/script/types/ModuleExport.d.ts.map +1 -1
  491. package/script/types/ModuleExport.js +0 -1
  492. package/script/types/PrettierConfig.d.ts +0 -1
  493. package/script/types/PrettierConfig.d.ts.map +1 -1
  494. package/script/types/PrettierConfig.js +35 -36
  495. package/script/types/Preview.d.ts +0 -1
  496. package/script/types/Preview.d.ts.map +1 -1
  497. package/script/types/Preview.js +35 -36
  498. package/script/types/RefName.d.ts +0 -1
  499. package/script/types/RefName.d.ts.map +1 -1
  500. package/script/types/RefName.js +1 -2
  501. package/script/types/Results.d.ts +0 -1
  502. package/script/types/Results.d.ts.map +1 -1
  503. package/script/types/Results.js +35 -36
  504. package/script/types/Settings.d.ts +0 -1
  505. package/script/types/Settings.d.ts.map +1 -1
  506. package/script/types/Settings.js +35 -36
  507. package/script/types/TypeSystem.d.ts +0 -1
  508. package/script/types/TypeSystem.d.ts.map +1 -1
  509. package/script/types/TypeSystem.js +0 -1
  510. package/script/typescript/FunctionParameter.d.ts.map +1 -1
  511. package/script/typescript/FunctionParameter.js +2 -2
  512. package/esm/_dnt.polyfills.d.ts +0 -12
  513. package/esm/_dnt.polyfills.d.ts.map +0 -1
  514. package/esm/_dnt.polyfills.js +0 -15
  515. package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts +0 -33
  516. package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
  517. package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.js +0 -48
  518. package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts +0 -66
  519. package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
  520. package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.js +0 -1427
  521. package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts +0 -44
  522. package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
  523. package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.js +0 -117
  524. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts +0 -3
  525. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
  526. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.js +0 -103
  527. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts +0 -3
  528. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
  529. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.js +0 -32
  530. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts +0 -3
  531. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
  532. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.js +0 -96
  533. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts +0 -3
  534. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
  535. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.js +0 -159
  536. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts +0 -3
  537. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
  538. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.js +0 -14
  539. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts +0 -3
  540. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
  541. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.js +0 -10
  542. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts +0 -3
  543. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
  544. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.js +0 -22
  545. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts +0 -3
  546. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
  547. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.js +0 -29
  548. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts +0 -3
  549. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
  550. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.js +0 -19
  551. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts +0 -3
  552. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
  553. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.js +0 -30
  554. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts +0 -3
  555. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
  556. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.js +0 -10
  557. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts +0 -3
  558. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
  559. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.js +0 -14
  560. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts +0 -3
  561. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
  562. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.js +0 -9
  563. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts +0 -3
  564. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
  565. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.js +0 -81
  566. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts +0 -3
  567. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
  568. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.js +0 -20
  569. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts +0 -32
  570. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
  571. package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.js +0 -6
  572. package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts +0 -4
  573. package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
  574. package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.js +0 -13
  575. package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts +0 -76
  576. package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
  577. package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.js +0 -93
  578. package/esm/helpers/generationStats.d.ts +0 -312
  579. package/esm/helpers/generationStats.d.ts.map +0 -1
  580. package/esm/helpers/generationStats.js +0 -330
  581. package/esm/oas/_helpers/parseDefault.d.ts +0 -164
  582. package/esm/oas/_helpers/parseDefault.d.ts.map +0 -1
  583. package/esm/oas/_helpers/parseDefault.js +0 -144
  584. package/esm/oas/_helpers/parseExample.d.ts +0 -123
  585. package/esm/oas/_helpers/parseExample.d.ts.map +0 -1
  586. package/esm/oas/_helpers/parseExample.js +0 -103
  587. package/esm/oas/_helpers/parseFormat.d.ts +0 -169
  588. package/esm/oas/_helpers/parseFormat.d.ts.map +0 -1
  589. package/esm/oas/_helpers/parseFormat.js +0 -154
  590. package/esm/oas/components/components-types.d.ts +0 -19
  591. package/esm/oas/components/components-types.d.ts.map +0 -1
  592. package/esm/oas/components/components-types.js +0 -21
  593. package/esm/oas/document/document-types.d.ts +0 -16
  594. package/esm/oas/document/document-types.d.ts.map +0 -1
  595. package/esm/oas/document/document-types.js +0 -18
  596. package/esm/oas/header/header-types.d.ts +0 -50
  597. package/esm/oas/header/header-types.d.ts.map +0 -1
  598. package/esm/oas/header/header-types.js +0 -30
  599. package/esm/oas/mediaType/mediaType-types.d.ts +0 -29
  600. package/esm/oas/mediaType/mediaType-types.d.ts.map +0 -1
  601. package/esm/oas/mediaType/mediaType-types.js +0 -18
  602. package/esm/oas/object/object-types.d.ts +0 -19
  603. package/esm/oas/object/object-types.d.ts.map +0 -1
  604. package/esm/oas/object/object-types.js +0 -23
  605. package/esm/oas/operation/operation-types.d.ts +0 -273
  606. package/esm/oas/operation/operation-types.d.ts.map +0 -1
  607. package/esm/oas/operation/operation-types.js +0 -133
  608. package/esm/oas/pathItem/pathItem-types.d.ts +0 -12
  609. package/esm/oas/pathItem/pathItem-types.d.ts.map +0 -1
  610. package/esm/oas/pathItem/pathItem-types.js +0 -12
  611. package/esm/oas/requestBody/requestBody-types.d.ts +0 -10
  612. package/esm/oas/requestBody/requestBody-types.d.ts.map +0 -1
  613. package/esm/oas/requestBody/requestBody-types.js +0 -9
  614. package/esm/oas/response/response-types.d.ts +0 -12
  615. package/esm/oas/response/response-types.d.ts.map +0 -1
  616. package/esm/oas/response/response-types.js +0 -11
  617. package/esm/oas/schema/schema-types.d.ts +0 -12
  618. package/esm/oas/schema/schema-types.d.ts.map +0 -1
  619. package/esm/oas/schema/schema-types.js +0 -19
  620. package/esm/oas/union/union-types.d.ts +0 -34
  621. package/esm/oas/union/union-types.d.ts.map +0 -1
  622. package/esm/oas/union/union-types.js +0 -19
  623. package/esm/run/toV3JsonDocument.d.ts +0 -151
  624. package/esm/run/toV3JsonDocument.d.ts.map +0 -1
  625. package/esm/run/toV3JsonDocument.js +0 -172
  626. package/script/_dnt.polyfills.d.ts +0 -12
  627. package/script/_dnt.polyfills.d.ts.map +0 -1
  628. package/script/_dnt.polyfills.js +0 -16
  629. package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts +0 -33
  630. package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
  631. package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.js +0 -55
  632. package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts +0 -66
  633. package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
  634. package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.js +0 -1431
  635. package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts +0 -44
  636. package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
  637. package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.js +0 -121
  638. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts +0 -3
  639. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
  640. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.js +0 -106
  641. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts +0 -3
  642. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
  643. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.js +0 -35
  644. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts +0 -3
  645. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
  646. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.js +0 -99
  647. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts +0 -3
  648. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
  649. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.js +0 -162
  650. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts +0 -3
  651. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
  652. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.js +0 -17
  653. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts +0 -3
  654. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
  655. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.js +0 -13
  656. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts +0 -3
  657. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
  658. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.js +0 -25
  659. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts +0 -3
  660. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
  661. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.js +0 -32
  662. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts +0 -3
  663. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
  664. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.js +0 -22
  665. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts +0 -3
  666. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
  667. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.js +0 -33
  668. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts +0 -3
  669. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
  670. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.js +0 -13
  671. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts +0 -3
  672. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
  673. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.js +0 -17
  674. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts +0 -3
  675. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
  676. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.js +0 -12
  677. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts +0 -3
  678. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
  679. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.js +0 -84
  680. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts +0 -3
  681. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
  682. package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.js +0 -23
  683. package/script/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts +0 -32
  684. package/script/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
  685. package/script/deps/jsr.io/@std/yaml/1.0.10/_type.js +0 -7
  686. package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts +0 -4
  687. package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
  688. package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.js +0 -18
  689. package/script/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts +0 -76
  690. package/script/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
  691. package/script/deps/jsr.io/@std/yaml/1.0.10/parse.js +0 -97
  692. package/script/helpers/generationStats.d.ts +0 -312
  693. package/script/helpers/generationStats.d.ts.map +0 -1
  694. package/script/helpers/generationStats.js +0 -339
  695. package/script/oas/_helpers/parseDefault.d.ts +0 -164
  696. package/script/oas/_helpers/parseDefault.d.ts.map +0 -1
  697. package/script/oas/_helpers/parseDefault.js +0 -181
  698. package/script/oas/_helpers/parseExample.d.ts +0 -123
  699. package/script/oas/_helpers/parseExample.d.ts.map +0 -1
  700. package/script/oas/_helpers/parseExample.js +0 -140
  701. package/script/oas/_helpers/parseFormat.d.ts +0 -169
  702. package/script/oas/_helpers/parseFormat.d.ts.map +0 -1
  703. package/script/oas/_helpers/parseFormat.js +0 -191
  704. package/script/oas/components/components-types.d.ts +0 -19
  705. package/script/oas/components/components-types.d.ts.map +0 -1
  706. package/script/oas/components/components-types.js +0 -57
  707. package/script/oas/document/document-types.d.ts +0 -16
  708. package/script/oas/document/document-types.d.ts.map +0 -1
  709. package/script/oas/document/document-types.js +0 -54
  710. package/script/oas/header/header-types.d.ts +0 -50
  711. package/script/oas/header/header-types.d.ts.map +0 -1
  712. package/script/oas/header/header-types.js +0 -66
  713. package/script/oas/mediaType/mediaType-types.d.ts +0 -29
  714. package/script/oas/mediaType/mediaType-types.d.ts.map +0 -1
  715. package/script/oas/mediaType/mediaType-types.js +0 -54
  716. package/script/oas/object/object-types.d.ts +0 -19
  717. package/script/oas/object/object-types.d.ts.map +0 -1
  718. package/script/oas/object/object-types.js +0 -59
  719. package/script/oas/operation/operation-types.d.ts +0 -273
  720. package/script/oas/operation/operation-types.d.ts.map +0 -1
  721. package/script/oas/operation/operation-types.js +0 -169
  722. package/script/oas/pathItem/pathItem-types.d.ts +0 -12
  723. package/script/oas/pathItem/pathItem-types.d.ts.map +0 -1
  724. package/script/oas/pathItem/pathItem-types.js +0 -48
  725. package/script/oas/requestBody/requestBody-types.d.ts +0 -10
  726. package/script/oas/requestBody/requestBody-types.d.ts.map +0 -1
  727. package/script/oas/response/response-types.d.ts +0 -12
  728. package/script/oas/response/response-types.d.ts.map +0 -1
  729. package/script/oas/schema/schema-types.d.ts +0 -12
  730. package/script/oas/schema/schema-types.d.ts.map +0 -1
  731. package/script/oas/schema/schema-types.js +0 -55
  732. package/script/oas/union/union-types.d.ts +0 -34
  733. package/script/oas/union/union-types.d.ts.map +0 -1
  734. package/script/oas/union/union-types.js +0 -55
  735. package/script/run/toV3JsonDocument.d.ts +0 -151
  736. package/script/run/toV3JsonDocument.d.ts.map +0 -1
  737. package/script/run/toV3JsonDocument.js +0 -180
@@ -1,90 +1,5 @@
1
- import "../_dnt.polyfills.js";
2
- /**
3
- * Represents a stack-based trail for tracking document traversal in OpenAPI processing.
4
- *
5
- * The `StackTrail` class maintains a stack of string frames that represent the current
6
- * path through an OpenAPI document structure. It's used throughout the SKMTC pipeline
7
- * for tracking context during parsing, generating, and debugging schema processing.
8
- *
9
- * This class is essential for error reporting, debugging, and maintaining context
10
- * when processing nested OpenAPI structures like schemas, operations, and components.
11
- *
12
- * ## Key Features
13
- *
14
- * - **Path Tracking**: Maintains a trail of traversed document elements
15
- * - **Context Preservation**: Preserves parsing context for error reporting
16
- * - **Stack Operations**: Supports push, pop, clone, and manipulation operations
17
- * - **Reference Resolution**: Can generate OpenAPI reference strings from trails
18
- * - **Serialization**: Supports string serialization and parsing for persistence
19
- *
20
- * @example Basic usage
21
- * ```typescript
22
- * import { StackTrail } from '@skmtc/core';
23
- *
24
- * // Start with empty trail
25
- * const trail = new StackTrail();
26
- *
27
- * // Build a path through document structure
28
- * trail.append('components')
29
- * .append('schemas')
30
- * .append('User')
31
- * .append('properties')
32
- * .append('name');
33
- *
34
- * console.log(trail.toString()); // 'components:schemas:User:properties:name'
35
- * ```
36
- *
37
- * @example Schema reference generation
38
- * ```typescript
39
- * const schemaTrail = new StackTrail(['components', 'schemas', 'User']);
40
- * const ref = schemaTrail.toStackRef();
41
- * console.log(ref); // '#/components/schemas/User'
42
- * ```
43
- *
44
- * @example Error context tracking
45
- * ```typescript
46
- * class SchemaProcessor {
47
- * processSchema(schema: OasSchema, trail: StackTrail) {
48
- * try {
49
- * // Process schema logic
50
- * return this.transformSchema(schema);
51
- * } catch (error) {
52
- * throw new Error(`Error at ${trail.toString()}: ${error.message}`);
53
- * // Error at components:schemas:User:properties:email: Invalid format
54
- * }
55
- * }
56
- * }
57
- * ```
58
- *
59
- * @example Cloning and manipulation
60
- * ```typescript
61
- * const baseTrail = new StackTrail(['components', 'schemas']);
62
- *
63
- * // Clone for processing different schemas
64
- * const userTrail = baseTrail.clone().append('User');
65
- * const productTrail = baseTrail.clone().append('Product');
66
- *
67
- * console.log(userTrail.toString()); // 'components:schemas:User'
68
- * console.log(productTrail.toString()); // 'components:schemas:Product'
69
- * console.log(baseTrail.toString()); // 'components:schemas' (unchanged)
70
- * ```
71
- */
72
1
  export declare class StackTrail {
73
2
  #private;
74
- /**
75
- * Creates a new StackTrail instance.
76
- *
77
- * @param stack - Initial stack frames (defaults to empty array)
78
- *
79
- * @example
80
- * ```typescript
81
- * // Empty trail
82
- * const trail1 = new StackTrail();
83
- *
84
- * // Pre-populated trail
85
- * const trail2 = new StackTrail(['components', 'schemas', 'User']);
86
- * ```
87
- */
88
3
  constructor(stack?: string[]);
89
4
  /**
90
5
  * Creates a shallow copy of the stack trail.
@@ -102,41 +17,6 @@ export declare class StackTrail {
102
17
  * ```
103
18
  */
104
19
  clone(): StackTrail;
105
- /**
106
- * Creates a new trail from a slice of the current trail.
107
- *
108
- * @param start - Starting index (inclusive)
109
- * @param end - Ending index (exclusive, optional)
110
- * @returns A new StackTrail with sliced frames
111
- *
112
- * @example
113
- * ```typescript
114
- * const trail = new StackTrail(['a', 'b', 'c', 'd', 'e']);
115
- *
116
- * const slice1 = trail.slice(1, 3);
117
- * console.log(slice1.toString()); // 'b:c'
118
- *
119
- * const slice2 = trail.slice(2);
120
- * console.log(slice2.toString()); // 'c:d:e'
121
- * ```
122
- */
123
- slice(start: number, end?: number): StackTrail;
124
- /**
125
- * Checks if all specified frames exist in the trail.
126
- *
127
- * @param frames - Array of frames to check for
128
- * @returns True if all frames are present in the trail
129
- *
130
- * @example
131
- * ```typescript
132
- * const trail = new StackTrail(['components', 'schemas', 'User', 'properties']);
133
- *
134
- * console.log(trail.includes(['schemas', 'User'])); // true
135
- * console.log(trail.includes(['schemas', 'Product'])); // false
136
- * console.log(trail.includes(['components'])); // true
137
- * ```
138
- */
139
- includes(frames: string[]): boolean;
140
20
  /**
141
21
  * Gets a copy of the current stack frames.
142
22
  *
@@ -173,23 +53,6 @@ export declare class StackTrail {
173
53
  * ```
174
54
  */
175
55
  append(frame: string | string[]): StackTrail;
176
- /**
177
- * Gets the parent name of a property frame.
178
- *
179
- * This method is specifically designed to find parent object names
180
- * for property trails in schema processing.
181
- *
182
- * @param frame - The frame name to find the parent of
183
- * @returns Parent name if found, undefined otherwise
184
- *
185
- * @example
186
- * ```typescript
187
- * const trail = new StackTrail(['components', 'schemas', 'User', 'properties', 'email']);
188
- * const parent = trail.getParentOf('email');
189
- * console.log(parent); // 'User'
190
- * ```
191
- */
192
- getParentOf(frame: string): string | undefined;
193
56
  /**
194
57
  * Converts the trail to an OpenAPI reference string if applicable.
195
58
  *
@@ -237,41 +100,6 @@ export declare class StackTrail {
237
100
  * ```
238
101
  */
239
102
  remove(frame: string | string[]): StackTrail;
240
- /**
241
- * Joins multiple stacks or strings into a single colon-separated string.
242
- *
243
- * @param stacks - Array of StackTrail instances or strings to join
244
- * @returns Joined string with colon separators
245
- *
246
- * @example
247
- * ```typescript
248
- * const trail1 = new StackTrail(['components', 'schemas']);
249
- * const trail2 = new StackTrail(['User', 'properties']);
250
- *
251
- * const joined = StackTrail.join(trail1, 'separator', trail2);
252
- * console.log(joined); // 'components:schemas:separator:User:properties'
253
- * ```
254
- */
255
- static join(...stacks: (StackTrail | string)[]): string;
256
- /**
257
- * Parses a colon-separated string into a StackTrail instance.
258
- *
259
- * @param value - Colon-separated string to parse
260
- * @returns New StackTrail instance
261
- *
262
- * @throws {Error} When the string contains empty tokens
263
- *
264
- * @example
265
- * ```typescript
266
- * const trail = StackTrail.parse('components:schemas:User:properties:name');
267
- * console.log(trail.stackTrail); // ['components', 'schemas', 'User', 'properties', 'name']
268
- *
269
- * // Handles escaped colons
270
- * const escapedTrail = StackTrail.parse('components:schemas:User%3AType');
271
- * console.log(escapedTrail.stackTrail); // ['components', 'schemas', 'User:Type']
272
- * ```
273
- */
274
- static parse(value: string): StackTrail;
275
103
  /**
276
104
  * Converts the trail to JSON representation.
277
105
  *
@@ -1 +1 @@
1
- {"version":3,"file":"StackTrail.d.ts","sourceRoot":"","sources":["../../src/context/StackTrail.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAG9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,qBAAa,UAAU;;IAIrB;;;;;;;;;;;;;OAaG;gBACS,KAAK,GAAE,MAAM,EAAO;IAIhC;;;;;;;;;;;;;;OAcG;IACH,KAAK,IAAI,UAAU;IAInB;;;;;;;;;;;;;;;;;OAiBG;IACH,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,UAAU;IAI9C;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO;IAInC;;;;;;;;;;;OAWG;IACH,IAAI,UAAU,IAAI,MAAM,EAAE,CAEzB;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU;IAgB5C;;;;;;;;;;;;;;;OAeG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAW9C;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,IAAI,MAAM,GAAG,SAAS;IAkBhC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU;IAsB5C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,CAAC,UAAU,GAAG,MAAM,CAAC,EAAE,GAAG,MAAM;IAIvD;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU;IAYvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,IAAI,MAAM;IAIhB;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,IAAI,MAAM;CAOnB"}
1
+ {"version":3,"file":"StackTrail.d.ts","sourceRoot":"","sources":["../../src/context/StackTrail.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;;gBAIT,KAAK,GAAE,MAAM,EAAO;IAIhC;;;;;;;;;;;;;;OAcG;IACH,KAAK,IAAI,UAAU;IAInB;;;;;;;;;;;OAWG;IACH,IAAI,UAAU,IAAI,MAAM,EAAE,CAEzB;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU;IAgB5C;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,IAAI,MAAM,GAAG,SAAS;IAkBhC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU;IAoB5C;;;;;;;;;;;;;;OAcG;IACH,MAAM,IAAI,MAAM;IAIhB;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,IAAI,MAAM;CAOnB"}
@@ -13,93 +13,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
13
13
  var _StackTrail_stack;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.StackTrail = void 0;
16
- require("../_dnt.polyfills.js");
17
16
  const Components_js_1 = require("../oas/components/Components.js");
18
- /**
19
- * Represents a stack-based trail for tracking document traversal in OpenAPI processing.
20
- *
21
- * The `StackTrail` class maintains a stack of string frames that represent the current
22
- * path through an OpenAPI document structure. It's used throughout the SKMTC pipeline
23
- * for tracking context during parsing, generating, and debugging schema processing.
24
- *
25
- * This class is essential for error reporting, debugging, and maintaining context
26
- * when processing nested OpenAPI structures like schemas, operations, and components.
27
- *
28
- * ## Key Features
29
- *
30
- * - **Path Tracking**: Maintains a trail of traversed document elements
31
- * - **Context Preservation**: Preserves parsing context for error reporting
32
- * - **Stack Operations**: Supports push, pop, clone, and manipulation operations
33
- * - **Reference Resolution**: Can generate OpenAPI reference strings from trails
34
- * - **Serialization**: Supports string serialization and parsing for persistence
35
- *
36
- * @example Basic usage
37
- * ```typescript
38
- * import { StackTrail } from '@skmtc/core';
39
- *
40
- * // Start with empty trail
41
- * const trail = new StackTrail();
42
- *
43
- * // Build a path through document structure
44
- * trail.append('components')
45
- * .append('schemas')
46
- * .append('User')
47
- * .append('properties')
48
- * .append('name');
49
- *
50
- * console.log(trail.toString()); // 'components:schemas:User:properties:name'
51
- * ```
52
- *
53
- * @example Schema reference generation
54
- * ```typescript
55
- * const schemaTrail = new StackTrail(['components', 'schemas', 'User']);
56
- * const ref = schemaTrail.toStackRef();
57
- * console.log(ref); // '#/components/schemas/User'
58
- * ```
59
- *
60
- * @example Error context tracking
61
- * ```typescript
62
- * class SchemaProcessor {
63
- * processSchema(schema: OasSchema, trail: StackTrail) {
64
- * try {
65
- * // Process schema logic
66
- * return this.transformSchema(schema);
67
- * } catch (error) {
68
- * throw new Error(`Error at ${trail.toString()}: ${error.message}`);
69
- * // Error at components:schemas:User:properties:email: Invalid format
70
- * }
71
- * }
72
- * }
73
- * ```
74
- *
75
- * @example Cloning and manipulation
76
- * ```typescript
77
- * const baseTrail = new StackTrail(['components', 'schemas']);
78
- *
79
- * // Clone for processing different schemas
80
- * const userTrail = baseTrail.clone().append('User');
81
- * const productTrail = baseTrail.clone().append('Product');
82
- *
83
- * console.log(userTrail.toString()); // 'components:schemas:User'
84
- * console.log(productTrail.toString()); // 'components:schemas:Product'
85
- * console.log(baseTrail.toString()); // 'components:schemas' (unchanged)
86
- * ```
87
- */
88
17
  class StackTrail {
89
- /**
90
- * Creates a new StackTrail instance.
91
- *
92
- * @param stack - Initial stack frames (defaults to empty array)
93
- *
94
- * @example
95
- * ```typescript
96
- * // Empty trail
97
- * const trail1 = new StackTrail();
98
- *
99
- * // Pre-populated trail
100
- * const trail2 = new StackTrail(['components', 'schemas', 'User']);
101
- * ```
102
- */
103
18
  constructor(stack = []) {
104
19
  /** Internal stack of traversal frames */
105
20
  _StackTrail_stack.set(this, void 0);
@@ -123,45 +38,6 @@ class StackTrail {
123
38
  clone() {
124
39
  return new StackTrail([...__classPrivateFieldGet(this, _StackTrail_stack, "f")]);
125
40
  }
126
- /**
127
- * Creates a new trail from a slice of the current trail.
128
- *
129
- * @param start - Starting index (inclusive)
130
- * @param end - Ending index (exclusive, optional)
131
- * @returns A new StackTrail with sliced frames
132
- *
133
- * @example
134
- * ```typescript
135
- * const trail = new StackTrail(['a', 'b', 'c', 'd', 'e']);
136
- *
137
- * const slice1 = trail.slice(1, 3);
138
- * console.log(slice1.toString()); // 'b:c'
139
- *
140
- * const slice2 = trail.slice(2);
141
- * console.log(slice2.toString()); // 'c:d:e'
142
- * ```
143
- */
144
- slice(start, end) {
145
- return new StackTrail(__classPrivateFieldGet(this, _StackTrail_stack, "f").slice(start, end));
146
- }
147
- /**
148
- * Checks if all specified frames exist in the trail.
149
- *
150
- * @param frames - Array of frames to check for
151
- * @returns True if all frames are present in the trail
152
- *
153
- * @example
154
- * ```typescript
155
- * const trail = new StackTrail(['components', 'schemas', 'User', 'properties']);
156
- *
157
- * console.log(trail.includes(['schemas', 'User'])); // true
158
- * console.log(trail.includes(['schemas', 'Product'])); // false
159
- * console.log(trail.includes(['components'])); // true
160
- * ```
161
- */
162
- includes(frames) {
163
- return frames.every(frame => __classPrivateFieldGet(this, _StackTrail_stack, "f").includes(frame));
164
- }
165
41
  /**
166
42
  * Gets a copy of the current stack frames.
167
43
  *
@@ -210,30 +86,6 @@ class StackTrail {
210
86
  }
211
87
  throw new Error(`Unexpected stack frame: ${frame}`);
212
88
  }
213
- /**
214
- * Gets the parent name of a property frame.
215
- *
216
- * This method is specifically designed to find parent object names
217
- * for property trails in schema processing.
218
- *
219
- * @param frame - The frame name to find the parent of
220
- * @returns Parent name if found, undefined otherwise
221
- *
222
- * @example
223
- * ```typescript
224
- * const trail = new StackTrail(['components', 'schemas', 'User', 'properties', 'email']);
225
- * const parent = trail.getParentOf('email');
226
- * console.log(parent); // 'User'
227
- * ```
228
- */
229
- getParentOf(frame) {
230
- const lastItemIndex = this.stackTrail.length - 1;
231
- if (this.stackTrail?.[lastItemIndex] === frame &&
232
- this.stackTrail?.[lastItemIndex - 1] === 'properties') {
233
- const parentName = this.stackTrail?.[lastItemIndex - 2];
234
- return typeof parentName === 'string' ? parentName : undefined;
235
- }
236
- }
237
89
  /**
238
90
  * Converts the trail to an OpenAPI reference string if applicable.
239
91
  *
@@ -294,11 +146,10 @@ class StackTrail {
294
146
  */
295
147
  remove(frame) {
296
148
  if (typeof frame === 'string') {
297
- const lastItem = __classPrivateFieldGet(this, _StackTrail_stack, "f")[__classPrivateFieldGet(this, _StackTrail_stack, "f").length - 1];
149
+ const lastItem = __classPrivateFieldGet(this, _StackTrail_stack, "f").pop();
298
150
  if (lastItem !== frame) {
299
151
  throw new Error(`Expected to remove frame '${frame}' but found '${lastItem}'`);
300
152
  }
301
- __classPrivateFieldGet(this, _StackTrail_stack, "f").pop();
302
153
  return this;
303
154
  }
304
155
  if (Array.isArray(frame)) {
@@ -307,51 +158,6 @@ class StackTrail {
307
158
  }
308
159
  throw new Error(`Unexpected stack frame: ${frame}`);
309
160
  }
310
- /**
311
- * Joins multiple stacks or strings into a single colon-separated string.
312
- *
313
- * @param stacks - Array of StackTrail instances or strings to join
314
- * @returns Joined string with colon separators
315
- *
316
- * @example
317
- * ```typescript
318
- * const trail1 = new StackTrail(['components', 'schemas']);
319
- * const trail2 = new StackTrail(['User', 'properties']);
320
- *
321
- * const joined = StackTrail.join(trail1, 'separator', trail2);
322
- * console.log(joined); // 'components:schemas:separator:User:properties'
323
- * ```
324
- */
325
- static join(...stacks) {
326
- return stacks.map(stack => stack.toString()).join(':');
327
- }
328
- /**
329
- * Parses a colon-separated string into a StackTrail instance.
330
- *
331
- * @param value - Colon-separated string to parse
332
- * @returns New StackTrail instance
333
- *
334
- * @throws {Error} When the string contains empty tokens
335
- *
336
- * @example
337
- * ```typescript
338
- * const trail = StackTrail.parse('components:schemas:User:properties:name');
339
- * console.log(trail.stackTrail); // ['components', 'schemas', 'User', 'properties', 'name']
340
- *
341
- * // Handles escaped colons
342
- * const escapedTrail = StackTrail.parse('components:schemas:User%3AType');
343
- * console.log(escapedTrail.stackTrail); // ['components', 'schemas', 'User:Type']
344
- * ```
345
- */
346
- static parse(value) {
347
- const stack = value.split(':').map(item => {
348
- if (!item) {
349
- throw new Error(`Empty stack trail token in: ${value}`);
350
- }
351
- return item.replaceAll('%3A', ':');
352
- });
353
- return new StackTrail(stack);
354
- }
355
161
  /**
356
162
  * Converts the trail to JSON representation.
357
163
  *
@@ -73,7 +73,6 @@
73
73
  * ]); // "user, User"
74
74
  * ```
75
75
  */
76
- import "../_dnt.polyfills.js";
77
76
  export type Stringable = {
78
77
  /** Converts the object to its string representation */
79
78
  toString: () => string;
@@ -1 +1 @@
1
- {"version":3,"file":"Stringable.d.ts","sourceRoot":"","sources":["../../src/dsl/Stringable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,OAAO,sBAAsB,CAAC;AAE9B,MAAM,MAAM,UAAU,GAAG;IACvB,uDAAuD;IACvD,QAAQ,EAAE,MAAM,MAAM,CAAA;CACvB,CAAA"}
1
+ {"version":3,"file":"Stringable.d.ts","sourceRoot":"","sources":["../../src/dsl/Stringable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,uDAAuD;IACvD,QAAQ,EAAE,MAAM,MAAM,CAAA;CACvB,CAAA"}
@@ -1,78 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Represents any object that can be converted to a string representation.
5
- *
6
- * The `Stringable` interface is a fundamental type used throughout the SKMTC DSL
7
- * system to ensure that objects can be converted to strings for code generation.
8
- * This interface matches JavaScript's built-in `toString()` contract and is used
9
- * extensively by the {@link List} class and other string-building utilities.
10
- *
11
- * ## Usage in SKMTC
12
- *
13
- * This type is used as a constraint in generic classes and functions that need
14
- * to output string representations. It allows for type-safe string building
15
- * while accommodating both primitive types and custom objects.
16
- *
17
- * @example Built-in types are stringable
18
- * ```typescript
19
- * import type { Stringable } from '@skmtc/core';
20
- *
21
- * // All these types implement Stringable
22
- * const str: Stringable = 'hello'; // string
23
- * const num: Stringable = 42; // number
24
- * const bool: Stringable = true; // boolean
25
- * const obj: Stringable = { toString: () => 'custom' }; // custom object
26
- * ```
27
- *
28
- * @example Custom classes implementing Stringable
29
- * ```typescript
30
- * class CodeBlock implements Stringable {
31
- * constructor(private code: string) {}
32
- *
33
- * toString(): string {
34
- * return `{\n ${this.code}\n}`;
35
- * }
36
- * }
37
- *
38
- * const block = new CodeBlock('console.log("hello");');
39
- * console.log(block.toString());
40
- * // {
41
- * // console.log("hello");
42
- * // }
43
- * ```
44
- *
45
- * @example Using with List class
46
- * ```typescript
47
- * import { List } from '@skmtc/core';
48
- *
49
- * // List accepts any Stringable items
50
- * const stringables: Stringable[] = [
51
- * 'string literal',
52
- * 42,
53
- * true,
54
- * { toString: () => 'custom object' },
55
- * new CodeBlock('return value;')
56
- * ];
57
- *
58
- * const list = new List(stringables);
59
- * console.log(list.toString());
60
- * // string literal, 42, true, custom object, {
61
- * // return value;
62
- * // }
63
- * ```
64
- *
65
- * @example Type constraints in generics
66
- * ```typescript
67
- * function joinWithCommas<T extends Stringable>(items: T[]): string {
68
- * return items.map(item => item.toString()).join(', ');
69
- * }
70
- *
71
- * const result = joinWithCommas([1, 2, 3]); // "1, 2, 3"
72
- * const identifiers = joinWithCommas([
73
- * Identifier.createVariable('user'),
74
- * Identifier.createType('User')
75
- * ]); // "user, User"
76
- * ```
77
- */
78
- require("../_dnt.polyfills.js");
@@ -3,7 +3,6 @@ import type { RefName } from '../../types/RefName.js';
3
3
  import type { ContentSettings } from '../ContentSettings.js';
4
4
  import type { Identifier } from '../Identifier.js';
5
5
  import * as v from 'valibot';
6
- import type { ModelInsertable } from './types.js';
7
6
  /**
8
7
  * Arguments for creating a model insertable instance.
9
8
  *
@@ -90,8 +89,8 @@ export declare const toModelBase: <EnrichmentType = undefined>(config: BaseModel
90
89
  settings: ContentSettings<EnrichmentType>;
91
90
  refName: RefName;
92
91
  generatorKey: import("../../types/GeneratorKeys.js").GeneratorKey;
93
- insertModel<V extends import("../../mod.js").GeneratedValue, EnrichmentType_1 = undefined>(insertable: ModelInsertable<V, EnrichmentType_1>, refName: RefName, options?: Pick<import("../../context/GenerateContext.js").InsertModelOptions<"force">, "noExport">): import("../Inserted.js").Inserted<V, "force", EnrichmentType_1>;
94
- insertNormalizedModel<V extends import("../../mod.js").GeneratedValue, Schema extends import("../../mod.js").OasSchema | import("../../mod.js").OasRef<"schema"> | import("../../mod.js").OasVoid, EnrichmentType_2 = undefined>(insertable: ModelInsertable<V, EnrichmentType_2>, { schema, fallbackName }: Omit<import("../../context/GenerateContext.js").InsertNormalisedModelArgs<Schema>, "destinationPath">, options?: Pick<import("../../context/GenerateContext.js").InsertModelOptions<"force">, "noExport">): import("../../context/GenerateContext.js").InsertNormalisedModelReturn<V, Schema>;
92
+ insertModel<V extends import("../../mod.js").GeneratedValue, EnrichmentType_1 = undefined>(insertable: import("./types.js").ModelInsertable<V, EnrichmentType_1>, refName: RefName, options?: Pick<import("../../context/GenerateContext.js").InsertModelOptions<"force">, "noExport">): import("../Inserted.js").Inserted<V, "force", EnrichmentType_1>;
93
+ insertNormalizedModel<V extends import("../../mod.js").GeneratedValue, Schema extends import("../../mod.js").OasSchema | import("../../mod.js").OasRef<"schema"> | import("../../mod.js").OasVoid, EnrichmentType_2 = undefined>(insertable: import("./types.js").ModelInsertable<V, EnrichmentType_2>, { schema, fallbackName }: Omit<import("../../context/GenerateContext.js").InsertNormalisedModelArgs<Schema>, "destinationPath">, options?: Pick<import("../../context/GenerateContext.js").InsertModelOptions<"force">, "noExport">): import("../../context/GenerateContext.js").InsertNormalisedModelReturn<V, Schema>;
95
94
  register(args: import("../../context/GenerateContext.js").BaseRegisterArgs): void;
96
95
  context: GenerateContext;
97
96
  skipped: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"toModelBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAEvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAG5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,CAAC,cAAc,GAAG,SAAS,IAAI;IAC5D,2EAA2E;IAC3E,OAAO,EAAE,eAAe,CAAA;IACxB,iEAAiE;IACjE,QAAQ,EAAE,eAAe,CAAC,cAAc,CAAC,CAAA;IACzC,kDAAkD;IAClD,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,eAAe,CAAA;CACzB,CAAA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;IACjE,QAAQ,EAAE,eAAe,CAAC,cAAc,CAAC,CAAA;IACzC,kDAAkD;IAClD,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,eAAe,CAAA;CACzB,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,eAAe,CAAC,cAAc,GAAG,SAAS,IAAI;IACxD,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAA;IACV,4DAA4D;IAC5D,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,UAAU,CAAA;IAC9C,6DAA6D;IAC7D,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA;IAC1C,gEAAgE;IAChE,kBAAkB,CAAC,EAAE,MAAM,CAAC,CAAC,UAAU,CAAC,cAAc,EAAE,cAAc,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;CAC9F,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,eAAO,MAAM,WAAW,GAAI,cAAc,GAAG,SAAS,EACpD,QAAQ,eAAe,CAAC,cAAc,CAAC;eAiBnB,mBAAmB,CAAC,cAAc,CAAC;;;;;;;;;;;UAbvC,OAAO;4BA1DC,OAAO,KAAK,UAAU;4BAEtB,OAAO,KAAK,MAAM;oBA4DhB,sBAAsB,iBAAiB,KAAG,cAAc;;CAmBnF,CAAA"}
@@ -32,12 +32,15 @@ var __importStar = (this && this.__importStar) || (function () {
32
32
  return result;
33
33
  };
34
34
  })();
35
+ var __importDefault = (this && this.__importDefault) || function (mod) {
36
+ return (mod && mod.__esModule) ? mod : { "default": mod };
37
+ };
35
38
  Object.defineProperty(exports, "__esModule", { value: true });
36
39
  exports.toModelBase = void 0;
37
40
  const GeneratorKeys_js_1 = require("../../types/GeneratorKeys.js");
38
41
  const ModelBase_js_1 = require("./ModelBase.js");
39
42
  const v = __importStar(require("valibot"));
40
- const lodash_es_1 = require("lodash-es");
43
+ const get_js_1 = __importDefault(require("lodash-es/get.js"));
41
44
  /**
42
45
  * Creates a base model class constructor for generating type-safe model artifacts.
43
46
  *
@@ -126,7 +129,7 @@ const toModelBase = (config) => {
126
129
  configurable: true,
127
130
  writable: true,
128
131
  value: ({ refName, context }) => {
129
- const modelEnrichments = (0, lodash_es_1.get)(context.settings, `enrichments.${config.id}.${refName}`);
132
+ const modelEnrichments = (0, get_js_1.default)(context.settings, `enrichments.${config.id}.${refName}`);
130
133
  const enrichmentSchema = config.toEnrichmentSchema?.() ?? v.undefined();
131
134
  return v.parse(enrichmentSchema, modelEnrichments);
132
135
  }
@@ -1,7 +1,7 @@
1
1
  import type { GenerateContext } from '../../context/GenerateContext.js';
2
2
  import type { OasOperation } from '../../oas/operation/Operation.js';
3
3
  import type { Identifier } from '../Identifier.js';
4
- import type { OperationInsertable, OperationInsertableArgs } from './types.js';
4
+ import type { OperationInsertableArgs } from './types.js';
5
5
  import * as v from 'valibot';
6
6
  /**
7
7
  * Configuration for creating a base operation class.
@@ -76,7 +76,7 @@ export declare const toOperationBase: <EnrichmentType = undefined>(config: BaseO
76
76
  settings: import("../ContentSettings.js").ContentSettings<EnrichmentType>;
77
77
  operation: OasOperation;
78
78
  generatorKey: import("../../types/GeneratorKeys.js").GeneratorKey;
79
- insertOperation<V extends import("../../mod.js").GeneratedValue, EnrichmentType_1 = undefined>(insertable: OperationInsertable<V, EnrichmentType_1>, operation: OasOperation, options?: Pick<import("../../context/GenerateContext.js").InsertOperationOptions<"force">, "noExport">): import("../Inserted.js").Inserted<V, "force", EnrichmentType_1>;
79
+ insertOperation<V extends import("../../mod.js").GeneratedValue, EnrichmentType_1 = undefined>(insertable: import("./types.js").OperationInsertable<V, EnrichmentType_1>, operation: OasOperation, options?: Pick<import("../../context/GenerateContext.js").InsertOperationOptions<"force">, "noExport">): import("../Inserted.js").Inserted<V, "force", EnrichmentType_1>;
80
80
  insertModel<V extends import("../../mod.js").GeneratedValue, EnrichmentType_2 = undefined>(insertable: import("../model/types.js").ModelInsertable<V, EnrichmentType_2>, refName: import("../../mod.js").RefName, options?: Pick<import("../../context/GenerateContext.js").InsertModelOptions<"force">, "noExport">): import("../Inserted.js").Inserted<V, "force", EnrichmentType_2>;
81
81
  insertNormalizedModel<V extends import("../../mod.js").GeneratedValue, Schema extends import("../../mod.js").OasSchema | import("../../mod.js").OasRef<"schema"> | import("../../mod.js").OasVoid, EnrichmentType_3 = undefined>(insertable: import("../model/types.js").ModelInsertable<V, EnrichmentType_3>, { schema, fallbackName }: Omit<import("../../context/GenerateContext.js").InsertNormalisedModelArgs<Schema>, "destinationPath">, options?: Pick<import("../../context/GenerateContext.js").InsertModelOptions<"force">, "noExport">): import("../../context/GenerateContext.js").InsertNormalisedModelReturn<V, Schema>;
82
82
  defineAndRegister<V extends import("../../mod.js").GeneratedValue>({ identifier, value, noExport }: Omit<import("../../context/GenerateContext.js").DefineAndRegisterArgs<V>, "destinationPath">): import("../Definition.js").Definition<V>;
@@ -1 +1 @@
1
- {"version":3,"file":"toOperationBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationBase.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAEpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AAC9E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,CAAC,cAAc,GAAG,SAAS,IAAI;IAC5D,oDAAoD;IACpD,EAAE,EAAE,MAAM,CAAA;IACV,uDAAuD;IACvD,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAA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IACxD,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,MAAM,CAAA;IACjD,gEAAgE;IAChE,kBAAkB,CAAC,EAAE,MAAM,CAAC,CAAC,UAAU,CAAC,cAAc,EAAE,cAAc,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;CAC9F,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,YAAY,CAAA;IACvB,OAAO,EAAE,eAAe,CAAA;CACzB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,eAAO,MAAM,eAAe,GAAI,cAAc,GAAG,SAAS,EACxD,QAAQ,mBAAmB,CAAC,cAAc,CAAC;eAoBvB,uBAAuB,CAAC,cAAc,CAAC;;;;;;;;;;;;;UAhB3C,WAAW;8BA/DD,YAAY,KAAK,UAAU;8BAE3B,YAAY,KAAK,MAAM;oBAkEvB,wBAAwB,iBAAiB,KAAG,cAAc;CAqBrF,CAAA"}
@@ -32,12 +32,15 @@ var __importStar = (this && this.__importStar) || (function () {
32
32
  return result;
33
33
  };
34
34
  })();
35
+ var __importDefault = (this && this.__importDefault) || function (mod) {
36
+ return (mod && mod.__esModule) ? mod : { "default": mod };
37
+ };
35
38
  Object.defineProperty(exports, "__esModule", { value: true });
36
39
  exports.toOperationBase = void 0;
37
40
  const GeneratorKeys_js_1 = require("../../types/GeneratorKeys.js");
38
41
  const OperationBase_js_1 = require("./OperationBase.js");
39
42
  const v = __importStar(require("valibot"));
40
- const lodash_es_1 = require("lodash-es");
43
+ const get_js_1 = __importDefault(require("lodash-es/get.js"));
41
44
  /**
42
45
  * Creates a base operation class constructor for generating type-safe operation artifacts.
43
46
  *
@@ -126,7 +129,7 @@ const toOperationBase = (config) => {
126
129
  configurable: true,
127
130
  writable: true,
128
131
  value: ({ operation, context }) => {
129
- const operationEnrichments = (0, lodash_es_1.get)(context.settings, `enrichments.${config.id}.${operation.path}.${operation.method}`);
132
+ const operationEnrichments = (0, get_js_1.default)(context.settings, `enrichments.${config.id}.${operation.path}.${operation.method}`);
130
133
  const enrichmentSchema = config.toEnrichmentSchema?.() ?? v.optional(v.unknown());
131
134
  return v.parse(enrichmentSchema, operationEnrichments);
132
135
  }
@@ -1 +1 @@
1
- {"version":3,"file":"toOperationEntry.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationEntry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AACzE,OAAO,KAAK,EACV,eAAe,EACf,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,YAAY,CAAA;AACnB,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAA;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAG1E;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,CAAC,cAAc,GAAG,SAAS,EAAE,GAAG,GAAG,IAAI,IAAI;IAC1E,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,sBAAsB,CAAC,GAAG,CAAC,KAAK,GAAG,CAAA;IAC5E,kBAAkB,CAAC,EAAE,MAAM,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,CAAA;IAC1D,WAAW,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,8BAA8B,CAAC,cAAc,CAAC,KAAK,OAAO,CAAA;IACjG,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,4BAA4B,KAAK,aAAa,CAAA;IACzF,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,S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