Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Callable

  • params are what you pass to connector for parameter substitution.

    const conn = createConnector(...)
    conn(param1, param2).read()
    

    Parameters

    • Rest ...params: any

    Returns CRUUDConnector

Index

Properties

apply

Apply a single middleware module to an existing connector.

To apply multiple middleware modules while building the connector, use the applyMiddleware function instead.

import accessToken from "./myMiddleware"

// base connector with no authentication
const baseConnector = createConnector(...)

// new connector with authentication
const authConnector = baseConnector.apply(accessToken)

Type declaration

create

delete

modify

read

replace