(server: ReactotronServer)
| 21 | } |
| 22 | |
| 23 | function 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 | |
| 33 | function connectionMeta(server: ReactotronServer): Record<string, unknown> { |
| 34 | const apps = getApps(server) |
no outgoing calls
no test coverage detected