@thymian/core 0.0.7-canary.20260313-9754f6b → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. package/dist/actions/core-analyze.action.d.ts +11 -0
  2. package/dist/actions/core-analyze.action.d.ts.map +1 -0
  3. package/dist/actions/core-analyze.action.js +2 -0
  4. package/dist/actions/core-analyze.action.js.map +1 -0
  5. package/dist/actions/core-lint.action.d.ts +9 -0
  6. package/dist/actions/core-lint.action.d.ts.map +1 -0
  7. package/dist/actions/core-lint.action.js +2 -0
  8. package/dist/actions/core-lint.action.js.map +1 -0
  9. package/dist/actions/core-request-sample.action.d.ts +9 -0
  10. package/dist/actions/core-request-sample.action.d.ts.map +1 -0
  11. package/dist/actions/core-request-sample.action.js +2 -0
  12. package/dist/actions/core-request-sample.action.js.map +1 -0
  13. package/dist/actions/core-test.action.d.ts +10 -0
  14. package/dist/actions/core-test.action.d.ts.map +1 -0
  15. package/dist/actions/core-test.action.js +2 -0
  16. package/dist/actions/core-test.action.js.map +1 -0
  17. package/dist/actions/core-validation-input.d.ts +6 -0
  18. package/dist/actions/core-validation-input.d.ts.map +1 -0
  19. package/dist/actions/core-validation-input.js +2 -0
  20. package/dist/actions/core-validation-input.js.map +1 -0
  21. package/dist/actions/format-load.action.d.ts +16 -0
  22. package/dist/actions/format-load.action.d.ts.map +1 -0
  23. package/dist/actions/format-load.action.js +36 -0
  24. package/dist/actions/format-load.action.js.map +1 -0
  25. package/dist/actions/index.d.ts +26 -6
  26. package/dist/actions/index.d.ts.map +1 -1
  27. package/dist/actions/index.js +10 -2
  28. package/dist/actions/index.js.map +1 -1
  29. package/dist/actions/report-flush.action.d.ts +6 -0
  30. package/dist/actions/report-flush.action.d.ts.map +1 -0
  31. package/dist/actions/report-flush.action.js +2 -0
  32. package/dist/actions/report-flush.action.js.map +1 -0
  33. package/dist/actions/request-dispatch.action.d.ts +13 -0
  34. package/dist/actions/request-dispatch.action.d.ts.map +1 -0
  35. package/dist/actions/request-dispatch.action.js +45 -0
  36. package/dist/actions/request-dispatch.action.js.map +1 -0
  37. package/dist/actions/traffic-load.action.d.ts +16 -0
  38. package/dist/actions/traffic-load.action.d.ts.map +1 -0
  39. package/dist/actions/traffic-load.action.js +36 -0
  40. package/dist/actions/traffic-load.action.js.map +1 -0
  41. package/dist/actions/validation-result.d.ts +18 -0
  42. package/dist/actions/validation-result.d.ts.map +1 -0
  43. package/dist/actions/validation-result.js +81 -0
  44. package/dist/actions/validation-result.js.map +1 -0
  45. package/dist/core-plugin.d.ts.map +1 -1
  46. package/dist/core-plugin.js +30 -6
  47. package/dist/core-plugin.js.map +1 -1
  48. package/dist/events/report.event.d.ts +31 -19
  49. package/dist/events/report.event.d.ts.map +1 -1
  50. package/dist/events/report.event.js +74 -103
  51. package/dist/events/report.event.js.map +1 -1
  52. package/dist/http-testing/http-test/create-hook-runner.d.ts +21 -0
  53. package/dist/http-testing/http-test/create-hook-runner.d.ts.map +1 -0
  54. package/dist/http-testing/http-test/create-hook-runner.js +17 -0
  55. package/dist/http-testing/http-test/create-hook-runner.js.map +1 -0
  56. package/dist/http-testing/http-test/create-http-test-context.d.ts +3 -0
  57. package/dist/http-testing/http-test/create-http-test-context.d.ts.map +1 -0
  58. package/dist/http-testing/http-test/create-http-test-context.js +24 -0
  59. package/dist/http-testing/http-test/create-http-test-context.js.map +1 -0
  60. package/dist/http-testing/http-test/http-test-case-result.d.ts +46 -0
  61. package/dist/http-testing/http-test/http-test-case-result.d.ts.map +1 -0
  62. package/dist/http-testing/http-test/http-test-case-result.js +2 -0
  63. package/dist/http-testing/http-test/http-test-case-result.js.map +1 -0
  64. package/dist/http-testing/http-test/http-test-case.d.ts +36 -0
  65. package/dist/http-testing/http-test/http-test-case.d.ts.map +1 -0
  66. package/dist/http-testing/http-test/http-test-case.js +2 -0
  67. package/dist/http-testing/http-test/http-test-case.js.map +1 -0
  68. package/dist/http-testing/http-test/http-test-context.d.ts +20 -0
  69. package/dist/http-testing/http-test/http-test-context.d.ts.map +1 -0
  70. package/dist/http-testing/http-test/http-test-context.js +2 -0
  71. package/dist/http-testing/http-test/http-test-context.js.map +1 -0
  72. package/dist/http-testing/http-test/http-test-hooks.d.ts +26 -0
  73. package/dist/http-testing/http-test/http-test-hooks.d.ts.map +1 -0
  74. package/dist/http-testing/http-test/http-test-hooks.js +2 -0
  75. package/dist/http-testing/http-test/http-test-hooks.js.map +1 -0
  76. package/dist/http-testing/http-test/http-test-pipeline.d.ts +10 -0
  77. package/dist/http-testing/http-test/http-test-pipeline.d.ts.map +1 -0
  78. package/dist/http-testing/http-test/http-test-pipeline.js +2 -0
  79. package/dist/http-testing/http-test/http-test-pipeline.js.map +1 -0
  80. package/dist/http-testing/http-test/http-test.d.ts +11 -0
  81. package/dist/http-testing/http-test/http-test.d.ts.map +1 -0
  82. package/dist/http-testing/http-test/http-test.js +35 -0
  83. package/dist/http-testing/http-test/http-test.js.map +1 -0
  84. package/dist/http-testing/http-test/index.d.ts +10 -0
  85. package/dist/http-testing/http-test/index.d.ts.map +1 -0
  86. package/dist/http-testing/http-test/index.js +10 -0
  87. package/dist/http-testing/http-test/index.js.map +1 -0
  88. package/dist/http-testing/http-test/utils.d.ts +11 -0
  89. package/dist/http-testing/http-test/utils.d.ts.map +1 -0
  90. package/dist/http-testing/http-test/utils.js +16 -0
  91. package/dist/http-testing/http-test/utils.js.map +1 -0
  92. package/dist/http-testing/index.d.ts +7 -0
  93. package/dist/http-testing/index.d.ts.map +1 -0
  94. package/dist/http-testing/index.js +7 -0
  95. package/dist/http-testing/index.js.map +1 -0
  96. package/dist/http-testing/operators/expect-for-transaction.operator.d.ts +5 -0
  97. package/dist/http-testing/operators/expect-for-transaction.operator.d.ts.map +1 -0
  98. package/dist/http-testing/operators/expect-for-transaction.operator.js +39 -0
  99. package/dist/http-testing/operators/expect-for-transaction.operator.js.map +1 -0
  100. package/dist/http-testing/operators/expect-headers.operator.d.ts +4 -0
  101. package/dist/http-testing/operators/expect-headers.operator.d.ts.map +1 -0
  102. package/dist/http-testing/operators/expect-headers.operator.js +37 -0
  103. package/dist/http-testing/operators/expect-headers.operator.js.map +1 -0
  104. package/dist/http-testing/operators/expect-status-code.operator.d.ts +5 -0
  105. package/dist/http-testing/operators/expect-status-code.operator.d.ts.map +1 -0
  106. package/dist/http-testing/operators/expect-status-code.operator.js +55 -0
  107. package/dist/http-testing/operators/expect-status-code.operator.js.map +1 -0
  108. package/dist/http-testing/operators/expect.operator.d.ts +4 -0
  109. package/dist/http-testing/operators/expect.operator.d.ts.map +1 -0
  110. package/dist/http-testing/operators/expect.operator.js +31 -0
  111. package/dist/http-testing/operators/expect.operator.js.map +1 -0
  112. package/dist/http-testing/operators/fail.operator.d.ts +4 -0
  113. package/dist/http-testing/operators/fail.operator.d.ts.map +1 -0
  114. package/dist/http-testing/operators/fail.operator.js +8 -0
  115. package/dist/http-testing/operators/fail.operator.js.map +1 -0
  116. package/dist/http-testing/operators/filter-http-transactions.operator.d.ts +10 -0
  117. package/dist/http-testing/operators/filter-http-transactions.operator.d.ts.map +1 -0
  118. package/dist/http-testing/operators/filter-http-transactions.operator.js +18 -0
  119. package/dist/http-testing/operators/filter-http-transactions.operator.js.map +1 -0
  120. package/dist/http-testing/operators/generate-requests.operator.d.ts +10 -0
  121. package/dist/http-testing/operators/generate-requests.operator.d.ts.map +1 -0
  122. package/dist/http-testing/operators/generate-requests.operator.js +44 -0
  123. package/dist/http-testing/operators/generate-requests.operator.js.map +1 -0
  124. package/dist/http-testing/operators/index.d.ts +21 -0
  125. package/dist/http-testing/operators/index.d.ts.map +1 -0
  126. package/dist/http-testing/operators/index.js +21 -0
  127. package/dist/http-testing/operators/index.js.map +1 -0
  128. package/dist/http-testing/operators/map-to-grouped-test-case.operator.d.ts +7 -0
  129. package/dist/http-testing/operators/map-to-grouped-test-case.operator.d.ts.map +1 -0
  130. package/dist/http-testing/operators/map-to-grouped-test-case.operator.js +32 -0
  131. package/dist/http-testing/operators/map-to-grouped-test-case.operator.js.map +1 -0
  132. package/dist/http-testing/operators/map-to-test-case.operator.d.ts +7 -0
  133. package/dist/http-testing/operators/map-to-test-case.operator.d.ts.map +1 -0
  134. package/dist/http-testing/operators/map-to-test-case.operator.js +21 -0
  135. package/dist/http-testing/operators/map-to-test-case.operator.js.map +1 -0
  136. package/dist/http-testing/operators/override-headers.operator.d.ts +5 -0
  137. package/dist/http-testing/operators/override-headers.operator.d.ts.map +1 -0
  138. package/dist/http-testing/operators/override-headers.operator.js +18 -0
  139. package/dist/http-testing/operators/override-headers.operator.js.map +1 -0
  140. package/dist/http-testing/operators/override-with-previous.operator.d.ts +5 -0
  141. package/dist/http-testing/operators/override-with-previous.operator.d.ts.map +1 -0
  142. package/dist/http-testing/operators/override-with-previous.operator.js +23 -0
  143. package/dist/http-testing/operators/override-with-previous.operator.js.map +1 -0
  144. package/dist/http-testing/operators/replay-previous-step.operator.d.ts +5 -0
  145. package/dist/http-testing/operators/replay-previous-step.operator.d.ts.map +1 -0
  146. package/dist/http-testing/operators/replay-previous-step.operator.js +27 -0
  147. package/dist/http-testing/operators/replay-previous-step.operator.js.map +1 -0
  148. package/dist/http-testing/operators/reply-previous-but-expect-response.operator.d.ts +7 -0
  149. package/dist/http-testing/operators/reply-previous-but-expect-response.operator.d.ts.map +1 -0
  150. package/dist/http-testing/operators/reply-previous-but-expect-response.operator.js +61 -0
  151. package/dist/http-testing/operators/reply-previous-but-expect-response.operator.js.map +1 -0
  152. package/dist/http-testing/operators/requires-authorization.operator.d.ts +5 -0
  153. package/dist/http-testing/operators/requires-authorization.operator.d.ts.map +1 -0
  154. package/dist/http-testing/operators/requires-authorization.operator.js +9 -0
  155. package/dist/http-testing/operators/requires-authorization.operator.js.map +1 -0
  156. package/dist/http-testing/operators/run-requests.operator.d.ts +12 -0
  157. package/dist/http-testing/operators/run-requests.operator.d.ts.map +1 -0
  158. package/dist/http-testing/operators/run-requests.operator.js +133 -0
  159. package/dist/http-testing/operators/run-requests.operator.js.map +1 -0
  160. package/dist/http-testing/operators/single-step-for-transaction.operator.d.ts +5 -0
  161. package/dist/http-testing/operators/single-step-for-transaction.operator.d.ts.map +1 -0
  162. package/dist/http-testing/operators/single-step-for-transaction.operator.js +43 -0
  163. package/dist/http-testing/operators/single-step-for-transaction.operator.js.map +1 -0
  164. package/dist/http-testing/operators/skip.operator.d.ts +5 -0
  165. package/dist/http-testing/operators/skip.operator.d.ts.map +1 -0
  166. package/dist/http-testing/operators/skip.operator.js +11 -0
  167. package/dist/http-testing/operators/skip.operator.js.map +1 -0
  168. package/dist/http-testing/operators/step.operator.d.ts +5 -0
  169. package/dist/http-testing/operators/step.operator.d.ts.map +1 -0
  170. package/dist/http-testing/operators/step.operator.js +20 -0
  171. package/dist/http-testing/operators/step.operator.js.map +1 -0
  172. package/dist/http-testing/operators/utils.d.ts +10 -0
  173. package/dist/http-testing/operators/utils.d.ts.map +1 -0
  174. package/dist/http-testing/operators/utils.js +17 -0
  175. package/dist/http-testing/operators/utils.js.map +1 -0
  176. package/dist/http-testing/operators/validate-responses.operator.d.ts +4 -0
  177. package/dist/http-testing/operators/validate-responses.operator.d.ts.map +1 -0
  178. package/dist/http-testing/operators/validate-responses.operator.js +33 -0
  179. package/dist/http-testing/operators/validate-responses.operator.js.map +1 -0
  180. package/dist/http-testing/serialize-parameter.d.ts +6 -0
  181. package/dist/http-testing/serialize-parameter.d.ts.map +1 -0
  182. package/dist/http-testing/serialize-parameter.js +51 -0
  183. package/dist/http-testing/serialize-parameter.js.map +1 -0
  184. package/dist/http-testing/serialize-request.d.ts +7 -0
  185. package/dist/http-testing/serialize-request.d.ts.map +1 -0
  186. package/dist/http-testing/serialize-request.js +112 -0
  187. package/dist/http-testing/serialize-request.js.map +1 -0
  188. package/dist/http-testing/test-builder/builder-pipeline.d.ts +4 -0
  189. package/dist/http-testing/test-builder/builder-pipeline.d.ts.map +1 -0
  190. package/dist/http-testing/test-builder/builder-pipeline.js +2 -0
  191. package/dist/http-testing/test-builder/builder-pipeline.js.map +1 -0
  192. package/dist/http-testing/test-builder/compilers/http-filter-to-transaction-filter.d.ts +9 -0
  193. package/dist/http-testing/test-builder/compilers/http-filter-to-transaction-filter.d.ts.map +1 -0
  194. package/dist/http-testing/test-builder/compilers/http-filter-to-transaction-filter.js +114 -0
  195. package/dist/http-testing/test-builder/compilers/http-filter-to-transaction-filter.js.map +1 -0
  196. package/dist/http-testing/test-builder/compilers/response-scoped-to-response-checker.d.ts +4 -0
  197. package/dist/http-testing/test-builder/compilers/response-scoped-to-response-checker.d.ts.map +1 -0
  198. package/dist/http-testing/test-builder/compilers/response-scoped-to-response-checker.js +36 -0
  199. package/dist/http-testing/test-builder/compilers/response-scoped-to-response-checker.js.map +1 -0
  200. package/dist/http-testing/test-builder/compilers/response-scoped-to-transaction-validator.d.ts +4 -0
  201. package/dist/http-testing/test-builder/compilers/response-scoped-to-transaction-validator.d.ts.map +1 -0
  202. package/dist/http-testing/test-builder/compilers/response-scoped-to-transaction-validator.js +65 -0
  203. package/dist/http-testing/test-builder/compilers/response-scoped-to-transaction-validator.js.map +1 -0
  204. package/dist/http-testing/test-builder/extract-value-from-response.d.ts +4 -0
  205. package/dist/http-testing/test-builder/extract-value-from-response.d.ts.map +1 -0
  206. package/dist/http-testing/test-builder/extract-value-from-response.js +16 -0
  207. package/dist/http-testing/test-builder/extract-value-from-response.js.map +1 -0
  208. package/dist/http-testing/test-builder/override-request-template.d.ts +4 -0
  209. package/dist/http-testing/test-builder/override-request-template.d.ts.map +1 -0
  210. package/dist/http-testing/test-builder/override-request-template.js +33 -0
  211. package/dist/http-testing/test-builder/override-request-template.js.map +1 -0
  212. package/dist/http-testing/test-builder/reply-step-builder.d.ts +10 -0
  213. package/dist/http-testing/test-builder/reply-step-builder.d.ts.map +1 -0
  214. package/dist/http-testing/test-builder/reply-step-builder.js +39 -0
  215. package/dist/http-testing/test-builder/reply-step-builder.js.map +1 -0
  216. package/dist/http-testing/test-builder/single-step-test-builder.d.ts +42 -0
  217. package/dist/http-testing/test-builder/single-step-test-builder.d.ts.map +1 -0
  218. package/dist/http-testing/test-builder/single-step-test-builder.js +112 -0
  219. package/dist/http-testing/test-builder/single-step-test-builder.js.map +1 -0
  220. package/dist/http-testing/validate/ajv.d.ts +3 -0
  221. package/dist/http-testing/validate/ajv.d.ts.map +1 -0
  222. package/dist/http-testing/validate/ajv.js +7 -0
  223. package/dist/http-testing/validate/ajv.js.map +1 -0
  224. package/dist/http-testing/validate/index.d.ts +9 -0
  225. package/dist/http-testing/validate/index.d.ts.map +1 -0
  226. package/dist/http-testing/validate/index.js +9 -0
  227. package/dist/http-testing/validate/index.js.map +1 -0
  228. package/dist/http-testing/validate/validate-body.d.ts +5 -0
  229. package/dist/http-testing/validate/validate-body.d.ts.map +1 -0
  230. package/dist/http-testing/validate/validate-body.js +62 -0
  231. package/dist/http-testing/validate/validate-body.js.map +1 -0
  232. package/dist/http-testing/validate/validate-headers.d.ts +8 -0
  233. package/dist/http-testing/validate/validate-headers.d.ts.map +1 -0
  234. package/dist/http-testing/validate/validate-headers.js +101 -0
  235. package/dist/http-testing/validate/validate-headers.js.map +1 -0
  236. package/dist/http-testing/validate/validate-request-body.d.ts +5 -0
  237. package/dist/http-testing/validate/validate-request-body.d.ts.map +1 -0
  238. package/dist/http-testing/validate/validate-request-body.js +71 -0
  239. package/dist/http-testing/validate/validate-request-body.js.map +1 -0
  240. package/dist/http-testing/validate/validate-request-headers.d.ts +8 -0
  241. package/dist/http-testing/validate/validate-request-headers.d.ts.map +1 -0
  242. package/dist/http-testing/validate/validate-request-headers.js +93 -0
  243. package/dist/http-testing/validate/validate-request-headers.js.map +1 -0
  244. package/dist/http-testing/validate/validate-request-path-parameters.d.ts +6 -0
  245. package/dist/http-testing/validate/validate-request-path-parameters.d.ts.map +1 -0
  246. package/dist/http-testing/validate/validate-request-path-parameters.js +69 -0
  247. package/dist/http-testing/validate/validate-request-path-parameters.js.map +1 -0
  248. package/dist/http-testing/validate/validate-request-query-parameters.d.ts +7 -0
  249. package/dist/http-testing/validate/validate-request-query-parameters.d.ts.map +1 -0
  250. package/dist/http-testing/validate/validate-request-query-parameters.js +91 -0
  251. package/dist/http-testing/validate/validate-request-query-parameters.js.map +1 -0
  252. package/dist/http-testing/validate/validate-response.d.ts +7 -0
  253. package/dist/http-testing/validate/validate-response.d.ts.map +1 -0
  254. package/dist/http-testing/validate/validate-response.js +15 -0
  255. package/dist/http-testing/validate/validate-response.js.map +1 -0
  256. package/dist/http-testing/validate/validate-status-code.d.ts +3 -0
  257. package/dist/http-testing/validate/validate-status-code.d.ts.map +1 -0
  258. package/dist/http-testing/validate/validate-status-code.js +25 -0
  259. package/dist/http-testing/validate/validate-status-code.js.map +1 -0
  260. package/dist/index.d.ts +3 -1
  261. package/dist/index.d.ts.map +1 -1
  262. package/dist/index.js +3 -1
  263. package/dist/index.js.map +1 -1
  264. package/dist/logger/log-level.d.ts +5 -0
  265. package/dist/logger/log-level.d.ts.map +1 -0
  266. package/dist/logger/log-level.js +24 -0
  267. package/dist/logger/log-level.js.map +1 -0
  268. package/dist/logger/logger.d.ts +3 -2
  269. package/dist/logger/logger.d.ts.map +1 -1
  270. package/dist/logger/noop.logger.d.ts +2 -1
  271. package/dist/logger/noop.logger.d.ts.map +1 -1
  272. package/dist/logger/noop.logger.js +1 -1
  273. package/dist/logger/noop.logger.js.map +1 -1
  274. package/dist/logger/text.logger.d.ts +4 -3
  275. package/dist/logger/text.logger.d.ts.map +1 -1
  276. package/dist/logger/text.logger.js +22 -12
  277. package/dist/logger/text.logger.js.map +1 -1
  278. package/dist/rules/ajv-validate.d.ts +2 -0
  279. package/dist/rules/ajv-validate.d.ts.map +1 -0
  280. package/dist/rules/ajv-validate.js +4 -0
  281. package/dist/rules/ajv-validate.js.map +1 -0
  282. package/dist/rules/captured-trace-to-string.d.ts +3 -0
  283. package/dist/rules/captured-trace-to-string.d.ts.map +1 -0
  284. package/dist/rules/captured-trace-to-string.js +27 -0
  285. package/dist/rules/captured-trace-to-string.js.map +1 -0
  286. package/dist/rules/common-http-converters.d.ts +8 -0
  287. package/dist/rules/common-http-converters.d.ts.map +1 -0
  288. package/dist/rules/common-http-converters.js +58 -0
  289. package/dist/rules/common-http-converters.js.map +1 -0
  290. package/dist/rules/contexts.d.ts +63 -0
  291. package/dist/rules/contexts.d.ts.map +1 -0
  292. package/dist/rules/contexts.js +2 -0
  293. package/dist/rules/contexts.js.map +1 -0
  294. package/dist/rules/index.d.ts +16 -0
  295. package/dist/rules/index.d.ts.map +1 -0
  296. package/dist/rules/index.js +16 -0
  297. package/dist/rules/index.js.map +1 -0
  298. package/dist/rules/rule-builder.d.ts +34 -0
  299. package/dist/rules/rule-builder.d.ts.map +1 -0
  300. package/dist/rules/rule-builder.js +112 -0
  301. package/dist/rules/rule-builder.js.map +1 -0
  302. package/dist/rules/rule-configuration.d.ts +10 -0
  303. package/dist/rules/rule-configuration.d.ts.map +1 -0
  304. package/dist/rules/rule-configuration.js +2 -0
  305. package/dist/rules/rule-configuration.js.map +1 -0
  306. package/dist/rules/rule-filter.d.ts +9 -0
  307. package/dist/rules/rule-filter.d.ts.map +1 -0
  308. package/dist/rules/rule-filter.js +12 -0
  309. package/dist/rules/rule-filter.js.map +1 -0
  310. package/dist/rules/rule-fn.d.ts +7 -0
  311. package/dist/rules/rule-fn.d.ts.map +1 -0
  312. package/dist/rules/rule-fn.js +2 -0
  313. package/dist/rules/rule-fn.js.map +1 -0
  314. package/dist/rules/rule-loader.d.ts +8 -0
  315. package/dist/rules/rule-loader.d.ts.map +1 -0
  316. package/dist/rules/rule-loader.js +123 -0
  317. package/dist/rules/rule-loader.js.map +1 -0
  318. package/dist/rules/rule-meta.d.ts +20 -0
  319. package/dist/rules/rule-meta.d.ts.map +1 -0
  320. package/dist/rules/rule-meta.js +18 -0
  321. package/dist/rules/rule-meta.js.map +1 -0
  322. package/dist/rules/rule-runner.d.ts +30 -0
  323. package/dist/rules/rule-runner.d.ts.map +1 -0
  324. package/dist/rules/rule-runner.js +129 -0
  325. package/dist/rules/rule-runner.js.map +1 -0
  326. package/dist/rules/rule-set.d.ts +9 -0
  327. package/dist/rules/rule-set.d.ts.map +1 -0
  328. package/dist/rules/rule-set.js +2 -0
  329. package/dist/rules/rule-set.js.map +1 -0
  330. package/dist/rules/rule-severity.d.ts +10 -0
  331. package/dist/rules/rule-severity.d.ts.map +1 -0
  332. package/dist/rules/rule-severity.js +12 -0
  333. package/dist/rules/rule-severity.js.map +1 -0
  334. package/dist/rules/rule-violation.d.ts +22 -0
  335. package/dist/rules/rule-violation.d.ts.map +1 -0
  336. package/dist/rules/rule-violation.js +2 -0
  337. package/dist/rules/rule-violation.js.map +1 -0
  338. package/dist/rules/rule.d.ts +10 -0
  339. package/dist/rules/rule.d.ts.map +1 -0
  340. package/dist/rules/rule.js +2 -0
  341. package/dist/rules/rule.js.map +1 -0
  342. package/dist/rules/traffic.d.ts +25 -0
  343. package/dist/rules/traffic.d.ts.map +1 -0
  344. package/dist/rules/traffic.js +2 -0
  345. package/dist/rules/traffic.js.map +1 -0
  346. package/dist/thymian.d.ts +45 -2
  347. package/dist/thymian.d.ts.map +1 -1
  348. package/dist/thymian.js +166 -13
  349. package/dist/thymian.js.map +1 -1
  350. package/dist/utils.d.ts +1 -0
  351. package/dist/utils.d.ts.map +1 -1
  352. package/dist/utils.js +4 -0
  353. package/dist/utils.js.map +1 -1
  354. package/package.json +9 -4
  355. package/dist/actions/load-format.action.d.ts +0 -9
  356. package/dist/actions/load-format.action.d.ts.map +0 -1
  357. package/dist/actions/load-format.action.js +0 -62
  358. package/dist/actions/load-format.action.js.map +0 -1
  359. package/dist/actions/run.action.d.ts +0 -11
  360. package/dist/actions/run.action.d.ts.map +0 -1
  361. package/dist/actions/run.action.js +0 -16
  362. package/dist/actions/run.action.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ import type { SerializedThymianFormat } from '../format/index.js';
