@inluxc/propmaster 0.0.0-stage → 1.0.1
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/LICENSE +21 -0
- package/README.md +696 -2
- package/dist/src/annotations/index.d.ts +11 -0
- package/dist/src/annotations/index.d.ts.map +1 -0
- package/dist/src/annotations/index.js +11 -0
- package/dist/src/annotations/index.js.map +1 -0
- package/dist/src/annotations/recorder.d.ts +57 -0
- package/dist/src/annotations/recorder.d.ts.map +1 -0
- package/dist/src/annotations/recorder.js +100 -0
- package/dist/src/annotations/recorder.js.map +1 -0
- package/dist/src/annotations/truncation.d.ts +34 -0
- package/dist/src/annotations/truncation.d.ts.map +1 -0
- package/dist/src/annotations/truncation.js +54 -0
- package/dist/src/annotations/truncation.js.map +1 -0
- package/dist/src/auth/apply.d.ts +15 -0
- package/dist/src/auth/apply.d.ts.map +1 -0
- package/dist/src/auth/apply.js +21 -0
- package/dist/src/auth/apply.js.map +1 -0
- package/dist/src/auth/setup.d.ts +56 -0
- package/dist/src/auth/setup.d.ts.map +1 -0
- package/dist/src/auth/setup.js +79 -0
- package/dist/src/auth/setup.js.map +1 -0
- package/dist/src/auth/state-file.d.ts +8 -0
- package/dist/src/auth/state-file.d.ts.map +1 -0
- package/dist/src/auth/state-file.js +13 -0
- package/dist/src/auth/state-file.js.map +1 -0
- package/dist/src/auth/token-manager.d.ts +61 -0
- package/dist/src/auth/token-manager.d.ts.map +1 -0
- package/dist/src/auth/token-manager.js +200 -0
- package/dist/src/auth/token-manager.js.map +1 -0
- package/dist/src/cli/banner.d.ts +23 -0
- package/dist/src/cli/banner.d.ts.map +1 -0
- package/dist/src/cli/banner.js +67 -0
- package/dist/src/cli/banner.js.map +1 -0
- package/dist/src/cli/check-tests.d.ts +143 -0
- package/dist/src/cli/check-tests.d.ts.map +1 -0
- package/dist/src/cli/check-tests.js +541 -0
- package/dist/src/cli/check-tests.js.map +1 -0
- package/dist/src/cli/coverage.d.ts +14 -0
- package/dist/src/cli/coverage.d.ts.map +1 -0
- package/dist/src/cli/coverage.js +97 -0
- package/dist/src/cli/coverage.js.map +1 -0
- package/dist/src/cli/doctor.d.ts +82 -0
- package/dist/src/cli/doctor.d.ts.map +1 -0
- package/dist/src/cli/doctor.js +656 -0
- package/dist/src/cli/doctor.js.map +1 -0
- package/dist/src/cli/env.d.ts +76 -0
- package/dist/src/cli/env.d.ts.map +1 -0
- package/dist/src/cli/env.js +344 -0
- package/dist/src/cli/env.js.map +1 -0
- package/dist/src/cli/failures.d.ts +29 -0
- package/dist/src/cli/failures.d.ts.map +1 -0
- package/dist/src/cli/failures.js +114 -0
- package/dist/src/cli/failures.js.map +1 -0
- package/dist/src/cli/fixture-catalog.d.ts +83 -0
- package/dist/src/cli/fixture-catalog.d.ts.map +1 -0
- package/dist/src/cli/fixture-catalog.js +773 -0
- package/dist/src/cli/fixture-catalog.js.map +1 -0
- package/dist/src/cli/fixture.d.ts +149 -0
- package/dist/src/cli/fixture.d.ts.map +1 -0
- package/dist/src/cli/fixture.js +742 -0
- package/dist/src/cli/fixture.js.map +1 -0
- package/dist/src/cli/flaky.d.ts +25 -0
- package/dist/src/cli/flaky.d.ts.map +1 -0
- package/dist/src/cli/flaky.js +96 -0
- package/dist/src/cli/flaky.js.map +1 -0
- package/dist/src/cli/generate.d.ts +37 -0
- package/dist/src/cli/generate.d.ts.map +1 -0
- package/dist/src/cli/generate.js +230 -0
- package/dist/src/cli/generate.js.map +1 -0
- package/dist/src/cli/init.d.ts +36 -0
- package/dist/src/cli/init.d.ts.map +1 -0
- package/dist/src/cli/init.js +1039 -0
- package/dist/src/cli/init.js.map +1 -0
- package/dist/src/cli/json-edit.d.ts +58 -0
- package/dist/src/cli/json-edit.d.ts.map +1 -0
- package/dist/src/cli/json-edit.js +250 -0
- package/dist/src/cli/json-edit.js.map +1 -0
- package/dist/src/cli/layout.d.ts +31 -0
- package/dist/src/cli/layout.d.ts.map +1 -0
- package/dist/src/cli/layout.js +175 -0
- package/dist/src/cli/layout.js.map +1 -0
- package/dist/src/cli/mcp-setup.d.ts +141 -0
- package/dist/src/cli/mcp-setup.d.ts.map +1 -0
- package/dist/src/cli/mcp-setup.js +548 -0
- package/dist/src/cli/mcp-setup.js.map +1 -0
- package/dist/src/cli/organize.d.ts +136 -0
- package/dist/src/cli/organize.d.ts.map +1 -0
- package/dist/src/cli/organize.js +467 -0
- package/dist/src/cli/organize.js.map +1 -0
- package/dist/src/cli/prompts.d.ts +102 -0
- package/dist/src/cli/prompts.d.ts.map +1 -0
- package/dist/src/cli/prompts.js +346 -0
- package/dist/src/cli/prompts.js.map +1 -0
- package/dist/src/cli/standards.d.ts +160 -0
- package/dist/src/cli/standards.d.ts.map +1 -0
- package/dist/src/cli/standards.js +389 -0
- package/dist/src/cli/standards.js.map +1 -0
- package/dist/src/cli/style.d.ts +28 -0
- package/dist/src/cli/style.d.ts.map +1 -0
- package/dist/src/cli/style.js +57 -0
- package/dist/src/cli/style.js.map +1 -0
- package/dist/src/config/env-loader.d.ts +33 -0
- package/dist/src/config/env-loader.d.ts.map +1 -0
- package/dist/src/config/env-loader.js +72 -0
- package/dist/src/config/env-loader.js.map +1 -0
- package/dist/src/config/index.d.ts +10 -0
- package/dist/src/config/index.d.ts.map +1 -0
- package/dist/src/config/index.js +10 -0
- package/dist/src/config/index.js.map +1 -0
- package/dist/src/config/loader.d.ts +66 -0
- package/dist/src/config/loader.d.ts.map +1 -0
- package/dist/src/config/loader.js +810 -0
- package/dist/src/config/loader.js.map +1 -0
- package/dist/src/config/schema.d.ts +596 -0
- package/dist/src/config/schema.d.ts.map +1 -0
- package/dist/src/config/schema.js +9 -0
- package/dist/src/config/schema.js.map +1 -0
- package/dist/src/containers/container-manager.d.ts +157 -0
- package/dist/src/containers/container-manager.d.ts.map +1 -0
- package/dist/src/containers/container-manager.js +627 -0
- package/dist/src/containers/container-manager.js.map +1 -0
- package/dist/src/coverage/code-coverage.d.ts +89 -0
- package/dist/src/coverage/code-coverage.d.ts.map +1 -0
- package/dist/src/coverage/code-coverage.js +395 -0
- package/dist/src/coverage/code-coverage.js.map +1 -0
- package/dist/src/coverage/inventory.d.ts +80 -0
- package/dist/src/coverage/inventory.d.ts.map +1 -0
- package/dist/src/coverage/inventory.js +417 -0
- package/dist/src/coverage/inventory.js.map +1 -0
- package/dist/src/coverage/languages.d.ts +34 -0
- package/dist/src/coverage/languages.d.ts.map +1 -0
- package/dist/src/coverage/languages.js +156 -0
- package/dist/src/coverage/languages.js.map +1 -0
- package/dist/src/coverage/report.d.ts +128 -0
- package/dist/src/coverage/report.d.ts.map +1 -0
- package/dist/src/coverage/report.js +472 -0
- package/dist/src/coverage/report.js.map +1 -0
- package/dist/src/errors.d.ts +164 -0
- package/dist/src/errors.d.ts.map +1 -0
- package/dist/src/errors.js +267 -0
- package/dist/src/errors.js.map +1 -0
- package/dist/src/fixtures/amqp.fixture.d.ts +163 -0
- package/dist/src/fixtures/amqp.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/amqp.fixture.js +494 -0
- package/dist/src/fixtures/amqp.fixture.js.map +1 -0
- package/dist/src/fixtures/appium.fixture.d.ts +112 -0
- package/dist/src/fixtures/appium.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/appium.fixture.js +309 -0
- package/dist/src/fixtures/appium.fixture.js.map +1 -0
- package/dist/src/fixtures/aws.d.ts +44 -0
- package/dist/src/fixtures/aws.d.ts.map +1 -0
- package/dist/src/fixtures/aws.js +93 -0
- package/dist/src/fixtures/aws.js.map +1 -0
- package/dist/src/fixtures/cassandra.fixture.d.ts +179 -0
- package/dist/src/fixtures/cassandra.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/cassandra.fixture.js +489 -0
- package/dist/src/fixtures/cassandra.fixture.js.map +1 -0
- package/dist/src/fixtures/clickhouse.fixture.d.ts +171 -0
- package/dist/src/fixtures/clickhouse.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/clickhouse.fixture.js +514 -0
- package/dist/src/fixtures/clickhouse.fixture.js.map +1 -0
- package/dist/src/fixtures/database.fixture.d.ts +63 -0
- package/dist/src/fixtures/database.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/database.fixture.js +407 -0
- package/dist/src/fixtures/database.fixture.js.map +1 -0
- package/dist/src/fixtures/dynamodb.fixture.d.ts +243 -0
- package/dist/src/fixtures/dynamodb.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/dynamodb.fixture.js +580 -0
- package/dist/src/fixtures/dynamodb.fixture.js.map +1 -0
- package/dist/src/fixtures/graphql.fixture.d.ts +107 -0
- package/dist/src/fixtures/graphql.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/graphql.fixture.js +158 -0
- package/dist/src/fixtures/graphql.fixture.js.map +1 -0
- package/dist/src/fixtures/grpc.fixture.d.ts +167 -0
- package/dist/src/fixtures/grpc.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/grpc.fixture.js +635 -0
- package/dist/src/fixtures/grpc.fixture.js.map +1 -0
- package/dist/src/fixtures/inbox.fixture.d.ts +136 -0
- package/dist/src/fixtures/inbox.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/inbox.fixture.js +239 -0
- package/dist/src/fixtures/inbox.fixture.js.map +1 -0
- package/dist/src/fixtures/index.d.ts +174 -0
- package/dist/src/fixtures/index.d.ts.map +1 -0
- package/dist/src/fixtures/index.js +379 -0
- package/dist/src/fixtures/index.js.map +1 -0
- package/dist/src/fixtures/kafka-driver.d.ts +108 -0
- package/dist/src/fixtures/kafka-driver.d.ts.map +1 -0
- package/dist/src/fixtures/kafka-driver.js +113 -0
- package/dist/src/fixtures/kafka-driver.js.map +1 -0
- package/dist/src/fixtures/kafka.fixture.d.ts +75 -0
- package/dist/src/fixtures/kafka.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/kafka.fixture.js +188 -0
- package/dist/src/fixtures/kafka.fixture.js.map +1 -0
- package/dist/src/fixtures/mock-server.fixture.d.ts +142 -0
- package/dist/src/fixtures/mock-server.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/mock-server.fixture.js +271 -0
- package/dist/src/fixtures/mock-server.fixture.js.map +1 -0
- package/dist/src/fixtures/mongodb.fixture.d.ts +121 -0
- package/dist/src/fixtures/mongodb.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/mongodb.fixture.js +258 -0
- package/dist/src/fixtures/mongodb.fixture.js.map +1 -0
- package/dist/src/fixtures/neo4j.fixture.d.ts +72 -0
- package/dist/src/fixtures/neo4j.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/neo4j.fixture.js +202 -0
- package/dist/src/fixtures/neo4j.fixture.js.map +1 -0
- package/dist/src/fixtures/openapi.fixture.d.ts +101 -0
- package/dist/src/fixtures/openapi.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/openapi.fixture.js +266 -0
- package/dist/src/fixtures/openapi.fixture.js.map +1 -0
- package/dist/src/fixtures/optional-package.d.ts +54 -0
- package/dist/src/fixtures/optional-package.d.ts.map +1 -0
- package/dist/src/fixtures/optional-package.js +79 -0
- package/dist/src/fixtures/optional-package.js.map +1 -0
- package/dist/src/fixtures/otp.fixture.d.ts +60 -0
- package/dist/src/fixtures/otp.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/otp.fixture.js +101 -0
- package/dist/src/fixtures/otp.fixture.js.map +1 -0
- package/dist/src/fixtures/realtime.fixture.d.ts +205 -0
- package/dist/src/fixtures/realtime.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/realtime.fixture.js +606 -0
- package/dist/src/fixtures/realtime.fixture.js.map +1 -0
- package/dist/src/fixtures/redis.fixture.d.ts +55 -0
- package/dist/src/fixtures/redis.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/redis.fixture.js +209 -0
- package/dist/src/fixtures/redis.fixture.js.map +1 -0
- package/dist/src/fixtures/s3.fixture.d.ts +126 -0
- package/dist/src/fixtures/s3.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/s3.fixture.js +296 -0
- package/dist/src/fixtures/s3.fixture.js.map +1 -0
- package/dist/src/fixtures/search.fixture.d.ts +178 -0
- package/dist/src/fixtures/search.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/search.fixture.js +472 -0
- package/dist/src/fixtures/search.fixture.js.map +1 -0
- package/dist/src/fixtures/sqs.fixture.d.ts +172 -0
- package/dist/src/fixtures/sqs.fixture.d.ts.map +1 -0
- package/dist/src/fixtures/sqs.fixture.js +428 -0
- package/dist/src/fixtures/sqs.fixture.js.map +1 -0
- package/dist/src/index.d.ts +43 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +48 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/mcp/guards.d.ts +21 -0
- package/dist/src/mcp/guards.d.ts.map +1 -0
- package/dist/src/mcp/guards.js +118 -0
- package/dist/src/mcp/guards.js.map +1 -0
- package/dist/src/mcp/project-tools.d.ts +14 -0
- package/dist/src/mcp/project-tools.d.ts.map +1 -0
- package/dist/src/mcp/project-tools.js +252 -0
- package/dist/src/mcp/project-tools.js.map +1 -0
- package/dist/src/mcp/protocol.d.ts +116 -0
- package/dist/src/mcp/protocol.d.ts.map +1 -0
- package/dist/src/mcp/protocol.js +199 -0
- package/dist/src/mcp/protocol.js.map +1 -0
- package/dist/src/mcp/server.d.ts +43 -0
- package/dist/src/mcp/server.d.ts.map +1 -0
- package/dist/src/mcp/server.js +244 -0
- package/dist/src/mcp/server.js.map +1 -0
- package/dist/src/mcp/test-tools.d.ts +65 -0
- package/dist/src/mcp/test-tools.d.ts.map +1 -0
- package/dist/src/mcp/test-tools.js +380 -0
- package/dist/src/mcp/test-tools.js.map +1 -0
- package/dist/src/mcp/tools.d.ts +49 -0
- package/dist/src/mcp/tools.d.ts.map +1 -0
- package/dist/src/mcp/tools.js +726 -0
- package/dist/src/mcp/tools.js.map +1 -0
- package/dist/src/network-error.d.ts +11 -0
- package/dist/src/network-error.d.ts.map +1 -0
- package/dist/src/network-error.js +34 -0
- package/dist/src/network-error.js.map +1 -0
- package/dist/src/openapi/contract.d.ts +98 -0
- package/dist/src/openapi/contract.d.ts.map +1 -0
- package/dist/src/openapi/contract.js +407 -0
- package/dist/src/openapi/contract.js.map +1 -0
- package/dist/src/openapi/generate.d.ts +89 -0
- package/dist/src/openapi/generate.d.ts.map +1 -0
- package/dist/src/openapi/generate.js +607 -0
- package/dist/src/openapi/generate.js.map +1 -0
- package/dist/src/openapi/load.d.ts +8 -0
- package/dist/src/openapi/load.d.ts.map +1 -0
- package/dist/src/openapi/load.js +26 -0
- package/dist/src/openapi/load.js.map +1 -0
- package/dist/src/package-manager.d.ts +58 -0
- package/dist/src/package-manager.d.ts.map +1 -0
- package/dist/src/package-manager.js +137 -0
- package/dist/src/package-manager.js.map +1 -0
- package/dist/src/reporter/history.d.ts +85 -0
- package/dist/src/reporter/history.d.ts.map +1 -0
- package/dist/src/reporter/history.js +147 -0
- package/dist/src/reporter/history.js.map +1 -0
- package/dist/src/reporter/index.d.ts +59 -0
- package/dist/src/reporter/index.d.ts.map +1 -0
- package/dist/src/reporter/index.js +201 -0
- package/dist/src/reporter/index.js.map +1 -0
- package/dist/src/reporter/last-run.d.ts +88 -0
- package/dist/src/reporter/last-run.d.ts.map +1 -0
- package/dist/src/reporter/last-run.js +133 -0
- package/dist/src/reporter/last-run.js.map +1 -0
- package/dist/src/reporter/quarantine.d.ts +62 -0
- package/dist/src/reporter/quarantine.d.ts.map +1 -0
- package/dist/src/reporter/quarantine.js +148 -0
- package/dist/src/reporter/quarantine.js.map +1 -0
- package/dist/src/secrets/index.d.ts +4 -0
- package/dist/src/secrets/index.d.ts.map +1 -0
- package/dist/src/secrets/index.js +3 -0
- package/dist/src/secrets/index.js.map +1 -0
- package/dist/src/secrets/provider.interface.d.ts +30 -0
- package/dist/src/secrets/provider.interface.d.ts.map +1 -0
- package/dist/src/secrets/provider.interface.js +2 -0
- package/dist/src/secrets/provider.interface.js.map +1 -0
- package/dist/src/secrets/providers/aws.provider.d.ts +33 -0
- package/dist/src/secrets/providers/aws.provider.d.ts.map +1 -0
- package/dist/src/secrets/providers/aws.provider.js +88 -0
- package/dist/src/secrets/providers/aws.provider.js.map +1 -0
- package/dist/src/secrets/providers/azure.provider.d.ts +26 -0
- package/dist/src/secrets/providers/azure.provider.d.ts.map +1 -0
- package/dist/src/secrets/providers/azure.provider.js +71 -0
- package/dist/src/secrets/providers/azure.provider.js.map +1 -0
- package/dist/src/secrets/providers/env-file.provider.d.ts +29 -0
- package/dist/src/secrets/providers/env-file.provider.d.ts.map +1 -0
- package/dist/src/secrets/providers/env-file.provider.js +56 -0
- package/dist/src/secrets/providers/env-file.provider.js.map +1 -0
- package/dist/src/secrets/providers/gitlab.provider.d.ts +26 -0
- package/dist/src/secrets/providers/gitlab.provider.d.ts.map +1 -0
- package/dist/src/secrets/providers/gitlab.provider.js +67 -0
- package/dist/src/secrets/providers/gitlab.provider.js.map +1 -0
- package/dist/src/secrets/providers/index.d.ts +52 -0
- package/dist/src/secrets/providers/index.d.ts.map +1 -0
- package/dist/src/secrets/providers/index.js +81 -0
- package/dist/src/secrets/providers/index.js.map +1 -0
- package/dist/src/secrets/providers/openbao.provider.d.ts +28 -0
- package/dist/src/secrets/providers/openbao.provider.d.ts.map +1 -0
- package/dist/src/secrets/providers/openbao.provider.js +29 -0
- package/dist/src/secrets/providers/openbao.provider.js.map +1 -0
- package/dist/src/secrets/providers/vault-compatible.d.ts +140 -0
- package/dist/src/secrets/providers/vault-compatible.d.ts.map +1 -0
- package/dist/src/secrets/providers/vault-compatible.js +405 -0
- package/dist/src/secrets/providers/vault-compatible.js.map +1 -0
- package/dist/src/secrets/providers/vault.provider.d.ts +27 -0
- package/dist/src/secrets/providers/vault.provider.d.ts.map +1 -0
- package/dist/src/secrets/providers/vault.provider.js +23 -0
- package/dist/src/secrets/providers/vault.provider.js.map +1 -0
- package/dist/src/secrets/secrets-manager.d.ts +67 -0
- package/dist/src/secrets/secrets-manager.d.ts.map +1 -0
- package/dist/src/secrets/secrets-manager.js +255 -0
- package/dist/src/secrets/secrets-manager.js.map +1 -0
- package/dist/src/steps/amqp.steps.d.ts +37 -0
- package/dist/src/steps/amqp.steps.d.ts.map +1 -0
- package/dist/src/steps/amqp.steps.js +86 -0
- package/dist/src/steps/amqp.steps.js.map +1 -0
- package/dist/src/steps/appium.steps.d.ts +53 -0
- package/dist/src/steps/appium.steps.d.ts.map +1 -0
- package/dist/src/steps/appium.steps.js +109 -0
- package/dist/src/steps/appium.steps.js.map +1 -0
- package/dist/src/steps/aws.steps.d.ts +47 -0
- package/dist/src/steps/aws.steps.d.ts.map +1 -0
- package/dist/src/steps/aws.steps.js +116 -0
- package/dist/src/steps/aws.steps.js.map +1 -0
- package/dist/src/steps/browser.steps.d.ts +54 -0
- package/dist/src/steps/browser.steps.d.ts.map +1 -0
- package/dist/src/steps/browser.steps.js +102 -0
- package/dist/src/steps/browser.steps.js.map +1 -0
- package/dist/src/steps/cassandra.steps.d.ts +32 -0
- package/dist/src/steps/cassandra.steps.d.ts.map +1 -0
- package/dist/src/steps/cassandra.steps.js +81 -0
- package/dist/src/steps/cassandra.steps.js.map +1 -0
- package/dist/src/steps/clickhouse.steps.d.ts +30 -0
- package/dist/src/steps/clickhouse.steps.d.ts.map +1 -0
- package/dist/src/steps/clickhouse.steps.js +73 -0
- package/dist/src/steps/clickhouse.steps.js.map +1 -0
- package/dist/src/steps/database.steps.d.ts +43 -0
- package/dist/src/steps/database.steps.d.ts.map +1 -0
- package/dist/src/steps/database.steps.js +79 -0
- package/dist/src/steps/database.steps.js.map +1 -0
- package/dist/src/steps/dynamodb.steps.d.ts +32 -0
- package/dist/src/steps/dynamodb.steps.d.ts.map +1 -0
- package/dist/src/steps/dynamodb.steps.js +89 -0
- package/dist/src/steps/dynamodb.steps.js.map +1 -0
- package/dist/src/steps/graphql.steps.d.ts +60 -0
- package/dist/src/steps/graphql.steps.d.ts.map +1 -0
- package/dist/src/steps/graphql.steps.js +76 -0
- package/dist/src/steps/graphql.steps.js.map +1 -0
- package/dist/src/steps/grpc.steps.d.ts +29 -0
- package/dist/src/steps/grpc.steps.d.ts.map +1 -0
- package/dist/src/steps/grpc.steps.js +68 -0
- package/dist/src/steps/grpc.steps.js.map +1 -0
- package/dist/src/steps/inbox.steps.d.ts +30 -0
- package/dist/src/steps/inbox.steps.d.ts.map +1 -0
- package/dist/src/steps/inbox.steps.js +72 -0
- package/dist/src/steps/inbox.steps.js.map +1 -0
- package/dist/src/steps/index.d.ts +43 -0
- package/dist/src/steps/index.d.ts.map +1 -0
- package/dist/src/steps/index.js +26 -0
- package/dist/src/steps/index.js.map +1 -0
- package/dist/src/steps/kafka.steps.d.ts +56 -0
- package/dist/src/steps/kafka.steps.d.ts.map +1 -0
- package/dist/src/steps/kafka.steps.js +61 -0
- package/dist/src/steps/kafka.steps.js.map +1 -0
- package/dist/src/steps/mock-server.steps.d.ts +21 -0
- package/dist/src/steps/mock-server.steps.d.ts.map +1 -0
- package/dist/src/steps/mock-server.steps.js +45 -0
- package/dist/src/steps/mock-server.steps.js.map +1 -0
- package/dist/src/steps/mongodb.steps.d.ts +107 -0
- package/dist/src/steps/mongodb.steps.d.ts.map +1 -0
- package/dist/src/steps/mongodb.steps.js +117 -0
- package/dist/src/steps/mongodb.steps.js.map +1 -0
- package/dist/src/steps/openapi.steps.d.ts +49 -0
- package/dist/src/steps/openapi.steps.d.ts.map +1 -0
- package/dist/src/steps/openapi.steps.js +113 -0
- package/dist/src/steps/openapi.steps.js.map +1 -0
- package/dist/src/steps/otp.steps.d.ts +43 -0
- package/dist/src/steps/otp.steps.d.ts.map +1 -0
- package/dist/src/steps/otp.steps.js +83 -0
- package/dist/src/steps/otp.steps.js.map +1 -0
- package/dist/src/steps/realtime.steps.d.ts +40 -0
- package/dist/src/steps/realtime.steps.d.ts.map +1 -0
- package/dist/src/steps/realtime.steps.js +116 -0
- package/dist/src/steps/realtime.steps.js.map +1 -0
- package/dist/src/steps/redis.steps.d.ts +54 -0
- package/dist/src/steps/redis.steps.d.ts.map +1 -0
- package/dist/src/steps/redis.steps.js +89 -0
- package/dist/src/steps/redis.steps.js.map +1 -0
- package/dist/src/steps/search.steps.d.ts +23 -0
- package/dist/src/steps/search.steps.d.ts.map +1 -0
- package/dist/src/steps/search.steps.js +54 -0
- package/dist/src/steps/search.steps.js.map +1 -0
- package/dist/src/test-data/factory.d.ts +82 -0
- package/dist/src/test-data/factory.d.ts.map +1 -0
- package/dist/src/test-data/factory.js +116 -0
- package/dist/src/test-data/factory.js.map +1 -0
- package/dist/src/test-data/index.d.ts +4 -0
- package/dist/src/test-data/index.d.ts.map +1 -0
- package/dist/src/test-data/index.js +4 -0
- package/dist/src/test-data/index.js.map +1 -0
- package/dist/src/test-data/registry.d.ts +37 -0
- package/dist/src/test-data/registry.d.ts.map +1 -0
- package/dist/src/test-data/registry.js +51 -0
- package/dist/src/test-data/registry.js.map +1 -0
- package/dist/src/test-data/tracking.d.ts +47 -0
- package/dist/src/test-data/tracking.d.ts.map +1 -0
- package/dist/src/test-data/tracking.js +166 -0
- package/dist/src/test-data/tracking.js.map +1 -0
- package/environments.json +263 -0
- package/package.json +299 -5
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AWS Step Classes
|
|
3
|
+
*
|
|
4
|
+
* Reusable steps for S3 (`S3Steps`) and SQS/SNS (`SqsSteps`). Each method runs
|
|
5
|
+
* inside `test.step()`, so it shows up as one step in reports and traces.
|
|
6
|
+
*/
|
|
7
|
+
import { test, expect } from '../index.js';
|
|
8
|
+
export class S3Steps {
|
|
9
|
+
s3Client;
|
|
10
|
+
constructor(s3Client) {
|
|
11
|
+
this.s3Client = s3Client;
|
|
12
|
+
}
|
|
13
|
+
/** Writes an object (undone after the test). */
|
|
14
|
+
async putObject(description, key, body, options) {
|
|
15
|
+
await test.step(`Step: ${description}`, async () => {
|
|
16
|
+
await this.s3Client.putObject(key, body, options);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/** Waits until the object exists and returns it. */
|
|
20
|
+
async expectObject(description, key, options) {
|
|
21
|
+
let object;
|
|
22
|
+
await test.step(`Step: ${description}`, async () => {
|
|
23
|
+
object = await this.s3Client.waitForObject(key, options);
|
|
24
|
+
});
|
|
25
|
+
return object;
|
|
26
|
+
}
|
|
27
|
+
/** Waits for the object and checks its JSON body contains `expected` (toMatchObject). */
|
|
28
|
+
async expectJsonObject(description, key, expected, options) {
|
|
29
|
+
let object;
|
|
30
|
+
await test.step(`Step: ${description}`, async () => {
|
|
31
|
+
object = await this.s3Client.waitForObject(key, options);
|
|
32
|
+
expect(object.json(), `JSON body of s3://${object.bucket}/${key}`).toMatchObject(expected);
|
|
33
|
+
});
|
|
34
|
+
return object;
|
|
35
|
+
}
|
|
36
|
+
/** Checks that the object doesn't exist. */
|
|
37
|
+
async expectNoObject(description, key, options) {
|
|
38
|
+
await test.step(`Step: ${description}`, async () => {
|
|
39
|
+
expect(await this.s3Client.exists(key, options), `s3 key "${key}" exists`).toBe(false);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/** Checks the keys under a prefix (default: the test's prefix), sorted. */
|
|
43
|
+
async expectKeys(description, keys, prefix, options) {
|
|
44
|
+
await test.step(`Step: ${description}`, async () => {
|
|
45
|
+
const listed = (await this.s3Client.listObjects(prefix, options)).map((o) => o.key);
|
|
46
|
+
expect(listed).toEqual([...keys].sort((a, b) => a.localeCompare(b)));
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class SqsSteps {
|
|
51
|
+
sqsClient;
|
|
52
|
+
constructor(sqsClient) {
|
|
53
|
+
this.sqsClient = sqsClient;
|
|
54
|
+
}
|
|
55
|
+
/** Sends a message to a queue; returns its message ID. */
|
|
56
|
+
async send(description, queue, body, options) {
|
|
57
|
+
let id = '';
|
|
58
|
+
await test.step(`Step: ${description}`, async () => {
|
|
59
|
+
id = await this.sqsClient.send(queue, body, options);
|
|
60
|
+
});
|
|
61
|
+
return id;
|
|
62
|
+
}
|
|
63
|
+
/** Receives `count` messages (default 1) and checks they all arrived. */
|
|
64
|
+
async receiveExpectMessages(description, queue, options) {
|
|
65
|
+
let messages = [];
|
|
66
|
+
await test.step(`Step: ${description}`, async () => {
|
|
67
|
+
messages = await this.sqsClient.receive(queue, options);
|
|
68
|
+
expect(messages.length, `messages received from queue "${queue}"`).toBe(options?.count ?? 1);
|
|
69
|
+
});
|
|
70
|
+
return messages;
|
|
71
|
+
}
|
|
72
|
+
/** Waits until a queue holds `count` visible messages (default timeout 10000 ms). */
|
|
73
|
+
async expectQueueDepth(description, queue, count, timeout = 10_000) {
|
|
74
|
+
await test.step(`Step: ${description}`, async () => {
|
|
75
|
+
await expect
|
|
76
|
+
.poll(async () => (await this.sqsClient.checkQueue(queue))?.messages ?? null, { message: `messages in queue "${queue}"`, timeout })
|
|
77
|
+
.toBe(count);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/** Publishes to an SNS topic; returns the message ID. */
|
|
81
|
+
async publish(description, topic, body, options) {
|
|
82
|
+
let id = '';
|
|
83
|
+
await test.step(`Step: ${description}`, async () => {
|
|
84
|
+
id = await this.sqsClient.publish(topic, body, options);
|
|
85
|
+
});
|
|
86
|
+
return id;
|
|
87
|
+
}
|
|
88
|
+
/** Subscribes a temporary queue to a topic. Call it before the action that publishes. */
|
|
89
|
+
async listen(description, topic, options) {
|
|
90
|
+
let listener;
|
|
91
|
+
await test.step(`Step: ${description}`, async () => {
|
|
92
|
+
listener = await this.sqsClient.listen(topic, options);
|
|
93
|
+
});
|
|
94
|
+
return listener;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Waits for a topic message matching `predicate`. Parallel tests share
|
|
98
|
+
* topics, so match on something unique to this test.
|
|
99
|
+
*/
|
|
100
|
+
async expectMessage(description, listener, predicate, options) {
|
|
101
|
+
let message;
|
|
102
|
+
await test.step(`Step: ${description}`, async () => {
|
|
103
|
+
message = await listener.waitForMessage(predicate, options);
|
|
104
|
+
});
|
|
105
|
+
return message;
|
|
106
|
+
}
|
|
107
|
+
/** Checks that no topic message matching `predicate` arrives within `timeout` ms (default 2000). */
|
|
108
|
+
async expectNoMessage(description, listener, predicate = () => true, timeout = 2000) {
|
|
109
|
+
await test.step(`Step: ${description}`, async () => {
|
|
110
|
+
await listener.messages({ count: Number.MAX_SAFE_INTEGER, timeout });
|
|
111
|
+
const unexpected = listener.received.filter(predicate);
|
|
112
|
+
expect(unexpected.map((m) => `${m.subject ? `${m.subject}: ` : ''}${m.body}`)).toEqual([]);
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=aws.steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aws.steps.js","sourceRoot":"","sources":["../../../src/steps/aws.steps.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAkB3C,MAAM,OAAO,OAAO;IACI,QAAQ;IAA5B,YAAoB,QAAkB;wBAAlB,QAAQ;IAAa,CAAC;IAE1C,gDAAgD;IAChD,KAAK,CAAC,SAAS,CAAC,WAAmB,EAAE,GAAW,EAAE,IAAa,EAAE,OAAsB;QACnF,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,WAAW,EAAE,EAAE,KAAK,IAAI,EAAE;YAC/C,MAAM,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;IACP,CAAC;IAED,oDAAoD;IACpD,KAAK,CAAC,YAAY,CAAC,WAAmB,EAAE,GAAW,EAAE,OAAuB;QACxE,IAAI,MAAiB,CAAC;QACtB,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,WAAW,EAAE,EAAE,KAAK,IAAI,EAAE;YAC/C,MAAM,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;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S,WAAW,EAAE,EAAE,KAAK,IAAI,EAAE;YAC/C,OAAO,GAAG,MAAM,QAAQ,CAAC,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAChE,CAAC,CAAC,CAAC;QACH,OAAO,OAAO,CAAC;IACnB,CAAC;IAED,oGAAoG;IACpG,KAAK,CAAC,eAAe,CAAC,WAAmB,EAAE,QAAqB,EAAE,SAAS,GAAqC,GAAG,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI;QACtI,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,WAAW,EAAE,EAAE,KAAK,IAAI,EAAE;YAC/C,MAAM,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,gBAAgB,EAAE,OAAO,EAAE,CAAC,CAAC;YACrE,MAAM,UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACvD,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAC/F,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser Step Class
|
|
3
|
+
*
|
|
4
|
+
* Reusable step sequences for browser-based UI testing.
|
|
5
|
+
* Wraps common navigation and interaction patterns for Playwright page operations.
|
|
6
|
+
*/
|
|
7
|
+
import type { Page, Locator } from '@playwright/test';
|
|
8
|
+
export declare class BrowserSteps {
|
|
9
|
+
private page;
|
|
10
|
+
constructor(page: Page);
|
|
11
|
+
/**
|
|
12
|
+
* Navigates to a URL and optionally waits for a selector to be visible.
|
|
13
|
+
*/
|
|
14
|
+
navigate(description: string, url: string, waitForSelector?: string): Promise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Verifies the page title matches the expected pattern.
|
|
17
|
+
*/
|
|
18
|
+
verifyTitle(description: string, titlePattern: RegExp): Promise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Verifies the page URL matches the expected pattern or string.
|
|
21
|
+
*/
|
|
22
|
+
verifyUrl(description: string, url: string | RegExp): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Clicks a locator element.
|
|
25
|
+
*/
|
|
26
|
+
click(description: string, locator: Locator): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Clicks the first element matching a CSS selector.
|
|
29
|
+
*/
|
|
30
|
+
clickSelector(description: string, selector: string): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Verifies a locator is visible.
|
|
33
|
+
*/
|
|
34
|
+
verifyVisible(description: string, locator: Locator, options?: {
|
|
35
|
+
timeout?: number;
|
|
36
|
+
}): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Verifies the count of elements matching a locator is greater than expected.
|
|
39
|
+
*/
|
|
40
|
+
verifyCountGreaterThan(description: string, locator: Locator, minCount: number): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Fills an input identified by label.
|
|
43
|
+
*/
|
|
44
|
+
fillByLabel(description: string, label: string, value: string): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Clicks a button identified by its accessible name.
|
|
47
|
+
*/
|
|
48
|
+
clickButton(description: string, name: string): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* Verifies a heading is visible.
|
|
51
|
+
*/
|
|
52
|
+
verifyHeading(description: string, name: string): Promise<void>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=browser.steps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browser.steps.d.ts","sourceRoot":"","sources":["../../../src/steps/browser.steps.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,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MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAMlE;IAED;;OAEG;IACG,aAAa,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAIpE;CACJ"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser Step Class
|
|
3
|
+
*
|
|
4
|
+
* Reusable step sequences for browser-based UI testing.
|
|
5
|
+
* Wraps common navigation and interaction patterns for Playwright page operations.
|
|
6
|
+
*/
|
|
7
|
+
import { test, expect } from '../index.js';
|
|
8
|
+
export class BrowserSteps {
|
|
9
|
+
page;
|
|
10
|
+
constructor(page) {
|
|
11
|
+
this.page = page;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Navigates to a URL and optionally waits for a selector to be visible.
|
|
15
|
+
*/
|
|
16
|
+
async navigate(description, url, waitForSelector) {
|
|
17
|
+
await test.step(`Step: ${description}`, async () => {
|
|
18
|
+
await this.page.goto(url);
|
|
19
|
+
if (waitForSelector) {
|
|
20
|
+
await expect(this.page.locator(waitForSelector).first()).toBeVisible();
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Verifies the page title matches the expected pattern.
|
|
26
|
+
*/
|
|
27
|
+
async verifyTitle(description, titlePattern) {
|
|
28
|
+
await test.step(`Step: ${description}`, async () => {
|
|
29
|
+
await expect(this.page).toHaveTitle(titlePattern);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Verifies the page URL matches the expected pattern or string.
|
|
34
|
+
*/
|
|
35
|
+
async verifyUrl(description, url) {
|
|
36
|
+
await test.step(`Step: ${description}`, async () => {
|
|
37
|
+
await expect(this.page).toHaveURL(url);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Clicks a locator element.
|
|
42
|
+
*/
|
|
43
|
+
async click(description, locator) {
|
|
44
|
+
await test.step(`Step: ${description}`, async () => {
|
|
45
|
+
await expect(locator).toBeVisible();
|
|
46
|
+
await locator.click();
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Clicks the first element matching a CSS selector.
|
|
51
|
+
*/
|
|
52
|
+
async clickSelector(description, selector) {
|
|
53
|
+
await test.step(`Step: ${description}`, async () => {
|
|
54
|
+
const element = this.page.locator(selector).first();
|
|
55
|
+
await expect(element).toBeVisible();
|
|
56
|
+
await element.click();
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Verifies a locator is visible.
|
|
61
|
+
*/
|
|
62
|
+
async verifyVisible(description, locator, options) {
|
|
63
|
+
await test.step(`Step: ${description}`, async () => {
|
|
64
|
+
await expect(locator).toBeVisible(options);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Verifies the count of elements matching a locator is greater than expected.
|
|
69
|
+
*/
|
|
70
|
+
async verifyCountGreaterThan(description, locator, minCount) {
|
|
71
|
+
await test.step(`Step: ${description}`, async () => {
|
|
72
|
+
expect(await locator.count()).toBeGreaterThan(minCount);
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Fills an input identified by label.
|
|
77
|
+
*/
|
|
78
|
+
async fillByLabel(description, label, value) {
|
|
79
|
+
await test.step(`Step: ${description}`, async () => {
|
|
80
|
+
await this.page.getByLabel(label).fill(value);
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Clicks a button identified by its accessible name.
|
|
85
|
+
*/
|
|
86
|
+
async clickButton(description, name) {
|
|
87
|
+
await test.step(`Step: ${description}`, async () => {
|
|
88
|
+
const button = this.page.getByRole('button', { name });
|
|
89
|
+
await expect(button).toBeVisible();
|
|
90
|
+
await button.click();
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Verifies a heading is visible.
|
|
95
|
+
*/
|
|
96
|
+
async verifyHeading(description, name) {
|
|
97
|
+
await test.step(`Step: ${description}`, async () => {
|
|
98
|
+
await expect(this.page.getByRole('heading', { name })).toBeVisible();
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=browser.steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browser.steps.js","sourceRoot":"","sources":["../../../src/steps/browser.steps.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG3C,MAAM,OAAO,YAAY;IACD,IAAI;IAAxB,YAAoB,IAAU;oBAAV,IAAI;IAAS,CAAC;IAElC;;OAEG;IACH,KAAK,CAAC,QAAQ,CAAC,WAAmB,EAAE,GAAW,EAAE,eAAwB;QACrE,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,WAAW,EAAE,EAAE,KAAK,IAAI,EAAE;YAC/C,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAC1B,IAAI,eAAe,EAAE,CAAC;gBAClB,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;YAC3E,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,CAAC,WAAmB,EAAE,YAAoB;QACvD,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,WAAW,EAAE,EAAE,KAAK,IAAI,EAAE;YAC/C,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;IACP,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS,CAAC,WAAmB,EAAE,GAAoB;QACrD,MAAM,IAAI,CAAC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steps for CQL: insert rows, expect the rows the application
|
|
5
|
+
* wrote, check a lightweight transaction is refused. Each method runs inside
|
|
6
|
+
* `test.step()`, so it shows up as one step in reports and traces.
|
|
7
|
+
*/
|
|
8
|
+
import type { CassandraClient, CassandraInsertOptions, CassandraRow, CassandraWaitOptions, CqlOptions, CqlParams } from '../fixtures/cassandra.fixture.js';
|
|
9
|
+
export type { CassandraClient, CassandraRow, CqlParams } from '../fixtures/cassandra.fixture.js';
|
|
10
|
+
export declare class CassandraSteps {
|
|
11
|
+
private cassandraClient;
|
|
12
|
+
constructor(cassandraClient: CassandraClient);
|
|
13
|
+
/** Inserts rows (undone after the test). */
|
|
14
|
+
insert(description: string, table: string, rows: CassandraRow | CassandraRow[], options?: CassandraInsertOptions): Promise<void>;
|
|
15
|
+
/** Runs a statement and checks it was applied. */
|
|
16
|
+
execute(description: string, cql: string, params?: CqlParams, options?: CqlOptions): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Waits until the query returns a row containing `expected`
|
|
19
|
+
* (toMatchObject), and returns it. Keeps waiting while the row is there
|
|
20
|
+
* but doesn't match yet, so it also covers "the status becomes shipped".
|
|
21
|
+
*/
|
|
22
|
+
expectRow<T extends CassandraRow = CassandraRow>(description: string, cql: string, params?: CqlParams, expected?: Record<string, unknown>, options?: {
|
|
23
|
+
timeout?: number;
|
|
24
|
+
}): Promise<T>;
|
|
25
|
+
/** Waits until the query returns `count` rows (default 1); with `count`, checks there are exactly that many. */
|
|
26
|
+
expectRows<T extends CassandraRow = CassandraRow>(description: string, cql: string, params?: CqlParams, options?: CassandraWaitOptions<T>): Promise<T[]>;
|
|
27
|
+
/** Checks the query returns no rows, right now. */
|
|
28
|
+
expectNoRows(description: string, cql: string, params?: CqlParams): Promise<void>;
|
|
29
|
+
/** Checks that a lightweight transaction (`IF NOT EXISTS`, `IF col = ?`) is not applied. */
|
|
30
|
+
expectNotApplied(description: string, cql: string, params?: CqlParams, options?: CqlOptions): Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=cassandra.steps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cassandra.steps.d.ts","sourceRoot":"","sources":["../../../src/steps/cassandra.steps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EACR,eAAe,EACf,sBAAsB,EACtB,YAAY,EACZ,oBAAoB,EACpB,UAAU,EACV,SAAS,EACZ,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAEjG,qBAAa,cAAc;IACX,OAAO,CAAC,eAAe;IAAnC,YAAoB,eAAe,EAAE,eAAe,EAAI;IAExD,4CAA4C;IACtC,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,YAAY,EAAE,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC,CAIrI;IAED,kDAAkD;IAC5C,OAAO,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAKvG;IAED;;;;OAIG;IACG,SAAS,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,EACjD,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,SAAS,EAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,GAC/B,OAAO,CAAC,CAAC,CAAC,CAqBZ;IAED,gHAAgH;IAC1G,UAAU,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAO7J;IAED,mDAAmD;IAC7C,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAItF;IAED,4FAA4F;IACtF,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAKhH;CACJ"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cassandra / ScyllaDB Step Class
|
|
3
|
+
*
|
|
4
|
+
* Reusable steps for CQL: insert rows, expect the rows the application
|
|
5
|
+
* wrote, check a lightweight transaction is refused. Each method runs inside
|
|
6
|
+
* `test.step()`, so it shows up as one step in reports and traces.
|
|
7
|
+
*/
|
|
8
|
+
import { test, expect } from '../index.js';
|
|
9
|
+
export class CassandraSteps {
|
|
10
|
+
cassandraClient;
|
|
11
|
+
constructor(cassandraClient) {
|
|
12
|
+
this.cassandraClient = cassandraClient;
|
|
13
|
+
}
|
|
14
|
+
/** Inserts rows (undone after the test). */
|
|
15
|
+
async insert(description, table, rows, options) {
|
|
16
|
+
await test.step(`Step: ${description}`, async () => {
|
|
17
|
+
await this.cassandraClient.insert(table, rows, options);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/** Runs a statement and checks it was applied. */
|
|
21
|
+
async execute(description, cql, params, options) {
|
|
22
|
+
await test.step(`Step: ${description}`, async () => {
|
|
23
|
+
const { applied } = await this.cassandraClient.execute(cql, params, options);
|
|
24
|
+
expect(applied, `applied: ${cql}`).toBe(true);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Waits until the query returns a row containing `expected`
|
|
29
|
+
* (toMatchObject), and returns it. Keeps waiting while the row is there
|
|
30
|
+
* but doesn't match yet, so it also covers "the status becomes shipped".
|
|
31
|
+
*/
|
|
32
|
+
async expectRow(description, cql, params, expected, options) {
|
|
33
|
+
let row;
|
|
34
|
+
await test.step(`Step: ${description}`, async () => {
|
|
35
|
+
const matches = (candidate) => {
|
|
36
|
+
try {
|
|
37
|
+
expect(candidate).toMatchObject(expected ?? {});
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
catch {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
try {
|
|
45
|
+
row = await this.cassandraClient.waitForRow(cql, params, { ...options, until: matches });
|
|
46
|
+
}
|
|
47
|
+
catch (error) {
|
|
48
|
+
// Show the difference, not just "didn't pass the check".
|
|
49
|
+
const [current] = await this.cassandraClient.query(cql, params);
|
|
50
|
+
if (current && expected)
|
|
51
|
+
expect(current, `first row of: ${cql}`).toMatchObject(expected);
|
|
52
|
+
throw error;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
return row;
|
|
56
|
+
}
|
|
57
|
+
/** Waits until the query returns `count` rows (default 1); with `count`, checks there are exactly that many. */
|
|
58
|
+
async expectRows(description, cql, params, options) {
|
|
59
|
+
let rows;
|
|
60
|
+
await test.step(`Step: ${description}`, async () => {
|
|
61
|
+
rows = await this.cassandraClient.waitForRows(cql, params, options);
|
|
62
|
+
if (options?.count !== undefined)
|
|
63
|
+
expect(rows, `rows of: ${cql}`).toHaveLength(options.count);
|
|
64
|
+
});
|
|
65
|
+
return rows;
|
|
66
|
+
}
|
|
67
|
+
/** Checks the query returns no rows, right now. */
|
|
68
|
+
async expectNoRows(description, cql, params) {
|
|
69
|
+
await test.step(`Step: ${description}`, async () => {
|
|
70
|
+
expect(await this.cassandraClient.query(cql, params), `rows of: ${cql}`).toEqual([]);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/** Checks that a lightweight transaction (`IF NOT EXISTS`, `IF col = ?`) is not applied. */
|
|
74
|
+
async expectNotApplied(description, cql, params, options) {
|
|
75
|
+
await test.step(`Step: ${description}`, async () => {
|
|
76
|
+
const { applied } = await this.cassandraClient.execute(cql, params, options);
|
|
77
|
+
expect(applied, `applied: ${cql}`).toBe(false);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=cassandra.steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cassandra.steps.js","sourceRoot":"","sources":["../../../src/steps/cassandra.steps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAY3C,MAAM,OAAO,cAAc;IACH,eAAe;IAAnC,YAAoB,eAAgC;+BAAhC,eAAe;IAAoB,CAAC;IAExD,4CAA4C;IAC5C,KAAK,CAAC,MAAM,CAAC,WAAmB,EAAE,KAAa,EAAE,IAAmC,EAAE,OAAgC;QAClH,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,WAAW,EAAE,EAAE,KAAK,IAAI,EAAE;YAC/C,MAAM,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC5D,CAAC,CAAC,CAAC;IACP,CAAC;IAED,kDAAkD;IAClD,KAAK,CAAC,OAAO,CAAC,WAAmB,EAAE,GAAW,EAAE,MAAkB,EAAE,OAAoB;QACpF,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,WAAW,EAAE,EAAE,KAAK,IAAI,EAAE;YAC/C,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YAC7E,MAAM,CAAC,OAAO,EAAE,YAAY,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI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
|
+
* application wrote, check a table's row count. Each method runs inside
|
|
6
|
+
* `test.step()`, so it shows up as one step in reports and traces.
|
|
7
|
+
*/
|
|
8
|
+
import type { ClickHouseClient, ClickHouseInsertOptions, ClickHouseParams, ClickHouseRow, ClickHouseWaitOptions } from '../fixtures/clickhouse.fixture.js';
|
|
9
|
+
export type { ClickHouseClient, ClickHouseRow, ClickHouseParams } from '../fixtures/clickhouse.fixture.js';
|
|
10
|
+
export declare class ClickHouseSteps {
|
|
11
|
+
private clickHouseClient;
|
|
12
|
+
constructor(clickHouseClient: ClickHouseClient);
|
|
13
|
+
/** Inserts rows (deleted after the test). */
|
|
14
|
+
insert(description: string, table: string, rows: ClickHouseRow | ClickHouseRow[], options?: ClickHouseInsertOptions): Promise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Waits until the query returns a row containing `expected`
|
|
17
|
+
* (toMatchObject), and returns it. Keeps waiting while the row is there
|
|
18
|
+
* but doesn't match yet, so it also covers "the total reaches 3".
|
|
19
|
+
*/
|
|
20
|
+
expectRow<T extends ClickHouseRow = ClickHouseRow>(description: string, sql: string, params?: ClickHouseParams, expected?: Record<string, unknown>, options?: {
|
|
21
|
+
timeout?: number;
|
|
22
|
+
}): Promise<T>;
|
|
23
|
+
/** Waits until the query returns `count` rows (default 1); with `count`, checks there are exactly that many. */
|
|
24
|
+
expectRows<T extends ClickHouseRow = ClickHouseRow>(description: string, sql: string, params?: ClickHouseParams, options?: ClickHouseWaitOptions<T>): Promise<T[]>;
|
|
25
|
+
/** Checks the query returns no rows, right now. */
|
|
26
|
+
expectNoRows(description: string, sql: string, params?: ClickHouseParams): Promise<void>;
|
|
27
|
+
/** Checks how many rows a table has (optionally only those matching `where`). */
|
|
28
|
+
expectCount(description: string, table: string, expected: number, where?: ClickHouseRow): Promise<void>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=clickhouse.steps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clickhouse.steps.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I7F;IAED,iFAAiF;IAC3E,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAI5G;CACJ"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ClickHouse Step Class
|
|
3
|
+
*
|
|
4
|
+
* Reusable steps for ClickHouse: insert rows, expect the rows the
|
|
5
|
+
* application wrote, check a table's row count. Each method runs inside
|
|
6
|
+
* `test.step()`, so it shows up as one step in reports and traces.
|
|
7
|
+
*/
|
|
8
|
+
import { test, expect } from '../index.js';
|
|
9
|
+
export class ClickHouseSteps {
|
|
10
|
+
clickHouseClient;
|
|
11
|
+
constructor(clickHouseClient) {
|
|
12
|
+
this.clickHouseClient = clickHouseClient;
|
|
13
|
+
}
|
|
14
|
+
/** Inserts rows (deleted after the test). */
|
|
15
|
+
async insert(description, table, rows, options) {
|
|
16
|
+
await test.step(`Step: ${description}`, async () => {
|
|
17
|
+
await this.clickHouseClient.insert(table, rows, options);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Waits until the query returns a row containing `expected`
|
|
22
|
+
* (toMatchObject), and returns it. Keeps waiting while the row is there
|
|
23
|
+
* but doesn't match yet, so it also covers "the total reaches 3".
|
|
24
|
+
*/
|
|
25
|
+
async expectRow(description, sql, params, expected, options) {
|
|
26
|
+
let row;
|
|
27
|
+
await test.step(`Step: ${description}`, async () => {
|
|
28
|
+
const matches = (candidate) => {
|
|
29
|
+
try {
|
|
30
|
+
expect(candidate).toMatchObject(expected ?? {});
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
try {
|
|
38
|
+
row = await this.clickHouseClient.waitForRow(sql, params, { ...options, until: matches });
|
|
39
|
+
}
|
|
40
|
+
catch (error) {
|
|
41
|
+
// Show the difference, not just "didn't pass the check".
|
|
42
|
+
const [current] = await this.clickHouseClient.query(sql, params);
|
|
43
|
+
if (current && expected)
|
|
44
|
+
expect(current, `first row of: ${sql}`).toMatchObject(expected);
|
|
45
|
+
throw error;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
return row;
|
|
49
|
+
}
|
|
50
|
+
/** Waits until the query returns `count` rows (default 1); with `count`, checks there are exactly that many. */
|
|
51
|
+
async expectRows(description, sql, params, options) {
|
|
52
|
+
let rows;
|
|
53
|
+
await test.step(`Step: ${description}`, async () => {
|
|
54
|
+
rows = await this.clickHouseClient.waitForRows(sql, params, options);
|
|
55
|
+
if (options?.count !== undefined)
|
|
56
|
+
expect(rows, `rows of: ${sql}`).toHaveLength(options.count);
|
|
57
|
+
});
|
|
58
|
+
return rows;
|
|
59
|
+
}
|
|
60
|
+
/** Checks the query returns no rows, right now. */
|
|
61
|
+
async expectNoRows(description, sql, params) {
|
|
62
|
+
await test.step(`Step: ${description}`, async () => {
|
|
63
|
+
expect(await this.clickHouseClient.query(sql, params), `rows of: ${sql}`).toEqual([]);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/** Checks how many rows a table has (optionally only those matching `where`). */
|
|
67
|
+
async expectCount(description, table, expected, where) {
|
|
68
|
+
await test.step(`Step: ${description}`, async () => {
|
|
69
|
+
expect(await this.clickHouseClient.count(table, where), `rows in ${table}`).toBe(expected);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=clickhouse.steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clickhouse.steps.js","sourceRoot":"","sources":["../../../src/steps/clickhouse.steps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAW3C,MAAM,OAAO,eAAe;IACJ,gBAAgB;IAAp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CAAC,EAAE,WAAW,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC/F,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Database Step Class
|
|
3
|
+
*
|
|
4
|
+
* Reusable step sequences for database client operations.
|
|
5
|
+
* Wraps common SQL query/execute patterns for test reuse.
|
|
6
|
+
*/
|
|
7
|
+
export interface DatabaseClient {
|
|
8
|
+
query<T = any>(sql: string, params?: any[]): Promise<T[]>;
|
|
9
|
+
execute(sql: string, params?: any[]): Promise<{
|
|
10
|
+
affectedRows: number;
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
export declare class DatabaseSteps {
|
|
14
|
+
private databaseClient;
|
|
15
|
+
constructor(databaseClient: DatabaseClient);
|
|
16
|
+
/**
|
|
17
|
+
* Executes a SELECT query and returns typed rows.
|
|
18
|
+
*/
|
|
19
|
+
query<T = any>(description: string, sql: string, params?: any[]): Promise<T[]>;
|
|
20
|
+
/**
|
|
21
|
+
* Executes an INSERT/UPDATE/DELETE statement and returns the result.
|
|
22
|
+
*/
|
|
23
|
+
execute(description: string, sql: string, params?: any[]): Promise<{
|
|
24
|
+
affectedRows: number;
|
|
25
|
+
}>;
|
|
26
|
+
/**
|
|
27
|
+
* Queries and asserts that at least one row is returned.
|
|
28
|
+
*/
|
|
29
|
+
queryExpectRows<T = any>(description: string, sql: string, params?: any[]): Promise<T[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Queries and asserts that no rows are returned.
|
|
32
|
+
*/
|
|
33
|
+
queryExpectEmpty(description: string, sql: string, params?: any[]): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Executes and asserts the affected row count equals the expected value.
|
|
36
|
+
*/
|
|
37
|
+
executeExpectAffected(description: string, sql: string, params: any[], expectedCount: number): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Verifies rows have expected properties.
|
|
40
|
+
*/
|
|
41
|
+
verifyRowProperties(description: string, rows: any[], properties: string[]): Promise<void>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=database.steps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database.steps.d.ts","sourceRoot":"","sources":["../../../src/steps/database.steps.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;IAC1D,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3E;AAED,qBAAa,aAAa;IACV,OAAO,CAAC,cAAc;IAAlC,YAAoB,cAAc,EAAE,cAAc,EAAI;IAEtD;;OAEG;IACG,KAAK,CAAC,CAAC,GAAG,GAAG,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAUnF;IAED;;OAEG;IACG,OAAO,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC,CAUjG;IAED;;OAEG;IACG,eAAe,CAAC,CAAC,GAAG,GAAG,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAS7F;IAED;;OAEG;IACG,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EA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