Skip to content

A desktop coding agent with free access to frontier models.

TypeScript
359 B
Raw Blame
import { TelemetryEventType } from "@omnirush-ee/den-db/schema"

/** Server-side event-type allowlist. Lives outside contracts.ts so the
 * client-safe `./contracts` subpath never imports den-db. */

const eventTypeSet = new Set<string>(TelemetryEventType)

export function isKnownTelemetryEventType(type: string): boolean {
  return eventTypeSet.has(type)
}