[sqlite] Implement C++ message store local ops
Summary:
Introduces code allowing native to use sqlite message store local ops
Depends on D12248
Test Plan:
Tested further in stack. Ran the following code:
let data = await commCoreModule.getClientDBStore(); await commCoreModule.processDBStoreOperations({ messageStoreOperations: [ { type: 'replace_local_message_info', payload: { id: '1', localMessageInfo: JSON.stringify({ sendFailed: "1", }), } }, { type: 'replace_local_message_info', payload: { id: '2', localMessageInfo: JSON.stringify({ sendFailed: "0", }), } }, { type: 'remove_local_message_infos', payload: { ids: ['1'], } }, ]});
And confirmed correct result
Reviewers: kamil, tomek, ginsu
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D12249