PromptMixin
Defined in: .build/typescript/packages/core/src/prompts/mixin.ts:7
Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PromptMixin():
PromptMixin
Returns
Section titled “Returns”PromptMixin
Methods
Section titled “Methods”validatePrompts()
Section titled “validatePrompts()”validatePrompts(
promptsDict
,moduleDict
):void
Defined in: .build/typescript/packages/core/src/prompts/mixin.ts:8
Parameters
Section titled “Parameters”promptsDict
Section titled “promptsDict”moduleDict
Section titled “moduleDict”Returns
Section titled “Returns”void
getPrompts()
Section titled “getPrompts()”getPrompts():
PromptsRecord
Defined in: .build/typescript/packages/core/src/prompts/mixin.ts:22
Returns
Section titled “Returns”updatePrompts()
Section titled “updatePrompts()”updatePrompts(
prompts
):void
Defined in: .build/typescript/packages/core/src/prompts/mixin.ts:39
Parameters
Section titled “Parameters”prompts
Section titled “prompts”Returns
Section titled “Returns”void
_getPrompts()
Section titled “_getPrompts()”
abstract
protected
_getPrompts():PromptsRecord
Defined in: .build/typescript/packages/core/src/prompts/mixin.ts:68
Returns
Section titled “Returns”_updatePrompts()
Section titled “_updatePrompts()”
abstract
protected
_updatePrompts(prompts
):void
Defined in: .build/typescript/packages/core/src/prompts/mixin.ts:69
Parameters
Section titled “Parameters”prompts
Section titled “prompts”Returns
Section titled “Returns”void
_getPromptModules()
Section titled “_getPromptModules()”
abstract
protected
_getPromptModules():ModuleRecord
Defined in: .build/typescript/packages/core/src/prompts/mixin.ts:78
Return a dictionary of sub-modules within the current module that also implement PromptMixin (so that their prompts can also be get/set).
Can be blank if no sub-modules.