AITranslateRunOptions
typedef
Properties
roots : Array<AIEditorRoot> | undefinedmodule:ai/aitranslate/aitranslategateway~AITranslateRunOptions#rootsThe roots to translate. When omitted, every non-
$graveyardroot across every editor in the currentContextis translated. When provided, only the listed roots are translated; the order of entries inrootsis treated as a set-membership filter and does not affect the payload order.Each entry's
channelIdmust match an editor'scollaboration.channelId;rootNamemust match a non-$graveyardroot within that editor.
Value
AIRunBaseOptions & object