HomePhabricator
Diffusion Comm 230d6c05f67e

[identity] Add function to get device list history

Description

[identity] Add function to get device list history

Summary:
Part of ENG-5049. Adds a function that queries all device list updates since given timestamp, or all updates ever if no timestamp is given.

Depends on D10246

Test Plan:
Added three updates with to DDB.

  • Without timestamp, all three are returned.
  • Given timestamp T, where U1 < T < U2 < U3, the function returned U2 and U3.
  • Empty list is returned if timestamp is after all updates.
  • Empty list is returned if the user has no device lists yet.

Reviewers: varun, michal

Reviewed By: varun

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Dec 8 2023, 3:26 AM
Reviewer
varun
Differential Revision
D10247: [identity] Add function to get device list history
Parents
rCOMMf2ed271ea09c: [identity] Add function to delete all user devices data
Branches
Unknown
Tags
Unknown