mirror of
https://github.com/rajnandan1/kener.git
synced 2026-06-23 04:10:22 +00:00
feat(types): add confirmation_threshold and raw_status to monitor/monitoring types (#755)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,7 @@ export interface MonitoringData {
|
||||
latency: number | null;
|
||||
type: string | null;
|
||||
error_message?: string | null;
|
||||
raw_status?: string | null;
|
||||
}
|
||||
|
||||
export interface MonitoringDataInsert {
|
||||
@@ -19,6 +20,7 @@ export interface MonitoringDataInsert {
|
||||
latency: number;
|
||||
type: string;
|
||||
error_message?: string | null;
|
||||
raw_status?: string | null;
|
||||
}
|
||||
|
||||
export interface AggregatedMonitoringData {
|
||||
@@ -78,6 +80,7 @@ export interface MonitorRecord {
|
||||
external_url?: string | null;
|
||||
day_degraded_minimum_count?: number | null;
|
||||
day_down_minimum_count?: number | null;
|
||||
confirmation_threshold?: number | null;
|
||||
include_degraded_in_downtime?: string;
|
||||
is_hidden: string;
|
||||
monitor_settings_json: string | null;
|
||||
@@ -135,6 +138,7 @@ export interface MonitorRecordTyped {
|
||||
type_data: Record<string, unknown> | null;
|
||||
day_degraded_minimum_count?: number | null;
|
||||
day_down_minimum_count?: number | null;
|
||||
confirmation_threshold?: number | null;
|
||||
include_degraded_in_downtime?: string;
|
||||
is_hidden: string;
|
||||
monitor_settings_json: MonitorSettings | null;
|
||||
@@ -158,6 +162,7 @@ export interface MonitorRecordInsert {
|
||||
type_data?: string | null;
|
||||
day_degraded_minimum_count?: number | null;
|
||||
day_down_minimum_count?: number | null;
|
||||
confirmation_threshold?: number | null;
|
||||
include_degraded_in_downtime?: string;
|
||||
is_hidden?: string;
|
||||
monitor_settings_json?: string | null;
|
||||
|
||||
@@ -8,6 +8,7 @@ export interface MonitoringResult {
|
||||
latency: number;
|
||||
type: string;
|
||||
error_message?: string;
|
||||
raw_status?: string;
|
||||
}
|
||||
|
||||
export interface MonitoringResultTS {
|
||||
|
||||
Reference in New Issue
Block a user