summaryrefslogtreecommitdiff
path: root/src/jet/models/external-action.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/jet/models/external-action.ts')
-rw-r--r--src/jet/models/external-action.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/jet/models/external-action.ts b/src/jet/models/external-action.ts
new file mode 100644
index 0000000..25dbd14
--- /dev/null
+++ b/src/jet/models/external-action.ts
@@ -0,0 +1,7 @@
+import type { Action, ExternalUrlAction } from '@jet-app/app-store/api/models';
+
+export function isExternalUrlAction(
+ action: Action,
+): action is ExternalUrlAction {
+ return action.$kind === 'ExternalUrlAction';
+}