Prometheus Entity Management API
Preparing search index...
@prometheus-ags/prometheus-entity-management
GraphTransaction
Interface GraphTransaction
interface
GraphTransaction
{
clearPatch
:
(
type
:
string
,
id
:
string
)
=>
GraphTransaction
;
commit
:
()
=>
void
;
insertIdInList
:
(
key
:
string
,
id
:
string
,
position
:
number
|
"end"
|
"start"
,
)
=>
GraphTransaction
;
markEntityPending
:
(
type
:
string
,
id
:
string
,
origin
?:
SyncOrigin
,
)
=>
GraphTransaction
;
markEntitySynced
:
(
type
:
string
,
id
:
string
,
origin
?:
SyncOrigin
,
)
=>
GraphTransaction
;
patchEntity
:
(
type
:
string
,
id
:
string
,
patch
:
Record
<
string
,
unknown
>
,
)
=>
GraphTransaction
;
removeEntity
:
(
type
:
string
,
id
:
string
)
=>
GraphTransaction
;
removeIdFromAllLists
:
(
type
:
string
,
id
:
string
)
=>
GraphTransaction
;
replaceEntity
:
(
type
:
string
,
id
:
string
,
data
:
Record
<
string
,
unknown
>
,
)
=>
GraphTransaction
;
rollback
:
()
=>
void
;
setEntitySyncMetadata
:
(
type
:
string
,
id
:
string
,
metadata
:
Partial
<
EntitySyncMetadata
>
,
)
=>
GraphTransaction
;
snapshot
:
()
=>
GraphDataSnapshot
;
upsertEntity
:
(
type
:
string
,
id
:
string
,
data
:
Record
<
string
,
unknown
>
,
)
=>
GraphTransaction
;
}
Index
Properties
clear
Patch
commit
insert
Id
In
List
mark
Entity
Pending
mark
Entity
Synced
patch
Entity
remove
Entity
remove
Id
From
All
Lists
replace
Entity
rollback
set
Entity
Sync
Metadata
snapshot
upsert
Entity
Properties
clear
Patch
clearPatch
:
(
type
:
string
,
id
:
string
)
=>
GraphTransaction
commit
commit
:
()
=>
void
insert
Id
In
List
insertIdInList
:
(
key
:
string
,
id
:
string
,
position
:
number
|
"end"
|
"start"
,
)
=>
GraphTransaction
mark
Entity
Pending
markEntityPending
:
(
type
:
string
,
id
:
string
,
origin
?:
SyncOrigin
,
)
=>
GraphTransaction
mark
Entity
Synced
markEntitySynced
:
(
type
:
string
,
id
:
string
,
origin
?:
SyncOrigin
,
)
=>
GraphTransaction
patch
Entity
patchEntity
:
(
type
:
string
,
id
:
string
,
patch
:
Record
<
string
,
unknown
>
,
)
=>
GraphTransaction
remove
Entity
removeEntity
:
(
type
:
string
,
id
:
string
)
=>
GraphTransaction
remove
Id
From
All
Lists
removeIdFromAllLists
:
(
type
:
string
,
id
:
string
)
=>
GraphTransaction
replace
Entity
replaceEntity
:
(
type
:
string
,
id
:
string
,
data
:
Record
<
string
,
unknown
>
,
)
=>
GraphTransaction
rollback
rollback
:
()
=>
void
set
Entity
Sync
Metadata
setEntitySyncMetadata
:
(
type
:
string
,
id
:
string
,
metadata
:
Partial
<
EntitySyncMetadata
>
,
)
=>
GraphTransaction
snapshot
snapshot
:
()
=>
GraphDataSnapshot
upsert
Entity
upsertEntity
:
(
type
:
string
,
id
:
string
,
data
:
Record
<
string
,
unknown
>
,
)
=>
GraphTransaction
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
clear
Patch
commit
insert
Id
In
List
mark
Entity
Pending
mark
Entity
Synced
patch
Entity
remove
Entity
remove
Id
From
All
Lists
replace
Entity
rollback
set
Entity
Sync
Metadata
snapshot
upsert
Entity
Prometheus Entity Management API
Loading...