Skip to content

API reference / Common / Engine types / ImagePageOutcome

Type Alias: ImagePageOutcome ​

ts
type ImagePageOutcome = 
  | {
  pagesInserted: {
     ids: ImagePageId[];
  };
}
  | {
  pagesDeleted: {
     ids: ImagePageId[];
  };
}
  | {
  pagesReordered: {
     ids: ImagePageId[];
  };
}
  | {
  pagePropertiesUpdated: {
     ids: ImagePageId[];
  };
};

What an ImagePageCommand did to the document's pages — a fact about the document, never a selection. Pages are named by id, and only those the document still held.