MCPcopy Create free account
hub / github.com/SmartThingsCommunity/smartthings-cli / verboseApps

Function verboseApps

src/lib/command/util/apps-util.ts:77–83  ·  view source on GitHub ↗
(
		client: SmartThingsClient,
		listOptions: AppListOptions,
)

Source from the content-addressed store, hash-verified

75}
76
77export 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
85export const shortARNorURL = (app: PagedApp & Partial<AppResponse>): string => {
86 const uri = (app.webhookSmartApp

Callers 2

listAppsFunction · 0.85
apps-util.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected