Backend-independent SQLite synchronization and LTX replication
import {
"mizchi/litestream@0.1.0",
}type LtxResultfn assess_apply(head : Int, base : Int, kind : Int, same_database : Bool, same_schema : Bool, matching_assertions : Bool, matching_effects : Bool) -> Stringfn encode_frame(kind : Int, base : Int, op_id : String, payload : Bytes) -> Bytesfn encode_ltx(base : Bytes, data : Bytes, min : String, max : String, timestamp : String) -> LtxResultfn encode_ltx_base64(base : String, data : String, min : String, max : String, timestamp : String) -> LtxResultfn note_policy(input : String) -> Stringfn revision_decision(head : Int, base : Int, kind : Int, duplicate : Bool) -> Stringfn sql_allowed(sql : String) -> Bool