@iobroker/js-controller-common-db
Version:
The Library contains the common utils for the ioBroker controller which can be used by db classes too, as they do not rely on the db (circular dependencies).
13 lines • 408 B
TypeScript
type Session = {
Store: any;
};
/**
* Function to create an AdapterStore constructor
*
* @param session The session object, like "express-session"
* @param defaultTtl the default time to live in seconds
* @returns the constructor to create a new AdapterStore
*/
export declare function createAdapterStore(session: Session, defaultTtl?: number): any;
export {};
//# sourceMappingURL=session.d.ts.map