chore: stabilize apps/web (lint, build, typecheck fixes)
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Failing after 1m27s
Build & Deploy / 🏗️ Build (push) Failing after 1m31s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-02-11 11:56:13 +01:00
parent 8ba81809b0
commit ecea90dc91
50 changed files with 5596 additions and 3456 deletions

View File

@@ -2,6 +2,8 @@
* Analytics interfaces - decoupled contracts
*/
/* eslint-disable no-unused-vars */
export interface AnalyticsEvent {
name: string;
props?: Record<string, any>;
@@ -9,12 +11,12 @@ export interface AnalyticsEvent {
export interface AnalyticsAdapter {
track(event: AnalyticsEvent): Promise<void>;
identify?(userId: string, traits?: Record<string, any>): Promise<void>;
page?(path: string, props?: Record<string, any>): Promise<void>;
identify?(_userId: string, _traits?: Record<string, any>): Promise<void>;
page?(_path: string, _props?: Record<string, any>): Promise<void>;
getScriptTag?(): string;
}
export interface AnalyticsConfig {
domain?: string;
scriptUrl?: string;
}
}