travels3.0
API Reference

API Reference

Complete source-generated reference for every public Travels 3 export.

This reference is generated from the published Travels package used by the website examples during the website build, so signatures, overloads, return capabilities, and source links match that release.

Looking for guidance?

Start with Configuration Options or Instance Methods for task-oriented explanations. Use this section when you need the exact type or overload.

Browse by export kind

Most-used exports

ExportKindPurpose
createTravels()FunctionCreate a state-owning timeline.
createPatchableTravels()FunctionCreate a timeline with durable-input constraints.
createTravelJournal()FunctionCreate an externally owned controlled journal.
restoreTravels()FunctionRestore one complete state-owning snapshot.
restoreTravelJournal()FunctionRestore one complete controlled journal snapshot.
TravelsNamespace valueDecode persisted input with Travels.deserialize().
TravelsOptionsTypeConfigure history, ownership, Mutative behavior, and hooks.
TravelsEventTypeConsume committed subscriber and devtools events.
TravelsSerializedHistoryTypeStore and migrate versioned snapshots.
TravelsControlsInterfaceExpose read-only navigation and history controls.
TravelsPersistenceErrorClassHandle stable persistence failure codes.
TRAVELS_HISTORY_SCHEMA_VERSIONVariableConstruct and migrate current-schema snapshots.

Reference conventions

  • “Defined in” links point to the exact source revision used to generate the page.
  • Read-only return objects are capabilities, not constructor-based class instances.
  • Travels the exported value is a persistence namespace; Travels<...> the type describes a state-owning timeline.
  • Event names are open to future minor releases; keep a default branch in application switches.
  • Patch and state views described as read-only must not be cast and mutated. Use the corresponding detached snapshot API.

On this page