UNPKG

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