Preparing search index...
The search index is not available
mockttp
mockttp
PluggableAdmin
AdminPlugin
Interface AdminPlugin<StartParams, ClientResponse>
interface
AdminPlugin
<
StartParams
,
ClientResponse
>
{
buildResolvers
:
(
(
stream
:
Duplex
,
ruleParameters
:
{
[
key
:
string
]
:
any
;
}
)
=>
IResolvers
)
;
enableDebug
?:
(
(
)
=>
void
)
;
reset
?:
(
(
)
=>
MaybePromise
<
void
>
)
;
schema
:
string
|
DocumentNode
;
start
:
(
(
options
:
StartParams
)
=>
MaybePromise
<
ClientResponse
>
)
;
stop
:
(
(
)
=>
MaybePromise
<
void
>
)
;
}
Type Parameters
StartParams
ClientResponse
Implemented by
MockttpAdminPlugin
Index
Properties
build
Resolvers
enable
Debug?
reset?
schema
start
stop
Properties
build
Resolvers
build
Resolvers
:
(
(
stream
:
Duplex
,
ruleParameters
:
{
[
key
:
string
]
:
any
;
}
)
=>
IResolvers
)
Optional
enable
Debug
enable
Debug
?:
(
(
)
=>
void
)
Optional
reset
reset
?:
(
(
)
=>
MaybePromise
<
void
>
)
schema
schema
:
string
|
DocumentNode
start
start
:
(
(
options
:
StartParams
)
=>
MaybePromise
<
ClientResponse
>
)
stop
stop
:
(
(
)
=>
MaybePromise
<
void
>
)
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
build
Resolvers
enable
Debug
reset
schema
start
stop
mockttp
Loading...