Interface: HashSuggestion
Makaio Framework / contracts/extension / HashSuggestion
Interface: HashSuggestion
Section titled “Interface: HashSuggestion”Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:7
Single suggestion entry returned by a hash trigger’s suggest call.
Properties
Section titled “Properties”description
Section titled “description”description:
string
Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:11
Human-readable explanation of the suggestion.
optionalicon?:string
Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:19
Optional icon identifier for the suggestion entry.
insertText
Section titled “insertText”insertText:
string
Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:15
Text inserted into the input when the suggestion is accepted.
kind:
"group"|"leaf"
Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:13
Whether this suggestion is a leaf (directly usable) or a group (opens sub-list).
label:
string
Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:9
Display label shown in the completion UI.
stage?
Section titled “stage?”
optionalstage?:HashTriggerStage
Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:21
Pipeline stage override for this particular suggestion.
value:
string
Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:17
Underlying value passed to execute when the suggestion is used.