MCPcopy Index your code
hub / github.com/infinitered/reactotron / getApps

Function getApps

lib/reactotron-mcp/src/resources.ts:23–31  ·  view source on GitHub ↗
(server: ReactotronServer)

Source from the content-addressed store, hash-verified

21}
22
23function getApps(server: ReactotronServer): AppInfo[] {
24 return (server.connections as any[]).map((c) => ({
25 id: c.id,
26 clientId: c.clientId,
27 name: c.name,
28 platform: c.platform,
29 platformVersion: c.platformVersion,
30 }))
31}
32
33function connectionMeta(server: ReactotronServer): Record<string, unknown> {
34 const apps = getApps(server)

Callers 3

connectionMetaFunction · 0.85
filterByClientFunction · 0.85
registerResourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected