class Feathers
extends EventEmitter
import { Feathers } from "https://dotland.deno.dev/x/feathers@v5.0.0-pre.28/mod.ts";
Properties
appHooks: HookMap<Application<ServiceTypes, AppSettings>, any>
mixins: ServiceMixin<Application<ServiceTypes, AppSettings>>[]
services: ServiceTypes
settings: AppSettings
Methods
configure(callback: (this: this, app: this) => void)
defaultService(location: string): ServiceInterface<any>
get<L extends keyof AppSettings & string>(name: L): AppSettings[L]
hooks(hookMap: HookOptions<this, any>)
service<L extends keyof ServiceTypes & string>(location: L): FeathersService<this, keyof any extends keyof ServiceTypes ? Service<any> : ServiceTypes[L]>
set<L extends keyof AppSettings & string>(name: L, value: AppSettings[L])
setup()
use<L extends keyof ServiceTypes & string>(): this
path: L,
service: keyof any extends keyof ServiceTypes ? ServiceInterface<any> | Application : ServiceTypes[L],
options?: ServiceOptions,