()
| 222 | * and the screens say which it was. |
| 223 | */ |
| 224 | export function canWriteTrails(): boolean { |
| 225 | const adapter = getGraphAdapter(); |
| 226 | return typeof adapter.saveTrail === 'function' && typeof adapter.deleteTrail === 'function'; |
| 227 | } |
| 228 | |
| 229 | /** Save a trail, answering the whole list as it now stands. */ |
| 230 | export function saveTrail( |
no test coverage detected