API reference / Common / Engine types / AnnotationOutcome
Type Alias: AnnotationOutcome
ts
type AnnotationOutcome =
| {
annotationsInserted: {
ids: AnnotationId[];
};
}
| {
annotationsDeleted: {
ids: AnnotationId[];
};
}
| {
annotationsReordered: {
ids: AnnotationId[];
};
}
| {
annotationsReplaced: {
ids: AnnotationId[];
};
}
| {
annotationPropertiesUpdated: {
ids: AnnotationId[];
};
}
| {
annotationShapeEdited: {
id: AnnotationId;
outcome: ShapeOutcome;
};
};What an AnnotationCommand did to a page's annotations — a fact about the page, never a selection. Annotations are named by id, and only those the page still held.