* inbox: improve http response status codes
* inbox api: respond with 401 unauthorized for invalid inbox api key
* notesnook api (get public encryption key): respond with 404 if not found
* Update Notesnook.Inbox.API/src/index.ts
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
* inbox: use pgp encryption && other fixes
* fix inbox key last used at time
* remove inbox items if keys change or same item id syncs
* inbox:update inbox sync item
* rename item field to sync
* add alg field
* sync: delete inbox items after commit succeeds
* user: merge if conditions
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
* feat: set up public inbox api server
* feat: add zod validation for raw inbox item
* chore: update encrypted item type && raw inbox item schema
* feat: use symmetric & asymmetric combination for inbox encryption
* chore: improve error handling
* chore: update encrypted item type
* feat: add Dockerfile for Notesnook.Inbox.Api