@molroo-ai/sdk
Preparing search index...
MutateOp
Type Alias MutateOp
MutateOp
:
|
{
name
:
string
;
op
:
"add_entity"
;
profile
?:
UserProfile
;
spaceId
?:
string
;
type
:
EntityType
;
}
|
{
config
:
Record
<
string
,
unknown
>
;
name
:
string
;
op
:
"add_agent"
;
spaceId
?:
string
;
}
|
{
op
:
"remove_entity"
;
target
:
string
}
|
{
op
:
"move_entity"
;
target
:
string
;
toSpace
:
string
}
|
{
op
:
"set_emotion"
;
target
:
string
;
vad
:
Partial
<
VAD
>
}
|
{
entityA
:
string
;
entityB
:
string
;
op
:
"set_relationship"
;
relationship
:
RelationshipInput
;
}
|
{
capacity
?:
number
;
name
:
string
;
op
:
"add_space"
;
spaceType
?:
SpaceType
;
}
|
{
connection
:
SpaceConnection
;
op
:
"add_connection"
}
|
{
from
:
string
;
op
:
"remove_connection"
;
to
:
string
}
|
{
from
:
string
;
op
:
"update_connection"
;
to
:
string
;
updates
:
{
accessibility
?:
SpaceConnection
[
"accessibility"
]
}
;
}
|
{
environment
:
Partial
<
EnvironmentInput
>
;
op
:
"update_environment"
}
|
{
fact
:
Fact
;
op
:
"add_fact"
}
|
{
entities
:
string
[]
;
factId
:
string
;
op
:
"reveal_fact"
}
|
{
entities
:
string
[]
;
factId
:
string
;
op
:
"hide_fact"
}
|
{
op
:
"set_phase"
;
phase
:
string
}
|
{
op
:
"add_trigger"
;
trigger
:
ProgressionTrigger
}
Union of all supported mutation operations for
MolrooWorld.mutate
.
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@molroo-ai/sdk
Loading...
Union of all supported mutation operations for MolrooWorld.mutate.