({
isRemoteMode,
isSlashCommand,
matchedCommandType,
}: ResolveRemoteSubmitPolicyInput)
| 5 | } |
| 6 | |
| 7 | export function shouldUseRemoteSubmit({ |
| 8 | isRemoteMode, |
| 9 | isSlashCommand, |
| 10 | matchedCommandType, |
| 11 | }: ResolveRemoteSubmitPolicyInput): boolean { |
| 12 | if (!isRemoteMode) { |
| 13 | return false |
| 14 | } |
| 15 | |
| 16 | return !(isSlashCommand && matchedCommandType === 'local-jsx') |
| 17 | } |
no outgoing calls
no test coverage detected