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

Function edgeCommand

src/lib/command/edge-command.ts:10–11  ·  view source on GitHub ↗
(parent: T)

Source from the content-addressed store, hash-verified

8
9export type EdgeCommand<T extends APICommand = APICommand> = T & { edgeClient: EdgeClient }
10export const edgeCommand = <T extends APICommand> (parent: T): EdgeCommand<T> =>
11 ({ ...parent, edgeClient: newEdgeClient(parent) })

Callers 5

handlerFunction · 0.85
handlerFunction · 0.85
handlerFunction · 0.85
handlerFunction · 0.85

Calls 1

newEdgeClientFunction · 0.85

Tested by

no test coverage detected