checkly 0.0.0-canary.0e426f8
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 +201 -0
- package/README.md +127 -0
- package/assets/runtimes/snapshots/20260130/runtimes.json +349 -0
- package/bin/check-node-version.cjs +21 -0
- package/bin/launch.cjs +28 -0
- package/bin/run.cjs +32 -0
- package/constructs.d.ts +1 -0
- package/constructs.js +2 -0
- package/dist/ai-context/context.d.ts +168 -0
- package/dist/ai-context/context.js +363 -0
- package/dist/ai-context/context.js.map +1 -0
- package/dist/ai-context/onboarding-boilerplate/__checks__/api.check.ts +22 -0
- package/dist/ai-context/onboarding-boilerplate/__checks__/heartbeat.check.ts +16 -0
- package/dist/ai-context/onboarding-boilerplate/__checks__/homepage.spec.ts +12 -0
- package/dist/ai-context/onboarding-boilerplate/__checks__/url.check.ts +18 -0
- package/dist/ai-context/onboarding-boilerplate/checkly-config-template.ts +50 -0
- package/dist/ai-context/onboarding-prompts/base.md +1 -0
- package/dist/ai-context/onboarding-prompts/playwright.md +1 -0
- package/dist/ai-context/public-skills/checkly/README.md +43 -0
- package/dist/ai-context/public-skills/checkly/SKILL.md +163 -0
- package/dist/ai-context/skills-command/references/communicate-incidents.md +79 -0
- package/dist/ai-context/skills-command/references/communicate.md +42 -0
- package/dist/ai-context/skills-command/references/configure-alert-channels.md +102 -0
- package/dist/ai-context/skills-command/references/configure-api-checks.md +65 -0
- package/dist/ai-context/skills-command/references/configure-browser-checks.md +29 -0
- package/dist/ai-context/skills-command/references/configure-check-groups.md +17 -0
- package/dist/ai-context/skills-command/references/configure-dns-monitors.md +31 -0
- package/dist/ai-context/skills-command/references/configure-environment.md +92 -0
- package/dist/ai-context/skills-command/references/configure-grpc-monitors.md +61 -0
- package/dist/ai-context/skills-command/references/configure-heartbeat-monitors.md +20 -0
- package/dist/ai-context/skills-command/references/configure-icmp-monitors.md +34 -0
- package/dist/ai-context/skills-command/references/configure-multistep-checks.md +26 -0
- package/dist/ai-context/skills-command/references/configure-playwright-checks.md +81 -0
- package/dist/ai-context/skills-command/references/configure-ssl-monitors.md +39 -0
- package/dist/ai-context/skills-command/references/configure-supporting-constructs.md +176 -0
- package/dist/ai-context/skills-command/references/configure-tcp-monitors.md +32 -0
- package/dist/ai-context/skills-command/references/configure-traceroute-monitors.md +36 -0
- package/dist/ai-context/skills-command/references/configure-url-monitors.md +31 -0
- package/dist/ai-context/skills-command/references/configure.md +193 -0
- package/dist/ai-context/skills-command/references/initialize.md +133 -0
- package/dist/ai-context/skills-command/references/investigate-alerting.md +212 -0
- package/dist/ai-context/skills-command/references/investigate-checks.md +172 -0
- package/dist/ai-context/skills-command/references/investigate-test-sessions.md +165 -0
- package/dist/ai-context/skills-command/references/investigate.md +18 -0
- package/dist/ai-context/skills-command/references/manage-account-members.md +82 -0
- package/dist/ai-context/skills-command/references/manage-plan.md +49 -0
- package/dist/ai-context/skills-command/references/manage.md +53 -0
- package/dist/auth/api-key.d.ts +24 -0
- package/dist/auth/api-key.js +104 -0
- package/dist/auth/api-key.js.map +1 -0
- package/dist/auth/device-flow.d.ts +58 -0
- package/dist/auth/device-flow.js +228 -0
- package/dist/auth/device-flow.js.map +1 -0
- package/dist/auth/index.d.ts +15 -0
- package/dist/auth/index.js +226 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/commands/account/plan.d.ts +31 -0
- package/dist/commands/account/plan.js +114 -0
- package/dist/commands/account/plan.js.map +1 -0
- package/dist/commands/account/usage/projections.d.ts +16 -0
- package/dist/commands/account/usage/projections.js +40 -0
- package/dist/commands/account/usage/projections.js.map +1 -0
- package/dist/commands/account/usage/series.d.ts +23 -0
- package/dist/commands/account/usage/series.js +55 -0
- package/dist/commands/account/usage/series.js.map +1 -0
- package/dist/commands/account/usage/summary.d.ts +18 -0
- package/dist/commands/account/usage/summary.js +43 -0
- package/dist/commands/account/usage/summary.js.map +1 -0
- package/dist/commands/account/usage/term.d.ts +15 -0
- package/dist/commands/account/usage/term.js +32 -0
- package/dist/commands/account/usage/term.js.map +1 -0
- package/dist/commands/account/usage/terms.d.ts +16 -0
- package/dist/commands/account/usage/terms.js +43 -0
- package/dist/commands/account/usage/terms.js.map +1 -0
- package/dist/commands/alert-channels/get.d.ts +14 -0
- package/dist/commands/alert-channels/get.js +51 -0
- package/dist/commands/alert-channels/get.js.map +1 -0
- package/dist/commands/alert-channels/list.d.ts +13 -0
- package/dist/commands/alert-channels/list.js +65 -0
- package/dist/commands/alert-channels/list.js.map +1 -0
- package/dist/commands/alert-channels/logs.d.ts +19 -0
- package/dist/commands/alert-channels/logs.js +92 -0
- package/dist/commands/alert-channels/logs.js.map +1 -0
- package/dist/commands/api.d.ts +23 -0
- package/dist/commands/api.js +248 -0
- package/dist/commands/api.js.map +1 -0
- package/dist/commands/assets/download.d.ts +19 -0
- package/dist/commands/assets/download.js +174 -0
- package/dist/commands/assets/download.js.map +1 -0
- package/dist/commands/assets/list.d.ts +17 -0
- package/dist/commands/assets/list.js +106 -0
- package/dist/commands/assets/list.js.map +1 -0
- package/dist/commands/authCommand.d.ts +39 -0
- package/dist/commands/authCommand.js +176 -0
- package/dist/commands/authCommand.js.map +1 -0
- package/dist/commands/baseCommand.d.ts +46 -0
- package/dist/commands/baseCommand.js +162 -0
- package/dist/commands/baseCommand.js.map +1 -0
- package/dist/commands/checks/delete.d.ts +15 -0
- package/dist/commands/checks/delete.js +65 -0
- package/dist/commands/checks/delete.js.map +1 -0
- package/dist/commands/checks/get.d.ts +30 -0
- package/dist/commands/checks/get.js +380 -0
- package/dist/commands/checks/get.js.map +1 -0
- package/dist/commands/checks/list.d.ts +18 -0
- package/dist/commands/checks/list.js +124 -0
- package/dist/commands/checks/list.js.map +1 -0
- package/dist/commands/checks/run.d.ts +18 -0
- package/dist/commands/checks/run.js +141 -0
- package/dist/commands/checks/run.js.map +1 -0
- package/dist/commands/checks/stats.d.ts +22 -0
- package/dist/commands/checks/stats.js +182 -0
- package/dist/commands/checks/stats.js.map +1 -0
- package/dist/commands/debug/parse-file.d.ts +13 -0
- package/dist/commands/debug/parse-file.js +74 -0
- package/dist/commands/debug/parse-file.js.map +1 -0
- package/dist/commands/debug/parse-playwright-config.d.ts +9 -0
- package/dist/commands/debug/parse-playwright-config.js +27 -0
- package/dist/commands/debug/parse-playwright-config.js.map +1 -0
- package/dist/commands/debug/parse-project.d.ts +44 -0
- package/dist/commands/debug/parse-project.js +223 -0
- package/dist/commands/debug/parse-project.js.map +1 -0
- package/dist/commands/deploy.d.ts +29 -0
- package/dist/commands/deploy.js +915 -0
- package/dist/commands/deploy.js.map +1 -0
- package/dist/commands/destroy.d.ts +13 -0
- package/dist/commands/destroy.js +105 -0
- package/dist/commands/destroy.js.map +1 -0
- package/dist/commands/env/add.d.ts +14 -0
- package/dist/commands/env/add.js +54 -0
- package/dist/commands/env/add.js.map +1 -0
- package/dist/commands/env/ls.d.ts +8 -0
- package/dist/commands/env/ls.js +21 -0
- package/dist/commands/env/ls.js.map +1 -0
- package/dist/commands/env/pull.d.ts +14 -0
- package/dist/commands/env/pull.js +72 -0
- package/dist/commands/env/pull.js.map +1 -0
- package/dist/commands/env/rm.d.ts +13 -0
- package/dist/commands/env/rm.js +46 -0
- package/dist/commands/env/rm.js.map +1 -0
- package/dist/commands/env/update.d.ts +15 -0
- package/dist/commands/env/update.js +55 -0
- package/dist/commands/env/update.js.map +1 -0
- package/dist/commands/help.d.ts +6 -0
- package/dist/commands/help.js +11 -0
- package/dist/commands/help.js.map +1 -0
- package/dist/commands/import/apply.d.ts +16 -0
- package/dist/commands/import/apply.js +152 -0
- package/dist/commands/import/apply.js.map +1 -0
- package/dist/commands/import/cancel.d.ts +16 -0
- package/dist/commands/import/cancel.js +123 -0
- package/dist/commands/import/cancel.js.map +1 -0
- package/dist/commands/import/commit.d.ts +18 -0
- package/dist/commands/import/commit.js +147 -0
- package/dist/commands/import/commit.js.map +1 -0
- package/dist/commands/import/plan.d.ts +23 -0
- package/dist/commands/import/plan.js +1288 -0
- package/dist/commands/import/plan.js.map +1 -0
- package/dist/commands/incidents/create.d.ts +17 -0
- package/dist/commands/incidents/create.js +103 -0
- package/dist/commands/incidents/create.js.map +1 -0
- package/dist/commands/incidents/list.d.ts +14 -0
- package/dist/commands/incidents/list.js +80 -0
- package/dist/commands/incidents/list.js.map +1 -0
- package/dist/commands/incidents/resolve.d.ts +16 -0
- package/dist/commands/incidents/resolve.js +79 -0
- package/dist/commands/incidents/resolve.js.map +1 -0
- package/dist/commands/incidents/update.d.ts +18 -0
- package/dist/commands/incidents/update.js +106 -0
- package/dist/commands/incidents/update.js.map +1 -0
- package/dist/commands/init.d.ts +25 -0
- package/dist/commands/init.js +296 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/login.d.ts +50 -0
- package/dist/commands/login.js +892 -0
- package/dist/commands/login.js.map +1 -0
- package/dist/commands/logout.d.ts +10 -0
- package/dist/commands/logout.js +47 -0
- package/dist/commands/logout.js.map +1 -0
- package/dist/commands/members/delete.d.ts +18 -0
- package/dist/commands/members/delete.js +73 -0
- package/dist/commands/members/delete.js.map +1 -0
- package/dist/commands/members/update.d.ts +21 -0
- package/dist/commands/members/update.js +104 -0
- package/dist/commands/members/update.js.map +1 -0
- package/dist/commands/members.d.ts +23 -0
- package/dist/commands/members.js +136 -0
- package/dist/commands/members.js.map +1 -0
- package/dist/commands/pw-test.d.ts +34 -0
- package/dist/commands/pw-test.js +365 -0
- package/dist/commands/pw-test.js.map +1 -0
- package/dist/commands/rca/get.d.ts +15 -0
- package/dist/commands/rca/get.js +69 -0
- package/dist/commands/rca/get.js.map +1 -0
- package/dist/commands/rca/run.d.ts +16 -0
- package/dist/commands/rca/run.js +113 -0
- package/dist/commands/rca/run.js.map +1 -0
- package/dist/commands/runtimes.d.ts +8 -0
- package/dist/commands/runtimes.js +25 -0
- package/dist/commands/runtimes.js.map +1 -0
- package/dist/commands/skills/index.d.ts +16 -0
- package/dist/commands/skills/index.js +143 -0
- package/dist/commands/skills/index.js.map +1 -0
- package/dist/commands/skills/install.d.ts +17 -0
- package/dist/commands/skills/install.js +124 -0
- package/dist/commands/skills/install.js.map +1 -0
- package/dist/commands/status-pages/get.d.ts +14 -0
- package/dist/commands/status-pages/get.js +48 -0
- package/dist/commands/status-pages/get.js.map +1 -0
- package/dist/commands/status-pages/list.d.ts +14 -0
- package/dist/commands/status-pages/list.js +82 -0
- package/dist/commands/status-pages/list.js.map +1 -0
- package/dist/commands/switch.d.ts +19 -0
- package/dist/commands/switch.js +110 -0
- package/dist/commands/switch.js.map +1 -0
- package/dist/commands/sync-playwright.d.ts +8 -0
- package/dist/commands/sync-playwright.js +48 -0
- package/dist/commands/sync-playwright.js.map +1 -0
- package/dist/commands/test-sessions/get.d.ts +21 -0
- package/dist/commands/test-sessions/get.js +121 -0
- package/dist/commands/test-sessions/get.js.map +1 -0
- package/dist/commands/test-sessions/list.d.ts +22 -0
- package/dist/commands/test-sessions/list.js +190 -0
- package/dist/commands/test-sessions/list.js.map +1 -0
- package/dist/commands/test.d.ts +39 -0
- package/dist/commands/test.js +403 -0
- package/dist/commands/test.js.map +1 -0
- package/dist/commands/trigger.d.ts +39 -0
- package/dist/commands/trigger.js +251 -0
- package/dist/commands/trigger.js.map +1 -0
- package/dist/commands/validate.d.ts +13 -0
- package/dist/commands/validate.js +66 -0
- package/dist/commands/validate.js.map +1 -0
- package/dist/commands/whoami.d.ts +16 -0
- package/dist/commands/whoami.js +79 -0
- package/dist/commands/whoami.js.map +1 -0
- package/dist/config.d.ts +31 -0
- package/dist/config.js +4 -0
- package/dist/config.js.map +1 -0
- package/dist/constants.d.ts +20 -0
- package/dist/constants.js +35 -0
- package/dist/constants.js.map +1 -0
- package/dist/constructs/alert-channel-codegen.d.ts +42 -0
- package/dist/constructs/alert-channel-codegen.js +102 -0
- package/dist/constructs/alert-channel-codegen.js.map +1 -0
- package/dist/constructs/alert-channel-subscription-codegen.d.ts +11 -0
- package/dist/constructs/alert-channel-subscription-codegen.js +20 -0
- package/dist/constructs/alert-channel-subscription-codegen.js.map +1 -0
- package/dist/constructs/alert-channel-subscription.d.ts +47 -0
- package/dist/constructs/alert-channel-subscription.js +49 -0
- package/dist/constructs/alert-channel-subscription.js.map +1 -0
- package/dist/constructs/alert-channel.d.ts +130 -0
- package/dist/constructs/alert-channel.js +106 -0
- package/dist/constructs/alert-channel.js.map +1 -0
- package/dist/constructs/alert-escalation-policy-codegen.d.ts +11 -0
- package/dist/constructs/alert-escalation-policy-codegen.js +72 -0
- package/dist/constructs/alert-escalation-policy-codegen.js.map +1 -0
- package/dist/constructs/alert-escalation-policy.d.ts +114 -0
- package/dist/constructs/alert-escalation-policy.js +62 -0
- package/dist/constructs/alert-escalation-policy.js.map +1 -0
- package/dist/constructs/api-assertion-codegen.d.ts +3 -0
- package/dist/constructs/api-assertion-codegen.js +19 -0
- package/dist/constructs/api-assertion-codegen.js.map +1 -0
- package/dist/constructs/api-assertion.d.ts +72 -0
- package/dist/constructs/api-assertion.js +77 -0
- package/dist/constructs/api-assertion.js.map +1 -0
- package/dist/constructs/api-check-bundle.d.ts +66 -0
- package/dist/constructs/api-check-bundle.js +30 -0
- package/dist/constructs/api-check-bundle.js.map +1 -0
- package/dist/constructs/api-check-codegen.d.ts +19 -0
- package/dist/constructs/api-check-codegen.js +83 -0
- package/dist/constructs/api-check-codegen.js.map +1 -0
- package/dist/constructs/api-check.d.ts +189 -0
- package/dist/constructs/api-check.js +215 -0
- package/dist/constructs/api-check.js.map +1 -0
- package/dist/constructs/api-request-codegen.d.ts +4 -0
- package/dist/constructs/api-request-codegen.js +66 -0
- package/dist/constructs/api-request-codegen.js.map +1 -0
- package/dist/constructs/api-request.d.ts +67 -0
- package/dist/constructs/api-request.js +2 -0
- package/dist/constructs/api-request.js.map +1 -0
- package/dist/constructs/browser-check-bundle.d.ts +64 -0
- package/dist/constructs/browser-check-bundle.js +31 -0
- package/dist/constructs/browser-check-bundle.js.map +1 -0
- package/dist/constructs/browser-check-codegen.d.ts +14 -0
- package/dist/constructs/browser-check-codegen.js +46 -0
- package/dist/constructs/browser-check-codegen.js.map +1 -0
- package/dist/constructs/browser-check.d.ts +134 -0
- package/dist/constructs/browser-check.js +169 -0
- package/dist/constructs/browser-check.js.map +1 -0
- package/dist/constructs/check-codegen.d.ts +140 -0
- package/dist/constructs/check-codegen.js +387 -0
- package/dist/constructs/check-codegen.js.map +1 -0
- package/dist/constructs/check-config.d.ts +2 -0
- package/dist/constructs/check-config.js +17 -0
- package/dist/constructs/check-config.js.map +1 -0
- package/dist/constructs/check-group-codegen.d.ts +46 -0
- package/dist/constructs/check-group-codegen.js +282 -0
- package/dist/constructs/check-group-codegen.js.map +1 -0
- package/dist/constructs/check-group-ref.d.ts +20 -0
- package/dist/constructs/check-group-ref.js +46 -0
- package/dist/constructs/check-group-ref.js.map +1 -0
- package/dist/constructs/check-group-v1.d.ts +316 -0
- package/dist/constructs/check-group-v1.js +285 -0
- package/dist/constructs/check-group-v1.js.map +1 -0
- package/dist/constructs/check-group-v2.d.ts +101 -0
- package/dist/constructs/check-group-v2.js +68 -0
- package/dist/constructs/check-group-v2.js.map +1 -0
- package/dist/constructs/check-group.d.ts +4 -0
- package/dist/constructs/check-group.js +5 -0
- package/dist/constructs/check-group.js.map +1 -0
- package/dist/constructs/check.d.ts +483 -0
- package/dist/constructs/check.js +444 -0
- package/dist/constructs/check.js.map +1 -0
- package/dist/constructs/construct-codegen.d.ts +42 -0
- package/dist/constructs/construct-codegen.js +106 -0
- package/dist/constructs/construct-codegen.js.map +1 -0
- package/dist/constructs/construct-diagnostics.d.ts +56 -0
- package/dist/constructs/construct-diagnostics.js +167 -0
- package/dist/constructs/construct-diagnostics.js.map +1 -0
- package/dist/constructs/construct.d.ts +175 -0
- package/dist/constructs/construct.js +179 -0
- package/dist/constructs/construct.js.map +1 -0
- package/dist/constructs/dashboard-bundle.d.ts +11 -0
- package/dist/constructs/dashboard-bundle.js +15 -0
- package/dist/constructs/dashboard-bundle.js.map +1 -0
- package/dist/constructs/dashboard-codegen.d.ts +29 -0
- package/dist/constructs/dashboard-codegen.js +104 -0
- package/dist/constructs/dashboard-codegen.js.map +1 -0
- package/dist/constructs/dashboard.d.ts +226 -0
- package/dist/constructs/dashboard.js +144 -0
- package/dist/constructs/dashboard.js.map +1 -0
- package/dist/constructs/diagnostics.d.ts +59 -0
- package/dist/constructs/diagnostics.js +71 -0
- package/dist/constructs/diagnostics.js.map +1 -0
- package/dist/constructs/dns-assertion-codegen.d.ts +3 -0
- package/dist/constructs/dns-assertion-codegen.js +26 -0
- package/dist/constructs/dns-assertion-codegen.js.map +1 -0
- package/dist/constructs/dns-assertion.d.ts +49 -0
- package/dist/constructs/dns-assertion.js +55 -0
- package/dist/constructs/dns-assertion.js.map +1 -0
- package/dist/constructs/dns-monitor-codegen.d.ts +13 -0
- package/dist/constructs/dns-monitor-codegen.js +34 -0
- package/dist/constructs/dns-monitor-codegen.js.map +1 -0
- package/dist/constructs/dns-monitor.d.ts +98 -0
- package/dist/constructs/dns-monitor.js +62 -0
- package/dist/constructs/dns-monitor.js.map +1 -0
- package/dist/constructs/dns-request-codegen.d.ts +4 -0
- package/dist/constructs/dns-request-codegen.js +28 -0
- package/dist/constructs/dns-request-codegen.js.map +1 -0
- package/dist/constructs/dns-request.d.ts +54 -0
- package/dist/constructs/dns-request.js +2 -0
- package/dist/constructs/dns-request.js.map +1 -0
- package/dist/constructs/email-alert-channel-codegen.d.ts +13 -0
- package/dist/constructs/email-alert-channel-codegen.js +34 -0
- package/dist/constructs/email-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/email-alert-channel.d.ts +27 -0
- package/dist/constructs/email-alert-channel.js +37 -0
- package/dist/constructs/email-alert-channel.js.map +1 -0
- package/dist/constructs/engine.d.ts +42 -0
- package/dist/constructs/engine.js +25 -0
- package/dist/constructs/engine.js.map +1 -0
- package/dist/constructs/environment-variable.d.ts +21 -0
- package/dist/constructs/environment-variable.js +2 -0
- package/dist/constructs/environment-variable.js.map +1 -0
- package/dist/constructs/frequency-codegen.d.ts +8 -0
- package/dist/constructs/frequency-codegen.js +59 -0
- package/dist/constructs/frequency-codegen.js.map +1 -0
- package/dist/constructs/frequency.d.ts +67 -0
- package/dist/constructs/frequency.js +71 -0
- package/dist/constructs/frequency.js.map +1 -0
- package/dist/constructs/grpc-assertion-codegen.d.ts +3 -0
- package/dist/constructs/grpc-assertion-codegen.js +89 -0
- package/dist/constructs/grpc-assertion-codegen.js.map +1 -0
- package/dist/constructs/grpc-assertion-validation.d.ts +13 -0
- package/dist/constructs/grpc-assertion-validation.js +69 -0
- package/dist/constructs/grpc-assertion-validation.js.map +1 -0
- package/dist/constructs/grpc-assertion.d.ts +96 -0
- package/dist/constructs/grpc-assertion.js +110 -0
- package/dist/constructs/grpc-assertion.js.map +1 -0
- package/dist/constructs/grpc-monitor-codegen.d.ts +13 -0
- package/dist/constructs/grpc-monitor-codegen.js +34 -0
- package/dist/constructs/grpc-monitor-codegen.js.map +1 -0
- package/dist/constructs/grpc-monitor.d.ts +94 -0
- package/dist/constructs/grpc-monitor.js +82 -0
- package/dist/constructs/grpc-monitor.js.map +1 -0
- package/dist/constructs/grpc-request-codegen.d.ts +4 -0
- package/dist/constructs/grpc-request-codegen.js +74 -0
- package/dist/constructs/grpc-request-codegen.js.map +1 -0
- package/dist/constructs/grpc-request.d.ts +154 -0
- package/dist/constructs/grpc-request.js +2 -0
- package/dist/constructs/grpc-request.js.map +1 -0
- package/dist/constructs/heartbeat-monitor-codegen.d.ts +11 -0
- package/dist/constructs/heartbeat-monitor-codegen.js +31 -0
- package/dist/constructs/heartbeat-monitor-codegen.js.map +1 -0
- package/dist/constructs/heartbeat-monitor.d.ts +41 -0
- package/dist/constructs/heartbeat-monitor.js +56 -0
- package/dist/constructs/heartbeat-monitor.js.map +1 -0
- package/dist/constructs/http-header.d.ts +18 -0
- package/dist/constructs/http-header.js +2 -0
- package/dist/constructs/http-header.js.map +1 -0
- package/dist/constructs/http-request.d.ts +2 -0
- package/dist/constructs/http-request.js +2 -0
- package/dist/constructs/http-request.js.map +1 -0
- package/dist/constructs/icmp-assertion-codegen.d.ts +3 -0
- package/dist/constructs/icmp-assertion-codegen.js +18 -0
- package/dist/constructs/icmp-assertion-codegen.js.map +1 -0
- package/dist/constructs/icmp-assertion.d.ts +56 -0
- package/dist/constructs/icmp-assertion.js +57 -0
- package/dist/constructs/icmp-assertion.js.map +1 -0
- package/dist/constructs/icmp-monitor-codegen.d.ts +13 -0
- package/dist/constructs/icmp-monitor-codegen.js +34 -0
- package/dist/constructs/icmp-monitor-codegen.js.map +1 -0
- package/dist/constructs/icmp-monitor.d.ts +94 -0
- package/dist/constructs/icmp-monitor.js +50 -0
- package/dist/constructs/icmp-monitor.js.map +1 -0
- package/dist/constructs/icmp-request-codegen.d.ts +4 -0
- package/dist/constructs/icmp-request-codegen.js +24 -0
- package/dist/constructs/icmp-request-codegen.js.map +1 -0
- package/dist/constructs/icmp-request.d.ts +37 -0
- package/dist/constructs/icmp-request.js +2 -0
- package/dist/constructs/icmp-request.js.map +1 -0
- package/dist/constructs/incident.d.ts +15 -0
- package/dist/constructs/incident.js +2 -0
- package/dist/constructs/incident.js.map +1 -0
- package/dist/constructs/incidentio-alert-channel-codegen.d.ts +13 -0
- package/dist/constructs/incidentio-alert-channel-codegen.js +91 -0
- package/dist/constructs/incidentio-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/incidentio-alert-channel.d.ts +44 -0
- package/dist/constructs/incidentio-alert-channel.js +67 -0
- package/dist/constructs/incidentio-alert-channel.js.map +1 -0
- package/dist/constructs/index.d.ts +66 -0
- package/dist/constructs/index.js +67 -0
- package/dist/constructs/index.js.map +1 -0
- package/dist/constructs/internal/account-features.d.ts +13 -0
- package/dist/constructs/internal/account-features.js +24 -0
- package/dist/constructs/internal/account-features.js.map +1 -0
- package/dist/constructs/internal/assertion-codegen.d.ts +31 -0
- package/dist/constructs/internal/assertion-codegen.js +180 -0
- package/dist/constructs/internal/assertion-codegen.js.map +1 -0
- package/dist/constructs/internal/assertion-grammar.d.ts +35 -0
- package/dist/constructs/internal/assertion-grammar.js +75 -0
- package/dist/constructs/internal/assertion-grammar.js.map +1 -0
- package/dist/constructs/internal/assertion-validation.d.ts +3 -0
- package/dist/constructs/internal/assertion-validation.js +16 -0
- package/dist/constructs/internal/assertion-validation.js.map +1 -0
- package/dist/constructs/internal/assertion.d.ts +46 -0
- package/dist/constructs/internal/assertion.js +94 -0
- package/dist/constructs/internal/assertion.js.map +1 -0
- package/dist/constructs/internal/codegen/codegen.d.ts +9 -0
- package/dist/constructs/internal/codegen/codegen.js +16 -0
- package/dist/constructs/internal/codegen/codegen.js.map +1 -0
- package/dist/constructs/internal/codegen/context.d.ts +137 -0
- package/dist/constructs/internal/codegen/context.js +543 -0
- package/dist/constructs/internal/codegen/context.js.map +1 -0
- package/dist/constructs/internal/codegen/index.d.ts +6 -0
- package/dist/constructs/internal/codegen/index.js +6 -0
- package/dist/constructs/internal/codegen/index.js.map +1 -0
- package/dist/constructs/internal/codegen/render.d.ts +68 -0
- package/dist/constructs/internal/codegen/render.js +75 -0
- package/dist/constructs/internal/codegen/render.js.map +1 -0
- package/dist/constructs/internal/codegen/safety.d.ts +2 -0
- package/dist/constructs/internal/codegen/safety.js +3 -0
- package/dist/constructs/internal/codegen/safety.js.map +1 -0
- package/dist/constructs/internal/codegen/snippet.d.ts +12 -0
- package/dist/constructs/internal/codegen/snippet.js +39 -0
- package/dist/constructs/internal/codegen/snippet.js.map +1 -0
- package/dist/constructs/internal/common-diagnostics.d.ts +21 -0
- package/dist/constructs/internal/common-diagnostics.js +88 -0
- package/dist/constructs/internal/common-diagnostics.js.map +1 -0
- package/dist/constructs/internal/declaring-file.d.ts +39 -0
- package/dist/constructs/internal/declaring-file.js +139 -0
- package/dist/constructs/internal/declaring-file.js.map +1 -0
- package/dist/constructs/internal/default-retry-strategy.d.ts +9 -0
- package/dist/constructs/internal/default-retry-strategy.js +13 -0
- package/dist/constructs/internal/default-retry-strategy.js.map +1 -0
- package/dist/constructs/internal/retry-strategy-defaults.d.ts +13 -0
- package/dist/constructs/internal/retry-strategy-defaults.js +14 -0
- package/dist/constructs/internal/retry-strategy-defaults.js.map +1 -0
- package/dist/constructs/internal/sanitize.d.ts +15 -0
- package/dist/constructs/internal/sanitize.js +36 -0
- package/dist/constructs/internal/sanitize.js.map +1 -0
- package/dist/constructs/internal/status-page-v3-component-configuration.d.ts +10 -0
- package/dist/constructs/internal/status-page-v3-component-configuration.js +13 -0
- package/dist/constructs/internal/status-page-v3-component-configuration.js.map +1 -0
- package/dist/constructs/internal/status-page-v3-theme-colors.d.ts +4 -0
- package/dist/constructs/internal/status-page-v3-theme-colors.js +21 -0
- package/dist/constructs/internal/status-page-v3-theme-colors.js.map +1 -0
- package/dist/constructs/ip.d.ts +2 -0
- package/dist/constructs/ip.js +2 -0
- package/dist/constructs/ip.js.map +1 -0
- package/dist/constructs/key-value-pair-codegen.d.ts +9 -0
- package/dist/constructs/key-value-pair-codegen.js +56 -0
- package/dist/constructs/key-value-pair-codegen.js.map +1 -0
- package/dist/constructs/key-value-pair.d.ts +41 -0
- package/dist/constructs/key-value-pair.js +2 -0
- package/dist/constructs/key-value-pair.js.map +1 -0
- package/dist/constructs/maintenance-window-codegen.d.ts +21 -0
- package/dist/constructs/maintenance-window-codegen.js +70 -0
- package/dist/constructs/maintenance-window-codegen.js.map +1 -0
- package/dist/constructs/maintenance-window.d.ts +96 -0
- package/dist/constructs/maintenance-window.js +86 -0
- package/dist/constructs/maintenance-window.js.map +1 -0
- package/dist/constructs/monitor-codegen.d.ts +1 -0
- package/dist/constructs/monitor-codegen.js +2 -0
- package/dist/constructs/monitor-codegen.js.map +1 -0
- package/dist/constructs/monitor.d.ts +106 -0
- package/dist/constructs/monitor.js +15 -0
- package/dist/constructs/monitor.js.map +1 -0
- package/dist/constructs/msteams-alert-channel-codegen.d.ts +13 -0
- package/dist/constructs/msteams-alert-channel-codegen.js +61 -0
- package/dist/constructs/msteams-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/msteams-alert-channel.d.ts +39 -0
- package/dist/constructs/msteams-alert-channel.js +162 -0
- package/dist/constructs/msteams-alert-channel.js.map +1 -0
- package/dist/constructs/multi-step-check-bundle.d.ts +55 -0
- package/dist/constructs/multi-step-check-bundle.js +21 -0
- package/dist/constructs/multi-step-check-bundle.js.map +1 -0
- package/dist/constructs/multi-step-check-codegen.d.ts +13 -0
- package/dist/constructs/multi-step-check-codegen.js +37 -0
- package/dist/constructs/multi-step-check-codegen.js.map +1 -0
- package/dist/constructs/multi-step-check.d.ts +83 -0
- package/dist/constructs/multi-step-check.js +121 -0
- package/dist/constructs/multi-step-check.js.map +1 -0
- package/dist/constructs/opsgenie-alert-channel-codegen.d.ts +16 -0
- package/dist/constructs/opsgenie-alert-channel-codegen.js +37 -0
- package/dist/constructs/opsgenie-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/opsgenie-alert-channel.d.ts +46 -0
- package/dist/constructs/opsgenie-alert-channel.js +47 -0
- package/dist/constructs/opsgenie-alert-channel.js.map +1 -0
- package/dist/constructs/pagerduty-alert-channel-codegen.d.ts +15 -0
- package/dist/constructs/pagerduty-alert-channel-codegen.js +49 -0
- package/dist/constructs/pagerduty-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/pagerduty-alert-channel.d.ts +40 -0
- package/dist/constructs/pagerduty-alert-channel.js +44 -0
- package/dist/constructs/pagerduty-alert-channel.js.map +1 -0
- package/dist/constructs/phone-call-alert-channel-codegen.d.ts +14 -0
- package/dist/constructs/phone-call-alert-channel-codegen.js +42 -0
- package/dist/constructs/phone-call-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/phone-call-alert-channel.d.ts +34 -0
- package/dist/constructs/phone-call-alert-channel.js +42 -0
- package/dist/constructs/phone-call-alert-channel.js.map +1 -0
- package/dist/constructs/playwright-check-bundle.d.ts +71 -0
- package/dist/constructs/playwright-check-bundle.js +36 -0
- package/dist/constructs/playwright-check-bundle.js.map +1 -0
- package/dist/constructs/playwright-check-codegen.d.ts +85 -0
- package/dist/constructs/playwright-check-codegen.js +212 -0
- package/dist/constructs/playwright-check-codegen.js.map +1 -0
- package/dist/constructs/playwright-check.d.ts +176 -0
- package/dist/constructs/playwright-check.js +293 -0
- package/dist/constructs/playwright-check.js.map +1 -0
- package/dist/constructs/playwright-config-codegen.d.ts +4 -0
- package/dist/constructs/playwright-config-codegen.js +5 -0
- package/dist/constructs/playwright-config-codegen.js.map +1 -0
- package/dist/constructs/playwright-config.d.ts +52 -0
- package/dist/constructs/playwright-config.js +2 -0
- package/dist/constructs/playwright-config.js.map +1 -0
- package/dist/constructs/private-location-check-assignment-codegen.d.ts +10 -0
- package/dist/constructs/private-location-check-assignment-codegen.js +15 -0
- package/dist/constructs/private-location-check-assignment-codegen.js.map +1 -0
- package/dist/constructs/private-location-check-assignment.d.ts +31 -0
- package/dist/constructs/private-location-check-assignment.js +40 -0
- package/dist/constructs/private-location-check-assignment.js.map +1 -0
- package/dist/constructs/private-location-codegen.d.ts +15 -0
- package/dist/constructs/private-location-codegen.js +46 -0
- package/dist/constructs/private-location-codegen.js.map +1 -0
- package/dist/constructs/private-location-group-assignment-codegen.d.ts +10 -0
- package/dist/constructs/private-location-group-assignment-codegen.js +15 -0
- package/dist/constructs/private-location-group-assignment-codegen.js.map +1 -0
- package/dist/constructs/private-location-group-assignment.d.ts +32 -0
- package/dist/constructs/private-location-group-assignment.js +43 -0
- package/dist/constructs/private-location-group-assignment.js.map +1 -0
- package/dist/constructs/private-location.d.ts +66 -0
- package/dist/constructs/private-location.js +90 -0
- package/dist/constructs/private-location.js.map +1 -0
- package/dist/constructs/project-bundle.d.ts +49 -0
- package/dist/constructs/project-bundle.js +74 -0
- package/dist/constructs/project-bundle.js.map +1 -0
- package/dist/constructs/project.d.ts +64 -0
- package/dist/constructs/project.js +237 -0
- package/dist/constructs/project.js.map +1 -0
- package/dist/constructs/query-param.d.ts +18 -0
- package/dist/constructs/query-param.js +2 -0
- package/dist/constructs/query-param.js.map +1 -0
- package/dist/constructs/ref-codegen.d.ts +3 -0
- package/dist/constructs/ref-codegen.js +11 -0
- package/dist/constructs/ref-codegen.js.map +1 -0
- package/dist/constructs/ref.d.ts +49 -0
- package/dist/constructs/ref.js +54 -0
- package/dist/constructs/ref.js.map +1 -0
- package/dist/constructs/retry-strategy-codegen.d.ts +10 -0
- package/dist/constructs/retry-strategy-codegen.js +113 -0
- package/dist/constructs/retry-strategy-codegen.js.map +1 -0
- package/dist/constructs/retry-strategy.d.ts +192 -0
- package/dist/constructs/retry-strategy.js +107 -0
- package/dist/constructs/retry-strategy.js.map +1 -0
- package/dist/constructs/session.d.ts +115 -0
- package/dist/constructs/session.js +291 -0
- package/dist/constructs/session.js.map +1 -0
- package/dist/constructs/slack-alert-channel-codegen.d.ts +14 -0
- package/dist/constructs/slack-alert-channel-codegen.js +42 -0
- package/dist/constructs/slack-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/slack-alert-channel.d.ts +27 -0
- package/dist/constructs/slack-alert-channel.js +41 -0
- package/dist/constructs/slack-alert-channel.js.map +1 -0
- package/dist/constructs/slack-app-alert-channel-codegen.d.ts +13 -0
- package/dist/constructs/slack-app-alert-channel-codegen.js +39 -0
- package/dist/constructs/slack-app-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/slack-app-alert-channel.d.ts +31 -0
- package/dist/constructs/slack-app-alert-channel.js +38 -0
- package/dist/constructs/slack-app-alert-channel.js.map +1 -0
- package/dist/constructs/sms-alert-channel-codegen.d.ts +14 -0
- package/dist/constructs/sms-alert-channel-codegen.js +42 -0
- package/dist/constructs/sms-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/sms-alert-channel.d.ts +33 -0
- package/dist/constructs/sms-alert-channel.js +41 -0
- package/dist/constructs/sms-alert-channel.js.map +1 -0
- package/dist/constructs/ssl-assertion-codegen.d.ts +5 -0
- package/dist/constructs/ssl-assertion-codegen.js +74 -0
- package/dist/constructs/ssl-assertion-codegen.js.map +1 -0
- package/dist/constructs/ssl-assertion-grammar.d.ts +123 -0
- package/dist/constructs/ssl-assertion-grammar.js +90 -0
- package/dist/constructs/ssl-assertion-grammar.js.map +1 -0
- package/dist/constructs/ssl-assertion-validation.d.ts +13 -0
- package/dist/constructs/ssl-assertion-validation.js +118 -0
- package/dist/constructs/ssl-assertion-validation.js.map +1 -0
- package/dist/constructs/ssl-assertion.d.ts +142 -0
- package/dist/constructs/ssl-assertion.js +150 -0
- package/dist/constructs/ssl-assertion.js.map +1 -0
- package/dist/constructs/ssl-monitor-codegen.d.ts +36 -0
- package/dist/constructs/ssl-monitor-codegen.js +53 -0
- package/dist/constructs/ssl-monitor-codegen.js.map +1 -0
- package/dist/constructs/ssl-monitor.d.ts +97 -0
- package/dist/constructs/ssl-monitor.js +73 -0
- package/dist/constructs/ssl-monitor.js.map +1 -0
- package/dist/constructs/ssl-request-codegen.d.ts +4 -0
- package/dist/constructs/ssl-request-codegen.js +49 -0
- package/dist/constructs/ssl-request-codegen.js.map +1 -0
- package/dist/constructs/ssl-request.d.ts +143 -0
- package/dist/constructs/ssl-request.js +2 -0
- package/dist/constructs/ssl-request.js.map +1 -0
- package/dist/constructs/status-page-codegen.d.ts +30 -0
- package/dist/constructs/status-page-codegen.js +88 -0
- package/dist/constructs/status-page-codegen.js.map +1 -0
- package/dist/constructs/status-page-service-codegen.d.ts +12 -0
- package/dist/constructs/status-page-service-codegen.js +39 -0
- package/dist/constructs/status-page-service-codegen.js.map +1 -0
- package/dist/constructs/status-page-service.d.ts +51 -0
- package/dist/constructs/status-page-service.js +69 -0
- package/dist/constructs/status-page-service.js.map +1 -0
- package/dist/constructs/status-page-v3-automation-rule-codegen.d.ts +22 -0
- package/dist/constructs/status-page-v3-automation-rule-codegen.js +52 -0
- package/dist/constructs/status-page-v3-automation-rule-codegen.js.map +1 -0
- package/dist/constructs/status-page-v3-automation-rule.d.ts +90 -0
- package/dist/constructs/status-page-v3-automation-rule.js +87 -0
- package/dist/constructs/status-page-v3-automation-rule.js.map +1 -0
- package/dist/constructs/status-page-v3-codegen.d.ts +39 -0
- package/dist/constructs/status-page-v3-codegen.js +139 -0
- package/dist/constructs/status-page-v3-codegen.js.map +1 -0
- package/dist/constructs/status-page-v3-component-codegen.d.ts +25 -0
- package/dist/constructs/status-page-v3-component-codegen.js +87 -0
- package/dist/constructs/status-page-v3-component-codegen.js.map +1 -0
- package/dist/constructs/status-page-v3-component.d.ts +115 -0
- package/dist/constructs/status-page-v3-component.js +143 -0
- package/dist/constructs/status-page-v3-component.js.map +1 -0
- package/dist/constructs/status-page-v3.d.ts +201 -0
- package/dist/constructs/status-page-v3.js +158 -0
- package/dist/constructs/status-page-v3.js.map +1 -0
- package/dist/constructs/status-page.d.ts +83 -0
- package/dist/constructs/status-page.js +75 -0
- package/dist/constructs/status-page.js.map +1 -0
- package/dist/constructs/tcp-monitor-codegen.d.ts +15 -0
- package/dist/constructs/tcp-monitor-codegen.js +65 -0
- package/dist/constructs/tcp-monitor-codegen.js.map +1 -0
- package/dist/constructs/tcp-monitor.d.ts +167 -0
- package/dist/constructs/tcp-monitor.js +89 -0
- package/dist/constructs/tcp-monitor.js.map +1 -0
- package/dist/constructs/telegram-alert-channel-codegen.d.ts +13 -0
- package/dist/constructs/telegram-alert-channel-codegen.js +108 -0
- package/dist/constructs/telegram-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/telegram-alert-channel.d.ts +49 -0
- package/dist/constructs/telegram-alert-channel.js +63 -0
- package/dist/constructs/telegram-alert-channel.js.map +1 -0
- package/dist/constructs/time-zone.d.ts +24 -0
- package/dist/constructs/time-zone.js +455 -0
- package/dist/constructs/time-zone.js.map +1 -0
- package/dist/constructs/traceroute-assertion-codegen.d.ts +3 -0
- package/dist/constructs/traceroute-assertion-codegen.js +17 -0
- package/dist/constructs/traceroute-assertion-codegen.js.map +1 -0
- package/dist/constructs/traceroute-assertion-grammar.d.ts +33 -0
- package/dist/constructs/traceroute-assertion-grammar.js +33 -0
- package/dist/constructs/traceroute-assertion-grammar.js.map +1 -0
- package/dist/constructs/traceroute-assertion-validation.d.ts +11 -0
- package/dist/constructs/traceroute-assertion-validation.js +71 -0
- package/dist/constructs/traceroute-assertion-validation.js.map +1 -0
- package/dist/constructs/traceroute-assertion.d.ts +48 -0
- package/dist/constructs/traceroute-assertion.js +50 -0
- package/dist/constructs/traceroute-assertion.js.map +1 -0
- package/dist/constructs/traceroute-monitor-codegen.d.ts +13 -0
- package/dist/constructs/traceroute-monitor-codegen.js +36 -0
- package/dist/constructs/traceroute-monitor-codegen.js.map +1 -0
- package/dist/constructs/traceroute-monitor.d.ts +91 -0
- package/dist/constructs/traceroute-monitor.js +54 -0
- package/dist/constructs/traceroute-monitor.js.map +1 -0
- package/dist/constructs/traceroute-request-codegen.d.ts +4 -0
- package/dist/constructs/traceroute-request-codegen.js +41 -0
- package/dist/constructs/traceroute-request-codegen.js.map +1 -0
- package/dist/constructs/traceroute-request.d.ts +84 -0
- package/dist/constructs/traceroute-request.js +2 -0
- package/dist/constructs/traceroute-request.js.map +1 -0
- package/dist/constructs/url-assertion-codegen.d.ts +3 -0
- package/dist/constructs/url-assertion-codegen.js +11 -0
- package/dist/constructs/url-assertion-codegen.js.map +1 -0
- package/dist/constructs/url-assertion.d.ts +60 -0
- package/dist/constructs/url-assertion.js +52 -0
- package/dist/constructs/url-assertion.js.map +1 -0
- package/dist/constructs/url-monitor-codegen.d.ts +13 -0
- package/dist/constructs/url-monitor-codegen.js +34 -0
- package/dist/constructs/url-monitor-codegen.js.map +1 -0
- package/dist/constructs/url-monitor.d.ts +162 -0
- package/dist/constructs/url-monitor.js +114 -0
- package/dist/constructs/url-monitor.js.map +1 -0
- package/dist/constructs/url-request-codegen.d.ts +4 -0
- package/dist/constructs/url-request-codegen.js +28 -0
- package/dist/constructs/url-request-codegen.js.map +1 -0
- package/dist/constructs/url-request.d.ts +65 -0
- package/dist/constructs/url-request.js +2 -0
- package/dist/constructs/url-request.js.map +1 -0
- package/dist/constructs/webhook-alert-channel-codegen.d.ts +34 -0
- package/dist/constructs/webhook-alert-channel-codegen.js +147 -0
- package/dist/constructs/webhook-alert-channel-codegen.js.map +1 -0
- package/dist/constructs/webhook-alert-channel.d.ts +68 -0
- package/dist/constructs/webhook-alert-channel.js +59 -0
- package/dist/constructs/webhook-alert-channel.js.map +1 -0
- package/dist/formatters/account-members.d.ts +8 -0
- package/dist/formatters/account-members.js +115 -0
- package/dist/formatters/account-members.js.map +1 -0
- package/dist/formatters/account-plan.d.ts +16 -0
- package/dist/formatters/account-plan.js +320 -0
- package/dist/formatters/account-plan.js.map +1 -0
- package/dist/formatters/alert-channels.d.ts +15 -0
- package/dist/formatters/alert-channels.js +257 -0
- package/dist/formatters/alert-channels.js.map +1 -0
- package/dist/formatters/analytics.d.ts +8 -0
- package/dist/formatters/analytics.js +223 -0
- package/dist/formatters/analytics.js.map +1 -0
- package/dist/formatters/assertion-line.d.ts +27 -0
- package/dist/formatters/assertion-line.js +126 -0
- package/dist/formatters/assertion-line.js.map +1 -0
- package/dist/formatters/assets.d.ts +22 -0
- package/dist/formatters/assets.js +280 -0
- package/dist/formatters/assets.js.map +1 -0
- package/dist/formatters/batch-stats.d.ts +8 -0
- package/dist/formatters/batch-stats.js +203 -0
- package/dist/formatters/batch-stats.js.map +1 -0
- package/dist/formatters/check-result-detail.d.ts +12 -0
- package/dist/formatters/check-result-detail.js +1099 -0
- package/dist/formatters/check-result-detail.js.map +1 -0
- package/dist/formatters/check-sessions.d.ts +5 -0
- package/dist/formatters/check-sessions.js +113 -0
- package/dist/formatters/check-sessions.js.map +1 -0
- package/dist/formatters/checks.d.ts +29 -0
- package/dist/formatters/checks.js +336 -0
- package/dist/formatters/checks.js.map +1 -0
- package/dist/formatters/incidents.d.ts +7 -0
- package/dist/formatters/incidents.js +172 -0
- package/dist/formatters/incidents.js.map +1 -0
- package/dist/formatters/rca.d.ts +42 -0
- package/dist/formatters/rca.js +156 -0
- package/dist/formatters/rca.js.map +1 -0
- package/dist/formatters/render.d.ts +48 -0
- package/dist/formatters/render.js +263 -0
- package/dist/formatters/render.js.map +1 -0
- package/dist/formatters/status-pages.d.ts +7 -0
- package/dist/formatters/status-pages.js +236 -0
- package/dist/formatters/status-pages.js.map +1 -0
- package/dist/formatters/test-sessions.d.ts +18 -0
- package/dist/formatters/test-sessions.js +341 -0
- package/dist/formatters/test-sessions.js.map +1 -0
- package/dist/formatters/usage.d.ts +21 -0
- package/dist/formatters/usage.js +313 -0
- package/dist/formatters/usage.js.map +1 -0
- package/dist/help/examples.d.ts +6 -0
- package/dist/help/examples.js +20 -0
- package/dist/help/examples.js.map +1 -0
- package/dist/help/help-extension.d.ts +6 -0
- package/dist/help/help-extension.js +93 -0
- package/dist/help/help-extension.js.map +1 -0
- package/dist/help/skills.d.ts +7 -0
- package/dist/help/skills.js +20 -0
- package/dist/help/skills.js.map +1 -0
- package/dist/helpers/account-member-target.d.ts +14 -0
- package/dist/helpers/account-member-target.js +37 -0
- package/dist/helpers/account-member-target.js.map +1 -0
- package/dist/helpers/accounts.d.ts +28 -0
- package/dist/helpers/accounts.js +50 -0
- package/dist/helpers/accounts.js.map +1 -0
- package/dist/helpers/activate-account.d.ts +13 -0
- package/dist/helpers/activate-account.js +24 -0
- package/dist/helpers/activate-account.js.map +1 -0
- package/dist/helpers/api-fields.d.ts +4 -0
- package/dist/helpers/api-fields.js +25 -0
- package/dist/helpers/api-fields.js.map +1 -0
- package/dist/helpers/cli-mode.d.ts +28 -0
- package/dist/helpers/cli-mode.js +210 -0
- package/dist/helpers/cli-mode.js.map +1 -0
- package/dist/helpers/command-preview.d.ts +76 -0
- package/dist/helpers/command-preview.js +74 -0
- package/dist/helpers/command-preview.js.map +1 -0
- package/dist/helpers/command-style.d.ts +24 -0
- package/dist/helpers/command-style.js +135 -0
- package/dist/helpers/command-style.js.map +1 -0
- package/dist/helpers/constants.d.ts +1 -0
- package/dist/helpers/constants.js +2 -0
- package/dist/helpers/constants.js.map +1 -0
- package/dist/helpers/content-range.d.ts +1 -0
- package/dist/helpers/content-range.js +7 -0
- package/dist/helpers/content-range.js.map +1 -0
- package/dist/helpers/flags.d.ts +22 -0
- package/dist/helpers/flags.js +68 -0
- package/dist/helpers/flags.js.map +1 -0
- package/dist/helpers/import-plan-selection.d.ts +70 -0
- package/dist/helpers/import-plan-selection.js +134 -0
- package/dist/helpers/import-plan-selection.js.map +1 -0
- package/dist/helpers/incidents.d.ts +15 -0
- package/dist/helpers/incidents.js +50 -0
- package/dist/helpers/incidents.js.map +1 -0
- package/dist/helpers/invalid-input-error.d.ts +15 -0
- package/dist/helpers/invalid-input-error.js +17 -0
- package/dist/helpers/invalid-input-error.js.map +1 -0
- package/dist/helpers/number.d.ts +3 -0
- package/dist/helpers/number.js +21 -0
- package/dist/helpers/number.js.map +1 -0
- package/dist/helpers/onboarding/boilerplate.d.ts +15 -0
- package/dist/helpers/onboarding/boilerplate.js +178 -0
- package/dist/helpers/onboarding/boilerplate.js.map +1 -0
- package/dist/helpers/onboarding/clipboard.d.ts +1 -0
- package/dist/helpers/onboarding/clipboard.js +28 -0
- package/dist/helpers/onboarding/clipboard.js.map +1 -0
- package/dist/helpers/onboarding/detect-project.d.ts +10 -0
- package/dist/helpers/onboarding/detect-project.js +22 -0
- package/dist/helpers/onboarding/detect-project.js.map +1 -0
- package/dist/helpers/onboarding/index.d.ts +7 -0
- package/dist/helpers/onboarding/index.js +8 -0
- package/dist/helpers/onboarding/index.js.map +1 -0
- package/dist/helpers/onboarding/messages.d.ts +12 -0
- package/dist/helpers/onboarding/messages.js +155 -0
- package/dist/helpers/onboarding/messages.js.map +1 -0
- package/dist/helpers/onboarding/prompt-display.d.ts +1 -0
- package/dist/helpers/onboarding/prompt-display.js +76 -0
- package/dist/helpers/onboarding/prompt-display.js.map +1 -0
- package/dist/helpers/onboarding/prompts-helpers.d.ts +2 -0
- package/dist/helpers/onboarding/prompts-helpers.js +13 -0
- package/dist/helpers/onboarding/prompts-helpers.js.map +1 -0
- package/dist/helpers/onboarding/skill-install.d.ts +10 -0
- package/dist/helpers/onboarding/skill-install.js +85 -0
- package/dist/helpers/onboarding/skill-install.js.map +1 -0
- package/dist/helpers/onboarding/template-prompt.d.ts +2 -0
- package/dist/helpers/onboarding/template-prompt.js +14 -0
- package/dist/helpers/onboarding/template-prompt.js.map +1 -0
- package/dist/helpers/prompts.d.ts +7 -0
- package/dist/helpers/prompts.js +10 -0
- package/dist/helpers/prompts.js.map +1 -0
- package/dist/helpers/recast-acorn-parser.d.ts +2 -0
- package/dist/helpers/recast-acorn-parser.js +22 -0
- package/dist/helpers/recast-acorn-parser.js.map +1 -0
- package/dist/helpers/result-assets.d.ts +54 -0
- package/dist/helpers/result-assets.js +319 -0
- package/dist/helpers/result-assets.js.map +1 -0
- package/dist/helpers/test-helper.d.ts +31 -0
- package/dist/helpers/test-helper.js +105 -0
- package/dist/helpers/test-helper.js.map +1 -0
- package/dist/helpers/usage.d.ts +64 -0
- package/dist/helpers/usage.js +242 -0
- package/dist/helpers/usage.js.map +1 -0
- package/dist/helpers/wrap.d.ts +6 -0
- package/dist/helpers/wrap.js +49 -0
- package/dist/helpers/wrap.js.map +1 -0
- package/dist/helpers/write-config-helpers.d.ts +5 -0
- package/dist/helpers/write-config-helpers.js +55 -0
- package/dist/helpers/write-config-helpers.js.map +1 -0
- package/dist/hooks/command-not-found.d.ts +3 -0
- package/dist/hooks/command-not-found.js +22 -0
- package/dist/hooks/command-not-found.js.map +1 -0
- package/dist/hooks/parse-error.d.ts +3 -0
- package/dist/hooks/parse-error.js +15 -0
- package/dist/hooks/parse-error.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/loader/config.d.ts +3 -0
- package/dist/loader/config.js +8 -0
- package/dist/loader/config.js.map +1 -0
- package/dist/loader/index.d.ts +5 -0
- package/dist/loader/index.js +6 -0
- package/dist/loader/index.js.map +1 -0
- package/dist/loader/jiti.d.ts +28 -0
- package/dist/loader/jiti.js +76 -0
- package/dist/loader/jiti.js.map +1 -0
- package/dist/loader/loader.d.ts +43 -0
- package/dist/loader/loader.js +37 -0
- package/dist/loader/loader.js.map +1 -0
- package/dist/loader/match.d.ts +15 -0
- package/dist/loader/match.js +43 -0
- package/dist/loader/match.js.map +1 -0
- package/dist/loader/mixed.d.ts +7 -0
- package/dist/loader/mixed.js +36 -0
- package/dist/loader/mixed.js.map +1 -0
- package/dist/loader/native.d.ts +10 -0
- package/dist/loader/native.js +30 -0
- package/dist/loader/native.js.map +1 -0
- package/dist/messages/common-messages.d.ts +7 -0
- package/dist/messages/common-messages.js +11 -0
- package/dist/messages/common-messages.js.map +1 -0
- package/dist/playwright/playwright-config-loader.d.ts +1 -0
- package/dist/playwright/playwright-config-loader.js +26 -0
- package/dist/playwright/playwright-config-loader.js.map +1 -0
- package/dist/playwright/playwright-config-template.d.ts +8 -0
- package/dist/playwright/playwright-config-template.js +53 -0
- package/dist/playwright/playwright-config-template.js.map +1 -0
- package/dist/reporters/abstract-list.d.ts +67 -0
- package/dist/reporters/abstract-list.js +387 -0
- package/dist/reporters/abstract-list.js.map +1 -0
- package/dist/reporters/ci.d.ts +12 -0
- package/dist/reporters/ci.js +31 -0
- package/dist/reporters/ci.js.map +1 -0
- package/dist/reporters/dot.d.ts +11 -0
- package/dist/reporters/dot.js +39 -0
- package/dist/reporters/dot.js.map +1 -0
- package/dist/reporters/github.d.ts +35 -0
- package/dist/reporters/github.js +130 -0
- package/dist/reporters/github.js.map +1 -0
- package/dist/reporters/json.d.ts +29 -0
- package/dist/reporters/json.js +155 -0
- package/dist/reporters/json.js.map +1 -0
- package/dist/reporters/list.d.ts +15 -0
- package/dist/reporters/list.js +83 -0
- package/dist/reporters/list.js.map +1 -0
- package/dist/reporters/reporter.d.ts +26 -0
- package/dist/reporters/reporter.js +22 -0
- package/dist/reporters/reporter.js.map +1 -0
- package/dist/reporters/util.d.ts +24 -0
- package/dist/reporters/util.js +663 -0
- package/dist/reporters/util.js.map +1 -0
- package/dist/rest/account-members.d.ts +56 -0
- package/dist/rest/account-members.js +18 -0
- package/dist/rest/account-members.js.map +1 -0
- package/dist/rest/accounts.d.ts +25 -0
- package/dist/rest/accounts.js +14 -0
- package/dist/rest/accounts.js.map +1 -0
- package/dist/rest/alert-channels.d.ts +52 -0
- package/dist/rest/alert-channels.js +23 -0
- package/dist/rest/alert-channels.js.map +1 -0
- package/dist/rest/alert-notifications.d.ts +39 -0
- package/dist/rest/alert-notifications.js +19 -0
- package/dist/rest/alert-notifications.js.map +1 -0
- package/dist/rest/analytics.d.ts +41 -0
- package/dist/rest/analytics.js +62 -0
- package/dist/rest/analytics.js.map +1 -0
- package/dist/rest/api.d.ts +80 -0
- package/dist/rest/api.js +165 -0
- package/dist/rest/api.js.map +1 -0
- package/dist/rest/asset-manifests.d.ts +30 -0
- package/dist/rest/asset-manifests.js +29 -0
- package/dist/rest/asset-manifests.js.map +1 -0
- package/dist/rest/assets.d.ts +64 -0
- package/dist/rest/assets.js +91 -0
- package/dist/rest/assets.js.map +1 -0
- package/dist/rest/batch-analytics.d.ts +26 -0
- package/dist/rest/batch-analytics.js +14 -0
- package/dist/rest/batch-analytics.js.map +1 -0
- package/dist/rest/cancel.d.ts +18 -0
- package/dist/rest/cancel.js +28 -0
- package/dist/rest/cancel.js.map +1 -0
- package/dist/rest/check-groups.d.ts +16 -0
- package/dist/rest/check-groups.js +11 -0
- package/dist/rest/check-groups.js.map +1 -0
- package/dist/rest/check-results.d.ts +210 -0
- package/dist/rest/check-results.js +19 -0
- package/dist/rest/check-results.js.map +1 -0
- package/dist/rest/check-sessions.d.ts +63 -0
- package/dist/rest/check-sessions.js +66 -0
- package/dist/rest/check-sessions.js.map +1 -0
- package/dist/rest/check-statuses.d.ts +23 -0
- package/dist/rest/check-statuses.js +20 -0
- package/dist/rest/check-statuses.js.map +1 -0
- package/dist/rest/checkly-storage.d.ts +21 -0
- package/dist/rest/checkly-storage.js +28 -0
- package/dist/rest/checkly-storage.js.map +1 -0
- package/dist/rest/checks.d.ts +48 -0
- package/dist/rest/checks.js +43 -0
- package/dist/rest/checks.js.map +1 -0
- package/dist/rest/entitlements.d.ts +47 -0
- package/dist/rest/entitlements.js +11 -0
- package/dist/rest/entitlements.js.map +1 -0
- package/dist/rest/environment-variables.d.ts +52 -0
- package/dist/rest/environment-variables.js +91 -0
- package/dist/rest/environment-variables.js.map +1 -0
- package/dist/rest/error-groups.d.ts +49 -0
- package/dist/rest/error-groups.js +14 -0
- package/dist/rest/error-groups.js.map +1 -0
- package/dist/rest/errors.d.ts +121 -0
- package/dist/rest/errors.js +328 -0
- package/dist/rest/errors.js.map +1 -0
- package/dist/rest/heartbeat-checks.d.ts +11 -0
- package/dist/rest/heartbeat-checks.js +16 -0
- package/dist/rest/heartbeat-checks.js.map +1 -0
- package/dist/rest/incidents.d.ts +60 -0
- package/dist/rest/incidents.js +28 -0
- package/dist/rest/incidents.js.map +1 -0
- package/dist/rest/locations.d.ts +11 -0
- package/dist/rest/locations.js +11 -0
- package/dist/rest/locations.js.map +1 -0
- package/dist/rest/private-locations.d.ts +10 -0
- package/dist/rest/private-locations.js +10 -0
- package/dist/rest/private-locations.js.map +1 -0
- package/dist/rest/projects.d.ts +545 -0
- package/dist/rest/projects.js +696 -0
- package/dist/rest/projects.js.map +1 -0
- package/dist/rest/rca.d.ts +14 -0
- package/dist/rest/rca.js +28 -0
- package/dist/rest/rca.js.map +1 -0
- package/dist/rest/retry.d.ts +55 -0
- package/dist/rest/retry.js +169 -0
- package/dist/rest/retry.js.map +1 -0
- package/dist/rest/runtimes.d.ts +9 -0
- package/dist/rest/runtimes.js +16 -0
- package/dist/rest/runtimes.js.map +1 -0
- package/dist/rest/status-pages.d.ts +40 -0
- package/dist/rest/status-pages.js +16 -0
- package/dist/rest/status-pages.js.map +1 -0
- package/dist/rest/test-session-error-groups.d.ts +18 -0
- package/dist/rest/test-session-error-groups.js +11 -0
- package/dist/rest/test-session-error-groups.js.map +1 -0
- package/dist/rest/test-sessions.d.ts +217 -0
- package/dist/rest/test-sessions.js +118 -0
- package/dist/rest/test-sessions.js.map +1 -0
- package/dist/rest/usage.d.ts +221 -0
- package/dist/rest/usage.js +49 -0
- package/dist/rest/usage.js.map +1 -0
- package/dist/rest/users.d.ts +12 -0
- package/dist/rest/users.js +11 -0
- package/dist/rest/users.js.map +1 -0
- package/dist/rest/util.d.ts +3 -0
- package/dist/rest/util.js +10 -0
- package/dist/rest/util.js.map +1 -0
- package/dist/runtimes/index.d.ts +2 -0
- package/dist/runtimes/index.js +2 -0
- package/dist/runtimes/index.js.map +1 -0
- package/dist/runtimes/runtime.d.ts +8 -0
- package/dist/runtimes/runtime.js +2 -0
- package/dist/runtimes/runtime.js.map +1 -0
- package/dist/runtimes/snapshot.d.ts +2 -0
- package/dist/runtimes/snapshot.js +11 -0
- package/dist/runtimes/snapshot.js.map +1 -0
- package/dist/services/abstract-check-runner.d.ts +111 -0
- package/dist/services/abstract-check-runner.js +483 -0
- package/dist/services/abstract-check-runner.js.map +1 -0
- package/dist/services/check-parser/bundler.d.ts +191 -0
- package/dist/services/check-parser/bundler.js +1087 -0
- package/dist/services/check-parser/bundler.js.map +1 -0
- package/dist/services/check-parser/cache-hash.d.ts +286 -0
- package/dist/services/check-parser/cache-hash.js +329 -0
- package/dist/services/check-parser/cache-hash.js.map +1 -0
- package/dist/services/check-parser/collector.d.ts +33 -0
- package/dist/services/check-parser/collector.js +46 -0
- package/dist/services/check-parser/collector.js.map +1 -0
- package/dist/services/check-parser/errors.d.ts +8 -0
- package/dist/services/check-parser/errors.js +46 -0
- package/dist/services/check-parser/errors.js.map +1 -0
- package/dist/services/check-parser/faux-package.d.ts +9 -0
- package/dist/services/check-parser/faux-package.js +24 -0
- package/dist/services/check-parser/faux-package.js.map +1 -0
- package/dist/services/check-parser/lockfile-pruner.d.ts +115 -0
- package/dist/services/check-parser/lockfile-pruner.js +1330 -0
- package/dist/services/check-parser/lockfile-pruner.js.map +1 -0
- package/dist/services/check-parser/package-files/extension.d.ts +38 -0
- package/dist/services/check-parser/package-files/extension.js +66 -0
- package/dist/services/check-parser/package-files/extension.js.map +1 -0
- package/dist/services/check-parser/package-files/jsconfig-json-file.d.ts +17 -0
- package/dist/services/check-parser/package-files/jsconfig-json-file.js +23 -0
- package/dist/services/check-parser/package-files/jsconfig-json-file.js.map +1 -0
- package/dist/services/check-parser/package-files/json-source-file.d.ts +11 -0
- package/dist/services/check-parser/package-files/json-source-file.js +32 -0
- package/dist/services/check-parser/package-files/json-source-file.js.map +1 -0
- package/dist/services/check-parser/package-files/json-text-source-file.d.ts +5 -0
- package/dist/services/check-parser/package-files/json-text-source-file.js +18 -0
- package/dist/services/check-parser/package-files/json-text-source-file.js.map +1 -0
- package/dist/services/check-parser/package-files/loader.d.ts +7 -0
- package/dist/services/check-parser/package-files/loader.js +24 -0
- package/dist/services/check-parser/package-files/loader.js.map +1 -0
- package/dist/services/check-parser/package-files/lockfile-package-version.d.ts +88 -0
- package/dist/services/check-parser/package-files/lockfile-package-version.js +321 -0
- package/dist/services/check-parser/package-files/lockfile-package-version.js.map +1 -0
- package/dist/services/check-parser/package-files/lookup.d.ts +12 -0
- package/dist/services/check-parser/package-files/lookup.js +52 -0
- package/dist/services/check-parser/package-files/lookup.js.map +1 -0
- package/dist/services/check-parser/package-files/package-json-file.d.ts +72 -0
- package/dist/services/check-parser/package-files/package-json-file.js +271 -0
- package/dist/services/check-parser/package-files/package-json-file.js.map +1 -0
- package/dist/services/check-parser/package-files/package-manager.d.ts +288 -0
- package/dist/services/check-parser/package-files/package-manager.js +998 -0
- package/dist/services/check-parser/package-files/package-manager.js.map +1 -0
- package/dist/services/check-parser/package-files/paths.d.ts +98 -0
- package/dist/services/check-parser/package-files/paths.js +247 -0
- package/dist/services/check-parser/package-files/paths.js.map +1 -0
- package/dist/services/check-parser/package-files/pnpmfile.d.ts +40 -0
- package/dist/services/check-parser/package-files/pnpmfile.js +322 -0
- package/dist/services/check-parser/package-files/pnpmfile.js.map +1 -0
- package/dist/services/check-parser/package-files/resolver.d.ts +146 -0
- package/dist/services/check-parser/package-files/resolver.js +664 -0
- package/dist/services/check-parser/package-files/resolver.js.map +1 -0
- package/dist/services/check-parser/package-files/result.d.ts +38 -0
- package/dist/services/check-parser/package-files/result.js +53 -0
- package/dist/services/check-parser/package-files/result.js.map +1 -0
- package/dist/services/check-parser/package-files/source-file.d.ts +15 -0
- package/dist/services/check-parser/package-files/source-file.js +38 -0
- package/dist/services/check-parser/package-files/source-file.js.map +1 -0
- package/dist/services/check-parser/package-files/tsconfig-json-file.d.ts +116 -0
- package/dist/services/check-parser/package-files/tsconfig-json-file.js +156 -0
- package/dist/services/check-parser/package-files/tsconfig-json-file.js.map +1 -0
- package/dist/services/check-parser/package-files/walk.d.ts +8 -0
- package/dist/services/check-parser/package-files/walk.js +35 -0
- package/dist/services/check-parser/package-files/walk.js.map +1 -0
- package/dist/services/check-parser/package-files/workspace.d.ts +75 -0
- package/dist/services/check-parser/package-files/workspace.js +118 -0
- package/dist/services/check-parser/package-files/workspace.js.map +1 -0
- package/dist/services/check-parser/package-prune.d.ts +235 -0
- package/dist/services/check-parser/package-prune.js +760 -0
- package/dist/services/check-parser/package-prune.js.map +1 -0
- package/dist/services/check-parser/parser.d.ts +86 -0
- package/dist/services/check-parser/parser.js +498 -0
- package/dist/services/check-parser/parser.js.map +1 -0
- package/dist/services/check-parser/patched-dependencies.d.ts +147 -0
- package/dist/services/check-parser/patched-dependencies.js +453 -0
- package/dist/services/check-parser/patched-dependencies.js.map +1 -0
- package/dist/services/check-parser/playwright-config-expander.d.ts +16 -0
- package/dist/services/check-parser/playwright-config-expander.js +175 -0
- package/dist/services/check-parser/playwright-config-expander.js.map +1 -0
- package/dist/services/checkly-config-codegen.d.ts +4 -0
- package/dist/services/checkly-config-codegen.js +189 -0
- package/dist/services/checkly-config-codegen.js.map +1 -0
- package/dist/services/checkly-config-loader.d.ts +378 -0
- package/dist/services/checkly-config-loader.js +302 -0
- package/dist/services/checkly-config-loader.js.map +1 -0
- package/dist/services/config-diagnostics.d.ts +31 -0
- package/dist/services/config-diagnostics.js +57 -0
- package/dist/services/config-diagnostics.js.map +1 -0
- package/dist/services/config.d.ts +69 -0
- package/dist/services/config.js +179 -0
- package/dist/services/config.js.map +1 -0
- package/dist/services/content-hash.d.ts +14 -0
- package/dist/services/content-hash.js +22 -0
- package/dist/services/content-hash.js.map +1 -0
- package/dist/services/deploy-diff/diff-lines.d.ts +52 -0
- package/dist/services/deploy-diff/diff-lines.js +327 -0
- package/dist/services/deploy-diff/diff-lines.js.map +1 -0
- package/dist/services/deploy-diff/double-check.d.ts +9 -0
- package/dist/services/deploy-diff/double-check.js +21 -0
- package/dist/services/deploy-diff/double-check.js.map +1 -0
- package/dist/services/deploy-diff/import-shape.d.ts +171 -0
- package/dist/services/deploy-diff/import-shape.js +633 -0
- package/dist/services/deploy-diff/import-shape.js.map +1 -0
- package/dist/services/deploy-diff/legacy-payload.d.ts +22 -0
- package/dist/services/deploy-diff/legacy-payload.js +51 -0
- package/dist/services/deploy-diff/legacy-payload.js.map +1 -0
- package/dist/services/deploy-diff/plan-summary.d.ts +81 -0
- package/dist/services/deploy-diff/plan-summary.js +262 -0
- package/dist/services/deploy-diff/plan-summary.js.map +1 -0
- package/dist/services/deploy-diff/preview-output.d.ts +63 -0
- package/dist/services/deploy-diff/preview-output.js +403 -0
- package/dist/services/deploy-diff/preview-output.js.map +1 -0
- package/dist/services/deploy-diff/render.d.ts +59 -0
- package/dist/services/deploy-diff/render.js +326 -0
- package/dist/services/deploy-diff/render.js.map +1 -0
- package/dist/services/deploy-diff/shape-changes.d.ts +2 -0
- package/dist/services/deploy-diff/shape-changes.js +48 -0
- package/dist/services/deploy-diff/shape-changes.js.map +1 -0
- package/dist/services/deploy-diff/source-index.d.ts +18 -0
- package/dist/services/deploy-diff/source-index.js +48 -0
- package/dist/services/deploy-diff/source-index.js.map +1 -0
- package/dist/services/deploy-diff/variable-names.d.ts +30 -0
- package/dist/services/deploy-diff/variable-names.js +64 -0
- package/dist/services/deploy-diff/variable-names.js.map +1 -0
- package/dist/services/embedded-packages/cache.d.ts +52 -0
- package/dist/services/embedded-packages/cache.js +192 -0
- package/dist/services/embedded-packages/cache.js.map +1 -0
- package/dist/services/embedded-packages/diagnostics.d.ts +129 -0
- package/dist/services/embedded-packages/diagnostics.js +212 -0
- package/dist/services/embedded-packages/diagnostics.js.map +1 -0
- package/dist/services/embedded-packages/integrity.d.ts +28 -0
- package/dist/services/embedded-packages/integrity.js +58 -0
- package/dist/services/embedded-packages/integrity.js.map +1 -0
- package/dist/services/embedded-packages/lockfile-filter.d.ts +20 -0
- package/dist/services/embedded-packages/lockfile-filter.js +40 -0
- package/dist/services/embedded-packages/lockfile-filter.js.map +1 -0
- package/dist/services/embedded-packages/lockfile-packages.d.ts +77 -0
- package/dist/services/embedded-packages/lockfile-packages.js +439 -0
- package/dist/services/embedded-packages/lockfile-packages.js.map +1 -0
- package/dist/services/embedded-packages/materializer.d.ts +102 -0
- package/dist/services/embedded-packages/materializer.js +668 -0
- package/dist/services/embedded-packages/materializer.js.map +1 -0
- package/dist/services/embedded-packages/npmrc.d.ts +198 -0
- package/dist/services/embedded-packages/npmrc.js +539 -0
- package/dist/services/embedded-packages/npmrc.js.map +1 -0
- package/dist/services/embedded-packages/spec.d.ts +119 -0
- package/dist/services/embedded-packages/spec.js +248 -0
- package/dist/services/embedded-packages/spec.js.map +1 -0
- package/dist/services/embedded-packages/url.d.ts +39 -0
- package/dist/services/embedded-packages/url.js +60 -0
- package/dist/services/embedded-packages/url.js.map +1 -0
- package/dist/services/engine-detector.d.ts +16 -0
- package/dist/services/engine-detector.js +213 -0
- package/dist/services/engine-detector.js.map +1 -0
- package/dist/services/engine-resolver.d.ts +6 -0
- package/dist/services/engine-resolver.js +50 -0
- package/dist/services/engine-resolver.js.map +1 -0
- package/dist/services/engine-rules-loader.d.ts +27 -0
- package/dist/services/engine-rules-loader.js +53 -0
- package/dist/services/engine-rules-loader.js.map +1 -0
- package/dist/services/load-dotenv.d.ts +1 -0
- package/dist/services/load-dotenv.js +44 -0
- package/dist/services/load-dotenv.js.map +1 -0
- package/dist/services/oxc-parser.d.ts +26 -0
- package/dist/services/oxc-parser.js +70 -0
- package/dist/services/oxc-parser.js.map +1 -0
- package/dist/services/playwright-config.d.ts +41 -0
- package/dist/services/playwright-config.js +192 -0
- package/dist/services/playwright-config.js.map +1 -0
- package/dist/services/playwright-project-bundler.d.ts +28 -0
- package/dist/services/playwright-project-bundler.js +301 -0
- package/dist/services/playwright-project-bundler.js.map +1 -0
- package/dist/services/pnpm-lockfile-documents.d.ts +50 -0
- package/dist/services/pnpm-lockfile-documents.js +42 -0
- package/dist/services/pnpm-lockfile-documents.js.map +1 -0
- package/dist/services/project-cli.d.ts +75 -0
- package/dist/services/project-cli.js +302 -0
- package/dist/services/project-cli.js.map +1 -0
- package/dist/services/project-parser.d.ts +36 -0
- package/dist/services/project-parser.js +307 -0
- package/dist/services/project-parser.js.map +1 -0
- package/dist/services/proxy.d.ts +32 -0
- package/dist/services/proxy.js +69 -0
- package/dist/services/proxy.js.map +1 -0
- package/dist/services/runner/registries.d.ts +156 -0
- package/dist/services/runner/registries.js +300 -0
- package/dist/services/runner/registries.js.map +1 -0
- package/dist/services/shell.d.ts +2 -0
- package/dist/services/shell.js +15 -0
- package/dist/services/shell.js.map +1 -0
- package/dist/services/skills.d.ts +12 -0
- package/dist/services/skills.js +127 -0
- package/dist/services/skills.js.map +1 -0
- package/dist/services/snapshot-service.d.ts +30 -0
- package/dist/services/snapshot-service.js +98 -0
- package/dist/services/snapshot-service.js.map +1 -0
- package/dist/services/socket-client.d.ts +4 -0
- package/dist/services/socket-client.js +37 -0
- package/dist/services/socket-client.js.map +1 -0
- package/dist/services/symlink-resolver.d.ts +56 -0
- package/dist/services/symlink-resolver.js +860 -0
- package/dist/services/symlink-resolver.js.map +1 -0
- package/dist/services/test-filters.d.ts +21 -0
- package/dist/services/test-filters.js +31 -0
- package/dist/services/test-filters.js.map +1 -0
- package/dist/services/test-runner.d.ts +29 -0
- package/dist/services/test-runner.js +81 -0
- package/dist/services/test-runner.js.map +1 -0
- package/dist/services/test-session-cancel.d.ts +17 -0
- package/dist/services/test-session-cancel.js +40 -0
- package/dist/services/test-session-cancel.js.map +1 -0
- package/dist/services/trigger-runner.d.ts +29 -0
- package/dist/services/trigger-runner.js +49 -0
- package/dist/services/trigger-runner.js.map +1 -0
- package/dist/services/two-installs.d.ts +39 -0
- package/dist/services/two-installs.js +155 -0
- package/dist/services/two-installs.js.map +1 -0
- package/dist/services/util.d.ts +83 -0
- package/dist/services/util.js +343 -0
- package/dist/services/util.js.map +1 -0
- package/dist/services/write-back/apply-edits.d.ts +29 -0
- package/dist/services/write-back/apply-edits.js +255 -0
- package/dist/services/write-back/apply-edits.js.map +1 -0
- package/dist/services/write-back/helper-edit.d.ts +135 -0
- package/dist/services/write-back/helper-edit.js +343 -0
- package/dist/services/write-back/helper-edit.js.map +1 -0
- package/dist/services/write-back/imports.d.ts +30 -0
- package/dist/services/write-back/imports.js +88 -0
- package/dist/services/write-back/imports.js.map +1 -0
- package/dist/services/write-back/literal-edit.d.ts +183 -0
- package/dist/services/write-back/literal-edit.js +359 -0
- package/dist/services/write-back/literal-edit.js.map +1 -0
- package/dist/services/write-back/output.d.ts +26 -0
- package/dist/services/write-back/output.js +110 -0
- package/dist/services/write-back/output.js.map +1 -0
- package/dist/services/write-back/plan.d.ts +180 -0
- package/dist/services/write-back/plan.js +1046 -0
- package/dist/services/write-back/plan.js.map +1 -0
- package/dist/services/write-back/source-file.d.ts +133 -0
- package/dist/services/write-back/source-file.js +460 -0
- package/dist/services/write-back/source-file.js.map +1 -0
- package/dist/sourcegen/args.d.ts +7 -0
- package/dist/sourcegen/args.js +22 -0
- package/dist/sourcegen/args.js.map +1 -0
- package/dist/sourcegen/argsbuilder.d.ts +22 -0
- package/dist/sourcegen/argsbuilder.js +106 -0
- package/dist/sourcegen/argsbuilder.js.map +1 -0
- package/dist/sourcegen/array.d.ts +8 -0
- package/dist/sourcegen/array.js +28 -0
- package/dist/sourcegen/array.js.map +1 -0
- package/dist/sourcegen/arraybuilder.d.ts +21 -0
- package/dist/sourcegen/arraybuilder.js +104 -0
- package/dist/sourcegen/arraybuilder.js.map +1 -0
- package/dist/sourcegen/boolean.d.ts +7 -0
- package/dist/sourcegen/boolean.js +18 -0
- package/dist/sourcegen/boolean.js.map +1 -0
- package/dist/sourcegen/case.d.ts +9 -0
- package/dist/sourcegen/case.js +96 -0
- package/dist/sourcegen/case.js.map +1 -0
- package/dist/sourcegen/comment.d.ts +32 -0
- package/dist/sourcegen/comment.js +113 -0
- package/dist/sourcegen/comment.js.map +1 -0
- package/dist/sourcegen/decl.d.ts +43 -0
- package/dist/sourcegen/decl.js +86 -0
- package/dist/sourcegen/decl.js.map +1 -0
- package/dist/sourcegen/declbuilder.d.ts +14 -0
- package/dist/sourcegen/declbuilder.js +34 -0
- package/dist/sourcegen/declbuilder.js.map +1 -0
- package/dist/sourcegen/expr.d.ts +39 -0
- package/dist/sourcegen/expr.js +77 -0
- package/dist/sourcegen/expr.js.map +1 -0
- package/dist/sourcegen/exprbuilder.d.ts +13 -0
- package/dist/sourcegen/exprbuilder.js +49 -0
- package/dist/sourcegen/exprbuilder.js.map +1 -0
- package/dist/sourcegen/identifier.d.ts +12 -0
- package/dist/sourcegen/identifier.js +22 -0
- package/dist/sourcegen/identifier.js.map +1 -0
- package/dist/sourcegen/index.d.ts +22 -0
- package/dist/sourcegen/index.js +23 -0
- package/dist/sourcegen/index.js.map +1 -0
- package/dist/sourcegen/null.d.ts +5 -0
- package/dist/sourcegen/null.js +7 -0
- package/dist/sourcegen/null.js.map +1 -0
- package/dist/sourcegen/number.d.ts +7 -0
- package/dist/sourcegen/number.js +18 -0
- package/dist/sourcegen/number.js.map +1 -0
- package/dist/sourcegen/object.d.ts +28 -0
- package/dist/sourcegen/object.js +80 -0
- package/dist/sourcegen/object.js.map +1 -0
- package/dist/sourcegen/objectbuilder.d.ts +25 -0
- package/dist/sourcegen/objectbuilder.js +122 -0
- package/dist/sourcegen/objectbuilder.js.map +1 -0
- package/dist/sourcegen/output.d.ts +14 -0
- package/dist/sourcegen/output.js +81 -0
- package/dist/sourcegen/output.js.map +1 -0
- package/dist/sourcegen/program.d.ts +71 -0
- package/dist/sourcegen/program.js +279 -0
- package/dist/sourcegen/program.js.map +1 -0
- package/dist/sourcegen/string.d.ts +8 -0
- package/dist/sourcegen/string.js +23 -0
- package/dist/sourcegen/string.js.map +1 -0
- package/dist/sourcegen/undefined.d.ts +5 -0
- package/dist/sourcegen/undefined.js +7 -0
- package/dist/sourcegen/undefined.js.map +1 -0
- package/dist/sourcegen/unknown.d.ts +2 -0
- package/dist/sourcegen/unknown.js +36 -0
- package/dist/sourcegen/unknown.js.map +1 -0
- package/dist/sourcegen/value.d.ts +4 -0
- package/dist/sourcegen/value.js +3 -0
- package/dist/sourcegen/value.js.map +1 -0
- package/dist/testing/capture-stderr.d.ts +6 -0
- package/dist/testing/capture-stderr.js +21 -0
- package/dist/testing/capture-stderr.js.map +1 -0
- package/dist/testing/clear-git-env.d.ts +1 -0
- package/dist/testing/clear-git-env.js +25 -0
- package/dist/testing/clear-git-env.js.map +1 -0
- package/dist/testing/fixture-sandbox.d.ts +41 -0
- package/dist/testing/fixture-sandbox.js +122 -0
- package/dist/testing/fixture-sandbox.js.map +1 -0
- package/dist/testing/global-setup.d.ts +3 -0
- package/dist/testing/global-setup.js +17 -0
- package/dist/testing/global-setup.js.map +1 -0
- package/dist/util/index.d.ts +9 -0
- package/dist/util/index.js +23 -0
- package/dist/util/index.js.map +1 -0
- package/oclif.manifest.json +4365 -0
- package/package.json +173 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Check Groups
|
|
2
|
+
|
|
3
|
+
- Import the `CheckGroupV2` construct from `checkly/constructs`.
|
|
4
|
+
- Check Groups are used to group checks together for easier management and organization.
|
|
5
|
+
- Checks are added to Check Groups by referencing the group in the `group` property of a check.
|
|
6
|
+
- **Alert channels on a group require `alertEscalationPolicy`.** If you set custom `alertChannels` on a `CheckGroupV2` without also setting `alertEscalationPolicy`, the group's channels are ignored and each check uses its own alert settings. Use `alertEscalationPolicy: 'global'` to apply the account-wide policy, or build a custom policy with `AlertEscalationBuilder` from `checkly/constructs`.
|
|
7
|
+
|
|
8
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/check-group/
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
import { CheckGroupV2 } from 'checkly/constructs'
|
|
12
|
+
|
|
13
|
+
export const exampleGroup = new CheckGroupV2('example-group', {
|
|
14
|
+
name: 'Example Group',
|
|
15
|
+
concurrency: 1,
|
|
16
|
+
})
|
|
17
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# DNS Monitor
|
|
2
|
+
|
|
3
|
+
- Import the `DnsMonitor` construct from `checkly/constructs`.
|
|
4
|
+
- Reference [the docs for DNS monitors](https://www.checklyhq.com/docs/constructs/dns-monitor/) before generating any code.
|
|
5
|
+
- When adding `assertions`, always use `DnsAssertionBuilder` class.
|
|
6
|
+
- **Plan-gated properties:** `retryStrategy`, `runParallel`, and higher frequencies are not available on all plans. Check entitlements matching `UPTIME_CHECKS_*` before using these. Omit any property whose entitlement is disabled. See `npx checkly skills manage` for details.
|
|
7
|
+
|
|
8
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/dns-monitor/
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
import { DnsAssertionBuilder, DnsMonitor, Frequency, RetryStrategyBuilder } from 'checkly/constructs'
|
|
12
|
+
|
|
13
|
+
new DnsMonitor('example-dns-monitor', {
|
|
14
|
+
name: 'Example DNS Monitor',
|
|
15
|
+
degradedResponseTime: 500,
|
|
16
|
+
maxResponseTime: 1000,
|
|
17
|
+
locations: [
|
|
18
|
+
'eu-central-1',
|
|
19
|
+
'eu-north-1',
|
|
20
|
+
],
|
|
21
|
+
frequency: Frequency.EVERY_10M,
|
|
22
|
+
retryStrategy: RetryStrategyBuilder.noRetries(),
|
|
23
|
+
request: {
|
|
24
|
+
recordType: 'AAAA',
|
|
25
|
+
query: 'INSERT_HOSTNAME',
|
|
26
|
+
assertions: [
|
|
27
|
+
DnsAssertionBuilder.responseCode().equals('NOERROR'),
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
})
|
|
31
|
+
```
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Environment Variables
|
|
2
|
+
|
|
3
|
+
Checks execute on Checkly's cloud infrastructure, not on the user's machine. Two sources of values are exposed at runtime: built-in variables Checkly injects, and user-defined variables managed in the project, group, check, or globally via the CLI.
|
|
4
|
+
|
|
5
|
+
## Built-in: Available in All Check Types
|
|
6
|
+
|
|
7
|
+
Entries with no value are stripped.
|
|
8
|
+
|
|
9
|
+
| Variable | Description |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| `CHECK_ID` | UUID of the check. |
|
|
12
|
+
| `CHECK_NAME` | Name of the check. |
|
|
13
|
+
| `CHECK_TYPE` | `BROWSER`, `MULTISTEP`, `API`, `PLAYWRIGHT`, etc. |
|
|
14
|
+
| `CHECK_RUN_ID` | ID of the run. Format varies by check type (UUID for Playwright Check Suites, numeric ID for browser/multistep). |
|
|
15
|
+
| `CHECK_RESULT_ID` | UUID of the result record. |
|
|
16
|
+
| `ACCOUNT_ID` | UUID of the Checkly account. |
|
|
17
|
+
| `REQUEST_URL` | The check's request URL (mainly relevant for API checks). |
|
|
18
|
+
| `GROUP_BASE_URL` | Base URL of the check's group, if any. |
|
|
19
|
+
| `CLIENT_CERTIFICATE` | Client cert if configured. |
|
|
20
|
+
| `ENVIRONMENT_NAME` | Deployment environment name. Set only for CI/CD-triggered runs. |
|
|
21
|
+
| `DEPLOYMENT_ID` | Deployment UUID. Set only for CI/CD-triggered runs. |
|
|
22
|
+
|
|
23
|
+
## Built-in: Browser Checks, MultiStep Checks, API Setup/Teardown
|
|
24
|
+
|
|
25
|
+
In addition to the variables above:
|
|
26
|
+
|
|
27
|
+
| Variable | Description |
|
|
28
|
+
| --- | --- |
|
|
29
|
+
| `REGION` | AWS region of the runner. |
|
|
30
|
+
| `RUNTIME_VERSION` | Runtime version string (e.g. `2025.04`). |
|
|
31
|
+
| `PUBLIC_IP_V4` | Public IPv4 of the runner. Value has a trailing newline — call `.trim()` before using. |
|
|
32
|
+
| `PUBLIC_IP_V6` | Public IPv6 of the runner. Value has a trailing newline — call `.trim()` before using. |
|
|
33
|
+
|
|
34
|
+
## Built-in: Playwright Check Suites
|
|
35
|
+
|
|
36
|
+
In addition to the variables in the first table:
|
|
37
|
+
|
|
38
|
+
| Variable | Description |
|
|
39
|
+
| --- | --- |
|
|
40
|
+
| `CHECKLY` | Always `1`. Cleanest "am I running on Checkly?" signal. |
|
|
41
|
+
| `CHECKLY_CHECK_ID` | UUID of the check. Mirrors `CHECK_ID`. |
|
|
42
|
+
| `CHECKLY_REGION` | Region where the run executes. |
|
|
43
|
+
| `CHECKLY_RUN_SOURCE` | What triggered the run (CLI deploy, deployment, group run, manual schedule, scheduler, test, API). |
|
|
44
|
+
| `CI` | `1` for CLI runs (`npx checkly test`, `npx checkly trigger`) and deployment-triggered runs. |
|
|
45
|
+
|
|
46
|
+
Docs: https://www.checklyhq.com/docs/detect/synthetic-monitoring/playwright-checks/environment-variables/
|
|
47
|
+
|
|
48
|
+
## User-Defined Variables
|
|
49
|
+
|
|
50
|
+
User-defined variables live at three scopes. Precedence: **check overrides group overrides global**.
|
|
51
|
+
|
|
52
|
+
- **Global** — available to every check and alert channel in the account. Managed in the UI or via `npx checkly env *`.
|
|
53
|
+
- **Group** — scoped to a check group and all its checks. Defined on the `CheckGroupV2` construct.
|
|
54
|
+
- **Check** — scoped to a single check. Defined on the construct.
|
|
55
|
+
|
|
56
|
+
### Variables vs. Secrets
|
|
57
|
+
|
|
58
|
+
- **Variables** are plaintext: visible in the UI, on result pages, in logs, and exportable via CLI / API.
|
|
59
|
+
- **Secrets** are encrypted at rest and never visible after creation — not in the UI, not in logs, not retrievable via CLI or API. Secrets require runtime `2024.09` or later (`3.3.4+` for Private Locations, CLI `4.9.0+`).
|
|
60
|
+
- **Locked** variables are encrypted at rest and restricted to Read & Write, Admin, or Owner roles.
|
|
61
|
+
|
|
62
|
+
Docs: https://www.checklyhq.com/docs/platform/variables/
|
|
63
|
+
|
|
64
|
+
## Reference Syntax
|
|
65
|
+
|
|
66
|
+
How to read a variable depends on the context:
|
|
67
|
+
|
|
68
|
+
| Context | Syntax |
|
|
69
|
+
| --- | --- |
|
|
70
|
+
| Browser checks, MultiStep checks, API setup/teardown scripts | `process.env.MY_VAR` |
|
|
71
|
+
| API check requests (URL, headers, body, query params, basic auth) | `{{MY_VAR}}` |
|
|
72
|
+
| API check requests where URI encoding is unwanted | `{{{MY_VAR}}}` |
|
|
73
|
+
| Webhook alert channel payloads | `{{MY_VAR}}` |
|
|
74
|
+
|
|
75
|
+
## Managing Global Variables via the CLI
|
|
76
|
+
|
|
77
|
+
`npx checkly env` manages **global** account variables. Group- and check-level variables are managed via the UI or directly on the construct.
|
|
78
|
+
|
|
79
|
+
| Command | Description |
|
|
80
|
+
| --- | --- |
|
|
81
|
+
| `npx checkly env add <key> <value> [--locked\|-l] [--secret\|-s]` | Create a variable. |
|
|
82
|
+
| `npx checkly env update <key> <value> [--locked\|-l] [--secret\|-s]` | Update an existing variable. |
|
|
83
|
+
| `npx checkly env ls` | List all account variables; secrets are masked. |
|
|
84
|
+
| `npx checkly env pull [filename] [--force\|-f]` | Export to a local file (default `.env`). |
|
|
85
|
+
| `npx checkly env rm <key> [--force\|-f]` | Delete a variable. |
|
|
86
|
+
|
|
87
|
+
Docs: https://www.checklyhq.com/docs/cli/checkly-env/
|
|
88
|
+
|
|
89
|
+
## Common Use
|
|
90
|
+
|
|
91
|
+
- Gate behavior between local runs and Checkly cloud by checking `process.env.CHECK_ID` (set for every check type).
|
|
92
|
+
- Differentiate retry counts, reporter output, or fixture loading by environment without defining a custom env var.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# gRPC Monitor
|
|
2
|
+
|
|
3
|
+
- Import the `GrpcMonitor` construct from `checkly/constructs`.
|
|
4
|
+
- Reference [the docs for gRPC monitors](https://www.checklyhq.com/docs/constructs/grpc-monitor/) before generating any code.
|
|
5
|
+
- When adding `assertions`, always use `GrpcAssertionBuilder` class.
|
|
6
|
+
- The `request` object must include a `url` (hostname only, no scheme), `port`, and a `grpcConfig` object.
|
|
7
|
+
- Use `grpcConfig.mode` to choose between `'BEHAVIOR'` (invoke a unary method) and `'HEALTH'` (standard health-check service).
|
|
8
|
+
- In `BEHAVIOR` mode, set `grpcConfig.method` (e.g. `'package.Service/Method'`). Use `grpcConfig.serviceDefinition` (`'REFLECTION'` or `'PROTO_FILE'`) to resolve the service definition.
|
|
9
|
+
- In `HEALTH` mode, optionally set `grpcConfig.service` to query a specific service; omit it to query overall server health.
|
|
10
|
+
- Use `degradedResponseTime` and `maxResponseTime` (milliseconds) to configure response time thresholds.
|
|
11
|
+
- **Plan-gated properties:** `retryStrategy`, `runParallel`, and higher frequencies are not available on all plans. Check entitlements matching `UPTIME_CHECKS_*` before using these. Omit any property whose entitlement is disabled. See `npx checkly skills manage` for details.
|
|
12
|
+
|
|
13
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/grpc-monitor/
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { GrpcMonitor, GrpcAssertionBuilder } from 'checkly/constructs'
|
|
17
|
+
|
|
18
|
+
new GrpcMonitor('grpc-api-health', {
|
|
19
|
+
name: 'gRPC API Health',
|
|
20
|
+
activated: true,
|
|
21
|
+
locations: ['us-east-1', 'eu-west-1'],
|
|
22
|
+
degradedResponseTime: 2000,
|
|
23
|
+
maxResponseTime: 5000,
|
|
24
|
+
request: {
|
|
25
|
+
url: 'grpc.example.com',
|
|
26
|
+
port: 50051,
|
|
27
|
+
grpcConfig: {
|
|
28
|
+
mode: 'HEALTH',
|
|
29
|
+
tls: true,
|
|
30
|
+
},
|
|
31
|
+
assertions: [
|
|
32
|
+
GrpcAssertionBuilder.healthCheckStatus().equals('SERVING'),
|
|
33
|
+
GrpcAssertionBuilder.responseTime().lessThan(1000),
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
})
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## FlatBuffers services
|
|
40
|
+
|
|
41
|
+
Only applies when the service uses FlatBuffers instead of Protobuf. Protobuf is the default; omit `grpcConfig.encoding` otherwise.
|
|
42
|
+
|
|
43
|
+
- FlatBuffers requires `BEHAVIOR` mode; `HEALTH` mode always uses Protobuf.
|
|
44
|
+
- Compile the `.fbs` source schema to a binary `.bfbs` schema with `flatc -b --schema --bfbs-builtins schema.fbs`. `--bfbs-builtins` preserves attributes used for streaming and nested FlatBuffers fields.
|
|
45
|
+
- Set `grpcConfig.encoding` to `'FLATBUFFERS'` and load the compiled schema as base64 into `bfbsContent`. Do not set `serviceDefinition` or `protoContent`; FlatBuffers has no server reflection.
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
import { readFileSync } from 'node:fs'
|
|
49
|
+
|
|
50
|
+
request: {
|
|
51
|
+
url: 'grpc.example.com',
|
|
52
|
+
port: 443,
|
|
53
|
+
grpcConfig: {
|
|
54
|
+
mode: 'BEHAVIOR',
|
|
55
|
+
encoding: 'FLATBUFFERS',
|
|
56
|
+
bfbsContent: readFileSync('schema.bfbs').toString('base64'),
|
|
57
|
+
method: 'example.Greeter/Greet',
|
|
58
|
+
message: JSON.stringify({ name: 'Checkly' }),
|
|
59
|
+
},
|
|
60
|
+
}
|
|
61
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Heartbeat Monitor
|
|
2
|
+
|
|
3
|
+
- Import the `HeartbeatMonitor` construct from `checkly/constructs`.
|
|
4
|
+
|
|
5
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/heartbeat-monitor/
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { Frequency, HeartbeatMonitor, RetryStrategyBuilder } from 'checkly/constructs'
|
|
9
|
+
|
|
10
|
+
new HeartbeatMonitor('example-heartbeat-monitor', {
|
|
11
|
+
name: 'Example Heartbeat Monitor',
|
|
12
|
+
period: 1,
|
|
13
|
+
periodUnit: 'hours',
|
|
14
|
+
grace: 30,
|
|
15
|
+
graceUnit: 'minutes',
|
|
16
|
+
frequency: Frequency.EVERY_10S,
|
|
17
|
+
retryStrategy: RetryStrategyBuilder.noRetries(),
|
|
18
|
+
runParallel: true,
|
|
19
|
+
})
|
|
20
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# ICMP Monitor
|
|
2
|
+
|
|
3
|
+
- Import the `IcmpMonitor` construct from `checkly/constructs`.
|
|
4
|
+
- Reference [the docs for ICMP monitors](https://www.checklyhq.com/docs/constructs/icmp-monitor/) before generating any code.
|
|
5
|
+
- When adding `assertions`, always use `IcmpAssertionBuilder` class.
|
|
6
|
+
- Latency assertions require a property parameter: `'avg'`, `'min'`, `'max'`, or `'stdDev'`.
|
|
7
|
+
- Use `degradedPacketLossThreshold` and `maxPacketLossThreshold` for packet loss thresholds (percentages).
|
|
8
|
+
- **Plan-gated properties:** `retryStrategy`, `runParallel`, and higher frequencies are not available on all plans. Check entitlements matching `UPTIME_CHECKS_*` before using these. Omit any property whose entitlement is disabled. See `npx checkly skills manage` for details.
|
|
9
|
+
|
|
10
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/icmp-monitor/
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { Frequency, IcmpAssertionBuilder, IcmpMonitor, RetryStrategyBuilder } from 'checkly/constructs'
|
|
14
|
+
|
|
15
|
+
new IcmpMonitor('example-icmp-monitor', {
|
|
16
|
+
name: 'Example ICMP Monitor',
|
|
17
|
+
request: {
|
|
18
|
+
hostname: 'INSERT_HOSTNAME',
|
|
19
|
+
pingCount: 10,
|
|
20
|
+
assertions: [
|
|
21
|
+
IcmpAssertionBuilder.latency('avg').lessThan(100),
|
|
22
|
+
IcmpAssertionBuilder.latency('max').lessThan(200),
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
degradedPacketLossThreshold: 10,
|
|
26
|
+
maxPacketLossThreshold: 20,
|
|
27
|
+
locations: [
|
|
28
|
+
'eu-central-1',
|
|
29
|
+
'eu-north-1',
|
|
30
|
+
],
|
|
31
|
+
frequency: Frequency.EVERY_10M,
|
|
32
|
+
retryStrategy: RetryStrategyBuilder.noRetries(),
|
|
33
|
+
})
|
|
34
|
+
```
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# MultiStep Checks
|
|
2
|
+
|
|
3
|
+
- Import the `MultiStepCheck` construct from `checkly/constructs`.
|
|
4
|
+
- Generate a separate `.spec.ts` file for the Playwright code referenced in the `MultiStepCheck` construct.
|
|
5
|
+
- Use the `code.entrypoint` property to specify the path to your Playwright test file.
|
|
6
|
+
- For env vars Checkly exposes at runtime (`CHECK_ID`, `REGION`, `RUNTIME_VERSION`, etc.), see `npx checkly skills configure environment`.
|
|
7
|
+
|
|
8
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/multistep-check/
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
import { Frequency, MultiStepCheck, RetryStrategyBuilder } from 'checkly/constructs'
|
|
12
|
+
|
|
13
|
+
new MultiStepCheck('example-multi-step-check', {
|
|
14
|
+
name: 'Example Multistep Check',
|
|
15
|
+
code: {
|
|
16
|
+
entrypoint: './example-multistep-check.spec.ts',
|
|
17
|
+
},
|
|
18
|
+
locations: [
|
|
19
|
+
'eu-central-1',
|
|
20
|
+
'eu-west-2',
|
|
21
|
+
],
|
|
22
|
+
frequency: Frequency.EVERY_1H,
|
|
23
|
+
retryStrategy: RetryStrategyBuilder.noRetries(),
|
|
24
|
+
runParallel: true,
|
|
25
|
+
})
|
|
26
|
+
```
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Playwright Check Suites
|
|
2
|
+
|
|
3
|
+
- Import the `PlaywrightCheck` construct from `checkly/constructs`.
|
|
4
|
+
- Use Playwright Check Suites to run an existing Playwright project. Do not rewrite tests as Browser or Multistep Checks unless the user asks.
|
|
5
|
+
- Set `playwrightConfigPath` relative to the `.check.ts` file that declares the construct, not the project root. If the check is in `monitoring/suites.check.ts` and the config is at the repo root, use `"../playwright.config.ts"`.
|
|
6
|
+
- Use `pwProjects` only when the user wants specific Playwright projects. Values must match the Playwright project `name`, such as `"Cart & Checkout"`, not a folder or slug. Wrong names can deploy but run zero tests.
|
|
7
|
+
- Use `pwTags` only when the user wants tag-based selection.
|
|
8
|
+
- Use `include` only for non-code assets that specs read via `fs` at runtime (markdown, JSON fixtures, snapshots) — test files and anything reachable through `import` are already bundled via Playwright's project discovery and the import graph. In Checkly CLI v8.0.0 and later, `include` globs resolve relative to the Playwright config directory, not the project root and not the `.check.ts`. Example: `playwrightConfigPath: "./e2e/playwright.config.ts"` with a root fixture at `fixtures/data.json` needs `include: ["../fixtures/data.json"]`.
|
|
9
|
+
|
|
10
|
+
## Dependencies
|
|
11
|
+
|
|
12
|
+
- Use the user's `package.json` and lock file for dependencies. Do not add dependency declarations to check code.
|
|
13
|
+
- For private packages or custom registries, `.npmrc` is bundled automatically — the workspace-root `.npmrc` and any `.npmrc` beside a package's `package.json` are included by default. You do not need to add `.npmrc` to `include`.
|
|
14
|
+
- Because `.npmrc` is uploaded with the bundle, it must reference a Checkly environment variable such as `${NPM_TOKEN}` rather than a plaintext token — and tell the user that the token must exist in Checkly before `deploy` or `trigger`.
|
|
15
|
+
- Use `installCommand` only when the default package-manager install command is not enough.
|
|
16
|
+
- For pnpm projects, the workspace-root pnpmfile (`.pnpmfile.cjs` / `.pnpmfile.mjs`) is bundled automatically so the remote install can reproduce the lockfile — but only when the lockfile records a pnpmfile checksum (run `pnpm install` with the pnpmfile in place to record one; without it the pnpmfile is silently not bundled). The pnpmfile must also be self-contained: it may only load side-effect-free Node.js builtins (such as `path`, `crypto`, `util`) via literal `require('...')`/`import` specifiers, and must not reference `process`, `__dirname`, `import.meta`, or dynamically computed module paths. A pnpmfile that is not self-contained is skipped with a warning, and the remote install may re-resolve dependencies instead of using the lockfile. The pnpmfile is uploaded, so avoid embedding secrets in it.
|
|
17
|
+
- In a workspace (monorepo) whose code bundle covers only part of the workspace, the bundled lockfile is pruned automatically so the remote install only fetches what the bundle needs, instead of failing on dependencies of workspace members that were left out.
|
|
18
|
+
- Supported for `pnpm-lock.yaml` (v6/9), `package-lock.json` (v2/3), the text `bun.lock`, and Yarn Berry `yarn.lock`. Yarn Classic v1 lockfiles are not supported; for bun's binary `bun.lockb`, regenerate a text lockfile with `bun install --save-text-lockfile`.
|
|
19
|
+
- The workspace's package manager binary must be available on the machine running the CLI. pnpm resolves against the workspace's own store plus cached registry metadata, npm reuses its cached metadata, and both only contact the registry for misses; yarn Berry and bun regenerate offline.
|
|
20
|
+
- When pruning was needed but cannot run or cannot verify its result, the original lockfile ships unchanged and the CLI prints a note explaining why — follow it (a timed-out prune's note names `CHECKLY_LOCKFILE_PRUNE_TIMEOUT=<seconds>`, which raises the default 30 s budget). Skips are silent when there is nothing to prune, or when pruning is disabled via `CHECKLY_LOCKFILE_PRUNE=0`; silent skip reasons, a timed-out prune's partial package manager output, and per-entry embed match details are visible under `DEBUG='checkly:cli:services:check-parser:*'` and `DEBUG='checkly:cli:services:embedded-packages'`.
|
|
21
|
+
- For pnpm projects with `patchedDependencies`, patches belonging to unbundled workspace members are filtered out automatically. A note naming stale patch declarations means the lockfile is out of date with the config — refresh it with a regular install.
|
|
22
|
+
- Checkly caches installed dependencies between runs, keyed off the workspace's dependency inputs (the lock file, every workspace member's `package.json` and `.npmrc` — whether or not the member is in the bundle) plus the bundle's own install inputs, so the key can change without a file edit, e.g. when a different set of workspace members lands in the bundle. To force a reinstall for deployed checks, set `runner.cache.install.version` (a string or a safe integer) at the top level of `checkly.config.ts` — not per check — and change its value whenever the cache should be invalidated; deployed, scheduled checks pick up the change on the next `checkly deploy`. Unset or empty values leave the cache key unchanged, so a dynamic value such as `version: process.env.DEPENDENCY_CACHE_VERSION` is safe when the variable is not always set. For a one-off reinstall during an ad-hoc run, use the `--refresh-cache` flag on `checkly test`, `checkly pw-test`, `checkly trigger`, or `checkly checks run` instead.
|
|
23
|
+
- If dependencies come from a private registry that Checkly's infrastructure cannot reach (for example an intranet-only Nexus mirror), list them in `bundle.packages.embed` in `checkly.config.ts` — a top-level section: `bundle: { packages: { embed: ['@acme/private-utils', 'legacy-private-pkg@2.1.0'] } }`. The CLI resolves the entries against the workspace-root lockfile (Yarn Classic v1 lockfiles are not supported), downloads their tarballs, verifies each tarball's integrity (recorded in the lockfile, or fetched from registry metadata for Yarn Berry), and ships them inside the code bundle so the runner can install them without reaching the registry. Applies to Playwright Check Suites only, not Browser or Multistep Checks.
|
|
24
|
+
- Each entry is a package name (embeds every version found in the lockfile) or an exact `name@version` pin. Names may contain `*` wildcards (`@acme/*`; a single `*` never crosses `/`, while `**` does — `**` alone matches every package, and `**/utils` matches `utils` in any scope or none), and a `!` prefix turns an entry into an exclusion that subtracts from the entries before it — order matters: `['@acme/*', '!@acme/legacy']` embeds the scope except `@acme/legacy`. A selecting entry that matches nothing in the lockfile fails validation and blocks the deploy — do not add speculative names — and so does an entry whose only matches cannot be embedded (git/file/URL or integrity-less lockfile entries, which the runner must fetch itself); a `!` exclusion that matches nothing is a silent no-op, and a list that ends up selecting nothing overall only warns.
|
|
25
|
+
- List every unreachable package by name, including private packages that only appear as transitive dependencies of other private packages — dependencies of listed packages are not embedded automatically.
|
|
26
|
+
- The machine running `checkly deploy`/`test` needs registry access on a cold cache. Yarn Berry projects additionally need registry access on every deploy, even with a warm cache, because Berry lockfiles record no npm tarball integrity.
|
|
27
|
+
- Downloads are cached under the workspace root's `node_modules/.cache/checkly` (override with `CHECKLY_CACHE_DIR`); persist the cache in CI to avoid re-downloading.
|
|
28
|
+
- When the bundled lockfile is pruned, packages it no longer references are not embedded even if an entry matches them. If a package unexpectedly stops being embedded, usually only a workspace member outside the bundle depends on it, so the runner never installs it and nothing is wrong; if the checks genuinely need it, import the depending member from check code.
|
|
29
|
+
- Credentials for a private registry must be scoped to the registry — the `//registry.example.com/path/:_authToken` form, not a bare `_authToken` at the top of the file, which npm itself rejects. Credentials are read from the project, workspace-root, and user `.npmrc` files, `npm_config_*` environment variables, and pnpm's global `auth.ini` (where `pnpm login` stores tokens). bun or yarn users whose registry credentials live solely in `bunfig.toml` or `.yarnrc.yml` must duplicate them into `.npmrc` or `npm_config_*` — and bun projects must keep registry URLs in `.npmrc` too, since `bunfig.toml` is never read and a wrong registry during lockfile pruning can disclose private package names. The environment variables referenced by `.npmrc` (such as `${NPM_TOKEN}`) must also be set locally wherever `checkly deploy`/`test` runs — embed downloads happen on that machine, not just on Checkly. A download that fails to authenticate names the credential source in the error — tell the user to read the error rather than guessing which source to edit.
|
|
30
|
+
- If the registry configuration shipped with the bundle (`.npmrc` etc.) resolves on the machine running the CLI but not from Checkly's runners — for example a mirror URL that only works on a VPN — set `runner.registries` in `checkly.config.ts` to tell the runner which registries to install from: named `upstreams` (a base `url` plus optional `auth: { type: 'bearer', token: '${NPM_TOKEN}' }`) and `packages` routing rules matched top-down, first match wins, each listing upstream names tried in order, ending with a required `{ pattern: '**', ... }` fallback as the last rule. Applies to Playwright Check Suites only, and only on the runner — embed downloads and lockfile pruning on the CLI machine still read `.npmrc`.
|
|
31
|
+
- Auth tokens must be exactly one `${VAR}` environment variable reference, resolved from the check's Checkly environment variables on the runner — the variable must exist in Checkly before `deploy` or `trigger`; any literal token content is rejected at config load.
|
|
32
|
+
- Pattern syntax matches `bundle.packages.embed`'s (a single `*` never crosses `/`, `**` does), but `!` exclusions and `name@version` pins are not accepted. Embedded packages always take priority over the routing rules.
|
|
33
|
+
- To remove dependencies from the `package.json` files shipped in the code bundle (files on disk are never modified), set `bundle.packages.prune` in `checkly.config.ts`: either an array of name patterns removed from every dependency class (`dependencies`, `devDependencies`, `peerDependencies`, `optionalDependencies`), or an object keyed by dependency class whose values are `true` (remove the whole class) or a pattern array — e.g. `bundle: { packages: { prune: { peerDependencies: true } } }`. Applies to Playwright Check Suites only.
|
|
34
|
+
- This is the escape hatch for keeping unreachable private `peerDependencies` out of the remote install: with pnpm's `auto-install-peers` (default since pnpm 8), a bundled member's unused mandatory peers land in the lockfile even though the bundled code never imports them.
|
|
35
|
+
- Wildcards and `!` exclusions work like `bundle.packages.embed`'s, but `name@version` pins are not accepted. Each `*` matches any run of characters except `/`, so a bare `*` matches only unscoped names, while `**` also crosses `/` (and `**/` may match zero segments, glob-style) — remove a whole class with `true`, or with `['**', ...]` when combining with exclusions (`true` cannot be combined with `!` entries). A pattern that matches nothing is silently ignored, not an error.
|
|
36
|
+
- To target specific workspace members instead of every bundled manifest, array entries can be member-scoped objects with `member` (a pattern list matched against manifest `name`s with the same wildcard/`!` rules; `'.'` addresses the workspace root) and exactly one of `remove` or `keep`.
|
|
37
|
+
- `{ member: 'my-app', remove: [...] }` removes only from matching members, composing with the other entries in listed order. In a member-scoped class-keyed map, `true` selects the whole class (accepted as shorthand for `['**']`, so a later `!` exclusion in the same removal order can still spare entries).
|
|
38
|
+
- `{ member: 'my-app', keep: [...] }` declares the member's *entire* remaining dependency set: entries it does not select are removed, classes a class-keyed `keep` (e.g. `keep: { dependencies: ['@acme/utils'] }`) does not mention are emptied, and a keep overrides every removal for that member. Exclusions that trim a keep must live in the same list (`keep: { dependencies: ['**', '!ms'] }`); separate keep entries for the same member union rather than subtract.
|
|
39
|
+
- Prefer exact member names with `keep` — a wildcard can sweep a future member into another member's keep set. As a net, a `member` selector that matches no workspace member at all, or a `keep` pattern that keeps nothing in a matched member, warns at bundling time; if a shared keep list keeps warning for members that legitimately do not declare some of the kept packages, split it into per-member entries.
|
|
40
|
+
- When a lockfile is bundled, requires lockfile pruning to succeed in the same run; otherwise the original manifests ship unchanged with a warning. A bundle that ships no lockfile keeps the pruned manifests.
|
|
41
|
+
- Pruning is not validated against the code — do not remove anything the bundled code needs at runtime.
|
|
42
|
+
|
|
43
|
+
## Install troubleshooting
|
|
44
|
+
|
|
45
|
+
- The execution environment is Linux and non-root, and it does not include a C/C++ compiler. Browsers are pre-installed, so never add `playwright install`, `npx playwright install`, Puppeteer browser downloads, or similar browser installation commands.
|
|
46
|
+
- If `scripts.postinstall`, `scripts.prepare`, or `scripts.install` references missing files, downloads browsers, sets up git hooks, or compiles native code, set `installCommand` to skip project lifecycle scripts and rebuild dependency scripts:
|
|
47
|
+
- npm: `npm install --ignore-scripts && npm rebuild`
|
|
48
|
+
- pnpm: `pnpm install --ignore-scripts && pnpm rebuild`
|
|
49
|
+
- Flag likely dependency problems before suggesting a deploy:
|
|
50
|
+
- `puppeteer` is usually unnecessary because browsers are pre-installed.
|
|
51
|
+
- Native dependencies that require a compiler, such as `sharp` or `better-sqlite3`, may fail.
|
|
52
|
+
- `fsevents` must be optional; a locked non-optional `fsevents` dependency can fail on Linux.
|
|
53
|
+
- `workspace:*` dependencies must be included in the uploaded bundle.
|
|
54
|
+
- Private registries must have auth configured through Checkly environment variables.
|
|
55
|
+
|
|
56
|
+
## Runtime model
|
|
57
|
+
|
|
58
|
+
- Do not use `runtimeId` for Playwright Check Suites. Browser and Multistep Checks use `runtimeId`; Playwright Check Suites use project dependencies plus `engine`.
|
|
59
|
+
- Omit `engine` unless the user explicitly asks to override the JavaScript engine or version.
|
|
60
|
+
- If an engine override is needed, import `Engine` from `checkly/constructs` and use `Engine.node("24")` or `Engine.bun("1.4")` (`Engine.bun("1")` follows the newest Bun 1.x available on the runner).
|
|
61
|
+
- If no engine is configured or detected, Checkly defaults to Node.js 22. Node.js engine majors map to pinned patch versions: `22` -> `22.14.0`, `24` -> `24.13.1`, and `26` -> `26.2.0`.
|
|
62
|
+
- For env vars Checkly exposes at runtime (e.g. `CHECKLY=1` for "am I running on Checkly?"), see `npx checkly skills configure environment`.
|
|
63
|
+
|
|
64
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/playwright-check/
|
|
65
|
+
|
|
66
|
+
```typescript
|
|
67
|
+
import { PlaywrightCheck } from "checkly/constructs"
|
|
68
|
+
|
|
69
|
+
const playwrightChecks = new PlaywrightCheck("multi-browser-check", {
|
|
70
|
+
name: "Multi-browser check suite",
|
|
71
|
+
playwrightConfigPath: "./playwright.config.ts",
|
|
72
|
+
// Playwright Check Suites support all browsers
|
|
73
|
+
// defined in your `playwright.config`
|
|
74
|
+
pwProjects: ["chromium", "firefox", "webkit"],
|
|
75
|
+
// Bundle non-code assets that specs read via `fs` at runtime.
|
|
76
|
+
// Test files and anything reachable through `import` are already
|
|
77
|
+
// bundled — `include` is only for files outside the import graph.
|
|
78
|
+
// Globs resolve relative to the playwright config's directory.
|
|
79
|
+
include: ["fixtures/**/*.json", "docs/**/*.md"],
|
|
80
|
+
});
|
|
81
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# SSL Monitor
|
|
2
|
+
|
|
3
|
+
- Import the `SslMonitor` construct from `checkly/constructs`.
|
|
4
|
+
- Reference [the docs for SSL monitors](https://www.checklyhq.com/docs/constructs/ssl-monitor/) before generating any code.
|
|
5
|
+
- When adding `assertions`, always use `SslAssertionBuilder` class.
|
|
6
|
+
- The `request` object must include `hostname` (required, hostname only, no scheme) and a `sslConfig` object.
|
|
7
|
+
- Use `request.port` to set the port (default: 443). Use `request.ipFamily` to choose `'IPv4'` or `'IPv6'`.
|
|
8
|
+
- Use `sslConfig.alertDaysBeforeExpiry` to raise an alert before the certificate expires (default: 20 days).
|
|
9
|
+
- Use top-level `degradedResponseTime` and `maxResponseTime` (on `SslMonitorProps`) to configure TLS handshake time thresholds.
|
|
10
|
+
- Use `sslConfig.securityBaseline` to enforce TLS version, key size, cipher suite, and other certificate quality rules.
|
|
11
|
+
- For mutual TLS, set `sslConfig.clientCertificateMode` to `'auto'` or `'explicit'`. When `'explicit'`, also set `sslConfig.sslClientCertificateId`.
|
|
12
|
+
- **Plan-gated properties:** `retryStrategy`, `runParallel`, and higher frequencies are not available on all plans. Check entitlements matching `UPTIME_CHECKS_*` before using these. Omit any property whose entitlement is disabled. See `npx checkly skills manage` for details.
|
|
13
|
+
|
|
14
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/ssl-monitor/
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { SslMonitor, SslAssertionBuilder } from 'checkly/constructs'
|
|
18
|
+
|
|
19
|
+
new SslMonitor('example-com-ssl', {
|
|
20
|
+
name: 'example.com SSL Certificate',
|
|
21
|
+
activated: true,
|
|
22
|
+
locations: ['us-east-1', 'eu-west-1'],
|
|
23
|
+
degradedResponseTime: 3000,
|
|
24
|
+
maxResponseTime: 10000,
|
|
25
|
+
request: {
|
|
26
|
+
hostname: 'example.com',
|
|
27
|
+
port: 443,
|
|
28
|
+
sslConfig: {
|
|
29
|
+
alertDaysBeforeExpiry: 30,
|
|
30
|
+
},
|
|
31
|
+
assertions: [
|
|
32
|
+
SslAssertionBuilder.certificate('daysUntilExpiry').greaterThan(30),
|
|
33
|
+
SslAssertionBuilder.connection('chainTrusted').equals(true),
|
|
34
|
+
SslAssertionBuilder.connection('hostnameVerified').equals(true),
|
|
35
|
+
SslAssertionBuilder.connection('tlsVersion').equals('TLS1.3'),
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
})
|
|
39
|
+
```
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# Supporting Constructs
|
|
2
|
+
|
|
3
|
+
## Status Page
|
|
4
|
+
|
|
5
|
+
- Import the `StatusPage` construct from `checkly/constructs`.
|
|
6
|
+
- Status pages are used to display the status of your services to your users.
|
|
7
|
+
- A Status Page consists of cards which include Status Page Services.
|
|
8
|
+
|
|
9
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/status-page/
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { StatusPage } from 'checkly/constructs'
|
|
13
|
+
import { exampleService } from './services/example-service.check'
|
|
14
|
+
|
|
15
|
+
new StatusPage('example-status-page', {
|
|
16
|
+
name: 'Example Status Page',
|
|
17
|
+
url: 'example-status-page',
|
|
18
|
+
cards: [
|
|
19
|
+
{
|
|
20
|
+
name: 'Example service',
|
|
21
|
+
services: [
|
|
22
|
+
exampleService,
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
customDomain: 'status.example.com',
|
|
27
|
+
defaultTheme: 'AUTO',
|
|
28
|
+
})
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Status Page Service
|
|
32
|
+
|
|
33
|
+
- Import the `StatusPageService` construct from `checkly/constructs`.
|
|
34
|
+
- Status Page Services are used to represent individual services on a Status Page.
|
|
35
|
+
|
|
36
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/status-page-service/
|
|
37
|
+
|
|
38
|
+
```typescript
|
|
39
|
+
import { StatusPageService } from 'checkly/constructs'
|
|
40
|
+
|
|
41
|
+
export const exampleService = new StatusPageService('example-status-page-service', {
|
|
42
|
+
name: 'Example Service',
|
|
43
|
+
})
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Status Page V3 (components)
|
|
47
|
+
|
|
48
|
+
- Import `StatusPageV3`, `StatusPageV3Component` and `StatusPageV3AutomationRule` from `checkly/constructs`.
|
|
49
|
+
- A v3 status page has no cards or services. Its structure is declared with `StatusPageV3Component` constructs that point at the page via `statusPage`; nest a `SERVICE` under a `GROUP` via `parent`.
|
|
50
|
+
- `StatusPageV3AutomationRule` opens one incident impacting the listed components when a check whose tags overlap with the rule's `tags` fails, and resolves it on recovery. Requires the automated incident management add-on.
|
|
51
|
+
- A logical id deployed as a `StatusPage` cannot be redeployed as a `StatusPageV3` (or vice versa); use a new logical id.
|
|
52
|
+
- `themeColors` overrides the page's colors per theme (`light` and `dark`) with hex strings; only the colors you set change, the rest keep the defaults. Requires custom theme colors on the plan.
|
|
53
|
+
- Type-specific settings are top-level props checked against `type`: both types take `showHistoricalData` (default `true`); only a `GROUP` takes `expandedByDefault` (default `false`). Omit them to keep the defaults.
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
import { StatusPageV3, StatusPageV3AutomationRule, StatusPageV3Component } from 'checkly/constructs'
|
|
57
|
+
|
|
58
|
+
const statusPage = new StatusPageV3('example-status-page-v3', {
|
|
59
|
+
name: 'Example Status Page',
|
|
60
|
+
url: 'example-status-page-v3',
|
|
61
|
+
customDomain: 'status.example.com',
|
|
62
|
+
defaultTheme: 'AUTO',
|
|
63
|
+
themeColors: {
|
|
64
|
+
light: { linkFontColor: '#005AC2', primaryButtonBackgroundColor: '#151A1E' },
|
|
65
|
+
dark: { linkFontColor: '#248AFF' },
|
|
66
|
+
},
|
|
67
|
+
})
|
|
68
|
+
|
|
69
|
+
const webApp = new StatusPageV3Component('example-web-app-group', {
|
|
70
|
+
statusPage,
|
|
71
|
+
type: 'GROUP',
|
|
72
|
+
name: 'Web application',
|
|
73
|
+
displayOrder: 1,
|
|
74
|
+
expandedByDefault: true,
|
|
75
|
+
})
|
|
76
|
+
|
|
77
|
+
const signUp = new StatusPageV3Component('example-sign-up-service', {
|
|
78
|
+
statusPage,
|
|
79
|
+
parent: webApp,
|
|
80
|
+
type: 'SERVICE',
|
|
81
|
+
name: 'Sign up',
|
|
82
|
+
description: 'The sign up flow',
|
|
83
|
+
displayOrder: 1,
|
|
84
|
+
showHistoricalData: false,
|
|
85
|
+
})
|
|
86
|
+
|
|
87
|
+
new StatusPageV3AutomationRule('example-api-down-rule', {
|
|
88
|
+
statusPage,
|
|
89
|
+
name: 'API down',
|
|
90
|
+
firstUpdate: 'The API is down, we are investigating.',
|
|
91
|
+
lastUpdate: 'The API has recovered.',
|
|
92
|
+
tags: ['api:public'],
|
|
93
|
+
coolDownMinutes: 5,
|
|
94
|
+
components: [{ component: signUp, targetImpact: 'MAJOR_OUTAGE' }],
|
|
95
|
+
})
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Dashboard
|
|
99
|
+
|
|
100
|
+
- Import the `Dashboard` construct from `checkly/constructs`.
|
|
101
|
+
- Dashboards are used to display the results of your checks on screens external to Checkly.
|
|
102
|
+
- To apply custom styling, set `customCSS` to an entrypoint object so Checkly bundles and hosts the file: `customCSS: { entrypoint: './dashboard.css' }`. Passing a raw string read with `fs.readFileSync` is rejected at deploy time.
|
|
103
|
+
|
|
104
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/dashboard/
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
import { Dashboard } from 'checkly/constructs'
|
|
108
|
+
|
|
109
|
+
new Dashboard('example-dashboard', {
|
|
110
|
+
tags: [
|
|
111
|
+
'app:webshop',
|
|
112
|
+
],
|
|
113
|
+
customUrl: 'example-dashboard',
|
|
114
|
+
customDomain: 'dash.example.com',
|
|
115
|
+
header: 'Example Dashboard',
|
|
116
|
+
description: 'Example dashboard',
|
|
117
|
+
width: 'FULL',
|
|
118
|
+
refreshRate: 60,
|
|
119
|
+
paginate: true,
|
|
120
|
+
paginationRate: 60,
|
|
121
|
+
checksPerPage: 15,
|
|
122
|
+
useTagsAndOperator: false,
|
|
123
|
+
hideTags: false,
|
|
124
|
+
enableIncidents: false,
|
|
125
|
+
expandChecks: false,
|
|
126
|
+
showHeader: true,
|
|
127
|
+
isPrivate: false,
|
|
128
|
+
showP95: true,
|
|
129
|
+
showP99: true,
|
|
130
|
+
})
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Maintenance Window
|
|
134
|
+
|
|
135
|
+
- Import the `MaintenanceWindow` construct from `checkly/constructs`.
|
|
136
|
+
- Maintenance windows pause checks (`tags` or `pauseAllChecks`) and/or silence their alerts while the checks keep running (`silenceAlertsTags` or `silenceAllAlerts`).
|
|
137
|
+
- Set `timezone` (an IANA name such as `America/New_York`) so recurring windows keep their local time.
|
|
138
|
+
|
|
139
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/maintenance-window/
|
|
140
|
+
|
|
141
|
+
```typescript
|
|
142
|
+
import { MaintenanceWindow } from 'checkly/constructs'
|
|
143
|
+
|
|
144
|
+
new MaintenanceWindow('example-maintenance-window', {
|
|
145
|
+
name: 'Example Maintenance Window',
|
|
146
|
+
tags: [
|
|
147
|
+
'app:webshop',
|
|
148
|
+
],
|
|
149
|
+
startsAt: new Date('2025-07-01T09:00:00.000Z'),
|
|
150
|
+
endsAt: new Date('2025-07-01T10:00:00.000Z'),
|
|
151
|
+
repeatInterval: 1,
|
|
152
|
+
repeatUnit: 'WEEK',
|
|
153
|
+
repeatEndsAt: new Date('2025-08-01T00:00:00.000Z'),
|
|
154
|
+
timezone: 'America/New_York',
|
|
155
|
+
silenceAlertsTags: [
|
|
156
|
+
'app:webshop',
|
|
157
|
+
],
|
|
158
|
+
})
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
## Private Location
|
|
162
|
+
|
|
163
|
+
- Import the `PrivateLocation` construct from `checkly/constructs`.
|
|
164
|
+
- Private locations are used to run checks from your own infrastructure with the Checkly Agent, an OCI compatible container.
|
|
165
|
+
|
|
166
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/private-location/
|
|
167
|
+
|
|
168
|
+
```typescript
|
|
169
|
+
import { PrivateLocation } from 'checkly/constructs'
|
|
170
|
+
|
|
171
|
+
export const examplePrivateLocation = new PrivateLocation('example-private-location', {
|
|
172
|
+
name: 'Example Private Location',
|
|
173
|
+
slugName: 'example-private-location',
|
|
174
|
+
icon: 'location',
|
|
175
|
+
})
|
|
176
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# TCP Monitor
|
|
2
|
+
|
|
3
|
+
- Import the `TcpMonitor` construct from `checkly/constructs`.
|
|
4
|
+
- When adding `assertions`, always use `TcpAssertionBuilder` class for TCP monitors.
|
|
5
|
+
- **Plan-gated properties:** `retryStrategy`, `runParallel`, and higher frequencies are not available on all plans. Check entitlements matching `UPTIME_CHECKS_*` before using these. Omit any property whose entitlement is disabled. See `npx checkly skills manage` for details.
|
|
6
|
+
|
|
7
|
+
**Reference:** https://www.checklyhq.com/docs/constructs/tcp-monitor/
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
import { Frequency, RetryStrategyBuilder, TcpAssertionBuilder, TcpMonitor } from 'checkly/constructs'
|
|
11
|
+
|
|
12
|
+
new TcpMonitor('example-tcp-monitor', {
|
|
13
|
+
name: 'Example TCP Monitor',
|
|
14
|
+
degradedResponseTime: 5000,
|
|
15
|
+
maxResponseTime: 5000,
|
|
16
|
+
locations: [
|
|
17
|
+
'eu-central-1',
|
|
18
|
+
'eu-west-2',
|
|
19
|
+
],
|
|
20
|
+
frequency: Frequency.EVERY_1H,
|
|
21
|
+
retryStrategy: RetryStrategyBuilder.noRetries(),
|
|
22
|
+
runParallel: true,
|
|
23
|
+
request: {
|
|
24
|
+
hostname: 'INSERT_HOSTNAME',
|
|
25
|
+
port: 4242,
|
|
26
|
+
assertions: [
|
|
27
|
+
TcpAssertionBuilder.responseTime().lessThan(200),
|
|
28
|
+
TcpAssertionBuilder.responseData().isEmpty(),
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
})
|
|
32
|
+
```
|