"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/types-common/src/Data/Id.hs" between
wire-server-2020-06-10.tar.gz and wire-server-2020-06-19.tar.gz

About: Wire (server) offers end-to-end encrypted messaging, file-sharing, video and voice calls, and guest rooms for external communication (back-end server).

Id.hs  (wire-server-2020-06-10):Id.hs  (wire-server-2020-06-19)
skipping to change at line 73 skipping to change at line 73
data S data S
data T data T
data STo data STo
data Mapped a data Mapped a
data Opaque a data Opaque a
data Remote a
type AssetId = Id A type AssetId = Id A
type InvitationId = Id I type InvitationId = Id I
-- | A local conversation ID -- | A local conversation ID
type ConvId = Id C type ConvId = Id C
-- | A UUID local to another backend, only meaningful together with its domain.
type RemoteConvId = Id (Remote C)
-- | A UUID local to this backend, for which we know a mapping to a -- | A UUID local to this backend, for which we know a mapping to a
-- remote qualified conversation ID exists. -- remote qualified conversation ID exists.
-- These IDs should never leak to other backends or their clients. -- These IDs should never leak to other backends or their clients.
type MappedConvId = Id (Mapped C) type MappedConvId = Id (Mapped C)
-- | A UUID local to this backend, which can either be a local or a mapped conve rsation ID. -- | A UUID local to this backend, which can either be a local or a mapped conve rsation ID.
-- Which one it is can be found out by checking whether there exists a correspon ding -- Which one it is can be found out by checking whether there exists a correspon ding
-- local conversation or mapping in the database. -- local conversation or mapping in the database.
-- This is how clients refer to conversations, they don't need to know about the mapping. -- This is how clients refer to conversations, they don't need to know about the mapping.
type OpaqueConvId = Id (Opaque C) type OpaqueConvId = Id (Opaque C)
-- | A local user ID -- | A local user ID
type UserId = Id U type UserId = Id U
-- | A UUID local to another backend, only meaningful together with its domain.
type RemoteUserId = Id (Remote U)
-- | A UUID local to this backend, for which we know a mapping to a -- | A UUID local to this backend, for which we know a mapping to a
-- remote qualified user ID exists. -- remote qualified user ID exists.
-- These IDs should never leak to other backends or their clients. -- These IDs should never leak to other backends or their clients.
type MappedUserId = Id (Mapped U) type MappedUserId = Id (Mapped U)
-- | A UUID local to this backend, which can either be a local or a mapped user ID. -- | A UUID local to this backend, which can either be a local or a mapped user ID.
-- Which one it is can be found out by checking whether there exists a correspon ding -- Which one it is can be found out by checking whether there exists a correspon ding
-- local user or mapping in the database. -- local user or mapping in the database.
-- This is how clients refer to users, they don't need to know about the mapping . -- This is how clients refer to users, they don't need to know about the mapping .
type OpaqueUserId = Id (Opaque U) type OpaqueUserId = Id (Opaque U)
 End of changes. 3 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)