mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 05:47:09 +08:00
feat(editor): add view event tracking (#12602)
close: BS-3567 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved the process for adding new views by centralizing related logic, resulting in a more streamlined and consistent user experience. - **Chores** - Enhanced event tracking for database views to support better analytics. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -45,6 +45,9 @@ export type DatabaseGroupEvents = {
|
||||
|
||||
export type DatabaseEvents = {
|
||||
AddDatabase: {};
|
||||
AddDatabaseView: {
|
||||
type: string;
|
||||
};
|
||||
};
|
||||
|
||||
export interface DatabaseAllSortEvents {
|
||||
|
||||
Reference in New Issue
Block a user