import { HookContext as FeathersHookContext, NextFunction } from '@feathersjs/feathers'; import { Application as FeathersApplication } from '@feathersjs/koa'; import { ApplicationConfiguration } from './config/configuration'; export type { NextFunction }; /** * The types for app.get(name) and app.set(name). * @extends ApplicationConfiguration */ export interface Configuration extends ApplicationConfiguration { } /** * A mapping of service names to types. Will be extended in service files. */ export interface ServiceTypes { } /** * The application instance type that will be used everywhere else. * @extends FeathersApplication */ export interface Application extends FeathersApplication { } /** * The context for hook functions, can be typed with a service class. * @template S - Type of the service. By default, it is set to `any`. * @extends FeathersHookContext */ export type HookContext = FeathersHookContext;