UNPKG

@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

14 lines (13 loc) 581 B
import * as _express from 'express'; import * as _passportLocal from 'passport-local'; import * as Promise from 'bluebird'; export declare let login: (fn: (err: any, user: {} | undefined, req: _express.Request, res: _express.Response, next: _express.NextFunction) => void) => _express.RequestHandler; export declare let logout: _express.RequestHandler; export declare const checkPassword: _passportLocal.VerifyFunction; export declare const config: { models: { customServerCode: { setup: (app: _express.Application) => Promise<void>; }; }[]; };