Interface: MonitorCreationData
Defined in: src/utils/monitorValidation.ts:170
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:264
Historical status data for analytics and trends
Inherited fromโ
monitoringโ
monitoring:
boolean
Defined in: shared/types.ts:280
Whether monitoring is currently active for this monitor
Inherited fromโ
responseTimeโ
responseTime:
number
Defined in: shared/types.ts:292
Latest response time measurement in milliseconds
Inherited fromโ
retryAttemptsโ
retryAttempts:
number
Defined in: shared/types.ts:294
Number of retry attempts when a check fails
Inherited fromโ
statusโ
status:
"degraded"|"down"|"paused"|"pending"|"up"
Defined in: shared/types.ts:296
Current status of the monitor
Inherited fromโ
timeoutโ
timeout:
number
Defined in: shared/types.ts:298
Timeout for monitor checks in milliseconds
Inherited fromโ
typeโ
type:
"http"|"http-keyword"|"http-status"|"http-header"|"http-json"|"http-latency"|"port"|"ping"|"dns"|"ssl"|"websocket-keepalive"|"server-heartbeat"|"replication"|"cdn-edge-consistency"
Defined in: shared/types.ts:302
Type of monitoring performed (see BASE_MONITOR_TYPES).