Introduces code allowing native to use sqlite aux user store ops
Depends on D11508
Differential D11509
[sqlite] implement C++ aux user store ops Authored by will on Apr 1 2024, 5:39 AM.
Details
Introduces code allowing native to use sqlite aux user store ops Depends on D11508 Ran the following code and confirmed matching expected results: await commCoreModule.processAuxUserStoreOperations([
{
type: 'replace_aux_user_info',
payload: {
id: 'test_aux_user_A',
auxUserInfo: JSON.stringify({ fid: 'test_fid_of_user_A' }),
},
},
{
type: 'remove_all_aux_user_infos',
},
{
type: 'replace_aux_user_info',
payload: {
id: 'test_aux_user_B',
auxUserInfo: JSON.stringify({ fid: 'test_fid_of_user_B' }),
},
},
{
type: 'replace_aux_user_info',
payload: {
id: 'test_aux_user_C',
auxUserInfo: JSON.stringify({ fid: 'test_fid_of_user_C' }),
},
},
{
type: 'remove_aux_user_infos',
payload: {
ids: ['test_aux_user_C'],
},
},
]);
Diff Detail
Event TimelineComment Actions Did not read through createOperations super carefully, so please double check that everything seems correct there. |