Skip to content

Type Alias: GenerationStartDetail ​

ts
type GenerationStartDetail = {
  mode: AiEditorMode;
  prompt: string;
};

Defined in: packages/ai-image-editor/src/widgets/ai-editor/ui/UcAiImageEditor.ts:84

Detail of the uc:generation-start event: the prompt and mode of the generation that is starting. The run then ends in uc:change (a result) or uc:error; one cut short by a new source, a start-over or the editor leaving the page ends in neither.

Properties ​

mode ​

ts
mode: AiEditorMode;

Defined in: packages/ai-image-editor/src/widgets/ai-editor/ui/UcAiImageEditor.ts:86


prompt ​

ts
prompt: string;

Defined in: packages/ai-image-editor/src/widgets/ai-editor/ui/UcAiImageEditor.ts:85