1 | import { Express } from 'express';
|
2 | import { Application as FeathersApplication } from '@feathersjs/feathers';
|
3 | import cors from 'cors';
|
4 | import compression from 'compression';
|
5 | import { rest, RestOptions, formatter } from './rest';
|
6 | import { errorHandler, notFound, ErrorHandlerOptions } from './handlers';
|
7 | import { Application, ExpressOverrides } from './declarations';
|
8 | import { AuthenticationSettings, authenticate, parseAuthentication } from './authentication';
|
9 | import { default as original, static as serveStatic, json, raw, text, urlencoded, query, Router } from 'express';
|
10 | export { original, serveStatic, serveStatic as static, json, raw, text, urlencoded, query, rest, Router, RestOptions, formatter, errorHandler, notFound, Application, ErrorHandlerOptions, ExpressOverrides, AuthenticationSettings, parseAuthentication, authenticate, cors, compression };
|
11 | export default function feathersExpress<S = any, C = any>(feathersApp?: FeathersApplication<S, C>, expressApp?: Express): Application<S, C>;
|