Preparing search index...
The search index is not available
XYO Platform SDK - v3.6.9
XYO Platform SDK
@xyo-network/sdk-utils
PayloadPlugin
Type Alias PayloadPlugin<TPayload>
PayloadPlugin
:
{
build
?:
()
=>
PayloadBuilder
<
TPayload
>
;
jsonSchema
?:
object
;
schema
:
TPayload
[
"schema"
]
;
template
?:
()
=>
Partial
<
TPayload
>
;
validate
?:
(
payload
:
Payload
)
=>
Validator
<
Payload
>
;
wrap
?:
(
payload
:
Payload
)
=>
PayloadWrapper
;
}
Type Parameters
TPayload
extends
Payload
=
Payload
Type declaration
Optional
build
?:
()
=>
PayloadBuilder
<
TPayload
>
Optional
jsonSchema
?:
object
schema
:
TPayload
[
"schema"
]
Optional
template
?:
()
=>
Partial
<
TPayload
>
Optional
validate
?:
(
payload
:
Payload
)
=>
Validator
<
Payload
>
Optional
wrap
?:
(
payload
:
Payload
)
=>
PayloadWrapper
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
XYO Platform SDK - v3.6.9
Loading...