summaryrefslogtreecommitdiff
path: root/apps/web/src/actions/definitions.ts
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-07-27 01:21:29 +0200
committercashmere <cashmere@autistici.org>2026-07-27 01:21:29 +0200
commit9c3b788b47cc639ee463dd07e1a4cce91e6376cc (patch)
treef7bec9cc3ca35ad3cb3eb5b79497b934513259ef /apps/web/src/actions/definitions.ts
parent783e9ac8462751adc14d78b070095fd63e45bda0 (diff)
downloadopencut-9c3b788b47cc639ee463dd07e1a4cce91e6376cc.tar.gz
feat: wire versioning/transfer/voice-over actions and header UI
Shared wiring for the six roadmap slices in one commit: action ids and handlers for create-checkpoint, toggle-versions-panel, export-project-archive, and voice-over; the freeze-frame handler awaits the duration prompt before capture; editor header gains the versions popover and export menu item (and loses the feedback popover and Discord item, part of the branding strip).
Diffstat (limited to 'apps/web/src/actions/definitions.ts')
-rw-r--r--apps/web/src/actions/definitions.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/web/src/actions/definitions.ts b/apps/web/src/actions/definitions.ts
index eed9c378..f6c05b7d 100644
--- a/apps/web/src/actions/definitions.ts
+++ b/apps/web/src/actions/definitions.ts
@@ -152,6 +152,22 @@ export const ACTIONS = {
category: "assets",
args: { projectId: "string", assetIds: "string[]" },
},
+ "voice-over": {
+ description: "Record voice-over at playhead",
+ category: "editing",
+ },
+ "create-checkpoint": {
+ description: "Create named checkpoint",
+ category: "history",
+ },
+ "toggle-versions-panel": {
+ description: "Toggle versions panel",
+ category: "history",
+ },
+ "export-project-archive": {
+ description: "Export project as single file (.ocp)",
+ category: "controls",
+ },
} as const satisfies Record<string, TActionBaseDefinition>;
export type TAction = keyof typeof ACTIONS;