Type Alias WaldiezFlowProps

WaldiezFlowProps: {
    flowId: string;
    inputPrompt?: { previousMessages: string[]; prompt: string } | null;
    monacoVsPath?: string | null;
    onChange?: (content: string) => void | null;
    onConvert?: (flow: string, to: "py" | "ipynb") => void | null;
    onRun?: (flow: string) => void | null;
    onSave?: (flow: string) => void | null;
    onUpload?: (files: File[]) => Promise<string[]> | null;
    onUserInput?: (userInput: string) => void | null;
    storageId: string;
}

Type declaration

  • flowId: string
  • OptionalinputPrompt?: { previousMessages: string[]; prompt: string } | null
  • OptionalmonacoVsPath?: string | null
  • OptionalonChange?: (content: string) => void | null
  • OptionalonConvert?: (flow: string, to: "py" | "ipynb") => void | null
  • OptionalonRun?: (flow: string) => void | null
  • OptionalonSave?: (flow: string) => void | null
  • OptionalonUpload?: (files: File[]) => Promise<string[]> | null
  • OptionalonUserInput?: (userInput: string) => void | null
  • storageId: string