@resin/pinejs
Version:
Pine.js is a sophisticated rules-driven API engine that enables you to define rules in a structured subset of English. Those rules are used in order for Pine.js to generate a database schema and the associated [OData](http://www.odata.org/) API. This make
15 lines (14 loc) • 790 B
TypeScript
import type { Config } from '../config-loader/config-loader';
import { Store } from 'express-session';
export { Store };
export declare class PinejsSessionStore extends Store {
get: (sid: string, callback: (err: any, session?: Express.SessionData | null | undefined) => void) => void;
set: (sid: string, session: Express.SessionData, callback?: ((err?: any) => void) | undefined) => void;
destroy: (sid: string, callback?: ((err?: any) => void) | undefined) => void;
all: (callback: (err: any, obj?: {
[sid: string]: Express.SessionData;
} | null | undefined) => void) => void;
clear: (callback?: ((err?: any) => void) | undefined) => void;
length: (callback: (err: any, length?: number | null | undefined) => void) => void;
static config: Config;
}