Track action usage

This commit is contained in:
Tom Moor
2023-02-10 18:56:12 -05:00
parent bb6f4b1c1e
commit fcbd4d3d28
10 changed files with 106 additions and 4 deletions

View File

@@ -89,6 +89,7 @@ export type ActionContext = {
export type Action = {
type?: undefined;
id: string;
analyticsName?: string;
name: ((context: ActionContext) => string) | string;
section: ((context: ActionContext) => string) | string;
shortcut?: string[];