API reference / Common / Engine types / WordprocessingOutcome
Type Alias: WordprocessingOutcome
ts
type WordprocessingOutcome =
| {
sectionTextEdited: {
story: TextStoryId;
outcome: TextOutcome;
};
}
| {
sectionPropertiesUpdated: {
section: SectionId;
};
}
| "documentPropertiesUpdated"
| {
commentsInserted: {
ids: CommentId[];
};
}
| {
commentsDeleted: {
ids: CommentId[];
};
}
| {
commentEdited: {
id: CommentId;
outcome: CommentOutcome;
};
}
| {
revisionsSettled: {
ids: RawId[];
};
};What a WordprocessingCommand did to a document — a fact about the document, never a selection: what is selected after is its issuer's to say.