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

Function updateFromUserInput

src/lib/item-input/select.ts:88–88  ·  view source on GitHub ↗
(original: T)

Source from the content-addressed store, hash-verified

86 ?? ((value: T) => clipToMaximum((namesByValue.get(value)) ?? stringFromUnknown(value), maxItemValueLength))
87
88 const updateFromUserInput = (original: T): Promise<T | CancelAction> => editValue(original)
89
90 return { name, buildFromUserInput, summarizeForEdit, updateFromUserInput }
91}

Callers

nothing calls this directly

Calls 1

editValueFunction · 0.85

Tested by

no test coverage detected