mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-31 06:23:08 +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', {
|
||||
|
||||
@@ -21,6 +21,7 @@ export interface Settings extends BaseModel {
|
||||
readonly model: 'settings';
|
||||
theme: string;
|
||||
appearance: string;
|
||||
updateChannel: string;
|
||||
}
|
||||
|
||||
export interface Workspace extends BaseModel {
|
||||
|
||||
Reference in New Issue
Block a user