Preparing search index...
The search index is not available
@xylabs/sdk-js
@xylabs/sdk-js
ValidatorBase
Class ValidatorBase<T>
Abstract
Type Parameters
T
extends
EmptyObject
=
AnyObject
Hierarchy (
view full
)
ObjectWrapper
<
Partial
<
T
>
>
ValidatorBase
Implements
Validator
<
T
>
Index
Constructors
constructor
Properties
obj
Accessors
string
Key
Obj
Methods
validate
Constructors
constructor
new
Validator
Base
<
T
>
(
obj
)
:
ValidatorBase
<
T
>
Type Parameters
T
extends
object
=
AnyObject
Parameters
obj
:
Partial
<
T
>
Returns
ValidatorBase
<
T
>
Properties
Readonly
obj
obj
:
Partial
<
T
>
Accessors
Protected
string
Key
Obj
get
stringKeyObj
(
)
:
StringKeyObject
Returns
StringKeyObject
Methods
Abstract
validate
validate
(
payload
)
:
Promisable
<
Error
[]
>
Parameters
payload
:
T
Returns
Promisable
<
Error
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
obj
Accessors
string
Key
Obj
Methods
validate
@xylabs/sdk-js
Loading...