Teleforge API Reference - v0.1.0
Preparing search index...
bff/src
ConfiguredBffRouter
Class ConfiguredBffRouter<TAppUser>
Type Parameters
TAppUser
extends
AppUser
=
AppUser
Index
Constructors
constructor
Methods
add
create
Handler
get
All
mount
Built
Ins
Constructors
constructor
new
ConfiguredBffRouter
<
TAppUser
extends
AppUser
=
AppUser
>
(
config
:
BffConfig
<
TAppUser
>
,
)
:
ConfiguredBffRouter
<
TAppUser
>
Type Parameters
TAppUser
extends
AppUser
=
AppUser
Parameters
config
:
BffConfig
<
TAppUser
>
Returns
ConfiguredBffRouter
<
TAppUser
>
Methods
add
add
<
TInput
,
TOutput
>
(
route
:
|
BffRouteConfig
<
TInput
,
TOutput
>
|
BffRouteDefinition
<
TInput
,
TOutput
>
,
)
:
BffRouteDefinition
<
TInput
,
TOutput
>
Type Parameters
TInput
TOutput
Parameters
route
:
BffRouteConfig
<
TInput
,
TOutput
>
|
BffRouteDefinition
<
TInput
,
TOutput
>
Returns
BffRouteDefinition
<
TInput
,
TOutput
>
create
Handler
createHandler
()
:
(
request
:
Request
)
=>
Promise
<
Response
>
Returns
(
request
:
Request
)
=>
Promise
<
Response
>
get
All
getAll
()
:
BffRouteDefinition
<
unknown
,
unknown
>
[]
Returns
BffRouteDefinition
<
unknown
,
unknown
>
[]
mount
Built
Ins
mountBuiltIns
()
:
void
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
create
Handler
get
All
mount
Built
Ins
Teleforge API Reference - v0.1.0
Loading...