2
+ import type { LoadedTraffic } from '../rules/traffic.js';
3
+ import type { Action } from './action.js';
4
+ import type { CoreValidationInput } from './core-validation-input.js';
5
+ import type { ValidationResult } from './validation-result.js';
6
+ export interface CoreAnalyzeInput extends CoreValidationInput {
7
+ traffic: LoadedTraffic;
8
+ format?: SerializedThymianFormat;
9
+ }
10
+ export type AnalyzeAction = Action<CoreAnalyzeInput, ValidationResult>;
11
+ //# sourceMappingURL=core-analyze.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-analyze.action.d.ts","sourceRoot":"","sources":["../../src/actions/core-analyze.action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC3D,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=core-analyze.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-analyze.action.js","sourceRoot":"","sources":["../../src/actions/core-analyze.action.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { SerializedThymianFormat } from '../format/index.js';
2
+ import type { Action } from './action.js';
3
+ import type { CoreValidationInput } from './core-validation-input.js';
4
+ import type { ValidationResult } from './validation-result.js';
5
+ export interface CoreLintInput extends CoreValidationInput {
6
+ format: SerializedThymianFormat;
7
+ }
8
+ export type LintAction = Action<CoreLintInput, ValidationResult>;
9
+ //# sourceMappingURL=core-lint.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-lint.action.d.ts","sourceRoot":"","sources":["../../src/actions/core-lint.action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,MAAM,WAAW,aAAc,SAAQ,mBAAmB;IACxD,MAAM,EAAE,uBAAuB,CAAC;CACjC;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=core-lint.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-lint.action.js","sourceRoot":"","sources":["../../src/actions/core-lint.action.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { ThymianHttpTransaction } from '../format/index.js';
2
+ import type { HttpRequestTemplate } from '../http.js';
3
+ import type { Action } from './action.js';
4
+ export interface CoreRequestSampleInput {
5
+ transaction: ThymianHttpTransaction;
6
+ options?: Record<string, unknown>;
7
+ }
8
+ export type RequestSampleAction = Action<CoreRequestSampleInput, HttpRequestTemplate>;
9
+ //# sourceMappingURL=core-request-sample.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-request-sample.action.d.ts","sourceRoot":"","sources":["../../src/actions/core-request-sample.action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,sBAAsB,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CACtC,sBAAsB,EACtB,mBAAmB,CACpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=core-request-sample.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-request-sample.action.js","sourceRoot":"","sources":["../../src/actions/core-request-sample.action.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import type { SerializedThymianFormat } from '../format/index.js';
2
+ import type { Action } from './action.js';
3
+ import type { CoreValidationInput } from './core-validation-input.js';
4
+ import type { ValidationResult } from './validation-result.js';
5
+ export interface CoreTestInput extends CoreValidationInput {
6
+ format: SerializedThymianFormat;
7
+ targetUrl?: string;
8
+ }
9
+ export type TestAction = Action<CoreTestInput, ValidationResult>;
10
+ //# sourceMappingURL=core-test.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-test.action.d.ts","sourceRoot":"","sources":["../../src/actions/core-test.action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,MAAM,WAAW,aAAc,SAAQ,mBAAmB;IACxD,MAAM,EAAE,uBAAuB,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=core-test.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-test.action.js","sourceRoot":"","sources":["../../src/actions/core-test.action.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface CoreValidationInput {
2
+ rules?: import('../rules/rule.js').Rule[];
3
+ rulesConfig?: import('../rules/rule-configuration.js').RulesConfiguration;
4
+ options?: Record<string, unknown>;
5
+ }
6
+ //# sourceMappingURL=core-validation-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-validation-input.d.ts","sourceRoot":"","sources":["../../src/actions/core-validation-input.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,OAAO,kBAAkB,EAAE,IAAI,EAAE,CAAC;IAC1C,WAAW,CAAC,EAAE,OAAO,gCAAgC,EAAE,kBAAkB,CAAC;IAC1E,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=core-validation-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-validation-input.js","sourceRoot":"","sources":["../../src/actions/core-validation-input.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import type { JSONSchemaType } from 'ajv/dist/2020.js';
2
+ import type { SerializedThymianFormat } from '../format/index.js';
3
+ import type { Action } from './action.js';
4
+ export interface SpecificationInput {
5
+ type: string;
6
+ location: unknown;
7
+ options?: Record<string, unknown>;
8
+ }
9
+ export interface CoreFormatLoadInput {
10
+ inputs: SpecificationInput[];
11
+ options?: Record<string, unknown>;
12
+ }
13
+ export type FormatLoadAction = Action<CoreFormatLoadInput, SerializedThymianFormat>;
14
+ export declare const specificationInputSchema: JSONSchemaType<SpecificationInput>;
15
+ export declare const formatLoadActionSchema: JSONSchemaType<CoreFormatLoadInput>;
16
+ //# sourceMappingURL=format-load.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format-load.action.d.ts","sourceRoot":"","sources":["../../src/actions/format-load.action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CACnC,mBAAmB,EACnB,uBAAuB,CACxB,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAerB,cAAc,CAAC,kBAAkB,CAAC,CAAC;AAEnD,eAAO,MAAM,sBAAsB,EAkBnB,cAAc,CAAC,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,36 @@
1
+ export const specificationInputSchema = {
2
+ type: 'object',
3
+ nullable: false,
4
+ required: ['type', 'location'],
5
+ additionalProperties: false,
6
+ properties: {
7
+ type: { type: 'string', nullable: false },
8
+ location: {},
9
+ options: {
10
+ type: 'object',
11
+ nullable: true,
12
+ required: [],
13
+ additionalProperties: true,
14
+ },
15
+ },
16
+ };
17
+ export const formatLoadActionSchema = {
18
+ type: 'object',
19
+ nullable: false,
20
+ required: ['inputs'],
21
+ additionalProperties: false,
22
+ properties: {
23
+ inputs: {
24
+ type: 'array',
25
+ nullable: false,
26
+ items: specificationInputSchema,
27
+ },
28
+ options: {
29
+ type: 'object',
30
+ nullable: true,
31
+ required: [],
32
+ additionalProperties: true,
33
+ },
34
+ },
35
+ };
36
+ //# sourceMappingURL=format-load.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format-load.action.js","sourceRoot":"","sources":["../../src/actions/format-load.action.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;QACzC,QAAQ,EAAE,EAAE;QACZ,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,EAAE;YACZ,oBAAoB,EAAE,IAAI;SAC3B;KACF;CAC+C,CAAC;AAEnD,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,MAAM,EAAE;YACN,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,wBAAwB;SAChC;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,EAAE;YACZ,oBAAoB,EAAE,IAAI;SAC3B;KACF;CACgD,CAAC"}
@@ -1,19 +1,39 @@
1
1
  import type { CloseAction } from './close.action.js';
