Interface: MonitorCreationData
Defined in: src/utils/monitorValidation.ts:171
Required fields for monitor creation, ensuring type safety. Prevents runtime errors by guaranteeing essential properties are present.
Extendsโ
Pick<Monitor,"history"|"monitoring"|"responseTime"|"retryAttempts"|"status"|"timeout"|"type">.UnknownRecord
Indexableโ
[key: string]: unknown
[key: number]: unknown
[key: symbol]: unknown
Propertiesโ
historyโ
history:
StatusHistory[]
Defined in: shared/types.ts:271
Historical status data for analytics and trends
Inherited fromโ
monitoringโ
monitoring:
boolean
Defined in: shared/types.ts:287
Whether monitoring is currently active for this monitor
Inherited fromโ
responseTimeโ
responseTime:
number
Defined in: shared/types.ts:299
Latest response time measurement in milliseconds
Inherited fromโ
retryAttemptsโ
retryAttempts:
number
Defined in: shared/types.ts:301
Number of retry attempts when a check fails
Inherited fromโ
statusโ
status:
"degraded"|"down"|"up"|"paused"|"pending"
Defined in: shared/types.ts:303
Current status of the monitor
Inherited fromโ
timeoutโ
timeout:
number
Defined in: shared/types.ts:305
Timeout for monitor checks in milliseconds
Inherited fromโ
typeโ
type:
"cdn-edge-consistency"|"dns"|"http"|"http-header"|"http-json"|"http-keyword"|"http-latency"|"http-status"|"ping"|"port"|"replication"|"server-heartbeat"|"ssl"|"websocket-keepalive"
Defined in: shared/types.ts:309
Type of monitoring performed (see BASE_MONITOR_TYPES).