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:
zzj3720
2025-05-28 11:10:33 +00:00
parent 9a651a5b53
commit 9f0d4536c7
2 changed files with 13 additions and 4 deletions

View File

@@ -45,6 +45,9 @@ export type DatabaseGroupEvents = {
export type DatabaseEvents = {
AddDatabase: {};
AddDatabaseView: {
type: string;
};
};
export interface DatabaseAllSortEvents {