From d8e557dff99e32a611384c185b5818812dc420d7 Mon Sep 17 00:00:00 2001 From: rajun Date: Tue, 27 Oct 2026 16:28:48 +0530 Subject: [PATCH] feat: add action result type --- app/types/action.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 app/types/action.ts 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 };