MigrationOptions
Options for enhanced sessions
Properties
storage
ts
storage: StorageAdapter<Enhance<T>>;
The original storage adapter that will be enhanced
migrations
ts
migrations?: Migrations;
A set of session migrations, defined as an object mapping from version numbers to migration functions that transform data to the respective version.
millisecondsToLive
ts
millisecondsToLive?: number;
Number of milliseconds after the last write operation until the session data expires.