(cmd: QueuedCommand)
| 366 | * sees what arrived) but stay non-editable (raw XML). |
| 367 | */ |
| 368 | export function isQueuedCommandVisible(cmd: QueuedCommand): boolean { |
| 369 | if ( |
| 370 | (feature('KAIROS') || feature('KAIROS_CHANNELS')) && |
| 371 | (cmd as Record<string, unknown>).origin !== undefined && |
| 372 | ((cmd as Record<string, unknown>).origin as Record<string, unknown>) |
| 373 | ?.kind === 'channel' |
| 374 | ) |
| 375 | return true |
| 376 | return isQueuedCommandEditable(cmd) |
| 377 | } |
| 378 | |
| 379 | /** |
| 380 | * Extract text from a queued command value. |
nothing calls this directly
no test coverage detected