XYO Platform SDK - v3.10.6
Preparing search index...
@xyo-network/modules
ConstructableModuleWrapper
Type Alias ConstructableModuleWrapper<TWrapper>
type
ConstructableModuleWrapper
<
TWrapper
extends
ModuleWrapper
>
=
{
defaultLogger
?:
Logger
;
instanceIdentityCheck
:
InstanceTypeCheck
;
moduleIdentityCheck
:
ModuleTypeCheck
;
requiredQueries
:
string
[]
;
canWrap
(
mod
:
|
undefined
|
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
)
:
boolean
;
is
<
TModuleWrapper
extends
ModuleWrapper
<
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
>
,
>
(
this
:
ConstructableModuleWrapper
<
TModuleWrapper
>
,
wrapper
?:
any
,
)
:
wrapper
is
TModuleWrapper
;
tryWrap
<
TModuleWrapper
extends
ModuleWrapper
<
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
>
,
>
(
this
:
ConstructableModuleWrapper
<
TModuleWrapper
>
,
mod
:
|
undefined
|
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
account
:
AccountInstance
,
checkIdentity
?:
boolean
,
)
:
undefined
|
TModuleWrapper
;
wrap
<
TModuleWrapper
extends
ModuleWrapper
<
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
>
,
>
(
this
:
ConstructableModuleWrapper
<
TModuleWrapper
>
,
mod
:
|
undefined
|
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
account
:
AccountInstance
,
checkIdentity
?:
boolean
,
)
:
TModuleWrapper
;
new
(
params
:
ModuleWrapperParams
<
TWrapper
[
"mod"
]
>
)
:
TWrapper
;
}
Type Parameters
TWrapper
extends
ModuleWrapper
new
ConstructableModuleWrapper
(
params
:
ModuleWrapperParams
<
TWrapper
[
"mod"
]
>
,
)
:
TWrapper
Parameters
params
:
ModuleWrapperParams
<
TWrapper
[
"mod"
]
>
Returns
TWrapper
Index
Properties
default
Logger?
instance
Identity
Check
module
Identity
Check
required
Queries
Methods
can
Wrap
is
try
Wrap
wrap
Properties
Optional
default
Logger
defaultLogger
?:
Logger
instance
Identity
Check
instanceIdentityCheck
:
InstanceTypeCheck
module
Identity
Check
moduleIdentityCheck
:
ModuleTypeCheck
required
Queries
requiredQueries
:
string
[]
Methods
can
Wrap
canWrap
(
mod
:
|
undefined
|
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
)
:
boolean
Parameters
mod
:
|
undefined
|
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
Returns
boolean
is
is
<
TModuleWrapper
extends
ModuleWrapper
<
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
>
,
>
(
this
:
ConstructableModuleWrapper
<
TModuleWrapper
>
,
wrapper
?:
any
,
)
:
wrapper
is
TModuleWrapper
Type Parameters
TModuleWrapper
extends
ModuleWrapper
<
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
>
Parameters
this
:
ConstructableModuleWrapper
<
TModuleWrapper
>
Optional
wrapper
:
any
Returns
wrapper
is
TModuleWrapper
try
Wrap
tryWrap
<
TModuleWrapper
extends
ModuleWrapper
<
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
>
,
>
(
this
:
ConstructableModuleWrapper
<
TModuleWrapper
>
,
mod
:
|
undefined
|
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
account
:
AccountInstance
,
checkIdentity
?:
boolean
,
)
:
undefined
|
TModuleWrapper
Type Parameters
TModuleWrapper
extends
ModuleWrapper
<
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
>
Parameters
this
:
ConstructableModuleWrapper
<
TModuleWrapper
>
mod
:
|
undefined
|
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
account
:
AccountInstance
Optional
checkIdentity
:
boolean
Returns
undefined
|
TModuleWrapper
wrap
wrap
<
TModuleWrapper
extends
ModuleWrapper
<
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
>
,
>
(
this
:
ConstructableModuleWrapper
<
TModuleWrapper
>
,
mod
:
|
undefined
|
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
account
:
AccountInstance
,
checkIdentity
?:
boolean
,
)
:
TModuleWrapper
Type Parameters
TModuleWrapper
extends
ModuleWrapper
<
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
,
>
Parameters
this
:
ConstructableModuleWrapper
<
TModuleWrapper
>
mod
:
|
undefined
|
Module
<
BaseParamsFields
&
{
account
?:
AccountInstance
|
"random"
;
additionalSigners
?:
AccountInstance
[]
;
addToResolvers
?:
boolean
;
allowNameResolution
?:
boolean
;
config
:
TConfig
extends
AnyConfigSchema
<
ModuleConfig
>
?
TConfig
:
AnyConfigSchema
<
ModuleConfig
>
;
ephemeralQueryAccountEnabled
?:
boolean
;
moduleIdentifierTransformers
?:
ModuleIdentifierTransformer
[]
;
privateChildren
?:
ModuleInstance
[]
;
publicChildren
?:
ModuleInstance
[]
;
}
,
ModuleEventData
<
object
>
,
>
account
:
AccountInstance
Optional
checkIdentity
:
boolean
Returns
TModuleWrapper
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
default
Logger
instance
Identity
Check
module
Identity
Check
required
Queries
Methods
can
Wrap
is
try
Wrap
wrap
XYO Platform SDK - v3.10.6
Loading...