@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.
- package/dist/actions/core-analyze.action.d.ts +11 -0
- package/dist/actions/core-analyze.action.d.ts.map +1 -0
- package/dist/actions/core-analyze.action.js +2 -0
- package/dist/actions/core-analyze.action.js.map +1 -0
- package/dist/actions/core-lint.action.d.ts +9 -0
- package/dist/actions/core-lint.action.d.ts.map +1 -0
- package/dist/actions/core-lint.action.js +2 -0
- package/dist/actions/core-lint.action.js.map +1 -0
- package/dist/actions/core-request-sample.action.d.ts +9 -0
- package/dist/actions/core-request-sample.action.d.ts.map +1 -0
- package/dist/actions/core-request-sample.action.js +2 -0
- package/dist/actions/core-request-sample.action.js.map +1 -0
- package/dist/actions/core-test.action.d.ts +10 -0
- package/dist/actions/core-test.action.d.ts.map +1 -0
- package/dist/actions/core-test.action.js +2 -0
- package/dist/actions/core-test.action.js.map +1 -0
- package/dist/actions/core-validation-input.d.ts +6 -0
- package/dist/actions/core-validation-input.d.ts.map +1 -0
- package/dist/actions/core-validation-input.js +2 -0
- package/dist/actions/core-validation-input.js.map +1 -0
- package/dist/actions/format-load.action.d.ts +16 -0
- package/dist/actions/format-load.action.d.ts.map +1 -0
- package/dist/actions/format-load.action.js +36 -0
- package/dist/actions/format-load.action.js.map +1 -0
- package/dist/actions/index.d.ts +26 -6
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js +10 -2
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/report-flush.action.d.ts +6 -0
- package/dist/actions/report-flush.action.d.ts.map +1 -0
- package/dist/actions/report-flush.action.js +2 -0
- package/dist/actions/report-flush.action.js.map +1 -0
- package/dist/actions/request-dispatch.action.d.ts +13 -0
- package/dist/actions/request-dispatch.action.d.ts.map +1 -0
- package/dist/actions/request-dispatch.action.js +45 -0
- package/dist/actions/request-dispatch.action.js.map +1 -0
- package/dist/actions/traffic-load.action.d.ts +16 -0
- package/dist/actions/traffic-load.action.d.ts.map +1 -0
- package/dist/actions/traffic-load.action.js +36 -0
- package/dist/actions/traffic-load.action.js.map +1 -0
- package/dist/actions/validation-result.d.ts +18 -0
- package/dist/actions/validation-result.d.ts.map +1 -0
- package/dist/actions/validation-result.js +81 -0
- package/dist/actions/validation-result.js.map +1 -0
- package/dist/core-plugin.d.ts.map +1 -1
- package/dist/core-plugin.js +30 -6
- package/dist/core-plugin.js.map +1 -1
- package/dist/events/report.event.d.ts +31 -19
- package/dist/events/report.event.d.ts.map +1 -1
- package/dist/events/report.event.js +74 -103
- package/dist/events/report.event.js.map +1 -1
- package/dist/http-testing/http-test/create-hook-runner.d.ts +21 -0
- package/dist/http-testing/http-test/create-hook-runner.d.ts.map +1 -0
- package/dist/http-testing/http-test/create-hook-runner.js +17 -0
- package/dist/http-testing/http-test/create-hook-runner.js.map +1 -0
- package/dist/http-testing/http-test/create-http-test-context.d.ts +3 -0
- package/dist/http-testing/http-test/create-http-test-context.d.ts.map +1 -0
- package/dist/http-testing/http-test/create-http-test-context.js +24 -0
- package/dist/http-testing/http-test/create-http-test-context.js.map +1 -0
- package/dist/http-testing/http-test/http-test-case-result.d.ts +46 -0
- package/dist/http-testing/http-test/http-test-case-result.d.ts.map +1 -0
- package/dist/http-testing/http-test/http-test-case-result.js +2 -0
- package/dist/http-testing/http-test/http-test-case-result.js.map +1 -0
- package/dist/http-testing/http-test/http-test-case.d.ts +36 -0
- package/dist/http-testing/http-test/http-test-case.d.ts.map +1 -0
- package/dist/http-testing/http-test/http-test-case.js +2 -0
- package/dist/http-testing/http-test/http-test-case.js.map +1 -0
- package/dist/http-testing/http-test/http-test-context.d.ts +20 -0
- package/dist/http-testing/http-test/http-test-context.d.ts.map +1 -0
- package/dist/http-testing/http-test/http-test-context.js +2 -0
- package/dist/http-testing/http-test/http-test-context.js.map +1 -0
- package/dist/http-testing/http-test/http-test-hooks.d.ts +26 -0
- package/dist/http-testing/http-test/http-test-hooks.d.ts.map +1 -0
- package/dist/http-testing/http-test/http-test-hooks.js +2 -0
- package/dist/http-testing/http-test/http-test-hooks.js.map +1 -0
- package/dist/http-testing/http-test/http-test-pipeline.d.ts +10 -0
- package/dist/http-testing/http-test/http-test-pipeline.d.ts.map +1 -0
- package/dist/http-testing/http-test/http-test-pipeline.js +2 -0
- package/dist/http-testing/http-test/http-test-pipeline.js.map +1 -0
- package/dist/http-testing/http-test/http-test.d.ts +11 -0
- package/dist/http-testing/http-test/http-test.d.ts.map +1 -0
- package/dist/http-testing/http-test/http-test.js +35 -0
- package/dist/http-testing/http-test/http-test.js.map +1 -0
- package/dist/http-testing/http-test/index.d.ts +10 -0
- package/dist/http-testing/http-test/index.d.ts.map +1 -0
- package/dist/http-testing/http-test/index.js +10 -0
- package/dist/http-testing/http-test/index.js.map +1 -0
- package/dist/http-testing/http-test/utils.d.ts +11 -0
- package/dist/http-testing/http-test/utils.d.ts.map +1 -0
- package/dist/http-testing/http-test/utils.js +16 -0
- package/dist/http-testing/http-test/utils.js.map +1 -0
- package/dist/http-testing/index.d.ts +7 -0
- package/dist/http-testing/index.d.ts.map +1 -0
- package/dist/http-testing/index.js +7 -0
- package/dist/http-testing/index.js.map +1 -0
- package/dist/http-testing/operators/expect-for-transaction.operator.d.ts +5 -0
- package/dist/http-testing/operators/expect-for-transaction.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/expect-for-transaction.operator.js +39 -0
- package/dist/http-testing/operators/expect-for-transaction.operator.js.map +1 -0
- package/dist/http-testing/operators/expect-headers.operator.d.ts +4 -0
- package/dist/http-testing/operators/expect-headers.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/expect-headers.operator.js +37 -0
- package/dist/http-testing/operators/expect-headers.operator.js.map +1 -0
- package/dist/http-testing/operators/expect-status-code.operator.d.ts +5 -0
- package/dist/http-testing/operators/expect-status-code.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/expect-status-code.operator.js +55 -0
- package/dist/http-testing/operators/expect-status-code.operator.js.map +1 -0
- package/dist/http-testing/operators/expect.operator.d.ts +4 -0
- package/dist/http-testing/operators/expect.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/expect.operator.js +31 -0
- package/dist/http-testing/operators/expect.operator.js.map +1 -0
- package/dist/http-testing/operators/fail.operator.d.ts +4 -0
- package/dist/http-testing/operators/fail.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/fail.operator.js +8 -0
- package/dist/http-testing/operators/fail.operator.js.map +1 -0
- package/dist/http-testing/operators/filter-http-transactions.operator.d.ts +10 -0
- package/dist/http-testing/operators/filter-http-transactions.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/filter-http-transactions.operator.js +18 -0
- package/dist/http-testing/operators/filter-http-transactions.operator.js.map +1 -0
- package/dist/http-testing/operators/generate-requests.operator.d.ts +10 -0
- package/dist/http-testing/operators/generate-requests.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/generate-requests.operator.js +44 -0
- package/dist/http-testing/operators/generate-requests.operator.js.map +1 -0
- package/dist/http-testing/operators/index.d.ts +21 -0
- package/dist/http-testing/operators/index.d.ts.map +1 -0
- package/dist/http-testing/operators/index.js +21 -0
- package/dist/http-testing/operators/index.js.map +1 -0
- package/dist/http-testing/operators/map-to-grouped-test-case.operator.d.ts +7 -0
- package/dist/http-testing/operators/map-to-grouped-test-case.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/map-to-grouped-test-case.operator.js +32 -0
- package/dist/http-testing/operators/map-to-grouped-test-case.operator.js.map +1 -0
- package/dist/http-testing/operators/map-to-test-case.operator.d.ts +7 -0
- package/dist/http-testing/operators/map-to-test-case.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/map-to-test-case.operator.js +21 -0
- package/dist/http-testing/operators/map-to-test-case.operator.js.map +1 -0
- package/dist/http-testing/operators/override-headers.operator.d.ts +5 -0
- package/dist/http-testing/operators/override-headers.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/override-headers.operator.js +18 -0
- package/dist/http-testing/operators/override-headers.operator.js.map +1 -0
- package/dist/http-testing/operators/override-with-previous.operator.d.ts +5 -0
- package/dist/http-testing/operators/override-with-previous.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/override-with-previous.operator.js +23 -0
- package/dist/http-testing/operators/override-with-previous.operator.js.map +1 -0
- package/dist/http-testing/operators/replay-previous-step.operator.d.ts +5 -0
- package/dist/http-testing/operators/replay-previous-step.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/replay-previous-step.operator.js +27 -0
- package/dist/http-testing/operators/replay-previous-step.operator.js.map +1 -0
- package/dist/http-testing/operators/reply-previous-but-expect-response.operator.d.ts +7 -0
- package/dist/http-testing/operators/reply-previous-but-expect-response.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/reply-previous-but-expect-response.operator.js +61 -0
- package/dist/http-testing/operators/reply-previous-but-expect-response.operator.js.map +1 -0
- package/dist/http-testing/operators/requires-authorization.operator.d.ts +5 -0
- package/dist/http-testing/operators/requires-authorization.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/requires-authorization.operator.js +9 -0
- package/dist/http-testing/operators/requires-authorization.operator.js.map +1 -0
- package/dist/http-testing/operators/run-requests.operator.d.ts +12 -0
- package/dist/http-testing/operators/run-requests.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/run-requests.operator.js +133 -0
- package/dist/http-testing/operators/run-requests.operator.js.map +1 -0
- package/dist/http-testing/operators/single-step-for-transaction.operator.d.ts +5 -0
- package/dist/http-testing/operators/single-step-for-transaction.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/single-step-for-transaction.operator.js +43 -0
- package/dist/http-testing/operators/single-step-for-transaction.operator.js.map +1 -0
- package/dist/http-testing/operators/skip.operator.d.ts +5 -0
- package/dist/http-testing/operators/skip.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/skip.operator.js +11 -0
- package/dist/http-testing/operators/skip.operator.js.map +1 -0
- package/dist/http-testing/operators/step.operator.d.ts +5 -0
- package/dist/http-testing/operators/step.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/step.operator.js +20 -0
- package/dist/http-testing/operators/step.operator.js.map +1 -0
- package/dist/http-testing/operators/utils.d.ts +10 -0
- package/dist/http-testing/operators/utils.d.ts.map +1 -0
- package/dist/http-testing/operators/utils.js +17 -0
- package/dist/http-testing/operators/utils.js.map +1 -0
- package/dist/http-testing/operators/validate-responses.operator.d.ts +4 -0
- package/dist/http-testing/operators/validate-responses.operator.d.ts.map +1 -0
- package/dist/http-testing/operators/validate-responses.operator.js +33 -0
- package/dist/http-testing/operators/validate-responses.operator.js.map +1 -0
- package/dist/http-testing/serialize-parameter.d.ts +6 -0
- package/dist/http-testing/serialize-parameter.d.ts.map +1 -0
- package/dist/http-testing/serialize-parameter.js +51 -0
- package/dist/http-testing/serialize-parameter.js.map +1 -0
- package/dist/http-testing/serialize-request.d.ts +7 -0
- package/dist/http-testing/serialize-request.d.ts.map +1 -0
- package/dist/http-testing/serialize-request.js +112 -0
- package/dist/http-testing/serialize-request.js.map +1 -0
- package/dist/http-testing/test-builder/builder-pipeline.d.ts +4 -0
- package/dist/http-testing/test-builder/builder-pipeline.d.ts.map +1 -0
- package/dist/http-testing/test-builder/builder-pipeline.js +2 -0
- package/dist/http-testing/test-builder/builder-pipeline.js.map +1 -0
- package/dist/http-testing/test-builder/compilers/http-filter-to-transaction-filter.d.ts +9 -0
- package/dist/http-testing/test-builder/compilers/http-filter-to-transaction-filter.d.ts.map +1 -0
- package/dist/http-testing/test-builder/compilers/http-filter-to-transaction-filter.js +114 -0
- package/dist/http-testing/test-builder/compilers/http-filter-to-transaction-filter.js.map +1 -0
- package/dist/http-testing/test-builder/compilers/response-scoped-to-response-checker.d.ts +4 -0
- package/dist/http-testing/test-builder/compilers/response-scoped-to-response-checker.d.ts.map +1 -0
- package/dist/http-testing/test-builder/compilers/response-scoped-to-response-checker.js +36 -0
- package/dist/http-testing/test-builder/compilers/response-scoped-to-response-checker.js.map +1 -0
- package/dist/http-testing/test-builder/compilers/response-scoped-to-transaction-validator.d.ts +4 -0
- package/dist/http-testing/test-builder/compilers/response-scoped-to-transaction-validator.d.ts.map +1 -0
- package/dist/http-testing/test-builder/compilers/response-scoped-to-transaction-validator.js +65 -0
- package/dist/http-testing/test-builder/compilers/response-scoped-to-transaction-validator.js.map +1 -0
- package/dist/http-testing/test-builder/extract-value-from-response.d.ts +4 -0
- package/dist/http-testing/test-builder/extract-value-from-response.d.ts.map +1 -0
- package/dist/http-testing/test-builder/extract-value-from-response.js +16 -0
- package/dist/http-testing/test-builder/extract-value-from-response.js.map +1 -0
- package/dist/http-testing/test-builder/override-request-template.d.ts +4 -0
- package/dist/http-testing/test-builder/override-request-template.d.ts.map +1 -0
- package/dist/http-testing/test-builder/override-request-template.js +33 -0
- package/dist/http-testing/test-builder/override-request-template.js.map +1 -0
- package/dist/http-testing/test-builder/reply-step-builder.d.ts +10 -0
- package/dist/http-testing/test-builder/reply-step-builder.d.ts.map +1 -0
- package/dist/http-testing/test-builder/reply-step-builder.js +39 -0
- package/dist/http-testing/test-builder/reply-step-builder.js.map +1 -0
- package/dist/http-testing/test-builder/single-step-test-builder.d.ts +42 -0
- package/dist/http-testing/test-builder/single-step-test-builder.d.ts.map +1 -0
- package/dist/http-testing/test-builder/single-step-test-builder.js +112 -0
- package/dist/http-testing/test-builder/single-step-test-builder.js.map +1 -0
- package/dist/http-testing/validate/ajv.d.ts +3 -0
- package/dist/http-testing/validate/ajv.d.ts.map +1 -0
- package/dist/http-testing/validate/ajv.js +7 -0
- package/dist/http-testing/validate/ajv.js.map +1 -0
- package/dist/http-testing/validate/index.d.ts +9 -0
- package/dist/http-testing/validate/index.d.ts.map +1 -0
- package/dist/http-testing/validate/index.js +9 -0
- package/dist/http-testing/validate/index.js.map +1 -0
- package/dist/http-testing/validate/validate-body.d.ts +5 -0
- package/dist/http-testing/validate/validate-body.d.ts.map +1 -0
- package/dist/http-testing/validate/validate-body.js +62 -0
- package/dist/http-testing/validate/validate-body.js.map +1 -0
- package/dist/http-testing/validate/validate-headers.d.ts +8 -0
- package/dist/http-testing/validate/validate-headers.d.ts.map +1 -0
- package/dist/http-testing/validate/validate-headers.js +101 -0
- package/dist/http-testing/validate/validate-headers.js.map +1 -0
- package/dist/http-testing/validate/validate-request-body.d.ts +5 -0
- package/dist/http-testing/validate/validate-request-body.d.ts.map +1 -0
- package/dist/http-testing/validate/validate-request-body.js +71 -0
- package/dist/http-testing/validate/validate-request-body.js.map +1 -0
- package/dist/http-testing/validate/validate-request-headers.d.ts +8 -0
- package/dist/http-testing/validate/validate-request-headers.d.ts.map +1 -0
- package/dist/http-testing/validate/validate-request-headers.js +93 -0
- package/dist/http-testing/validate/validate-request-headers.js.map +1 -0
- package/dist/http-testing/validate/validate-request-path-parameters.d.ts +6 -0
- package/dist/http-testing/validate/validate-request-path-parameters.d.ts.map +1 -0
- package/dist/http-testing/validate/validate-request-path-parameters.js +69 -0
- package/dist/http-testing/validate/validate-request-path-parameters.js.map +1 -0
- package/dist/http-testing/validate/validate-request-query-parameters.d.ts +7 -0
- package/dist/http-testing/validate/validate-request-query-parameters.d.ts.map +1 -0
- package/dist/http-testing/validate/validate-request-query-parameters.js +91 -0
- package/dist/http-testing/validate/validate-request-query-parameters.js.map +1 -0
- package/dist/http-testing/validate/validate-response.d.ts +7 -0
- package/dist/http-testing/validate/validate-response.d.ts.map +1 -0
- package/dist/http-testing/validate/validate-response.js +15 -0
- package/dist/http-testing/validate/validate-response.js.map +1 -0
- package/dist/http-testing/validate/validate-status-code.d.ts +3 -0
- package/dist/http-testing/validate/validate-status-code.d.ts.map +1 -0
- package/dist/http-testing/validate/validate-status-code.js +25 -0
- package/dist/http-testing/validate/validate-status-code.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/logger/log-level.d.ts +5 -0
- package/dist/logger/log-level.d.ts.map +1 -0
- package/dist/logger/log-level.js +24 -0
- package/dist/logger/log-level.js.map +1 -0
- package/dist/logger/logger.d.ts +3 -2
- package/dist/logger/logger.d.ts.map +1 -1
- package/dist/logger/noop.logger.d.ts +2 -1
- package/dist/logger/noop.logger.d.ts.map +1 -1
- package/dist/logger/noop.logger.js +1 -1
- package/dist/logger/noop.logger.js.map +1 -1
- package/dist/logger/text.logger.d.ts +4 -3
- package/dist/logger/text.logger.d.ts.map +1 -1
- package/dist/logger/text.logger.js +22 -12
- package/dist/logger/text.logger.js.map +1 -1
- package/dist/rules/ajv-validate.d.ts +2 -0
- package/dist/rules/ajv-validate.d.ts.map +1 -0
- package/dist/rules/ajv-validate.js +4 -0
- package/dist/rules/ajv-validate.js.map +1 -0
- package/dist/rules/captured-trace-to-string.d.ts +3 -0
- package/dist/rules/captured-trace-to-string.d.ts.map +1 -0
- package/dist/rules/captured-trace-to-string.js +27 -0
- package/dist/rules/captured-trace-to-string.js.map +1 -0
- package/dist/rules/common-http-converters.d.ts +8 -0
- package/dist/rules/common-http-converters.d.ts.map +1 -0
- package/dist/rules/common-http-converters.js +58 -0
- package/dist/rules/common-http-converters.js.map +1 -0
- package/dist/rules/contexts.d.ts +63 -0
- package/dist/rules/contexts.d.ts.map +1 -0
- package/dist/rules/contexts.js +2 -0
- package/dist/rules/contexts.js.map +1 -0
- package/dist/rules/index.d.ts +16 -0
- package/dist/rules/index.d.ts.map +1 -0
- package/dist/rules/index.js +16 -0
- package/dist/rules/index.js.map +1 -0
- package/dist/rules/rule-builder.d.ts +34 -0
- package/dist/rules/rule-builder.d.ts.map +1 -0
- package/dist/rules/rule-builder.js +112 -0
- package/dist/rules/rule-builder.js.map +1 -0
- package/dist/rules/rule-configuration.d.ts +10 -0
- package/dist/rules/rule-configuration.d.ts.map +1 -0
- package/dist/rules/rule-configuration.js +2 -0
- package/dist/rules/rule-configuration.js.map +1 -0
- package/dist/rules/rule-filter.d.ts +9 -0
- package/dist/rules/rule-filter.d.ts.map +1 -0
- package/dist/rules/rule-filter.js +12 -0
- package/dist/rules/rule-filter.js.map +1 -0
- package/dist/rules/rule-fn.d.ts +7 -0
- package/dist/rules/rule-fn.d.ts.map +1 -0
- package/dist/rules/rule-fn.js +2 -0
- package/dist/rules/rule-fn.js.map +1 -0
- package/dist/rules/rule-loader.d.ts +8 -0
- package/dist/rules/rule-loader.d.ts.map +1 -0
- package/dist/rules/rule-loader.js +123 -0
- package/dist/rules/rule-loader.js.map +1 -0
- package/dist/rules/rule-meta.d.ts +20 -0
- package/dist/rules/rule-meta.d.ts.map +1 -0
- package/dist/rules/rule-meta.js +18 -0
- package/dist/rules/rule-meta.js.map +1 -0
- package/dist/rules/rule-runner.d.ts +30 -0
- package/dist/rules/rule-runner.d.ts.map +1 -0
- package/dist/rules/rule-runner.js +129 -0
- package/dist/rules/rule-runner.js.map +1 -0
- package/dist/rules/rule-set.d.ts +9 -0
- package/dist/rules/rule-set.d.ts.map +1 -0
- package/dist/rules/rule-set.js +2 -0
- package/dist/rules/rule-set.js.map +1 -0
- package/dist/rules/rule-severity.d.ts +10 -0
- package/dist/rules/rule-severity.d.ts.map +1 -0
- package/dist/rules/rule-severity.js +12 -0
- package/dist/rules/rule-severity.js.map +1 -0
- package/dist/rules/rule-violation.d.ts +22 -0
- package/dist/rules/rule-violation.d.ts.map +1 -0
- package/dist/rules/rule-violation.js +2 -0
- package/dist/rules/rule-violation.js.map +1 -0
- package/dist/rules/rule.d.ts +10 -0
- package/dist/rules/rule.d.ts.map +1 -0
- package/dist/rules/rule.js +2 -0
- package/dist/rules/rule.js.map +1 -0
- package/dist/rules/traffic.d.ts +25 -0
- package/dist/rules/traffic.d.ts.map +1 -0
- package/dist/rules/traffic.js +2 -0
- package/dist/rules/traffic.js.map +1 -0
- package/dist/thymian.d.ts +45 -2
- package/dist/thymian.d.ts.map +1 -1
- package/dist/thymian.js +166 -13
- package/dist/thymian.js.map +1 -1
- package/dist/utils.d.ts +1 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +4 -0
- package/dist/utils.js.map +1 -1
- package/package.json +9 -4
- package/dist/actions/load-format.action.d.ts +0 -9
- package/dist/actions/load-format.action.d.ts.map +0 -1
- package/dist/actions/load-format.action.js +0 -62
- package/dist/actions/load-format.action.js.map +0 -1
- package/dist/actions/run.action.d.ts +0 -11
- package/dist/actions/run.action.d.ts.map +0 -1
- package/dist/actions/run.action.js +0 -16
- 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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"core-test.action.js","sourceRoot":"","sources":["../../src/actions/core-test.action.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
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"}
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -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 {
|
|
7
|
+
import type { FormatLoadAction } from './format-load.action.js';
|
|
4
8
|
import type { ReadyAction } from './ready.action.js';
|
|
5
|
-
import type {
|
|
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
|
|
10
|
-
'core.
|
|
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
|
|
33
|
+
export * from './format-load.action.js';
|
|
17
34
|
export * from './ready.action.js';
|
|
18
|
-
export * from './
|
|
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,
|
|
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,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE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/index.js
CHANGED
|
@@ -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
|
|
8
|
+
export * from './format-load.action.js';
|
|
4
9
|
export * from './ready.action.js';
|
|
5
|
-
export * from './
|
|
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":"
|
|
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 @@
|
|
|
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 @@
|
|
|
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,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chemaType } 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,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;oBAC7C,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;wBAC/B,QAAQ,EAAE,KAAK;qBAChB;oBACD,SAAS,EAAE;wBACT,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,KAAK;wBACf,QAAQ,EAAE,CAAC,UAAU,CAAC;wBACtB,oBAAoB,EAAE,KAAK;wBAC3B,UAAU,EAAE;4BACV,QAAQ,EAAE;gCACR,KAAK,EAAE;oCACL,EAAE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EAAE,cAAc,EAAE,MAAM,kBAAkB,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"}
|
package/dist/core-plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageJson from '../package.json' with { type: 'json' };
|
|
2
|
-
import {
|
|
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
|
|
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:
|
|
39
|
+
response: validationResultSchema,
|
|
40
|
+
},
|
|
41
|
+
'core.request.dispatch': {
|
|
42
|
+
event: requestDispatchActionSchema,
|
|
43
|
+
response: {},
|
|
24
44
|
},
|
|
25
|
-
'core.
|
|
26
|
-
event:
|
|
27
|
-
response:
|
|
45
|
+
'core.request.sample': {
|
|
46
|
+
event: {},
|
|
47
|
+
response: {},
|
|
48
|
+
},
|
|
49
|
+
'core.report.flush': {
|
|
50
|
+
event: VoidSchema,
|
|
51
|
+
response: {},
|
|
28
52
|
},
|
|
29
53
|
},
|
|
30
54
|
},
|
package/dist/core-plugin.js.map
CHANGED
|
@@ -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,
|
|
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,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,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,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