mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 01:49:51 +08:00
feat(editor): embed iframe block event tracking (#11313)
Close [BS-2958](https://linear.app/affine-design/issue/BS-2958/埋点相关)
This commit is contained in:
@@ -11,6 +11,9 @@ export type LinkEventType =
|
||||
| 'OpenedCardStyleSelector'
|
||||
| 'SelectedCardStyle'
|
||||
| 'OpenedCardScaleSelector'
|
||||
| 'SelectedCardScale';
|
||||
| 'SelectedCardScale'
|
||||
| 'OpenLink'
|
||||
| 'EditLink'
|
||||
| 'ReloadLink';
|
||||
|
||||
export type LinkToolbarEvents = Record<LinkEventType, TelemetryEvent>;
|
||||
|
||||
@@ -30,6 +30,7 @@ export type TelemetryEventMap = OutDatabaseAllEvents &
|
||||
AttachmentUploadedEvent: AttachmentUploadedEvent;
|
||||
BlockCreated: BlockCreationEvent;
|
||||
EdgelessToolPicked: EdgelessToolPickedEvent;
|
||||
CreateEmbedBlock: TelemetryEvent;
|
||||
};
|
||||
|
||||
export interface TelemetryService {
|
||||
|
||||
Reference in New Issue
Block a user