API reference / Common / Engine types / WorkbookOutcome
Type Alias: WorkbookOutcome
ts
type WorkbookOutcome =
| {
sheetsInserted: {
ids: SheetId[];
};
}
| {
sheetsDeleted: {
ids: SheetId[];
};
}
| {
sheetsReordered: {
ids: SheetId[];
};
}
| {
sheetPropertiesUpdated: {
ids: SheetId[];
};
};What a WorkbookCommand did to the workbook's sheets — a fact about the workbook, never a selection. Sheets are named by id, and only those the workbook still held.