chore(client/ts): port abstract_button, command_button, onclick_button

This commit is contained in:
Elian Doran
2025-01-07 11:26:49 +02:00
parent 6905e1536e
commit f3a18a9942
6 changed files with 99 additions and 67 deletions

View File

@@ -6,7 +6,7 @@ import Component from "../components/component.js";
const keyboardActionRepo: Record<string, Action> = {};
// TODO: Deduplicate with server.
interface Action {
export interface Action {
actionName: CommandNames;
effectiveShortcuts: string[];
scope: string;