package Ġcom . so yle . stories . use case . scene . location . list Locations Used Ċ Ċ import Ġcom . so yle . stories . domain . scene . Scene Ċ import Ġcom . so yle . stories . use case . location . list All Locations . Location Item Ċ import Ġcom . so yle . stories . use case . scene . Scene Repository Ċ Ċ class ĠList Locations Used In Scene UseCase ( ĊĠĠĠ Ġprivate Ġval Ġscene Repository : ĠScene Repository Ċ ) Ġ: ĠList Locations Used In Scene Ġ{ ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġinvoke ( scene Id : ĠScene . Id , Ġoutput : ĠList Locations Used In Scene . Output Port ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġscene Ġ= Ġscene Repository . get Scene Or Error ( scene Id . uuid ) ĊĠĠĠĠĠĠĠ Ġval Ġresponse Ġ= ĠList Locations Used In Scene . Response Model ( scene . settings . map Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠLocation Item ( it . id , Ġit . location Name ) ĊĠĠĠĠĠĠĠ Ġ}) ĊĠĠĠĠĠĠĠ Ġoutput . receive Locations Used In Scene ( response ) ĊĠĠĠ Ġ} Ċ Ċ }