mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix: missing session fields
This commit is contained in:
@@ -71,6 +71,8 @@ const DROP_MAPPED_PARAMS = new Set(['doc_id', 'workspace_id', 'server_id']);
|
||||
const PRIORITY_KEYS = new Set([
|
||||
'event_id',
|
||||
'session_id',
|
||||
'session_number',
|
||||
'engagement_time_msec',
|
||||
'ui_page',
|
||||
'ui_segment',
|
||||
'ui_module',
|
||||
|
||||
@@ -5,7 +5,7 @@ export type TelemetryEvent = {
|
||||
userProperties?: Record<string, unknown>;
|
||||
userId?: string;
|
||||
clientId: string;
|
||||
sessionId?: string;
|
||||
sessionId?: string | number;
|
||||
eventId: string;
|
||||
timestampMicros?: number;
|
||||
context?: {
|
||||
|
||||
Reference in New Issue
Block a user