[web] start persisting updatesCurrentAsOf
Summary:
Some context is here: ENG-5316.
We want to use the proper timestamp to allow the app to receive updates for data that will be stored in SQLite and longer received on initial load using getInitialReduxStateResponder.
This is a breaking change that could cause some issues, so launching this only for staff for now, putting this function in lib because later in the stack it is used also on a keyserver.
Test Plan:
- For non-staff users make sure updatesCurrentAsOf is updated on each reload
- For staff users, make sure it's persisted and updated after receiving an update
- Check if the policies mechanism still works (it was connected, we used this to fetch all data after acknowledgment).
Reviewers: tomek, michal, inka
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D9948