2
+ import type { AnalyzeAction } from './core-analyze.action.js';
3
+ import type { LintAction } from './core-lint.action.js';
4
+ import type { RequestSampleAction } from './core-request-sample.action.js';
5
+ import type { TestAction } from './core-test.action.js';
2
6
  import type { FormatAction } from './format.action.js';
3
- import type { LoadFormatAction } from './load-format.action.js';
7
+ import type { FormatLoadAction } from './format-load.action.js';
4
8
  import type { ReadyAction } from './ready.action.js';
5
- import type { RunAction } from './run.action.js';
9
+ import type { ReportFlushAction } from './report-flush.action.js';
10
+ import type { RequestDispatchAction } from './request-dispatch.action.js';
11
+ import type { TrafficLoadAction } from './traffic-load.action.js';
6
12
  export interface ThymianActions {
7
13
  'core.ready': ReadyAction;
8
14
  'core.close': CloseAction;
9
- 'core.load-format': LoadFormatAction;
10
- 'core.run': RunAction;
15
+ 'core.format.load': FormatLoadAction;
16
+ 'core.traffic.load': TrafficLoadAction;
17
+ 'core.lint': LintAction;
18
+ 'core.test': TestAction;
19
+ 'core.analyze': AnalyzeAction;
20
+ 'core.report.flush': ReportFlushAction;
21
+ 'core.request.dispatch': RequestDispatchAction;
22
+ 'core.request.sample': RequestSampleAction;
11
23
  'core.format': FormatAction;
12
24
  }
