Skip to content

API reference / Common / Engine types / PageOutcome

Type Alias: PageOutcome ​

ts
type PageOutcome = 
  | {
  pagesInserted: {
     ids: PageId[];
  };
}
  | {
  pagesDeleted: {
     ids: PageId[];
  };
}
  | {
  pagesReordered: {
     ids: PageId[];
  };
}
  | {
  pagePropertiesUpdated: {
     ids: PageId[];
  };
};

What a PageCommand 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.