mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-20 07:41:22 +02:00
Launch analytics events, changelog, better filter styles
This commit is contained in:
@@ -3,13 +3,24 @@ import { invoke } from '@tauri-apps/api';
|
||||
export function trackEvent(
|
||||
resource:
|
||||
| 'App'
|
||||
| 'Sidebar'
|
||||
| 'Workspace'
|
||||
| 'Environment'
|
||||
| 'Folder'
|
||||
| 'HttpRequest'
|
||||
| 'HttpResponse'
|
||||
| 'KeyValue',
|
||||
action: 'Launch' | 'Create' | 'Update' | 'Delete' | 'DeleteMany' | 'Send' | 'Duplicate',
|
||||
action:
|
||||
| 'Toggle'
|
||||
| 'Show'
|
||||
| 'Hide'
|
||||
| 'Launch'
|
||||
| 'Create'
|
||||
| 'Update'
|
||||
| 'Delete'
|
||||
| 'DeleteMany'
|
||||
| 'Send'
|
||||
| 'Duplicate',
|
||||
attributes: Record<string, string | number> = {},
|
||||
) {
|
||||
invoke('track_event', {
|
||||
|
||||
Reference in New Issue
Block a user