13
25
  export type ThymianActionName = keyof ThymianActions;
14
26
  export * from './close.action.js';
27
+ export * from './core-analyze.action.js';
28
+ export * from './core-lint.action.js';
29
+ export * from './core-request-sample.action.js';
30
+ export * from './core-test.action.js';
31
+ export * from './core-validation-input.js';
15
32
  export * from './format.action.js';
16
- export * from './load-format.action.js';
33
+ export * from './format-load.action.js';
17
34
  export * from './ready.action.js';
18
- export * from './run.action.js';
35
+ export * from './report-flush.action.js';
36
+ export * from './request-dispatch.action.js';
37
+ export * from './traffic-load.action.js';
38
+ export * from './validation-result.js';
19
39
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,cAAc;IAC7B,YA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AC;IACxB,WAAW,EAAE,UAAU,CAAC;IACxB,cAAc,EAAE,aAAa,CAAC;IAC9B,mBAAmB,EAAE,iBAAiB,CAAC;IACvC,uBAAuB,EAAE,qBAAqB,CAAC;IAC/C,qBAAqB,EAAE,mBAAmB,CAAC;IAC3C,aAAa,EAAE,YAAY,CAAC;CAC7B;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,cAAc,CAAC;AAErD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
@@ -1,6 +1,14 @@
1
1
  export * from './close.action.js';
