CheckpointIds
The CheckpointIds type is a representation of the list of checkpoint Ids stored in a Checkpoints object.
[Ids, Id | undefined, Ids]There are three parts to a CheckpointsIds array:
- The 'backward' checkpoint
Idsthat can be rolled backward to (in other words, the checkpoints in the undo stack for thisStore). They are in chronological order with the oldest checkpoint at the start of the array. - The current checkpoint
Idof theStore's state, orundefinedif the current state has not been checkpointed. - The 'forward' checkpoint
Idsthat can be rolled forward to (in other words, the checkpoints in the redo stack for thisStore). They are in chronological order with the newest checkpoint at the end of the array.
Since
v1.0.0