* Resolves the recording's unique identifier. The v2 Public API returns the recording * id as the `id` field. Returns an empty string when it is absent.
(recording: GrainRecording)
| 164 | * id as the `id` field. Returns an empty string when it is absent. |
| 165 | */ |
| 166 | function recordingId(recording: GrainRecording): string { |
| 167 | return (recording.id ?? '').trim() |
| 168 | } |
| 169 | |
| 170 | /** |
| 171 | * Derives the document title for a recording, falling back to a stable placeholder. |
no outgoing calls
no test coverage detected