MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / addShortcut

Method addShortcut

src/plugins/system/system.d.ts:141–141  ·  view source on GitHub ↗

* Add shortcut to app context menu * @param shortCut * @param onSuccess * @param onFail

(
    shortCut: ShortCut,
    onSuccess: OnSuccessBool,
    onFail: OnFail,
  )

Source from the content-addressed store, hash-verified

139 * @param onFail
140 */
141 addShortcut(
142 shortCut: ShortCut,
143 onSuccess: OnSuccessBool,
144 onFail: OnFail,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected