( client: SmartThingsClient, listOptions: AppListOptions, )
| 75 | } |
| 76 | |
| 77 | export const verboseApps = async ( |
| 78 | client: SmartThingsClient, |
| 79 | listOptions: AppListOptions, |
| 80 | ): Promise<AppResponse[]> => { |
| 81 | const apps = await client.apps.list(listOptions) |
| 82 | return Promise.all(apps.map(app => client.apps.get(app.appId))) |
| 83 | } |
| 84 | |
| 85 | export const shortARNorURL = (app: PagedApp & Partial<AppResponse>): string => { |
| 86 | const uri = (app.webhookSmartApp |
no outgoing calls
no test coverage detected