BlockSuite API Documentation / @blocksuite/blocks / TelemetryService
Interface: TelemetryService
Methods
track()
track<
T
>(eventName
,props
):void
Type Parameters
• T extends keyof DatabaseAllSortEvents | LinkEventType
| "DatabaseSortClear"
| "Link"
| "DocCreated"
| "LinkedDocCreated"
| "SplitNote"
| "CanvasElementAdded"
| "EdgelessElementLocked"
| "ExpandedAndCollapsed"
Parameters
eventName
T
props
Returns
void
Defined in
packages/affine/shared/dist/services/telemetry-service/telemetry-service.d.ts:14