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:
Raj Nandan Sharma
2026-06-13 18:30:34 +05:30
parent e5e7e44471
commit 8edf92ea02
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -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;
+1
View File
@@ -8,6 +8,7 @@ export interface MonitoringResult {
latency: number;
type: string;
error_message?: string;
raw_status?: string;
}
export interface MonitoringResultTS {