TypeScript Definitions
Common types used throughout the SDK.
CluebaseOptions
typescript
interface CluebaseOptions {
apiEndpoint?: string;
maxRetries?: number;
debug?: boolean;
sampleRate?: number; // 0.0 to 1.0
}ErrorReport
typescript
interface ErrorReport {
message: string;
stack: string;
timestamp: number;
metadata?: Record<string, any>;
fingerprint?: string[];
}