kappabufv1.2.3

Types

interface ClientOptions {
  apiKey: string;
  baseUrl?: string;
  timeout?: number;
  retry?: { attempts: number; backoff: "linear" | "exponential" };
}

interface User {
  id: string;
  email: string;
  createdAt: Date;
  metadata?: Record<string, unknown>;
}

type Result<T> = { ok: true; value: T } | { ok: false; error: Error };