Teleforge API Reference - v0.1.0
Preparing search index...
bff/src
BffRouter
Interface BffRouter
interface
BffRouter
{
add
<
TInput
,
TOutput
>
(
route
:
|
BffRouteConfig
<
TInput
,
TOutput
>
|
BffRouteDefinition
<
TInput
,
TOutput
>
,
)
:
BffRouteDefinition
<
TInput
,
TOutput
>
;
createHandler
()
:
(
request
:
Request
)
=>
Promise
<
Response
>
;
getAll
()
:
BffRouteDefinition
<
unknown
,
unknown
>
[]
;
mountBuiltIns
()
:
void
;
}
Index
Methods
add
create
Handler
get
All
mount
Built
Ins
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
Methods
add
create
Handler
get
All
mount
Built
Ins
Teleforge API Reference - v0.1.0
Loading...