createCheckpoint(
args
: {lix
:Lix
; }):Promise
<LixSelectable
<EntityStateView
<{author_account_ids?
:null
|string
[];change_ids?
:null
|string
[];change_set_id
:string
;id
:string
;meta_change_ids?
:null
|string
[];parent_commit_ids?
:null
|string
[]; }>>>
Converts the current working change set into a checkpoint.
The working change set becomes immutable and receives the
checkpoint
label. A fresh empty working change set is created so
that new changes can continue to accumulate. Cache tables are
updated and a state_commit
hook fires for observers.
Parameter | Type | Description |
---|---|---|
args | { lix : Lix ; } | - |
args.lix | Lix | Active Lix instance executing the operation. |
Promise
<LixSelectable
<EntityStateView
<{ author_account_ids?
: null
| string
[]; change_ids?
: null
| string
[]; change_set_id
: string
; id
: string
; meta_change_ids?
: null
| string
[]; parent_commit_ids?
: null
| string
[]; }>>>