diff --git a/app/types/action.ts b/app/types/action.ts new file mode 100644 index 0000000..1bc1585 --- /dev/null +++ b/app/types/action.ts @@ -0,0 +1,3 @@ +export type ActionResult = + | { ok: true; intent: Intent; message: string; id?: string } + | { ok: false; error: string };