watchfor 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/schema.d.ts +39 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# watchfor
|
|
2
2
|
|
|
3
3
|
Official TypeScript SDK + CLI for [WatchFor](https://watchfor.io) —
|
|
4
|
-
uptime & infrastructure monitoring (
|
|
4
|
+
uptime & infrastructure monitoring (31 check types, confirmed alerting,
|
|
5
5
|
status pages, on-call).
|
|
6
6
|
|
|
7
7
|
```bash
|
package/dist/schema.d.ts
CHANGED
|
@@ -1830,6 +1830,37 @@ export interface components {
|
|
|
1830
1830
|
dmarc_pass: boolean | null;
|
|
1831
1831
|
spam_score: number | null;
|
|
1832
1832
|
};
|
|
1833
|
+
/** @description game monitors — the latest check: what the server's status query reported. Player counts are null when the server hides them. */
|
|
1834
|
+
MonitorLatestGame: {
|
|
1835
|
+
/**
|
|
1836
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1837
|
+
* @enum {string}
|
|
1838
|
+
*/
|
|
1839
|
+
kind: "game";
|
|
1840
|
+
/**
|
|
1841
|
+
* Format: date-time
|
|
1842
|
+
* @description When the check this block describes ran.
|
|
1843
|
+
*/
|
|
1844
|
+
checked_at: string | null;
|
|
1845
|
+
/** @description The server answered its status query and the reply parsed. */
|
|
1846
|
+
online: boolean | null;
|
|
1847
|
+
/** @description Status query round trip from the probe location. */
|
|
1848
|
+
query_ping_ms: number | null;
|
|
1849
|
+
players: number | null;
|
|
1850
|
+
max_players: number | null;
|
|
1851
|
+
/** @description Steam (A2S) servers; 0 elsewhere. */
|
|
1852
|
+
bots: number | null;
|
|
1853
|
+
password: boolean | null;
|
|
1854
|
+
/** @description Steam (A2S) servers only. */
|
|
1855
|
+
vac: boolean | null;
|
|
1856
|
+
map: string | null;
|
|
1857
|
+
version: string | null;
|
|
1858
|
+
server_name: string | null;
|
|
1859
|
+
/** @description The game as the server names it. */
|
|
1860
|
+
game: string | null;
|
|
1861
|
+
/** @description The monitor's config.preset. */
|
|
1862
|
+
preset: string | null;
|
|
1863
|
+
};
|
|
1833
1864
|
/** @description Type-aware summary of the monitor page's top cards. `kind` is always the monitor's type; every field is present, null when unknown. */
|
|
1834
1865
|
MonitorLatest:
|
|
1835
1866
|
| components["schemas"]["MonitorLatestSsl"]
|
|
@@ -1861,7 +1892,8 @@ export interface components {
|
|
|
1861
1892
|
| components["schemas"]["MonitorLatestPop3"]
|
|
1862
1893
|
| components["schemas"]["MonitorLatestFtp"]
|
|
1863
1894
|
| components["schemas"]["MonitorLatestSftp"]
|
|
1864
|
-
| components["schemas"]["MonitorLatestEmailRoundtrip"]
|
|
1895
|
+
| components["schemas"]["MonitorLatestEmailRoundtrip"]
|
|
1896
|
+
| components["schemas"]["MonitorLatestGame"];
|
|
1865
1897
|
PlaywrightTestRunRequest: {
|
|
1866
1898
|
/** @description A Playwright Test file (TypeScript or JavaScript). Imports: @playwright/test, otpauth, @faker-js/faker, Node built-ins. Read org variables as process.env.NAME; TARGET_URL is `target`. */
|
|
1867
1899
|
script: string;
|
|
@@ -2404,7 +2436,8 @@ export interface components {
|
|
|
2404
2436
|
| "playwright"
|
|
2405
2437
|
| "imap"
|
|
2406
2438
|
| "pop3"
|
|
2407
|
-
| "email_roundtrip"
|
|
2439
|
+
| "email_roundtrip"
|
|
2440
|
+
| "game";
|
|
2408
2441
|
target?: string;
|
|
2409
2442
|
description?: string | null;
|
|
2410
2443
|
interval_seconds?: number;
|
|
@@ -2573,7 +2606,8 @@ export interface components {
|
|
|
2573
2606
|
| "playwright"
|
|
2574
2607
|
| "imap"
|
|
2575
2608
|
| "pop3"
|
|
2576
|
-
| "email_roundtrip"
|
|
2609
|
+
| "email_roundtrip"
|
|
2610
|
+
| "game";
|
|
2577
2611
|
/** @description Format per type (see GET /meta/monitor-types). Targets in private, loopback, link-local or cloud-metadata address space (and internal hostnames such as localhost, *.internal) are rejected with 400. heartbeat: the server assigns the ping path — send any placeholder (or omit target); read ping_url from the response. smtp: hostname only, the port goes in config.port. */
|
|
2578
2612
|
target: string;
|
|
2579
2613
|
/** @description Seconds; validated against the plan's per-type minimum */
|
|
@@ -3824,7 +3858,8 @@ export interface components {
|
|
|
3824
3858
|
| "playwright"
|
|
3825
3859
|
| "imap"
|
|
3826
3860
|
| "pop3"
|
|
3827
|
-
| "email_roundtrip"
|
|
3861
|
+
| "email_roundtrip"
|
|
3862
|
+
| "game";
|
|
3828
3863
|
label?: string;
|
|
3829
3864
|
description?: string;
|
|
3830
3865
|
target_format?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "watchfor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Official TypeScript SDK + CLI for WatchFor — uptime & infrastructure monitoring (monitors, alert rules, incidents, maintenance windows) over the REST API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"watchfor",
|