RefreshReason
RefreshReason =
DebugRefreshReasonBase
| {_tag
:"commit"
;events
:ReadonlyArray
<AnyDecoded
|PartialAnyDecoded
>;writeTables
:ReadonlyArray
<string
>; } | {_tag
:"react"
;api
:string
;label?
:string
;stackInfo?
:StackInfo
; } | {_tag
:"subscribe.initial"
;label?
:string
; } | {_tag
:"subscribe.update"
;label?
:string
; } | {_tag
:"manual"
;label?
:string
; }
Defined in: packages/@livestore/livestore/src/store/store-types.ts:56
Type declaration
Section titled “Type declaration”DebugRefreshReasonBase
{ _tag
: "commit"
; events
: ReadonlyArray
<AnyDecoded
| PartialAnyDecoded
>; writeTables
: ReadonlyArray
<string
>; }
_tag:
"commit"
events
Section titled “events”events:
ReadonlyArray
<AnyDecoded
|PartialAnyDecoded
>
The events that were applied
writeTables
Section titled “writeTables”writeTables:
ReadonlyArray
<string
>
The tables that were written to by the event
{ _tag
: "react"
; api
: string
; label?
: string
; stackInfo?
: StackInfo
; }
_tag:
"react"
api:
string
label?
Section titled “label?”
optional
label:string
stackInfo?
Section titled “stackInfo?”
optional
stackInfo:StackInfo
{ _tag
: "subscribe.initial"
; label?
: string
; }
_tag:
"subscribe.initial"
label?
Section titled “label?”
optional
label:string
{ _tag
: "subscribe.update"
; label?
: string
; }
_tag:
"subscribe.update"
label?
Section titled “label?”
optional
label:string
{ _tag
: "manual"
; label?
: string
; }
_tag:
"manual"
label?
Section titled “label?”
optional
label:string