diff options
| author | rxliuli <rxliuli@gmail.com> | 2025-11-04 05:03:50 +0800 |
|---|---|---|
| committer | rxliuli <rxliuli@gmail.com> | 2025-11-04 05:03:50 +0800 |
| commit | bce557cc2dc767628bed6aac87301a1be7c5431b (patch) | |
| tree | b51a051228d01fe3306cd7626d4a96768aadb944 /src/jet/models/external-action.ts | |
init commit
Diffstat (limited to 'src/jet/models/external-action.ts')
| -rw-r--r-- | src/jet/models/external-action.ts | 7 |
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'; +} |
