@@ -262,7 +262,7 @@ export type DirectApplicationLifecycleParams = Readonly<{
262262 openTargetIdentity : DirectOpenTargetIdentity ;
263263 /** Owners whose native open does not replace a running application close it first. */
264264 closeBeforeRelaunch ?: boolean ;
265- resolveAppAlias ?( app : string ) : string ;
265+ resolveAppReference ?( app : string ) : string ;
266266 /** Port reverse is the one non-direct operation a provider owner may still implement. */
267267 configureProviderPortReverse ?: ApplicationLifecycleRuntimeOperations [ 'configureProviderPortReverse' ] ;
268268} > ;
@@ -284,7 +284,7 @@ export function bindDirectApplicationLifecycle(
284284 } ;
285285 return Object . freeze ( {
286286 resolveOpenTarget : async ( input ) =>
287- resolveDirectOpenTarget ( params . openTargetIdentity , resolveOpenTargetAlias ( params , input ) ) ,
287+ resolveDirectOpenTarget ( params . openTargetIdentity , resolveOpenTargetReference ( params , input ) ) ,
288288 prepareApplicationOpen : async ( ) => undefined ,
289289 openApplication : async ( input ) => await openDirectApplication ( params , input ) ,
290290 applyRuntimeHints : unavailable ,
@@ -306,7 +306,7 @@ async function openDirectApplication(
306306 params : DirectApplicationLifecycleParams ,
307307 input : OpenApplicationInput ,
308308) : Promise < OpenApplicationOutcome > {
309- const resolvedInput = resolveOpenApplicationAliases ( params , input ) ;
309+ const resolvedInput = resolveOpenApplicationReferences ( params , input ) ;
310310 const { binding } = params ;
311311 const interactor = await binding . resolveInteractor (
312312 resolvedInput . execution ,
@@ -344,19 +344,19 @@ async function openDirectApplication(
344344 return { appBundleId : resolvedInput . appBundleId , timing : { } } ;
345345}
346346
347- function resolveOpenTargetAlias (
347+ function resolveOpenTargetReference (
348348 params : DirectApplicationLifecycleParams ,
349349 input : OpenTargetResolutionInput ,
350350) : OpenTargetResolutionInput {
351- if ( ! input . target || ! params . resolveAppAlias ) return input ;
352- return { ...input , target : params . resolveAppAlias ( input . target ) } ;
351+ if ( ! input . target || ! params . resolveAppReference ) return input ;
352+ return { ...input , target : params . resolveAppReference ( input . target ) } ;
353353}
354354
355- function resolveOpenApplicationAliases (
355+ function resolveOpenApplicationReferences (
356356 params : DirectApplicationLifecycleParams ,
357357 input : OpenApplicationInput ,
358358) : OpenApplicationInput {
359- const resolve = params . resolveAppAlias ;
359+ const resolve = params . resolveAppReference ;
360360 if ( ! resolve ) return input ;
361361 return {
362362 ...input ,
0 commit comments