@skmtc/core 0.0.491 → 0.0.492

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 (803) hide show
  1. package/package.json +27 -13
  2. package/script/_dnt.polyfills.d.ts +12 -0
  3. package/script/_dnt.polyfills.d.ts.map +1 -0
  4. package/script/_dnt.polyfills.js +16 -0
  5. package/script/_dnt.shims.d.ts +6 -0
  6. package/script/_dnt.shims.d.ts.map +1 -0
  7. package/script/_dnt.shims.js +65 -0
  8. package/script/context/CoreContext.d.ts +58 -0
  9. package/script/context/CoreContext.d.ts.map +1 -0
  10. package/script/context/CoreContext.js +227 -0
  11. package/script/context/GenerateContext.d.ts +232 -0
  12. package/script/context/GenerateContext.d.ts.map +1 -0
  13. package/script/context/GenerateContext.js +510 -0
  14. package/script/context/ParseContext.d.ts +34 -0
  15. package/script/context/ParseContext.d.ts.map +1 -0
  16. package/script/context/ParseContext.js +131 -0
  17. package/script/context/RenderContext.d.ts +38 -0
  18. package/script/context/RenderContext.d.ts.map +1 -0
  19. package/script/context/RenderContext.js +227 -0
  20. package/script/context/ResultsHandler.d.ts +19 -0
  21. package/script/context/ResultsHandler.d.ts.map +1 -0
  22. package/script/context/ResultsHandler.js +56 -0
  23. package/script/context/StackTrail.d.ts +14 -0
  24. package/script/context/StackTrail.d.ts.map +1 -0
  25. package/script/context/StackTrail.js +85 -0
  26. package/script/context/types.d.ts +23 -0
  27. package/script/context/types.d.ts.map +1 -0
  28. package/script/context/types.js +2 -0
  29. package/script/deps/jsr.io/@std/fmt/1.0.2/colors.d.ts +700 -0
  30. package/script/deps/jsr.io/@std/fmt/1.0.2/colors.d.ts.map +1 -0
  31. package/script/deps/jsr.io/@std/fmt/1.0.2/colors.js +976 -0
  32. package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts +218 -0
  33. package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
  34. package/script/deps/jsr.io/@std/fs/1.0.4/exists.js +298 -0
  35. package/script/deps/jsr.io/@std/io/0.224.9/types.d.ts +146 -0
  36. package/script/deps/jsr.io/@std/io/0.224.9/types.d.ts.map +1 -0
  37. package/script/deps/jsr.io/@std/io/0.224.9/types.js +18 -0
  38. package/script/deps/jsr.io/@std/io/0.224.9/write_all.d.ts +51 -0
  39. package/script/deps/jsr.io/@std/io/0.224.9/write_all.d.ts.map +1 -0
  40. package/script/deps/jsr.io/@std/io/0.224.9/write_all.js +65 -0
  41. package/script/deps/jsr.io/@std/log/0.224.8/_config.d.ts +4 -0
  42. package/script/deps/jsr.io/@std/log/0.224.8/_config.d.ts.map +1 -0
  43. package/script/deps/jsr.io/@std/log/0.224.8/_config.js +17 -0
  44. package/script/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.d.ts +8 -0
  45. package/script/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.d.ts.map +1 -0
  46. package/script/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.js +11 -0
  47. package/script/deps/jsr.io/@std/log/0.224.8/_state.d.ts +8 -0
  48. package/script/deps/jsr.io/@std/log/0.224.8/_state.d.ts.map +1 -0
  49. package/script/deps/jsr.io/@std/log/0.224.8/_state.js +10 -0
  50. package/script/deps/jsr.io/@std/log/0.224.8/base_handler.d.ts +22 -0
  51. package/script/deps/jsr.io/@std/log/0.224.8/base_handler.d.ts.map +1 -0
  52. package/script/deps/jsr.io/@std/log/0.224.8/base_handler.js +64 -0
  53. package/script/deps/jsr.io/@std/log/0.224.8/console_handler.d.ts +18 -0
  54. package/script/deps/jsr.io/@std/log/0.224.8/console_handler.d.ts.map +1 -0
  55. package/script/deps/jsr.io/@std/log/0.224.8/console_handler.js +63 -0
  56. package/script/deps/jsr.io/@std/log/0.224.8/critical.d.ts +5 -0
  57. package/script/deps/jsr.io/@std/log/0.224.8/critical.d.ts.map +1 -0
  58. package/script/deps/jsr.io/@std/log/0.224.8/critical.js +13 -0
  59. package/script/deps/jsr.io/@std/log/0.224.8/debug.d.ts +5 -0
  60. package/script/deps/jsr.io/@std/log/0.224.8/debug.d.ts.map +1 -0
  61. package/script/deps/jsr.io/@std/log/0.224.8/debug.js +13 -0
  62. package/script/deps/jsr.io/@std/log/0.224.8/error.d.ts +5 -0
  63. package/script/deps/jsr.io/@std/log/0.224.8/error.d.ts.map +1 -0
  64. package/script/deps/jsr.io/@std/log/0.224.8/error.js +13 -0
  65. package/script/deps/jsr.io/@std/log/0.224.8/file_handler.d.ts +54 -0
  66. package/script/deps/jsr.io/@std/log/0.224.8/file_handler.d.ts.map +1 -0
  67. package/script/deps/jsr.io/@std/log/0.224.8/file_handler.js +162 -0
  68. package/script/deps/jsr.io/@std/log/0.224.8/formatters.d.ts +6 -0
  69. package/script/deps/jsr.io/@std/log/0.224.8/formatters.d.ts.map +1 -0
  70. package/script/deps/jsr.io/@std/log/0.224.8/formatters.js +23 -0
  71. package/script/deps/jsr.io/@std/log/0.224.8/get_logger.d.ts +4 -0
  72. package/script/deps/jsr.io/@std/log/0.224.8/get_logger.d.ts.map +1 -0
  73. package/script/deps/jsr.io/@std/log/0.224.8/get_logger.js +24 -0
  74. package/script/deps/jsr.io/@std/log/0.224.8/info.d.ts +5 -0
  75. package/script/deps/jsr.io/@std/log/0.224.8/info.d.ts.map +1 -0
  76. package/script/deps/jsr.io/@std/log/0.224.8/info.js +13 -0
  77. package/script/deps/jsr.io/@std/log/0.224.8/levels.d.ts +26 -0
  78. package/script/deps/jsr.io/@std/log/0.224.8/levels.d.ts.map +1 -0
  79. package/script/deps/jsr.io/@std/log/0.224.8/levels.js +48 -0
  80. package/script/deps/jsr.io/@std/log/0.224.8/logger.d.ts +63 -0
  81. package/script/deps/jsr.io/@std/log/0.224.8/logger.d.ts.map +1 -0
  82. package/script/deps/jsr.io/@std/log/0.224.8/logger.js +185 -0
  83. package/script/deps/jsr.io/@std/log/0.224.8/mod.d.ts +390 -0
  84. package/script/deps/jsr.io/@std/log/0.224.8/mod.d.ts.map +1 -0
  85. package/script/deps/jsr.io/@std/log/0.224.8/mod.js +406 -0
  86. package/script/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.d.ts +53 -0
  87. package/script/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.d.ts.map +1 -0
  88. package/script/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.js +152 -0
  89. package/script/deps/jsr.io/@std/log/0.224.8/setup.d.ts +4 -0
  90. package/script/deps/jsr.io/@std/log/0.224.8/setup.d.ts.map +1 -0
  91. package/script/deps/jsr.io/@std/log/0.224.8/setup.js +44 -0
  92. package/script/deps/jsr.io/@std/log/0.224.8/warn.d.ts +51 -0
  93. package/script/deps/jsr.io/@std/log/0.224.8/warn.d.ts.map +1 -0
  94. package/script/deps/jsr.io/@std/log/0.224.8/warn.js +13 -0
  95. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts +2 -0
  96. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +1 -0
  97. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +10 -0
  98. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts +4 -0
  99. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +1 -0
  100. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.js +45 -0
  101. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +2 -0
  102. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +1 -0
  103. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +26 -0
  104. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts +40 -0
  105. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +1 -0
  106. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.js +49 -0
  107. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +2 -0
  108. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +1 -0
  109. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +11 -0
  110. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +4 -0
  111. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +1 -0
  112. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +23 -0
  113. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +2 -0
  114. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +1 -0
  115. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +12 -0
  116. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +35 -0
  117. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +1 -0
  118. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +237 -0
  119. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts +2 -0
  120. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +1 -0
  121. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +11 -0
  122. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts +2 -0
  123. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +1 -0
  124. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +80 -0
  125. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +2 -0
  126. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +1 -0
  127. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +12 -0
  128. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts +2 -0
  129. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +1 -0
  130. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +22 -0
  131. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts +2 -0
  132. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +1 -0
  133. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +18 -0
  134. package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts +2 -0
  135. package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
  136. package/script/deps/jsr.io/@std/path/1.0.6/_os.js +35 -0
  137. package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts +28 -0
  138. package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +1 -0
  139. package/script/deps/jsr.io/@std/path/1.0.6/basename.js +39 -0
  140. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts +28 -0
  141. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +1 -0
  142. package/script/deps/jsr.io/@std/path/1.0.6/common.js +36 -0
  143. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts +15 -0
  144. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +1 -0
  145. package/script/deps/jsr.io/@std/path/1.0.6/constants.js +20 -0
  146. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +23 -0
  147. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +1 -0
  148. package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +32 -0
  149. package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts +23 -0
  150. package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +1 -0
  151. package/script/deps/jsr.io/@std/path/1.0.6/extname.js +32 -0
  152. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts +22 -0
  153. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +1 -0
  154. package/script/deps/jsr.io/@std/path/1.0.6/format.js +30 -0
  155. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +22 -0
  156. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +1 -0
  157. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +31 -0
  158. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +77 -0
  159. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +1 -0
  160. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +86 -0
  161. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts +22 -0
  162. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +1 -0
  163. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.js +31 -0
  164. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +17 -0
  165. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +1 -0
  166. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +45 -0
  167. package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts +23 -0
  168. package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +1 -0
  169. package/script/deps/jsr.io/@std/path/1.0.6/join.js +32 -0
  170. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +28 -0
  171. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +1 -0
  172. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +37 -0
  173. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts +54 -0
  174. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +1 -0
  175. package/script/deps/jsr.io/@std/path/1.0.6/mod.js +73 -0
  176. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +27 -0
  177. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +1 -0
  178. package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +36 -0
  179. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +29 -0
  180. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +1 -0
  181. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +38 -0
  182. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts +35 -0
  183. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +1 -0
  184. package/script/deps/jsr.io/@std/path/1.0.6/parse.js +42 -0
  185. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts +2 -0
  186. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +1 -0
  187. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.js +11 -0
  188. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +23 -0
  189. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
  190. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +35 -0
  191. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +13 -0
  192. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +1 -0
  193. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.js +17 -0
  194. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +20 -0
  195. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
  196. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +53 -0
  197. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
  198. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
  199. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +76 -0
  200. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +24 -0
  201. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +1 -0
  202. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +31 -0
  203. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +16 -0
  204. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +1 -0
  205. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +24 -0
  206. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +72 -0
  207. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +1 -0
  208. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +85 -0
  209. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts +17 -0
  210. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +1 -0
  211. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +26 -0
  212. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +20 -0
  213. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
  214. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +32 -0
  215. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +20 -0
  216. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +1 -0
  217. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +42 -0
  218. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +22 -0
  219. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
  220. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +42 -0
  221. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +20 -0
  222. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +1 -0
  223. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +34 -0
  224. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +25 -0
  225. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +1 -0
  226. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +118 -0
  227. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +20 -0
  228. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +1 -0
  229. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +109 -0
  230. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +17 -0
  231. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +1 -0
  232. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +85 -0
  233. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts +17 -0
  234. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +1 -0
  235. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +30 -0
  236. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +16 -0
  237. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +1 -0
  238. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +23 -0
  239. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts +24 -0
  240. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +1 -0
  241. package/script/deps/jsr.io/@std/path/1.0.6/relative.js +33 -0
  242. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +22 -0
  243. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +1 -0
  244. package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +33 -0
  245. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts +22 -0
  246. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +1 -0
  247. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.js +31 -0
  248. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +21 -0
  249. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +1 -0
  250. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +32 -0
  251. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts +38 -0
  252. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +1 -0
  253. package/script/deps/jsr.io/@std/path/1.0.6/types.js +4 -0
  254. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts +4 -0
  255. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +1 -0
  256. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.js +20 -0
  257. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts +23 -0
  258. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +1 -0
  259. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.js +47 -0
  260. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +13 -0
  261. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +1 -0
  262. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.js +17 -0
  263. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +20 -0
  264. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +1 -0
  265. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +115 -0
  266. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts +20 -0
  267. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +1 -0
  268. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.js +84 -0
  269. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +24 -0
  270. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +1 -0
  271. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +31 -0
  272. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +18 -0
  273. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +1 -0
  274. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +33 -0
  275. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +71 -0
  276. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +1 -0
  277. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +85 -0
  278. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts +17 -0
  279. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +1 -0
  280. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +41 -0
  281. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts +20 -0
  282. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +1 -0
  283. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.js +77 -0
  284. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +21 -0
  285. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +1 -0
  286. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +43 -0
  287. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts +22 -0
  288. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +1 -0
  289. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +137 -0
  290. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +20 -0
  291. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +1 -0
  292. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +34 -0
  293. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +25 -0
  294. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +1 -0
  295. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +179 -0
  296. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +23 -0
  297. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +1 -0
  298. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +134 -0
  299. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +17 -0
  300. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +1 -0
  301. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +180 -0
  302. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts +17 -0
  303. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +1 -0
  304. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +37 -0
  305. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +17 -0
  306. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +1 -0
  307. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +52 -0
  308. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.d.ts +6 -0
  309. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.d.ts.map +1 -0
  310. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.js +710 -0
  311. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.d.ts +73 -0
  312. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.d.ts.map +1 -0
  313. package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.js +152 -0
  314. package/script/deps/jsr.io/@std/yaml/0.215.0/_error.d.ts +7 -0
  315. package/script/deps/jsr.io/@std/yaml/0.215.0/_error.d.ts.map +1 -0
  316. package/script/deps/jsr.io/@std/yaml/0.215.0/_error.js +23 -0
  317. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.d.ts +5 -0
  318. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.d.ts.map +1 -0
  319. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.js +1324 -0
  320. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.d.ts +44 -0
  321. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.d.ts.map +1 -0
  322. package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.js +154 -0
  323. package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.d.ts +11 -0
  324. package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.d.ts.map +1 -0
  325. package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.js +85 -0
  326. package/script/deps/jsr.io/@std/yaml/0.215.0/_state.d.ts +6 -0
  327. package/script/deps/jsr.io/@std/yaml/0.215.0/_state.d.ts.map +1 -0
  328. package/script/deps/jsr.io/@std/yaml/0.215.0/_state.js +19 -0
  329. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.d.ts +3 -0
  330. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.d.ts.map +1 -0
  331. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.js +110 -0
  332. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.d.ts +3 -0
  333. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.d.ts.map +1 -0
  334. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.js +35 -0
  335. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.d.ts +3 -0
  336. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.d.ts.map +1 -0
  337. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.js +109 -0
  338. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.d.ts +3 -0
  339. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.d.ts.map +1 -0
  340. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.js +41 -0
  341. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.d.ts +3 -0
  342. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.d.ts.map +1 -0
  343. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.js +171 -0
  344. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.d.ts +3 -0
  345. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.d.ts.map +1 -0
  346. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.js +14 -0
  347. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.d.ts +3 -0
  348. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.d.ts.map +1 -0
  349. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.js +15 -0
  350. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.d.ts +17 -0
  351. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.d.ts.map +1 -0
  352. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.js +39 -0
  353. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.d.ts +3 -0
  354. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.d.ts.map +1 -0
  355. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.js +40 -0
  356. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.d.ts +3 -0
  357. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.d.ts.map +1 -0
  358. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.js +43 -0
  359. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.d.ts +3 -0
  360. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.d.ts.map +1 -0
  361. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.js +38 -0
  362. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.d.ts +3 -0
  363. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.d.ts.map +1 -0
  364. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.js +40 -0
  365. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.d.ts +3 -0
  366. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.d.ts.map +1 -0
  367. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.js +14 -0
  368. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.d.ts +3 -0
  369. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.d.ts.map +1 -0
  370. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.js +28 -0
  371. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.d.ts +3 -0
  372. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.d.ts.map +1 -0
  373. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.js +13 -0
  374. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.d.ts +3 -0
  375. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.d.ts.map +1 -0
  376. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.js +81 -0
  377. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.d.ts +3 -0
  378. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.d.ts.map +1 -0
  379. package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.js +23 -0
  380. package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.d.ts +20 -0
  381. package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.d.ts.map +1 -0
  382. package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.js +74 -0
  383. package/script/deps/jsr.io/@std/yaml/0.215.0/mod.d.ts +49 -0
  384. package/script/deps/jsr.io/@std/yaml/0.215.0/mod.d.ts.map +1 -0
  385. package/script/deps/jsr.io/@std/yaml/0.215.0/mod.js +67 -0
  386. package/script/deps/jsr.io/@std/yaml/0.215.0/parse.d.ts +36 -0
  387. package/script/deps/jsr.io/@std/yaml/0.215.0/parse.d.ts.map +1 -0
  388. package/script/deps/jsr.io/@std/yaml/0.215.0/parse.js +22 -0
  389. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.d.ts +3 -0
  390. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.d.ts.map +1 -0
  391. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.js +15 -0
  392. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.d.ts +3 -0
  393. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.d.ts.map +1 -0
  394. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.js +18 -0
  395. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.d.ts +31 -0
  396. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.d.ts.map +1 -0
  397. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.js +40 -0
  398. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.d.ts +3 -0
  399. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.d.ts.map +1 -0
  400. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.js +15 -0
  401. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.d.ts +3 -0
  402. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.d.ts.map +1 -0
  403. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.js +17 -0
  404. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.d.ts +6 -0
  405. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.d.ts.map +1 -0
  406. package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.js +18 -0
  407. package/script/deps/jsr.io/@std/yaml/0.215.0/schema.d.ts +23 -0
  408. package/script/deps/jsr.io/@std/yaml/0.215.0/schema.d.ts.map +1 -0
  409. package/script/deps/jsr.io/@std/yaml/0.215.0/schema.js +107 -0
  410. package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.d.ts +9 -0
  411. package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.d.ts.map +1 -0
  412. package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.js +17 -0
  413. package/script/deps/jsr.io/@std/yaml/0.215.0/type.d.ts +29 -0
  414. package/script/deps/jsr.io/@std/yaml/0.215.0/type.d.ts.map +1 -0
  415. package/script/deps/jsr.io/@std/yaml/0.215.0/type.js +87 -0
  416. package/script/dsl/ContentSettings.d.ts +19 -0
  417. package/script/dsl/ContentSettings.d.ts.map +1 -0
  418. package/script/dsl/ContentSettings.js +36 -0
  419. package/script/dsl/Definition.d.ts +19 -0
  420. package/script/dsl/Definition.d.ts.map +1 -0
  421. package/script/dsl/Definition.js +41 -0
  422. package/script/dsl/EntityType.d.ts +6 -0
  423. package/script/dsl/EntityType.d.ts.map +1 -0
  424. package/script/dsl/EntityType.js +22 -0
  425. package/script/dsl/File.d.ts +26 -0
  426. package/script/dsl/File.d.ts.map +1 -0
  427. package/script/dsl/File.js +101 -0
  428. package/script/dsl/GatewayBase.d.ts +13 -0
  429. package/script/dsl/GatewayBase.d.ts.map +1 -0
  430. package/script/dsl/GatewayBase.js +23 -0
  431. package/script/dsl/GeneratedValueList.d.ts +9 -0
  432. package/script/dsl/GeneratedValueList.d.ts.map +1 -0
  433. package/script/dsl/GeneratedValueList.js +31 -0
  434. package/script/dsl/Identifier.d.ts +11 -0
  435. package/script/dsl/Identifier.d.ts.map +1 -0
  436. package/script/dsl/Identifier.js +52 -0
  437. package/script/dsl/Import.d.ts +22 -0
  438. package/script/dsl/Import.d.ts.map +1 -0
  439. package/script/dsl/Import.js +60 -0
  440. package/script/dsl/Inserted.d.ts +18 -0
  441. package/script/dsl/Inserted.d.ts.map +1 -0
  442. package/script/dsl/Inserted.js +34 -0
  443. package/script/dsl/Stringable.d.ts +4 -0
  444. package/script/dsl/Stringable.d.ts.map +1 -0
  445. package/script/dsl/Stringable.js +2 -0
  446. package/script/dsl/ValueBase.d.ts +16 -0
  447. package/script/dsl/ValueBase.d.ts.map +1 -0
  448. package/script/dsl/ValueBase.js +46 -0
  449. package/script/dsl/constants.d.ts +2 -0
  450. package/script/dsl/constants.d.ts.map +1 -0
  451. package/script/dsl/constants.js +4 -0
  452. package/script/dsl/model/ModelBase.d.ts +23 -0
  453. package/script/dsl/model/ModelBase.d.ts.map +1 -0
  454. package/script/dsl/model/ModelBase.js +45 -0
  455. package/script/dsl/model/ModelDriver.d.ts +27 -0
  456. package/script/dsl/model/ModelDriver.d.ts.map +1 -0
  457. package/script/dsl/model/ModelDriver.js +105 -0
  458. package/script/dsl/model/ModelInsertable.d.ts +29 -0
  459. package/script/dsl/model/ModelInsertable.d.ts.map +1 -0
  460. package/script/dsl/model/ModelInsertable.js +2 -0
  461. package/script/dsl/model/toModelInsertable.d.ts +36 -0
  462. package/script/dsl/model/toModelInsertable.d.ts.map +1 -0
  463. package/script/dsl/model/toModelInsertable.js +75 -0
  464. package/script/dsl/operation/OperationBase.d.ts +36 -0
  465. package/script/dsl/operation/OperationBase.d.ts.map +1 -0
  466. package/script/dsl/operation/OperationBase.js +61 -0
  467. package/script/dsl/operation/OperationDriver.d.ts +27 -0
  468. package/script/dsl/operation/OperationDriver.d.ts.map +1 -0
  469. package/script/dsl/operation/OperationDriver.js +107 -0
  470. package/script/dsl/operation/OperationInsertable.d.ts +43 -0
  471. package/script/dsl/operation/OperationInsertable.d.ts.map +1 -0
  472. package/script/dsl/operation/OperationInsertable.js +2 -0
  473. package/script/dsl/operation/toOperationGateway.d.ts +29 -0
  474. package/script/dsl/operation/toOperationGateway.d.ts.map +1 -0
  475. package/script/dsl/operation/toOperationGateway.js +68 -0
  476. package/script/dsl/operation/toOperationInsertable.d.ts +44 -0
  477. package/script/dsl/operation/toOperationInsertable.d.ts.map +1 -0
  478. package/script/dsl/operation/toOperationInsertable.js +75 -0
  479. package/script/helpers/ResultsLog.d.ts +8 -0
  480. package/script/helpers/ResultsLog.d.ts.map +1 -0
  481. package/script/helpers/ResultsLog.js +50 -0
  482. package/script/helpers/isImported.d.ts +2 -0
  483. package/script/helpers/isImported.d.ts.map +1 -0
  484. package/script/helpers/isImported.js +8 -0
  485. package/script/helpers/naming.d.ts +9 -0
  486. package/script/helpers/naming.d.ts.map +1 -0
  487. package/script/helpers/naming.js +33 -0
  488. package/script/helpers/refFns.d.ts +8 -0
  489. package/script/helpers/refFns.d.ts.map +1 -0
  490. package/script/helpers/refFns.js +24 -0
  491. package/script/helpers/strings.d.ts +9 -0
  492. package/script/helpers/strings.d.ts.map +1 -0
  493. package/script/helpers/strings.js +25 -0
  494. package/script/helpers/toResolvedArtifactPath.d.ts +8 -0
  495. package/script/helpers/toResolvedArtifactPath.d.ts.map +1 -0
  496. package/script/helpers/toResolvedArtifactPath.js +9 -0
  497. package/script/helpers/tracer.d.ts +3 -0
  498. package/script/helpers/tracer.d.ts.map +1 -0
  499. package/script/helpers/tracer.js +10 -0
  500. package/script/mod.d.ts +75 -0
  501. package/script/mod.d.ts.map +1 -0
  502. package/script/mod.js +90 -0
  503. package/script/oas/array/Array.d.ts +58 -0
  504. package/script/oas/array/Array.d.ts.map +1 -0
  505. package/script/oas/array/Array.js +117 -0
  506. package/script/oas/array/array-types.d.ts +13 -0
  507. package/script/oas/array/array-types.d.ts.map +1 -0
  508. package/script/oas/array/array-types.js +20 -0
  509. package/script/oas/array/toArray.d.ts +10 -0
  510. package/script/oas/array/toArray.d.ts.map +1 -0
  511. package/script/oas/array/toArray.js +20 -0
  512. package/script/oas/boolean/Boolean.d.ts +48 -0
  513. package/script/oas/boolean/Boolean.d.ts.map +1 -0
  514. package/script/oas/boolean/Boolean.js +97 -0
  515. package/script/oas/boolean/boolean-types.d.ts +10 -0
  516. package/script/oas/boolean/boolean-types.d.ts.map +1 -0
  517. package/script/oas/boolean/boolean-types.js +11 -0
  518. package/script/oas/boolean/toBoolean.d.ts +10 -0
  519. package/script/oas/boolean/toBoolean.d.ts.map +1 -0
  520. package/script/oas/boolean/toBoolean.js +17 -0
  521. package/script/oas/components/Components.d.ts +43 -0
  522. package/script/oas/components/Components.d.ts.map +1 -0
  523. package/script/oas/components/Components.js +66 -0
  524. package/script/oas/components/toComponentsV3.d.ts +10 -0
  525. package/script/oas/components/toComponentsV3.d.ts.map +1 -0
  526. package/script/oas/components/toComponentsV3.js +37 -0
  527. package/script/oas/contact/Contact.d.ts +15 -0
  528. package/script/oas/contact/Contact.d.ts.map +1 -0
  529. package/script/oas/contact/Contact.js +42 -0
  530. package/script/oas/contact/toContactV3.d.ts +5 -0
  531. package/script/oas/contact/toContactV3.d.ts.map +1 -0
  532. package/script/oas/contact/toContactV3.js +19 -0
  533. package/script/oas/discriminator/Discriminator.d.ts +9 -0
  534. package/script/oas/discriminator/Discriminator.d.ts.map +1 -0
  535. package/script/oas/discriminator/Discriminator.js +21 -0
  536. package/script/oas/discriminator/discriminator-types.d.ts +8 -0
  537. package/script/oas/discriminator/discriminator-types.d.ts.map +1 -0
  538. package/script/oas/discriminator/discriminator-types.js +9 -0
  539. package/script/oas/discriminator/toDiscriminatorV3.d.ts +10 -0
  540. package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -0
  541. package/script/oas/discriminator/toDiscriminatorV3.js +16 -0
  542. package/script/oas/document/Document.d.ts +33 -0
  543. package/script/oas/document/Document.d.ts.map +1 -0
  544. package/script/oas/document/Document.js +77 -0
  545. package/script/oas/document/toDocumentFieldsV3.d.ts +10 -0
  546. package/script/oas/document/toDocumentFieldsV3.d.ts.map +1 -0
  547. package/script/oas/document/toDocumentFieldsV3.js +25 -0
  548. package/script/oas/example/Example.d.ts +28 -0
  549. package/script/oas/example/Example.d.ts.map +1 -0
  550. package/script/oas/example/Example.js +59 -0
  551. package/script/oas/example/example-types.d.ts +9 -0
  552. package/script/oas/example/example-types.d.ts.map +1 -0
  553. package/script/oas/example/example-types.js +12 -0
  554. package/script/oas/example/toExamplesV3.d.ts +22 -0
  555. package/script/oas/example/toExamplesV3.d.ts.map +1 -0
  556. package/script/oas/example/toExamplesV3.js +49 -0
  557. package/script/oas/header/Header.d.ts +45 -0
  558. package/script/oas/header/Header.d.ts.map +1 -0
  559. package/script/oas/header/Header.js +84 -0
  560. package/script/oas/header/toHeadersV3.d.ts +11 -0
  561. package/script/oas/header/toHeadersV3.d.ts.map +1 -0
  562. package/script/oas/header/toHeadersV3.js +41 -0
  563. package/script/oas/info/Info.d.ts +25 -0
  564. package/script/oas/info/Info.d.ts.map +1 -0
  565. package/script/oas/info/Info.js +51 -0
  566. package/script/oas/info/toInfoV3.d.ts +10 -0
  567. package/script/oas/info/toInfoV3.d.ts.map +1 -0
  568. package/script/oas/info/toInfoV3.js +24 -0
  569. package/script/oas/integer/Integer.d.ts +55 -0
  570. package/script/oas/integer/Integer.d.ts.map +1 -0
  571. package/script/oas/integer/Integer.js +116 -0
  572. package/script/oas/integer/integer-types.d.ts +13 -0
  573. package/script/oas/integer/integer-types.d.ts.map +1 -0
  574. package/script/oas/integer/integer-types.js +22 -0
  575. package/script/oas/integer/toInteger.d.ts +10 -0
  576. package/script/oas/integer/toInteger.d.ts.map +1 -0
  577. package/script/oas/integer/toInteger.js +20 -0
  578. package/script/oas/intersection/Intersection.d.ts +30 -0
  579. package/script/oas/intersection/Intersection.d.ts.map +1 -0
  580. package/script/oas/intersection/Intersection.js +87 -0
  581. package/script/oas/intersection/intersection-types.d.ts +14 -0
  582. package/script/oas/intersection/intersection-types.d.ts.map +1 -0
  583. package/script/oas/intersection/intersection-types.js +15 -0
  584. package/script/oas/intersection/toIntersection.d.ts +11 -0
  585. package/script/oas/intersection/toIntersection.d.ts.map +1 -0
  586. package/script/oas/intersection/toIntersection.js +20 -0
  587. package/script/oas/license/License.d.ts +13 -0
  588. package/script/oas/license/License.d.ts.map +1 -0
  589. package/script/oas/license/License.js +35 -0
  590. package/script/oas/license/toLicenseV3.d.ts +5 -0
  591. package/script/oas/license/toLicenseV3.d.ts.map +1 -0
  592. package/script/oas/license/toLicenseV3.js +18 -0
  593. package/script/oas/markdown/markdown-types.d.ts +3 -0
  594. package/script/oas/markdown/markdown-types.d.ts.map +1 -0
  595. package/script/oas/markdown/markdown-types.js +5 -0
  596. package/script/oas/mediaType/MediaType.d.ts +18 -0
  597. package/script/oas/mediaType/MediaType.d.ts.map +1 -0
  598. package/script/oas/mediaType/MediaType.js +42 -0
  599. package/script/oas/mediaType/mediaType-types.d.ts +12 -0
  600. package/script/oas/mediaType/mediaType-types.d.ts.map +1 -0
  601. package/script/oas/mediaType/mediaType-types.js +15 -0
  602. package/script/oas/mediaType/toMediaTypeItemV3.d.ts +21 -0
  603. package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
  604. package/script/oas/mediaType/toMediaTypeItemV3.js +45 -0
  605. package/script/oas/null/null-types.d.ts +10 -0
  606. package/script/oas/null/null-types.d.ts.map +1 -0
  607. package/script/oas/null/null-types.js +11 -0
  608. package/script/oas/number/Number.d.ts +48 -0
  609. package/script/oas/number/Number.d.ts.map +1 -0
  610. package/script/oas/number/Number.js +97 -0
  611. package/script/oas/number/number-types.d.ts +10 -0
  612. package/script/oas/number/number-types.d.ts.map +1 -0
  613. package/script/oas/number/number-types.js +17 -0
  614. package/script/oas/number/toNumber.d.ts +10 -0
  615. package/script/oas/number/toNumber.d.ts.map +1 -0
  616. package/script/oas/number/toNumber.js +20 -0
  617. package/script/oas/object/Object.d.ts +92 -0
  618. package/script/oas/object/Object.d.ts.map +1 -0
  619. package/script/oas/object/Object.js +196 -0
  620. package/script/oas/object/object-types.d.ts +15 -0
  621. package/script/oas/object/object-types.d.ts.map +1 -0
  622. package/script/oas/object/object-types.js +30 -0
  623. package/script/oas/object/toAdditionalPropertiesV3.d.ts +11 -0
  624. package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +1 -0
  625. package/script/oas/object/toAdditionalPropertiesV3.js +14 -0
  626. package/script/oas/object/toObject.d.ts +10 -0
  627. package/script/oas/object/toObject.d.ts.map +1 -0
  628. package/script/oas/object/toObject.js +29 -0
  629. package/script/oas/operation/Operation.d.ts +56 -0
  630. package/script/oas/operation/Operation.d.ts.map +1 -0
  631. package/script/oas/operation/Operation.js +134 -0
  632. package/script/oas/operation/toOperationsV3.d.ts +23 -0
  633. package/script/oas/operation/toOperationsV3.d.ts.map +1 -0
  634. package/script/oas/operation/toOperationsV3.js +84 -0
  635. package/script/oas/parameter/Parameter.d.ts +42 -0
  636. package/script/oas/parameter/Parameter.d.ts.map +1 -0
  637. package/script/oas/parameter/Parameter.js +126 -0
  638. package/script/oas/parameter/parameter-types.d.ts +26 -0
  639. package/script/oas/parameter/parameter-types.d.ts.map +1 -0
  640. package/script/oas/parameter/parameter-types.js +41 -0
  641. package/script/oas/parameter/toParameterV3.d.ts +21 -0
  642. package/script/oas/parameter/toParameterV3.d.ts.map +1 -0
  643. package/script/oas/parameter/toParameterV3.js +87 -0
  644. package/script/oas/pathItem/PathItem.d.ts +17 -0
  645. package/script/oas/pathItem/PathItem.d.ts.map +1 -0
  646. package/script/oas/pathItem/PathItem.js +42 -0
  647. package/script/oas/pathItem/toPathItemV3.d.ts +10 -0
  648. package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -0
  649. package/script/oas/pathItem/toPathItemV3.js +16 -0
  650. package/script/oas/ref/Ref.d.ts +37 -0
  651. package/script/oas/ref/Ref.d.ts.map +1 -0
  652. package/script/oas/ref/Ref.js +106 -0
  653. package/script/oas/ref/ref-types.d.ts +52 -0
  654. package/script/oas/ref/ref-types.d.ts.map +1 -0
  655. package/script/oas/ref/ref-types.js +57 -0
  656. package/script/oas/ref/toRefV31.d.ts +12 -0
  657. package/script/oas/ref/toRefV31.d.ts.map +1 -0
  658. package/script/oas/ref/toRefV31.js +16 -0
  659. package/script/oas/requestBody/RequestBody.d.ts +22 -0
  660. package/script/oas/requestBody/RequestBody.d.ts.map +1 -0
  661. package/script/oas/requestBody/RequestBody.js +54 -0
  662. package/script/oas/requestBody/toRequestBodiesV3.d.ts +17 -0
  663. package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -0
  664. package/script/oas/requestBody/toRequestBodiesV3.js +43 -0
  665. package/script/oas/response/Response.d.ts +23 -0
  666. package/script/oas/response/Response.d.ts.map +1 -0
  667. package/script/oas/response/Response.js +54 -0
  668. package/script/oas/response/toResponseV3.d.ts +21 -0
  669. package/script/oas/response/toResponseV3.d.ts.map +1 -0
  670. package/script/oas/response/toResponseV3.js +40 -0
  671. package/script/oas/schema/Schema.d.ts +14 -0
  672. package/script/oas/schema/Schema.d.ts.map +1 -0
  673. package/script/oas/schema/Schema.js +2 -0
  674. package/script/oas/schema/schema-types.d.ts +14 -0
  675. package/script/oas/schema/schema-types.d.ts.map +1 -0
  676. package/script/oas/schema/schema-types.js +26 -0
  677. package/script/oas/schema/toSchemasV3.d.ts +28 -0
  678. package/script/oas/schema/toSchemasV3.d.ts.map +1 -0
  679. package/script/oas/schema/toSchemasV3.js +101 -0
  680. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +12 -0
  681. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
  682. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +26 -0
  683. package/script/oas/string/String.d.ts +66 -0
  684. package/script/oas/string/String.d.ts.map +1 -0
  685. package/script/oas/string/String.js +142 -0
  686. package/script/oas/string/string-types.d.ts +18 -0
  687. package/script/oas/string/string-types.d.ts.map +1 -0
  688. package/script/oas/string/string-types.js +35 -0
  689. package/script/oas/string/toString.d.ts +10 -0
  690. package/script/oas/string/toString.d.ts.map +1 -0
  691. package/script/oas/string/toString.js +44 -0
  692. package/script/oas/tag/Tag.d.ts +15 -0
  693. package/script/oas/tag/Tag.d.ts.map +1 -0
  694. package/script/oas/tag/Tag.js +39 -0
  695. package/script/oas/tag/toTagsV3.d.ts +15 -0
  696. package/script/oas/tag/toTagsV3.d.ts.map +1 -0
  697. package/script/oas/tag/toTagsV3.js +26 -0
  698. package/script/oas/union/Union.d.ts +66 -0
  699. package/script/oas/union/Union.d.ts.map +1 -0
  700. package/script/oas/union/Union.js +122 -0
  701. package/script/oas/union/toUnion.d.ts +11 -0
  702. package/script/oas/union/toUnion.d.ts.map +1 -0
  703. package/script/oas/union/toUnion.js +24 -0
  704. package/script/oas/union/union-types.d.ts +14 -0
  705. package/script/oas/union/union-types.d.ts.map +1 -0
  706. package/script/oas/union/union-types.js +15 -0
  707. package/script/oas/unknown/Unknown.d.ts +45 -0
  708. package/script/oas/unknown/Unknown.d.ts.map +1 -0
  709. package/script/oas/unknown/Unknown.js +86 -0
  710. package/script/oas/unknown/toUnknown.d.ts +10 -0
  711. package/script/oas/unknown/toUnknown.d.ts.map +1 -0
  712. package/script/oas/unknown/toUnknown.js +19 -0
  713. package/script/oas/unknown/unknown-types.d.ts +10 -0
  714. package/script/oas/unknown/unknown-types.d.ts.map +1 -0
  715. package/script/oas/unknown/unknown-types.js +11 -0
  716. package/script/oas/void/Void.d.ts +35 -0
  717. package/script/oas/void/Void.d.ts.map +1 -0
  718. package/script/oas/void/Void.js +64 -0
  719. package/script/package.json +3 -0
  720. package/script/run/enrichSettings.d.ts +9 -0
  721. package/script/run/enrichSettings.d.ts.map +1 -0
  722. package/script/run/enrichSettings.js +13 -0
  723. package/script/run/handleEnrichment.d.ts +3 -0
  724. package/script/run/handleEnrichment.d.ts.map +1 -0
  725. package/script/run/handleEnrichment.js +71 -0
  726. package/script/run/toEnrichments.d.ts +13 -0
  727. package/script/run/toEnrichments.d.ts.map +1 -0
  728. package/script/run/toEnrichments.js +42 -0
  729. package/script/run/toSettings.d.ts +12 -0
  730. package/script/run/toSettings.d.ts.map +1 -0
  731. package/script/run/toSettings.js +78 -0
  732. package/script/run/transform.d.ts +20 -0
  733. package/script/run/transform.d.ts.map +1 -0
  734. package/script/run/transform.js +51 -0
  735. package/script/types/Brand.d.ts +7 -0
  736. package/script/types/Brand.d.ts.map +1 -0
  737. package/script/types/Brand.js +3 -0
  738. package/script/types/CustomValue.d.ts +22 -0
  739. package/script/types/CustomValue.d.ts.map +1 -0
  740. package/script/types/CustomValue.js +39 -0
  741. package/script/types/EnrichmentRequest.d.ts +8 -0
  742. package/script/types/EnrichmentRequest.d.ts.map +1 -0
  743. package/script/types/EnrichmentRequest.js +3 -0
  744. package/script/types/Extensions.d.ts +7 -0
  745. package/script/types/Extensions.d.ts.map +1 -0
  746. package/script/types/Extensions.js +6 -0
  747. package/script/types/GeneratedValue.d.ts +19 -0
  748. package/script/types/GeneratedValue.d.ts.map +1 -0
  749. package/script/types/GeneratedValue.js +2 -0
  750. package/script/types/GeneratorKeys.d.ts +50 -0
  751. package/script/types/GeneratorKeys.d.ts.map +1 -0
  752. package/script/types/GeneratorKeys.js +95 -0
  753. package/script/types/GeneratorType.d.ts +9 -0
  754. package/script/types/GeneratorType.d.ts.map +1 -0
  755. package/script/types/GeneratorType.js +2 -0
  756. package/script/types/Manifest.d.ts +121 -0
  757. package/script/types/Manifest.d.ts.map +1 -0
  758. package/script/types/Manifest.js +30 -0
  759. package/script/types/Method.d.ts +11 -0
  760. package/script/types/Method.d.ts.map +1 -0
  761. package/script/types/Method.js +39 -0
  762. package/script/types/Modifiers.d.ts +6 -0
  763. package/script/types/Modifiers.d.ts.map +1 -0
  764. package/script/types/Modifiers.js +2 -0
  765. package/script/types/RefName.d.ts +4 -0
  766. package/script/types/RefName.d.ts.map +1 -0
  767. package/script/types/RefName.js +3 -0
  768. package/script/types/Results.d.ts +10 -0
  769. package/script/types/Results.d.ts.map +1 -0
  770. package/script/types/Results.js +7 -0
  771. package/script/types/Settings.d.ts +306 -0
  772. package/script/types/Settings.d.ts.map +1 -0
  773. package/script/types/Settings.js +45 -0
  774. package/script/types/TypeSystem.d.ts +152 -0
  775. package/script/types/TypeSystem.d.ts.map +1 -0
  776. package/script/types/TypeSystem.js +2 -0
  777. package/script/types/prettierConfig.d.ts +27 -0
  778. package/script/types/prettierConfig.d.ts.map +1 -0
  779. package/script/types/prettierConfig.js +49 -0
  780. package/script/typescript/FunctionParameter.d.ts +34 -0
  781. package/script/typescript/FunctionParameter.d.ts.map +1 -0
  782. package/script/typescript/FunctionParameter.js +84 -0
  783. package/script/typescript/List.d.ts +147 -0
  784. package/script/typescript/List.d.ts.map +1 -0
  785. package/script/typescript/List.js +312 -0
  786. package/script/typescript/PathParams.d.ts +20 -0
  787. package/script/typescript/PathParams.d.ts.map +1 -0
  788. package/script/typescript/PathParams.js +53 -0
  789. package/script/typescript/ReactRouterPathParams.d.ts +20 -0
  790. package/script/typescript/ReactRouterPathParams.d.ts.map +1 -0
  791. package/script/typescript/ReactRouterPathParams.js +53 -0
  792. package/script/typescript/identifiers.d.ts +3 -0
  793. package/script/typescript/identifiers.d.ts.map +1 -0
  794. package/script/typescript/identifiers.js +12 -0
  795. package/script/typescript/keyValues.d.ts +3 -0
  796. package/script/typescript/keyValues.d.ts.map +1 -0
  797. package/script/typescript/keyValues.js +15 -0
  798. package/script/typescript/toPathTemplate.d.ts +2 -0
  799. package/script/typescript/toPathTemplate.d.ts.map +1 -0
  800. package/script/typescript/toPathTemplate.js +7 -0
  801. package/script/typescript/withDescription.d.ts +4 -0
  802. package/script/typescript/withDescription.d.ts.map +1 -0
  803. package/script/typescript/withDescription.js +7 -0