2
+ export * from './core-analyze.action.js';
3
+ export * from './core-lint.action.js';
4
+ export * from './core-request-sample.action.js';
5
+ export * from './core-test.action.js';
6
+ export * from './core-validation-input.js';
2
7
  export * from './format.action.js';
3
- export * from './load-format.action.js';
8
+ export * from './format-load.action.js';
4
9
  export * from './ready.action.js';
5
- export * from './run.action.js';
10
+ export * from './report-flush.action.js';
11
+ export * from './request-dispatch.action.js';
12
+ export * from './traffic-load.action.js';
13
+ export * from './validation-result.js';
6
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAgBA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AA4BA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { Action } from './action.js';
2
+ export interface ReportFlushResponse {
3
+ text?: string;
4
+ }
5
+ export type ReportFlushAction = Action<void, ReportFlushResponse>;
6
+ //# sourceMappingURL=report-flush.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-flush.action.d.ts","sourceRoot":"","sources":["../../src/actions/report-flush.action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=report-flush.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-flush.action.js","sourceRoot":"","sources":["../../src/actions/report-flush.action.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import type { JSONSchemaType } from 'ajv/dist/2020.js';
2
+ import type { HttpRequest, HttpResponse } from '../http.js';
3
+ import type { Action } from './action.js';
4
+ export interface HttpRequestDispatchOptions {
5
+ timeout?: number;
6
+ }
7
+ export interface CoreRequestDispatchInput {
8
+ request: HttpRequest;
9
+ options?: HttpRequestDispatchOptions;
10
+ }
11
+ export type RequestDispatchAction = Action<CoreRequestDispatchInput, HttpResponse>;
12
+ export declare const requestDispatchActionSchema: JSONSchemaType<CoreRequestDispatchInput>;
13
+ //# sourceMappingURL=request-dispatch.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-dispatch.action.d.ts","sourceRoot":"","sources":["../../src/actions/request-dispatch.action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,0BAA0B;IACzC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,0BAA0B,CAAC;CACtC;AAED,MAAM,MAAM,qBAAqB,GAAG,MAAM,CACxC,wBAAwB,EACxB,YAAY,CACb,CAAC;AAEF,eAAO,MAAM,2BAA2B,EA2CnC,cAAc,CAAC,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,45 @@
1
+ export const requestDispatchActionSchema = {
2
+ type: 'object',
3
+ nullable: false,
4
+ required: ['request'],
5
+ additionalProperties: false,
6
+ properties: {
7
+ options: {
8
+ type: 'object',
9
+ nullable: true,
10
+ required: [],
11
+ additionalProperties: true,
12
+ properties: {
13
+ timeout: { type: 'integer', nullable: true },
14
+ },
15
+ },
16
+ request: {
17
+ type: 'object',
18
+ nullable: false,
19
+ required: ['origin', 'method', 'path'],
20
+ additionalProperties: false,
21
+ properties: {
22
+ origin: { type: 'string', nullable: false },
23
+ path: { type: 'string', nullable: false },
24
+ method: { type: 'string', nullable: false },
25
+ body: { type: 'string', nullable: true },
26
+ bodyEncoding: { type: 'string', nullable: true },
27
+ headers: {
28
+ type: 'object',
29
+ nullable: true,
30
+ required: [],
31
+ additionalProperties: {
32
+ oneOf: [
33
+ {
34
+ type: 'array',
35
+ items: { type: 'string' },
36
+ },
37
+ { type: 'string' },
38
+ ],
39
+ },
40
+ },
41
+ },
42
+ },
43
+ },
44
+ };
45
+ //# sourceMappingURL=request-dispatch.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-dispatch.action.js","sourceRoot":"","sources":["../../src/actions/request-dispatch.action.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,EAAE;YACZ,oBAAoB,EAAE,IAAI;YAC1B,UAAU,EAAE;gBACV,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;aAC7C;SACF;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC;YACtC,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAC3C,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACzC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAC3C,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACxC,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAChD,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,IAAI;oBACd,QAAQ,EAAE,EAAE;oBACZ,oBAAoB,EAAE;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,OAAO;gCACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6BAC1B;4BACD,EAAE,IAAI,EAAE,QAAQ,EAAE;yBACnB;qBACF;iBACF;aACF;SACF;KACF;CAC0C,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { JSONSchemaType } from 'ajv/dist/2020.js';
2
+ import type { LoadedTraffic } from '../rules/traffic.js';
3
+ import type { Action } from './action.js';
4
+ export interface TrafficInput {
5
+ type: string;
6
+ location: unknown;
7
+ options?: Record<string, unknown>;
8
+ }
9
+ export interface CoreTrafficLoadInput {
10
+ inputs: TrafficInput[];
11
+ options?: Record<string, unknown>;
12
+ }
13
+ export type TrafficLoadAction = Action<CoreTrafficLoadInput, LoadedTraffic>;
14
+ export declare const trafficInputSchema: JSONSchemaType<TrafficInput>;
15
+ export declare const trafficLoadActionSchema: JSONSchemaType<CoreTrafficLoadInput>;
16
+ //# sourceMappingURL=traffic-load.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"traffic-load.action.d.ts","sourceRoot":"","sources":["../../src/actions/traffic-load.action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,oBAAoB,EAAE,aAAa,CAAC,CAAC;AAE5E,eAAO,MAAM,kBAAkB,EAef,cAAc,CAAC,YAAY,CAAC,CAAC;AAE7C,eAAO,MAAM,uBAAuB,EAkBpB,cAAc,CAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,36 @@
1
+ export const trafficInputSchema = {
2
+ type: 'object',
3
+ nullable: false,
4
+ required: ['type', 'location'],
5
+ additionalProperties: false,
6
+ properties: {
7
+ type: { type: 'string', nullable: false },
8
+ location: {},
9
+ options: {
10
+ type: 'object',
11
+ nullable: true,
12
+ required: [],
13
+ additionalProperties: true,
14
+ },
15
+ },
16
+ };
17
+ export const trafficLoadActionSchema = {
18
+ type: 'object',
19
+ nullable: false,
20
+ required: ['inputs'],
21
+ additionalProperties: false,
22
+ properties: {
23
+ inputs: {
24
+ type: 'array',
25
+ nullable: false,
26
+ items: trafficInputSchema,
27
+ },
28
+ options: {
29
+ type: 'object',
30
+ nullable: true,
31
+ required: [],
32
+ additionalProperties: true,
33
+ },
34
+ },
35
+ };
36
+ //# sourceMappingURL=traffic-load.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"traffic-load.action.js","sourceRoot":"","sources":["../../src/actions/traffic-load.action.ts"],"names":[],"mappings":"AAkBA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;QACzC,QAAQ,EAAE,EAAE;QACZ,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,EAAE;YACZ,oBAAoB,EAAE,IAAI;SAC3B;KACF;CACyC,CAAC;AAE7C,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,MAAM,EAAE;YACN,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,kBAAkB;SAC1B;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,EAAE;YACZ,oBAAoB,EAAE,IAAI;SAC3B;KACF;CACiD,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { JSONSchemaType } from 'ajv/dist/2020.js';
2
+ import type { RuleRunnerStatistics } from '../rules/rule-runner.js';
3
+ import type { EvaluatedRuleViolation } from '../rules/rule-violation.js';
4
+ export interface ValidationResult {
5
+ source: string;
6
+ status: 'success' | 'failed' | 'error';
7
+ violations: EvaluatedRuleViolation[];
8
+ statistics?: RuleRunnerStatistics;
9
+ metadata?: Record<string, unknown>;
10
+ }
11
+ export type WorkflowClassification = 'clean-run' | 'findings' | 'tool-error';
12
+ export interface WorkflowOutcome {
13
+ classification: WorkflowClassification;
14
+ text?: string;
15
+ results: ValidationResult[];
16
+ }
17
+ export declare const validationResultSchema: JSONSchemaType<ValidationResult>;
18
+ //# sourceMappingURL=validation-result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation-result.d.ts","sourceRoot":"","sources":["../../src/actions/validation-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IACvC,UAAU,EAAE,sBAAsB,EAAE,CAAC;IACrC,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,MAAM,sBAAsB,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,CAAC;AAE7E,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,sBAAsB,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,sBAAsB,EA+EnB,cAAc,CAAC,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,81 @@
1
+ export const validationResultSchema = {
2
+ type: 'object',
3
+ nullable: false,
4
+ required: ['source', 'status', 'violations'],
5
+ additionalProperties: false,
6
+ properties: {
7
+ source: {
8
+ type: 'string',
9
+ nullable: false,
10
+ },
11
+ status: {
12
+ type: 'string',
13
+ enum: ['success', 'failed', 'error'],
14
+ nullable: false,
15
+ },
16
+ violations: {
17
+ type: 'array',
18
+ nullable: false,
19
+ items: {
20
+ type: 'object',
21
+ nullable: false,
22
+ required: ['ruleName', 'severity', 'violation'],
23
+ additionalProperties: false,
24
+ properties: {
25
+ ruleName: { type: 'string', nullable: false },
26
+ severity: {
27
+ type: 'string',
28
+ enum: ['error', 'warn', 'hint'],
29
+ nullable: false,
30
+ },
31
+ violation: {
32
+ type: 'object',
33
+ nullable: false,
34
+ required: ['location'],
35
+ additionalProperties: false,
36
+ properties: {
37
+ location: {
38
+ oneOf: [
39
+ { type: 'string', nullable: true },
40
+ {
41
+ type: 'object',
42
+ nullable: true,
43
+ required: ['elementType', 'elementId'],
44
+ additionalProperties: false,
45
+ properties: {
46
+ elementType: {
47
+ type: 'string',
48
+ enum: ['node', 'edge'],
49
+ nullable: false,
50
+ },
51
+ elementId: { type: 'string', nullable: false },
52
+ pointer: { type: 'string', nullable: true },
53
+ label: { type: 'string', nullable: true },
54
+ },
55
+ },
56
+ ],
57
+ },
58
+ message: { type: 'string', nullable: true },
59
+ },
60
+ },
61
+ },
62
+ },
63
+ },
64
+ statistics: {
65
+ type: 'object',
66
+ nullable: true,
67
+ additionalProperties: false,
68
+ properties: {
69
+ rulesRun: { type: 'integer', nullable: false },
70
+ rulesWithViolations: { type: 'integer', nullable: false },
71
+ },
72
+ },
73
+ metadata: {
74
+ type: 'object',
75
+ nullable: true,
76
+ required: [],
77
+ additionalProperties: true,
78
+ },
79
+ },
80
+ };
81
+ //# sourceMappingURL=validation-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation-result.js","sourceRoot":"","sources":["../../src/actions/validation-result.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,YAAY,CAAC;IAC5C,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;SAChB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC;YACpC,QAAQ,EAAE,KAAK;SAChB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,KAAK;gBACf,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,WAAW,CAAC;gBAC/C,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,QAAQ,EAAE,EAAE,IAAI,EAAE,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,QAAQ,EAAE,KAAK,EAAE;gBAC9C,mBAAmB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE;aAC1D;SACF;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,EAAE;YACZ,oBAAoB,EAAE,IAAI;SAC3B;KACF;CAC6C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"core-plugin.d.ts","sourceRoot":"","sources":["../src/core-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAO,MAAM,UAAU,EAAS,cAAc,CAAC,IAAI,CAAC,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,aAiCxB,CAAC"}
1
+ {"version":3,"file":"core-plugin.d.ts","sourceRoot":"","sources":["../src/core-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAavD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAO,MAAM,UAAU,EAAS,cAAc,CAAC,IAAI,CAAC,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,aAyDxB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import packageJson from '../package.json' with { type: 'json' };
2
- import { loadFormatActionSchema, runActionSchema } from './actions/index.js';
2
+ import { formatLoadActionSchema, requestDispatchActionSchema, trafficLoadActionSchema, validationResultSchema, } from './actions/index.js';
3
3
  import { RegisterPluginEventSchema, thymianReportSchema, } from './events/index.js';
4
4
  export const VoidSchema = {};
5
5
  export const corePlugin = {
@@ -18,13 +18,37 @@ export const corePlugin = {
18
18
  event: VoidSchema,
19
19
  response: VoidSchema,
20
20
  },
21
- 'core.load-format': {
21
+ 'core.format.load': {
22
+ event: formatLoadActionSchema,
23
+ response: {},
24
+ },
25
+ 'core.traffic.load': {
26
+ event: trafficLoadActionSchema,
27
+ response: {},
28
+ },
29
+ 'core.lint': {
30
+ event: {},
31
+ response: validationResultSchema,
32
+ },
33
+ 'core.test': {
34
+ event: {},
35
+ response: validationResultSchema,
36
+ },
37
+ 'core.analyze': {
22
38
  event: {},
23
- response: loadFormatActionSchema,
39
+ response: validationResultSchema,
40
+ },
41
+ 'core.request.dispatch': {
42
+ event: requestDispatchActionSchema,
43
+ response: {},
24
44
  },
25
- 'core.run': {
26
- event: loadFormatActionSchema,
27
- response: runActionSchema,
45
+ 'core.request.sample': {
46
+ event: {},
47
+ response: {},
48
+ },
49
+ 'core.report.flush': {
50
+ event: VoidSchema,
51
+ response: {},
28
52
  },
29
53
  },
30
54
  },
@@ -1 +1 @@
1
- {"version":3,"file":"core-plugin.js","sourceRoot":"","sources":["../src/core-plugin.ts"],"names":[],"mappings":"AAEA,OAAO,WAAW,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAG3B,MAAM,CAAC,MAAM,UAAU,GAAG,EAA0B,CAAC;AAErD,MAAM,CAAC,MAAM,UAAU,GAAkB;IACvC,IAAI,EAAE,eAAe;IACrB,MAAM;QACJ,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;IACD,OAAO,EAAE,WAAW,CAAC,OAAO;IAC5B,OAAO,EAAE;QACP,QAAQ,EAAE;YACR,YAAY,EAAE;gBACZ,KAAK,EAAE,UAAU;gBACjB,QAAQ,EAAE,UAAU;aACrB;YACD,YAAY,EAAE;gBACZ,KAAK,EAAE,UAAU;gBACjB,QAAQ,EAAE,UAAU;aACrB;YACD,kBAAkB,EAAE;gBAClB,KAAK,EAAE,EA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