Skip to content

The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.

377 B
Raw Blame
/*
 * Copyright Daytona Platforms Inc.
 * SPDX-License-Identifier: AGPL-3.0
 */

import { BaseAuthContext } from './auth-context.interface'

export interface HealthCheckContext extends BaseAuthContext {
  role: 'health-check'
}

export function isHealthCheckContext(user: BaseAuthContext): user is HealthCheckContext {
  return 'role' in user && user.role === 'health-check'
}