Skip to main content
Module

x/feathers/mod.ts>Feathers

The API and real-time application framework
Go to Latest
class Feathers
Re-export
import { Feathers } from "https://deno.land/x/feathers@v5.0.0-pre.32/mod.ts";

Constructors

new
Feathers()

Type Parameters

ServiceTypes
AppSettings

Properties

private
legacyHooks: (this: any, allHooks: any) => any
_isSetup: boolean
services: ServiceTypes
settings: AppSettings
version: string

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])
use<L extends keyof ServiceTypes & string>(
path: L,
service: keyof any extends keyof ServiceTypes ? ServiceInterface<any> | Application : ServiceTypes[L],
options?: ServiceOptions,
): this