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

Function inlineRefQuery

apps/sim/hooks/use-file-content-source.tsx:18–22  ·  view source on GitHub ↗
(ref: NonNullable<EmbeddedFileRef>)

Source from the content-addressed store, hash-verified

16}
17
18function inlineRefQuery(ref: NonNullable<EmbeddedFileRef>): string {
19 return 'key' in ref
20 ? `key=${encodeURIComponent(ref.key)}`
21 : `fileId=${encodeURIComponent(ref.fileId)}`
22}
23
24/**
25 * Seam for "where do a file's bytes come from". The in-app viewer resolves the

Callers 1

inlineImageSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected