HomePhabricator
Diffusion Comm 039bb3f714fa

[SQLite] add ThreadStore Emscripten bindings and converters

Description

[SQLite] add ThreadStore Emscripten bindings and converters

Summary:
Unfortunately this code needs to be written because od Emscripten limitations.

Good news is that only two stores needs it, Threads (this one, which is the biggest and most complicated) and Messages which are simple. This is a lot of code, but it's really easy, just converts null -> NullableString on JS and std::unique_ptr -> NullableString in C++.

Depends on D9951, D9902

Test Plan: Tests

Reviewers: tomek, michal

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D9952

Details

Provenance
kamilAuthored on Nov 21 2023, 7:06 AM
Reviewer
tomek
Differential Revision
D9952: [SQLite] add ThreadStore Emscripten bindings and converters
Parents
rCOMM9ed964923662: [web/lib] move reading and populating data to state gate
Branches
Unknown
Tags
Unknown