Integrate with Uptime Kuma Socket.io API
This commit is contained in:
parent
4523de1217
commit
3c1938af80
4 changed files with 113 additions and 7 deletions
src/lib/types
9
src/lib/types/uptime-kuma-types.ts
Normal file
9
src/lib/types/uptime-kuma-types.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
export type Heartbeat = {
|
||||
readonly monitorID: number;
|
||||
readonly status: number;
|
||||
readonly time: string;
|
||||
readonly msg: string;
|
||||
readonly ping: number;
|
||||
readonly important: boolean;
|
||||
readonly duration: number;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue