Module

x/feathers/mod.ts>Feathers

The API and real-time application framework
Go to Latest
class Feathers
import { Feathers } from "https://dotland.deno.dev/x/feathers@v5.0.0-pre.28/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
import Feathers
import { Feathers } from "https://dotland.deno.dev/x/feathers@v5.0.0-pre.28/mod.ts";