MCPcopy Index your code
hub / github.com/callstack/agent-device / resolveDeployResultTarget

Function resolveDeployResultTarget

src/client/client-shared.ts:92–98  ·  view source on GitHub ↗
(result: {
  app: string;
  bundleId?: string;
  package?: string;
})

Source from the content-addressed store, hash-verified

90}
91
92export function resolveDeployResultTarget(result: {
93 app: string;
94 bundleId?: string;
95 package?: string;
96}): string {
97 return result.bundleId ?? result.package ?? result.app;
98}
99
100export function serializeDeployResult(result: AppDeployResult): Record<string, unknown> {
101 return withSuccessText(

Callers 2

buildDeployMessageFunction · 0.90
serializeDeployResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected