Skip to content

Interface: HashSuggestion

Makaio Framework


Makaio Framework / contracts/extension / HashSuggestion

Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:7

Single suggestion entry returned by a hash trigger’s suggest call.

description: string

Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:11

Human-readable explanation of the suggestion.


optional icon?: string

Defined in: ../../../packages/contracts/src/extension/contributions/hash-trigger-types.ts:19

Optional icon identifier for the suggestion entry.


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.


optional stage?: 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.