HomePhabricator
Diffusion Comm add674080815

[lib] Add conversions for draft store

Description

[lib] Add conversions for draft store

Summary:
https://linear.app/comm/issue/ENG-3995/create-functions-for-migrating-the-client-stores
This diff introduces functions for migrating the draft store, both in cases when it is persisted in redux and when it's stored in sqlite

Depends on D8355

Test Plan: Run yarn test, tested with the next diffs if they correctly migrated the draft stores

Reviewers: kamil, tomek

Reviewed By: kamil

Subscribers: ashoat

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

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Jun 27 2023, 1:16 PM
Reviewer
kamil
Differential Revision
D8382: [lib] Add conversions for draft store
Parents
rCOMMbc4f14cb5e95: [lib] Fix state check with new ID schema
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMadd674080815: [lib] Add conversions for draft store (authored by Michal Gniadek <michal.gniadek@swmansion.com>).Jul 13 2023, 2:16 AM