UNPKG
reservease.consumer
Version:
latest (1.2.0)
1.2.0
1.1.9
1.1.8
1.1.7
1.1.5
1.1.0
1.0.9
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
This package allows you to create an amqplib consumer and producer.
reservease.consumer
/
lib
/
JoiValidation.d.ts
8 lines
(7 loc)
•
255 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
InternalApiResponse
}
from
'./InternalApiResponse'
;
export
declare
class
JoiValidation
<T> {
private
readonly
Schema
;
constructor
(
schema
:
any
);
Validate
(
data
:
any
):
Promise
<
InternalApiResponse
<T>>;
private
FormatJoiError
; }