@@ -0,0 +1,36 @@
1
+ import type { OperationInsertable } from './OperationInsertable.js';
2
+ import type { OasOperation } from '../../oas/operation/Operation.js';
3
+ import type { ContentSettings } from '../ContentSettings.js';
4
+ import type { GenerateContext, RegisterArgs } from '../../context/GenerateContext.js';
5
+ import type { GeneratedValue } from '../../types/GeneratedValue.js';
6
+ import type { GeneratorKey } from '../../types/GeneratorKeys.js';
7
+ import { ValueBase } from '../ValueBase.js';
8
+ import type { Definition } from '../Definition.js';
9
+ import type { Identifier } from '../Identifier.js';
10
+ import type { SchemaToValueFn, SchemaType, TypeSystemOutput } from '../../types/TypeSystem.js';
11
+ import type { Inserted } from '../Inserted.js';
12
+ import type { ModelInsertable } from '../model/ModelInsertable.js';
13
+ import type { RefName } from '../../types/RefName.js';
14
+ export type OperationBaseArgs = {
15
+ context: GenerateContext;
16
+ settings: ContentSettings;
17
+ generatorKey: GeneratorKey;
18
+ operation: OasOperation;
19
+ };
20
+ type CreateAndRegisterDefinition<Schema extends SchemaType> = {
21
+ schema: Schema;
22
+ identifier: Identifier;
23
+ schemaToValueFn: SchemaToValueFn;
24
+ };
25
+ export declare class OperationBase extends ValueBase {
26
+ settings: ContentSettings;
27
+ operation: OasOperation;
28
+ generatorKey: GeneratorKey;
29
+ constructor({ context, generatorKey, settings, operation }: OperationBaseArgs);
30
+ insertOperation<V extends GeneratedValue, EnrichmentType>(insertable: OperationInsertable<V, EnrichmentType>, operation: OasOperation): Inserted<V, 'force'>;
31
+ insertModel<V extends GeneratedValue, EnrichmentType>(insertable: ModelInsertable<V, EnrichmentType>, refName: RefName): Inserted<V, 'force'>;
32
+ createAndRegisterDefinition<Schema extends SchemaType>({ schema, identifier, schemaToValueFn }: CreateAndRegisterDefinition<Schema>): Definition<TypeSystemOutput<Schema['type']>>;
33
+ register(args: Omit<RegisterArgs, 'destinationPath'>): void;
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=OperationBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperationBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/OperationBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC9F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,YAAY,EAAE,YAAY,CAAA;IAC1B,SAAS,EAAE,YAAY,CAAA;CACxB,CAAA;AAED,KAAK,2BAA2B,CAAC,MAAM,SAAS,UAAU,IAAI;IAC5D,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;IACtB,eAAe,EAAE,eAAe,CAAA;CACjC,CAAA;AAED,qBAAa,aAAc,SAAQ,SAAS;IAC1C,QAAQ,EAAE,eAAe,CAAA;IACzB,SAAS,EAAE,YAAY,CAAA;IACd,YAAY,EAAE,YAAY,CAAA;gBAEvB,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB;IAQ7E,eAAe,CAAC,CAAC,SAAS,cAAc,EAAE,cAAc,EACtD,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,EAClD,SAAS,EAAE,YAAY,GACtB,QAAQ,CAAC,CAAC,EAAE,OAAO,CAAC;IASvB,WAAW,CAAC,CAAC,SAAS,cAAc,EAAE,cAAc,EAClD,UAAU,EAAE,eAAe,CAAC,CAAC,EAAE,cAAc,CAAC,EAC9C,OAAO,EAAE,OAAO,GACf,QAAQ,CAAC,CAAC,EAAE,OAAO,CAAC;IASvB,2BAA2B,CAAC,MAAM,SAAS,UAAU,EAAE,EACrD,MAAM,EACN,UAAU,EACV,eAAe,EAChB,EAAE,2BAA2B,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IAS5E,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,iBAAiB,CAAC;CAM9D"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OperationBase = void 0;
4
+ const ValueBase_js_1 = require("../ValueBase.js");
5
+ class OperationBase extends ValueBase_js_1.ValueBase {
6
+ constructor({ context, generatorKey, settings, operation }) {
7
+ super({ context });
8
+ Object.defineProperty(this, "settings", {
9
+ enumerable: true,
10
+ configurable: true,
11
+ writable: true,
12
+ value: void 0
13
+ });
14
+ Object.defineProperty(this, "operation", {
15
+ enumerable: true,
16
+ configurable: true,
17
+ writable: true,
18
+ value: void 0
19
+ });
20
+ Object.defineProperty(this, "generatorKey", {
21
+ enumerable: true,
22
+ configurable: true,
23
+ writable: true,
24
+ value: void 0
25
+ });
26
+ this.generatorKey = generatorKey;
27
+ this.operation = operation;
28
+ this.settings = settings;
29
+ }
30
+ insertOperation(insertable, operation) {
31
+ return this.context.insertOperation({
32
+ insertable,
33
+ operation,
34
+ generation: 'force',
35
+ destinationPath: this.settings.exportPath
36
+ });
37
+ }
38
+ insertModel(insertable, refName) {
39
+ return this.context.insertModel({
40
+ insertable,
41
+ refName,
42
+ generation: 'force',
43
+ destinationPath: this.settings.exportPath
44
+ });
45
+ }
46
+ createAndRegisterDefinition({ schema, identifier, schemaToValueFn }) {
47
+ return this.context.createAndRegisterDefinition({
48
+ schema,
49
+ identifier,
50
+ schemaToValueFn,
51
+ destinationPath: this.settings.exportPath
52
+ });
53
+ }
54
+ register(args) {
55
+ this.context.register({
56
+ ...args,
57
+ destinationPath: this.settings.exportPath
58
+ });
59
+ }
60
+ }
61
+ exports.OperationBase = OperationBase;
@@ -0,0 +1,27 @@
1
+ import type { OperationInsertable } from './OperationInsertable.js';
2
+ import type { OasOperation } from '../../oas/operation/Operation.js';
3
+ import type { ContentSettings } from '../ContentSettings.js';
4
+ import type { GeneratedDefinition, GenerationType } from '../../types/GeneratedValue.js';
5
+ import type { GeneratedValue } from '../../types/GeneratedValue.js';
6
+ import type { GenerateContext } from '../../context/GenerateContext.js';
7
+ type CreateOperationArgs<V extends GeneratedValue, T extends GenerationType, EnrichmentType> = {
8
+ context: GenerateContext;
9
+ insertable: OperationInsertable<V, EnrichmentType>;
10
+ operation: OasOperation;
11
+ generation?: T;
12
+ destinationPath?: string;
13
+ };
14
+ export declare class OperationDriver<V extends GeneratedValue, T extends GenerationType, EnrichmentType> {
15
+ context: GenerateContext;
16
+ insertable: OperationInsertable<V, EnrichmentType>;
17
+ operation: OasOperation;
18
+ settings: ContentSettings;
19
+ destinationPath?: string;
20
+ definition: GeneratedDefinition<V, T>;
21
+ constructor({ context, insertable, operation, generation, destinationPath }: CreateOperationArgs<V, T, EnrichmentType>);
22
+ private apply;
23
+ private getDefinition;
24
+ private affirmDefinition;
25
+ }
26
+ export {};
27
+ //# sourceMappingURL=OperationDriver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperationDriver.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/OperationDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAI5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAEnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAEvE,KAAK,mBAAmB,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,cAAc,EAAE,cAAc,IAAI;IAC7F,OAAO,EAAE,eAAe,CAAA;IACxB,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,CAAA;IAClD,SAAS,EAAE,YAAY,CAAA;IACvB,UAAU,CAAC,EAAE,CAAC,CAAA;IACd,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAYD,qBAAa,eAAe,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,cAAc,EAAE,cAAc;IAC7F,OAAO,EAAE,eAAe,CAAA;IACxB,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,CAAA;IAClD,SAAS,EAAE,YAAY,CAAA;IACvB,QAAQ,EAAE,eAAe,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;gBAEzB,EACV,OAAO,EACP,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EAChB,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC;IAc5C,OAAO,CAAC,KAAK;IAsBb,OAAO,CAAC,aAAa;IA8BrB,OAAO,CAAC,gBAAgB;CAqBzB"}
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OperationDriver = void 0;
4
+ const mod_js_1 = require("../../deps/jsr.io/@std/path/1.0.6/mod.js");
5
+ const Definition_js_1 = require("../Definition.js");
6
+ const GeneratorKeys_js_1 = require("../../types/GeneratorKeys.js");
7
+ class OperationDriver {
8
+ constructor({ context, insertable, operation, generation, destinationPath }) {
9
+ Object.defineProperty(this, "context", {
10
+ enumerable: true,
11
+ configurable: true,
12
+ writable: true,
13
+ value: void 0
14
+ });
15
+ Object.defineProperty(this, "insertable", {
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true,
19
+ value: void 0
20
+ });
21
+ Object.defineProperty(this, "operation", {
22
+ enumerable: true,
23
+ configurable: true,
24
+ writable: true,
25
+ value: void 0
26
+ });
27
+ Object.defineProperty(this, "settings", {
28
+ enumerable: true,
29
+ configurable: true,
30
+ writable: true,
31
+ value: void 0
32
+ });
33
+ Object.defineProperty(this, "destinationPath", {
34
+ enumerable: true,
35
+ configurable: true,
36
+ writable: true,
37
+ value: void 0
38
+ });
39
+ Object.defineProperty(this, "definition", {
40
+ enumerable: true,
41
+ configurable: true,
42
+ writable: true,
43
+ value: void 0
44
+ });
45
+ this.context = context;
46
+ this.insertable = insertable;
47
+ this.operation = operation;
48
+ this.destinationPath = destinationPath;
49
+ this.settings = this.context.toOperationContentSettings({
50
+ operation,
51
+ insertable
52
+ });
53
+ this.definition = this.apply({ generation, destinationPath });
54
+ }
55
+ apply({ generation, destinationPath } = {}) {
56
+ const { identifier, exportPath, selected } = this.settings;
57
+ if (!selected && generation !== 'force') {
58
+ return undefined;
59
+ }
60
+ const definition = this.getDefinition({ identifier, exportPath });
61
+ if (destinationPath && (0, mod_js_1.normalize)(exportPath) !== (0, mod_js_1.normalize)(destinationPath)) {
62
+ this.context.register({
63
+ imports: { [exportPath]: [identifier.name] },
64
+ destinationPath
65
+ });
66
+ }
67
+ return definition;
68
+ }
69
+ getDefinition({ identifier, exportPath }) {
70
+ const cachedDefinition = this.context.findDefinition({
71
+ name: identifier.name,
72
+ exportPath
73
+ });
74
+ if (this.affirmDefinition(cachedDefinition, exportPath)) {
75
+ return cachedDefinition;
76
+ }
77
+ const value = new this.insertable({
78
+ context: this.context,
79
+ operation: this.operation,
80
+ settings: this.settings
81
+ });
82
+ const definition = new Definition_js_1.Definition({
83
+ context: this.context,
84
+ value,
85
+ identifier
86
+ });
87
+ this.context.register({
88
+ definitions: [definition],
89
+ destinationPath: exportPath
90
+ });
91
+ return definition;
92
+ }
93
+ affirmDefinition(definition, exportPath) {
94
+ if (!definition) {
95
+ return false;
96
+ }
97
+ const currentKey = (0, GeneratorKeys_js_1.toOperationGeneratorKey)({
98
+ generatorId: this.insertable.id,
99
+ operation: this.operation
100
+ });
101
+ if (currentKey !== definition.generatorKey) {
102
+ throw new Error(`Registered definition mismatch: '${definition.identifier.name}' in file '${exportPath}'. Cached key '${definition.generatorKey}' does not match new key '${currentKey}'`);
103
+ }
104
+ return definition.value instanceof this.insertable;
105
+ }
106
+ }
107
+ exports.OperationDriver = OperationDriver;
@@ -0,0 +1,43 @@
1
+ import type { OasOperation } from '../../oas/operation/Operation.js';
2
+ import type { ContentSettings } from '../ContentSettings.js';
3
+ import type { GenerateContext } from '../../context/GenerateContext.js';
4
+ import type { Identifier } from '../Identifier.js';
5
+ import type { EnrichmentRequest } from '../../types/EnrichmentRequest.js';
6
+ type OperationInsertableConstructorArgs = {
7
+ context: GenerateContext;
8
+ settings: ContentSettings;
9
+ operation: OasOperation;
10
+ };
11
+ export type WithTransformOperation = {
12
+ transformOperation: (operation: OasOperation) => void;
13
+ };
14
+ export type OperationOperationGatewayArgs = {
15
+ context: GenerateContext;
16
+ settings: ContentSettings;
17
+ };
18
+ export type OperationGateway<EnrichmentType> = {
19
+ new ({ context, settings }: OperationOperationGatewayArgs): WithTransformOperation;
20
+ id: string;
21
+ type: 'operation';
22
+ _class: 'OperationGateway';
23
+ toIdentifier: () => Identifier;
24
+ toExportPath: () => string;
25
+ toEnrichmentRequest?: (operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined;
26
+ isSupported: (operation: OasOperation) => boolean;
27
+ pinnable: boolean;
28
+ };
29
+ export type OperationInsertable<V, EnrichmentType> = {
30
+ prototype: V;
31
+ } & {
32
+ new ({ context, settings, operation }: OperationInsertableConstructorArgs): V;
33
+ id: string;
34
+ type: 'operation';
35
+ _class: 'OperationInsertable';
36
+ toIdentifier: (operation: OasOperation) => Identifier;
37
+ toExportPath: (operation: OasOperation) => string;
38
+ toEnrichmentRequest?: (operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined;
39
+ isSupported: (operation: OasOperation) => boolean;
40
+ pinnable: boolean;
41
+ } & Function;
42
+ export {};
43
+ //# sourceMappingURL=OperationInsertable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperationInsertable.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/OperationInsertable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,KAAK,kCAAkC,GAAG;IACxC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,SAAS,EAAE,YAAY,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,kBAAkB,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,IAAI,CAAA;CACtD,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,gBAAgB,CAAC,cAAc,IAAI;IAC7C,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,6BAA6B,GAAG,sBAAsB,CAAA;IAClF,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,MAAM,EAAE,kBAAkB,CAAA;IAE1B,YAAY,EAAE,MAAM,UAAU,CAAA;IAC9B,YAAY,EAAE,MAAM,MAAM,CAAA;IAC1B,mBAAmB,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,iBAAiB,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;IAChG,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;IAEjD,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,EAAE,cAAc,IAAI;IAAE,SAAS,EAAE,CAAC,CAAA;CAAE,GAAG;IACtE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,kCAAkC,GAAG,CAAC,CAAA;IAC7E,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,MAAM,EAAE,qBAAqB,CAAA;IAC7B,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,UAAU,CAAA;IACrD,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,MAAM,CAAA;IACjD,mBAAmB,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,iBAAiB,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;IAChG,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;IAEjD,QAAQ,EAAE,OAAO,CAAA;CAGlB,GAAG,QAAQ,CAAA"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ import type { OasOperation } from '../../oas/operation/Operation.js';
2
+ import { type OperationGatewayArgs } from '../GatewayBase.js';
3
+ import type { Identifier } from '../Identifier.js';
4
+ import type { EnrichmentRequest } from '../../types/EnrichmentRequest.js';
5
+ export type ToOperationGatewayArgs<EnrichmentType> = {
6
+ id: string;
7
+ toIdentifier: () => Identifier;
8
+ toExportPath: () => string;
9
+ isSupported?: (operation: OasOperation) => boolean;
10
+ toEnrichmentRequest?: (operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined;
11
+ };
12
+ export declare const toOperationGateway: <EnrichmentType>(config: ToOperationGatewayArgs<EnrichmentType>) => {
13
+ new ({ context, settings }: OperationGatewayArgs): {
14
+ settings: import("../ContentSettings.js").ContentSettings;
15
+ register(args: Omit<import("../../mod.js").RegisterArgs, "destinationPath">): void;
16
+ context: import("../../mod.js").GenerateContext;
17
+ skipped: boolean;
18
+ generatorKey: import("../../mod.js").GeneratorKey | undefined;
19
+ };
20
+ id: string;
21
+ type: "operation";
22
+ _class: "OperationGateway";
23
+ toIdentifier: () => Identifier;
24
+ toExportPath: () => string;
25
+ toEnrichmentRequest: ((operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined) | undefined;
26
+ isSupported: (operation: OasOperation) => boolean;
27
+ pinnable: boolean;
28
+ };
29
+ //# sourceMappingURL=toOperationGateway.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toOperationGateway.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationGateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAe,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,MAAM,MAAM,sBAAsB,CAAC,cAAc,IAAI;IACnD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,UAAU,CAAA;IAC9B,YAAY,EAAE,MAAM,MAAM,CAAA;IAC1B,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;IAClD,mBAAmB,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,iBAAiB,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;CACjG,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,cAAc,UACvC,sBAAsB,CAAC,cAAc,CAAC;gCAeT,oBAAoB;;;;;;;;;;wBAtBrC,UAAU;wBACV,MAAM;sCAEQ,YAAY,KAAK,iBAAiB,gBAAgB,GAAG,SAAS;6BADtE,YAAY,KAAK,OAAO;;CA0BnD,CAAA"}
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
3
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
4
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.toOperationGateway = void 0;
8
+ const GatewayBase_js_1 = require("../GatewayBase.js");
9
+ const toOperationGateway = (config) => {
10
+ var _a;
11
+ const OperationGateway = (_a = class extends GatewayBase_js_1.GatewayBase {
12
+ constructor({ context, settings }) {
13
+ super({ context, settings });
14
+ }
15
+ },
16
+ __setFunctionName(_a, "OperationGateway"),
17
+ Object.defineProperty(_a, "id", {
18
+ enumerable: true,
19
+ configurable: true,
20
+ writable: true,
21
+ value: config.id
22
+ }),
23
+ Object.defineProperty(_a, "type", {
24
+ enumerable: true,
25
+ configurable: true,
26
+ writable: true,
27
+ value: 'operation'
28
+ }),
29
+ Object.defineProperty(_a, "_class", {
30
+ enumerable: true,
31
+ configurable: true,
32
+ writable: true,
33
+ value: 'OperationGateway'
34
+ }),
35
+ Object.defineProperty(_a, "toIdentifier", {
36
+ enumerable: true,
37
+ configurable: true,
38
+ writable: true,
39
+ value: config.toIdentifier.bind(config)
40
+ }),
41
+ Object.defineProperty(_a, "toExportPath", {
42
+ enumerable: true,
43
+ configurable: true,
44
+ writable: true,
45
+ value: config.toExportPath.bind(config)
46
+ }),
47
+ Object.defineProperty(_a, "toEnrichmentRequest", {
48
+ enumerable: true,
49
+ configurable: true,
50
+ writable: true,
51
+ value: config.toEnrichmentRequest?.bind(config)
52
+ }),
53
+ Object.defineProperty(_a, "isSupported", {
54
+ enumerable: true,
55
+ configurable: true,
56
+ writable: true,
57
+ value: config.isSupported ?? (() => true)
58
+ }),
59
+ Object.defineProperty(_a, "pinnable", {
60
+ enumerable: true,
61
+ configurable: true,
62
+ writable: true,
63
+ value: false
64
+ }),
65
+ _a);
66
+ return OperationGateway;
67
+ };
68
+ exports.toOperationGateway = toOperationGateway;
@@ -0,0 +1,44 @@
1
+ import type { GenerateContext } from '../../context/GenerateContext.js';
2
+ import type { OasOperation } from '../../oas/operation/Operation.js';
3
+ import type { ContentSettings } from '../ContentSettings.js';
4
+ import type { Identifier } from '../Identifier.js';
5
+ import type { EnrichmentRequest } from '../../types/EnrichmentRequest.js';
6
+ export type OperationInsertableArgs = {
7
+ context: GenerateContext;
8
+ settings: ContentSettings;
9
+ operation: OasOperation;
10
+ };
11
+ export type ToOperationInsertableArgs<EnrichmentType> = {
12
+ id: string;
13
+ toIdentifier: (operation: OasOperation) => Identifier;
14
+ toExportPath: (operation: OasOperation) => string;
15
+ isSupported?: (operation: OasOperation) => boolean;
16
+ toEnrichmentRequest?: (operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined;
17
+ pinnable?: boolean;
18
+ };
19
+ export declare const toOperationInsertable: <EnrichmentType>(config: ToOperationInsertableArgs<EnrichmentType>) => {
20
+ new (args: OperationInsertableArgs): {
21
+ settings: ContentSettings;
22
+ operation: OasOperation;
23
+ generatorKey: import("../../types/GeneratorKeys.js").GeneratorKey;
24
+ insertOperation<V extends import("../../mod.js").GeneratedValue, EnrichmentType_1>(insertable: import("./OperationInsertable.js").OperationInsertable<V, EnrichmentType_1>, operation: OasOperation): import("../Inserted.js").Inserted<V, "force">;
25
+ insertModel<V extends import("../../mod.js").GeneratedValue, EnrichmentType_2>(insertable: import("../model/ModelInsertable.js").ModelInsertable<V, EnrichmentType_2>, refName: import("../../mod.js").RefName): import("../Inserted.js").Inserted<V, "force">;
26
+ createAndRegisterDefinition<Schema extends import("../../mod.js").SchemaType>({ schema, identifier, schemaToValueFn }: {
27
+ schema: Schema;
28
+ identifier: Identifier;
29
+ schemaToValueFn: import("../../mod.js").SchemaToValueFn;
30
+ }): import("../Definition.js").Definition<import("../../mod.js").TypeSystemOutput<Schema["type"]>>;
31
+ register(args: Omit<import("../../context/GenerateContext.js").RegisterArgs, "destinationPath">): void;
32
+ context: GenerateContext;
33
+ skipped: boolean;
34
+ };
35
+ id: string;
36
+ type: "operation";
37
+ _class: "OperationInsertable";
38
+ toIdentifier: (operation: OasOperation) => Identifier;
39
+ toExportPath: (operation: OasOperation) => string;
40
+ toEnrichmentRequest: ((operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined) | undefined;
41
+ isSupported: (operation: OasOperation) => boolean;
42
+ pinnable: boolean;
43
+ };
44
+ //# sourceMappingURL=toOperationInsertable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toOperationInsertable.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationInsertable.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,SAAS,EAAE,YAAY,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,yBAAyB,CAAC,cAAc,IAAI;IACtD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,UAAU,CAAA;IACrD,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,MAAM,CAAA;IACjD,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;IAClD,mBAAmB,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,iBAAiB,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;IAChG,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,cAAc,UAC1C,yBAAyB,CAAC,cAAc,CAAC;eAe7B,uBAAuB;;;;;;;;;;;;;;;;;;8BAvBjB,YAAY,KAAK,UAAU;8BAC3B,YAAY,KAAK,MAAM;sCAEf,YAAY,KAAK,iBAAiB,gBAAgB,GAAG,SAAS;6BADtE,YAAY,KAAK,OAAO;;CAiCnD,CAAA"}
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
3
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
4
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.toOperationInsertable = void 0;
8
+ const GeneratorKeys_js_1 = require("../../types/GeneratorKeys.js");
9
+ const OperationBase_js_1 = require("./OperationBase.js");
10
+ const toOperationInsertable = (config) => {
11
+ var _a;
12
+ const OperationInsertable = (_a = class extends OperationBase_js_1.OperationBase {
13
+ constructor(args) {
14
+ super({
15
+ ...args,
16
+ generatorKey: (0, GeneratorKeys_js_1.toOperationGeneratorKey)({
17
+ generatorId: config.id,
18
+ operation: args.operation
19
+ })
20
+ });
21
+ }
22
+ },
23
+ __setFunctionName(_a, "OperationInsertable"),
24
+ Object.defineProperty(_a, "id", {
25
+ enumerable: true,
26
+ configurable: true,
27
+ writable: true,
28
+ value: config.id
29
+ }),
30
+ Object.defineProperty(_a, "type", {
31
+ enumerable: true,
32
+ configurable: true,
33
+ writable: true,
34
+ value: 'operation'
35
+ }),
36
+ Object.defineProperty(_a, "_class", {
37
+ enumerable: true,
38
+ configurable: true,
39
+ writable: true,
40
+ value: 'OperationInsertable'
41
+ }),
42
+ Object.defineProperty(_a, "toIdentifier", {
43
+ enumerable: true,
44
+ configurable: true,
45
+ writable: true,
46
+ value: config.toIdentifier.bind(config)
47
+ }),
48
+ Object.defineProperty(_a, "toExportPath", {
49
+ enumerable: true,
50
+ configurable: true,
51
+ writable: true,
52
+ value: config.toExportPath.bind(config)
53
+ }),
54
+ Object.defineProperty(_a, "toEnrichmentRequest", {
55
+ enumerable: true,
56
+ configurable: true,
57
+ writable: true,
58
+ value: config.toEnrichmentRequest?.bind(config)
59
+ }),
60
+ Object.defineProperty(_a, "isSupported", {
61
+ enumerable: true,
62
+ configurable: true,
63
+ writable: true,
64
+ value: config.isSupported ?? (() => true)
65
+ }),
66
+ Object.defineProperty(_a, "pinnable", {
67
+ enumerable: true,
68
+ configurable: true,
69
+ writable: true,
70
+ value: config.pinnable ?? false
71
+ }),
72
+ _a);
73
+ return OperationInsertable;
74
+ };
75
+ exports.toOperationInsertable = toOperationInsertable;
@@ -0,0 +1,8 @@
1
+ import type { ResultsItem, ResultType } from '../types/Results.js';
2
+ export declare class ResultsLog {
3
+ #private;
4
+ constructor();
5
+ capture(stackTrail: string, result: ResultType): void;
6
+ toTree(): ResultsItem;
7
+ }
8
+ //# sourceMappingURL=ResultsLog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResultsLog.d.ts","sourceRoot":"","sources":["../../src/helpers/ResultsLog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAGlE,qBAAa,UAAU;;;IAOrB,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;IAc9C,MAAM,IAAI,WAAW;CAWtB"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _ResultsLog_instances, _ResultsLog_results, _ResultsLog_incomingResultIsWorse;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ResultsLog = void 0;
16
+ const lodash_es_1 = require("lodash-es");
17
+ class ResultsLog {
18
+ constructor() {
19
+ _ResultsLog_instances.add(this);
20
+ _ResultsLog_results.set(this, void 0);
21
+ __classPrivateFieldSet(this, _ResultsLog_results, {}, "f");
22
+ }
23
+ capture(stackTrail, result) {
24
+ if (__classPrivateFieldGet(this, _ResultsLog_instances, "m", _ResultsLog_incomingResultIsWorse).call(this, __classPrivateFieldGet(this, _ResultsLog_results, "f")[stackTrail], result)) {
25
+ __classPrivateFieldGet(this, _ResultsLog_results, "f")[stackTrail] = result;
26
+ }
27
+ }
28
+ toTree() {
29
+ const tree = {};
30
+ Object.entries(__classPrivateFieldGet(this, _ResultsLog_results, "f")).forEach(([key, value]) => {
31
+ const keys = key.split(':');
32
+ (0, lodash_es_1.set)(tree, keys, value);
33
+ });
34
+ return tree;
35
+ }
36
+ }
37
+ exports.ResultsLog = ResultsLog;
38
+ _ResultsLog_results = new WeakMap(), _ResultsLog_instances = new WeakSet(), _ResultsLog_incomingResultIsWorse = function _ResultsLog_incomingResultIsWorse(current, incoming) {
39
+ if (current === undefined) {
40
+ return true;
41
+ }
42
+ return resultRankings[current] < resultRankings[incoming];
43
+ };
44
+ const resultRankings = {
45
+ error: 50,
46
+ warning: 40,
47
+ success: 30,
48
+ notSelected: 20,
49
+ notSupported: 10
50
+ };
@@ -0,0 +1,2 @@
1
+ export declare const isImported: (pathOne: string, pathTwo: string) => boolean;
2
+ //# sourceMappingURL=isImported.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isImported.d.ts","sourceRoot":"","sources":["../../src/helpers/isImported.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,UAAU,YAAa,MAAM,WAAW,MAAM,KAAG,OAE7D,CAAA"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isImported = void 0;
4
+ const mod_js_1 = require("../deps/jsr.io/@std/path/1.0.6/mod.js");
5
+ const isImported = (pathOne, pathTwo) => {
6
+ return (0, mod_js_1.normalize)(pathOne) !== (0, mod_js_1.normalize)(pathTwo);
7
+ };
8
+ exports.isImported = isImported;
@@ -0,0 +1,9 @@
1
+ import type { OasOperation } from '../oas/operation/Operation.js';
2
+ import type { Method } from '../types/Method.js';
3
+ export declare const toEndpointType: (operation: OasOperation) => "query" | "mutation";
4
+ /** generates endpoint name in the `camelCase{method}Api{path}` format */
5
+ export declare const toEndpointName: (operation: OasOperation) => string;
6
+ export declare const toResponseName: (operation: OasOperation) => string;
7
+ export declare const toArgsName: (operation: OasOperation) => string;
8
+ export declare const toMethodVerb: (method: Method) => string;
9
+ //# sourceMappingURL=naming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../src/helpers/naming.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAGhD,eAAO,MAAM,cAAc,cACd,YAAY,KACtB,OAAO,GAAG,UAEZ,CAAA;AAED,yEAAyE;AACzE,eAAO,MAAM,cAAc,cAAe,YAAY,KAAG,MAMxD,CAAA;AAED,eAAO,MAAM,cAAc,cAAe,YAAY,KAAG,MAIxD,CAAA;AAED,eAAO,MAAM,UAAU,cAAe,YAAY,KAAG,MAIpD,CAAA;AAED,eAAO,MAAM,YAAY,WAAY,MAAM,KAAG,MAK7C,CAAA"}