UNPKG

overcentric

Version:

A lightweight, privacy-focused toolkit for modern SaaS web applications

33 lines (32 loc) 803 B
export type Context = 'website' | 'product'; export interface UserInfo { name?: string; email?: string; } export interface InitOptions { context: Context; basePath?: string; debugMode?: boolean; enableDock?: boolean; dockColor?: string; enableRecording?: boolean; enableAutoCapture?: boolean; enableErrorCapture?: boolean; autoCaptureConfig?: AutoCaptureConfig; } export interface AutoCaptureConfig { click?: boolean; scroll?: boolean; formSubmit?: boolean; inputFocus?: boolean; visibilityChange?: boolean; historyChange?: boolean; } declare global { interface Window { overcentric: any; overcentricProjectId?: string; overcentricContext?: Context | null; overcentricInitialized?: boolean; } }