Interface SessionStoreData

interface SessionStoreData {
    expires: number;
    locked?: {
        timestamp: number;
        value: string;
    };
}

Hierarchy (view full)

Properties

Properties

expires: number

A unix timestamp (in seconds instead of milliseconds) representing when the session should be expired

locked?: {
    timestamp: number;
    value: string;
}

When this property exists, it should contain a unix timestamp (in milliseconds) representing the time when it was locked, and the current key value at the time the lock was created

Type declaration

  • timestamp: number
  • value: string