Function: activityConnectionRefs()
activityConnectionRefs(
files,modules,resolver):Record<string,ConnectionRef>
H2: the connections the bundle's user activities name, resolved through the project's
connection map into code.connections (name to { connectionId, adapter }). The service
releases a connection to a self-hosted worker only when the run's definition declares it,
so the declaration is written here, at push, by whoever holds the connection map.
Only names listed literally in ctx.activity(..., { connections: [...] }) are known; an
unknown name fails the push as an unknown node connection does. Without a resolver (a
local build) nothing is declared.
Parameters
files
ReadonlyMap<string, string>
modules
Iterable<string>
resolver
Returns
Record<string, ConnectionRef>