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

Function hasSubscription

src/lib/command/util/apps-util.ts:18–18  ·  view source on GitHub ↗
(app: AppResponse)

Source from the content-addressed store, hash-verified

16
17export const isWebhookSmartApp = (app: AppResponse): boolean => !!app.webhookSmartApp
18export const hasSubscription = (app: AppResponse): boolean => !!app.apiOnly?.subscription
19
20export const tableFieldDefinitions: TableFieldDefinition<AppResponse>[] = [
21 'displayName',

Callers 1

apps-util.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected