[web] Persist messageStore in db
Summary:
ENG-5307 : Start performing message store ops on worker
ENG-5806 : Start performing message store threads ops on worker
Part of ENG-3490 : Migrate stores to SQLite on web
Start persting messageStore on web, inside of sqlite db.
Depends on D11538
Test Plan:
- Open web app, check that the "migration" runs and:
- Ops with messageStore from keyserver are dispatched to the db
- Redux contains the data
- Reload the web app and check that:
- Keyserver doesn't send the message info
- Message info is loaded from db and dispatched in setInitialReduxState action
- Play around with the app check if there are any errors
Reviewers: kamil, marcin
Reviewed By: kamil
Subscribers: inka, ashoat, tomek
Differential Revision: https://phab.comm.dev/D11539