Skip to content

API reference / Common / Engine types / SlideOutcome

Type Alias: SlideOutcome ​

ts
type SlideOutcome = 
  | {
  slidesInserted: {
     ids: SlideId[];
  };
}
  | {
  slidesDeleted: {
     ids: SlideId[];
  };
}
  | {
  slidesReordered: {
     ids: SlideId[];
  };
}
  | {
  slidePropertiesUpdated: {
     ids: SlideId[];
  };
};

What a SlideCommand did to the deck's slides — a fact about the deck, never a selection. Slides are named by id, and only those the deck still held: a slide a peer deleted first is not listed.