[sqlite/native] Make C++ thread activity sqlite ops available to native
Summary: This makes the thread activity sqlite operations available on native
Test Plan:
Ran the following code:
await commCoreModule.processThreadActivityStoreOperations([ { type: 'replace_thread_activity_entry', payload: { id: 'test_A_id', threadActivityStoreEntry: JSON.stringify({ lastNavigatedTo: 1, lastPruned: 2, }), }, }, { type: 'remove_all_thread_activity_entries', }, { type: 'replace_thread_activity_entry', payload: { id: 'test_B_id', threadActivityStoreEntry: JSON.stringify({ lastNavigatedTo: 3, lastPruned: 4, }), }, }, { type: 'replace_thread_activity_entry', payload: { id: 'test_C_id', threadActivityStoreEntry: JSON.stringify({ lastNavigatedTo: 5, lastPruned: 6, }), }, }, { type: 'remove_thread_activity_entries', payload: { ids: ['test_B_id'], }, }, ]); }
And received the correct data in the native sqlite table
Depends on D11581
Reviewers: kamil, atul, ginsu
Reviewed By: kamil
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D11584