DocumentCompareProcessOptions
interface
Options for process.
Properties
asSuggestions : boolean | undefinedinheritedmodule:ai/aisdk/documentcompare~DocumentCompareProcessOptions#asSuggestionsWhether the operations carry track-changes suggestion markers.
overwriteOnError : boolean | undefinedmodule:ai/aisdk/documentcompare~DocumentCompareProcessOptions#overwriteOnErrorWhat to do when the processing fails.
By default, the underlying error is rethrown.
When the options is set to
true, the whole document is instead overwritten with the processed data viaeditor.setData()andprocessreturnsfalse.Note, that the overwrite is also performed in real-time collaboration environment, and it may roll back some edits made by remote users while
callbackwas processing. Opt in only when overwriting the whole document is acceptable.