MCPcopy Index your code
hub / github.com/simstudioai/sim / recordingId

Function recordingId

apps/sim/connectors/grain/grain.ts:166–168  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

164 * id as the `id` field. Returns an empty string when it is absent.
165 */
166function 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.

Callers 3

buildContentHashFunction · 0.85
recordingToStubFunction · 0.85
grain.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected