diff --git a/zomp/lib/otpr-zx/0.1.0/src/zx.erl b/zomp/lib/otpr-zx/0.1.0/src/zx.erl index c9b8423..f98d445 100644 --- a/zomp/lib/otpr-zx/0.1.0/src/zx.erl +++ b/zomp/lib/otpr-zx/0.1.0/src/zx.erl @@ -51,12 +51,16 @@ -type host() :: {string() | inet:ip_address(), inet:port_number()}. -type key_id() :: {realm(), key_name()}. -type key_name() :: lower0_9(). --type key_data() :: {key_id(), public | private, binary()}. +-type key_data() :: {ID :: key_id(), + Public :: binary() | none, + Private :: binary() | none}. -type user_id() :: {realm(), user_name()}. -type user_name() :: label(). +-type contact_info() :: {Type :: string(), Data :: string()}. -type user_data() :: {ID :: user_id(), RealName :: string(), - Email :: string()}. + Contact :: contact_info(), + KeyData :: [key_data()]}. -type lower0_9() :: [$a..$z | $0..$9 | $_]. -type label() :: [$a..$z | $0..$9 | $_ | $- | $.]. -type package_meta() :: #{package_id := package_id(),