Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/vtt
redis
FogBackendService
Interface FogBackendService
interface
FogBackendService
{
applyMeta
(
room
:
string
,
record
:
FogMetaRecord
,
)
:
Promise
<
FogApplyResult
<
FogMetaRecord
>
>
;
applyPatch
(
room
:
string
,
records
:
readonly
FogTileRecord
[]
,
)
:
Promise
<
FogPatchApplyResult
>
;
applyTile
(
room
:
string
,
record
:
FogTileRecord
,
)
:
Promise
<
FogApplyResult
<
FogTileRecord
>
>
;
snapshot
(
room
:
string
)
:
Promise
<
FogSnapshot
|
undefined
>
;
}
Index
Methods
apply
Meta
apply
Patch
apply
Tile
snapshot
Methods
apply
Meta
applyMeta
(
room
:
string
,
record
:
FogMetaRecord
,
)
:
Promise
<
FogApplyResult
<
FogMetaRecord
>
>
Parameters
room
:
string
record
:
FogMetaRecord
Returns
Promise
<
FogApplyResult
<
FogMetaRecord
>
>
apply
Patch
applyPatch
(
room
:
string
,
records
:
readonly
FogTileRecord
[]
,
)
:
Promise
<
FogPatchApplyResult
>
Parameters
room
:
string
records
:
readonly
FogTileRecord
[]
Returns
Promise
<
FogPatchApplyResult
>
apply
Tile
applyTile
(
room
:
string
,
record
:
FogTileRecord
,
)
:
Promise
<
FogApplyResult
<
FogTileRecord
>
>
Parameters
room
:
string
record
:
FogTileRecord
Returns
Promise
<
FogApplyResult
<
FogTileRecord
>
>
snapshot
snapshot
(
room
:
string
)
:
Promise
<
FogSnapshot
|
undefined
>
Parameters
room
:
string
Returns
Promise
<
FogSnapshot
|
undefined
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
apply
Meta
apply
Patch
apply
Tile
snapshot
Field Notes home
Docs
Playground
Field Notes
Loading...