Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
None
Description
From the spec: https://jmap.io/spec-core.html#changes
When the state of the set of Foo records in an account changes on the server (whether due to creation, updates, or deletion), the state property of the Foo/get response will change.
We need to store all the changes made to mailbox objects in a table name EmailChangeRepository. First we will implement a memory version of it.
How
1. Define EmailChange model with these fields:
- accountId
- state
- created
- updated
- destroyed
- date
2. Implement APIs to interact with MemoryEmailChangeRepository (save, getFromState)
DoD
Write unit tests to show that MemoryEmailChangeRepository is functioning properly.