/**
 * Zod schema for CentrifugoHealthCheck
 *
 * This schema provides runtime validation and type inference.
 *  * Health check response.
 *  */
import { z } from 'zod'

/**
 * Health check response.
 */
export const CentrifugoHealthCheckSchema = z.object({
  status: z.string(),
  wrapper_url: z.string(),
  has_api_key: z.boolean(),
  timestamp: z.string(),
})

/**
 * Infer TypeScript type from Zod schema
 */
export type CentrifugoHealthCheck = z.infer<typeof CentrifugoHealthCheckSchema>