Variable: DialogSchemas
Makaio Framework / services-core/dialog/schemas / DialogSchemas
Variable: DialogSchemas
Section titled “Variable: DialogSchemas”
constDialogSchemas:object
Defined in: ../../../packages/services/core/src/dialog/schemas.ts:71
Type Declaration
Section titled “Type Declaration”confirm
Section titled “confirm”confirm:
object=DialogConfirmSchema
confirm.request
Section titled “confirm.request”request:
ZodObject<{details:ZodOptional<ZodString>;message:ZodString;options:ZodArray<ZodObject<{id:ZodString;label:ZodString;variant:ZodOptional<ZodEnum<{danger:"danger";primary:"primary";secondary:"secondary"; }>>; },$strip>>;position:ZodOptional<ZodEnum<{bottom-center:"bottom-center";center:"center";top-center:"top-center"; }>>;showDontAskAgain:ZodOptional<ZodBoolean>;title:ZodString; },$strip>
confirm.response
Section titled “confirm.response”response:
ZodObject<{dontAskAgain:ZodOptional<ZodBoolean>;selectedOptionId:ZodNullable<ZodString>; },$strip>
prompt
Section titled “prompt”prompt:
object=DialogPromptSchema
prompt.request
Section titled “prompt.request”request:
ZodObject<{cancelLabel:ZodOptional<ZodString>;defaultValue:ZodOptional<ZodString>;message:ZodString;multiline:ZodOptional<ZodBoolean>;placeholder:ZodOptional<ZodString>;submitLabel:ZodOptional<ZodString>;title:ZodString; },$strip>
prompt.response
Section titled “prompt.response”response:
ZodObject<{value:ZodNullable<ZodString>; },$strip>