rest-vir - v1.0.0
Preparing search index...
EndpointImplementation
Type Alias EndpointImplementation<Context, SpecificEndpoint, ServiceName>
EndpointImplementation
:
IsEqual
<
Extract
<
SpecificEndpoint
,
NoParam
>
,
NoParam
>
extends
true
?
(
params
:
GenericEndpointImplementationParams
)
=>
any
:
(
params
:
Readonly
<
EndpointImplementationParams
<
NoInfer
<
Context
>
,
SpecificEndpoint
,
ServiceName
,
>
,
>
,
)
=>
MaybePromise
<
EndpointImplementationOutput
<
WithFinalEndpointProps
<
SpecificEndpoint
,
any
>
[
"ResponseType"
]
,
>
,
>
A full, type-safe endpoint implementation type.
Type Parameters
Context
=
any
SpecificEndpoint
extends
EndpointDefinition
|
NoParam
=
NoParam
ServiceName
extends
string
=
any
Package
@rest-vir/implement-service
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
rest-vir - v1.0.0
Loading...
A full, type-safe endpoint implementation type.