Preparing search index...
The search index is not available
XYO Platform SDK - v3.6.9
XYO Platform SDK
@xyo-network/object
ValidatorBase
Class ValidatorBase<T>
Abstract
Type Parameters
T
extends
EmptyObject
=
AnyObject
Hierarchy (
View Summary
)
ObjectWrapper
<
Partial
<
T
>
>
ValidatorBase
PayloadValidator
PayloadValidator
PayloadValidator
PayloadValidator
PayloadValidator
PayloadValidator
Implements
Validator
<
T
>
Index
Constructors
constructor
Properties
obj
Accessors
string
Key
Obj
Methods
validate
Constructors
constructor
new
ValidatorBase
<
T
extends
object
=
AnyObject
>
(
obj
:
Partial
<
T
>
,
)
:
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
:
T
)
:
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
XYO Platform SDK - v3.6.9
Loading...