mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-19 20:16:32 +02:00
Add stub
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
// stub
|
||||||
|
|
||||||
|
export async function fireHealthCheckHealthyAlert(
|
||||||
|
orgId: string,
|
||||||
|
healthCheckId: number,
|
||||||
|
healthCheckName?: string,
|
||||||
|
extra?: Record<string, unknown>
|
||||||
|
): Promise<void> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function fireHealthCheckNotHealthyAlert(
|
||||||
|
orgId: string,
|
||||||
|
healthCheckId: number,
|
||||||
|
healthCheckName?: string,
|
||||||
|
extra?: Record<string, unknown>
|
||||||
|
): Promise<void> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
// stub
|
||||||
|
|
||||||
|
export async function fireSiteOnlineAlert(
|
||||||
|
orgId: string,
|
||||||
|
siteId: number,
|
||||||
|
siteName?: string,
|
||||||
|
extra?: Record<string, unknown>
|
||||||
|
): Promise<void> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function fireSiteOfflineAlert(
|
||||||
|
orgId: string,
|
||||||
|
siteId: number,
|
||||||
|
siteName?: string,
|
||||||
|
extra?: Record<string, unknown>
|
||||||
|
): Promise<void> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
export * from "./events/siteEvents";
|
||||||
|
export * from "./events/healthCheckEvents";
|
||||||
Reference in New Issue
Block a user