XYO Platform SDK - v3.10.6
Preparing search index...
@xyo-network/sdk-utils
PayloadPlugin
Type Alias PayloadPlugin<TPayload>
type
PayloadPlugin
<
TPayload
extends
Payload
=
AnyPayload
>
=
{
build
?:
()
=>
PayloadBuilder
<
TPayload
>
;
jsonSchema
?:
SomeJSONSchema
;
schema
:
TPayload
[
"schema"
]
;
template
?:
()
=>
Partial
<
TPayload
>
;
validate
?:
(
payload
:
Payload
)
=>
Validator
<
Payload
>
;
wrap
?:
(
payload
:
Payload
)
=>
PayloadWrapper
;
}
Type Parameters
TPayload
extends
Payload
=
AnyPayload
Index
Properties
build?
json
Schema?
schema
template?
validate?
wrap?
Properties
Optional
build
build
?:
()
=>
PayloadBuilder
<
TPayload
>
Optional
json
Schema
jsonSchema
?:
SomeJSONSchema
schema
schema
:
TPayload
[
"schema"
]
Optional
template
template
?:
()
=>
Partial
<
TPayload
>
Optional
validate
validate
?:
(
payload
:
Payload
)
=>
Validator
<
Payload
>
Optional
wrap
wrap
?:
(
payload
:
Payload
)
=>
PayloadWrapper
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
build
json
Schema
schema
template
validate
wrap
XYO Platform SDK - v3.10.6
Loading...