Skip to content

PromptDefinitionFragmentV1

Prompt configuration attached to a flag fragment.

Validation callbacks are dropped. Only the serializable description of the prompt survives.

Signatures

ts
type PromptDefinitionFragmentV1 = unknown;

Members

Properties

choices

ts
choices?: readonly PromptChoiceFragmentV1[];

kind

ts
kind: PromptKind;

max

ts
max?: number;

message

ts
message: string;

min

ts
min?: number;

placeholder

ts
placeholder?: string;

See Also

Released under the MIT License.