Reference/SDK/TypeScript/Classes

Class: PromptBuilder

Constructors

constructor

new PromptBuilder(project): PromptBuilder

Parameters

NameType
projectProject

Returns

PromptBuilder

Methods

create

create<HasId, HasVersion>(opts): Prompt<HasId, HasVersion>

Type parameters

NameType
HasIdextends boolean = false
HasVersionextends boolean = false

Parameters

NameType
optsPromptOpts<HasId, HasVersion, true, true>

Returns

Prompt<HasId, HasVersion>

On this page