urbit/pkg/arvo/sur/contact-view.hoon

28 lines
843 B
Plaintext
Raw Normal View History

/- *contact-store, *group, *resource
2020-05-27 05:21:10 +03:00
::
|%
+$ contact-view-action
$% :: %create: create in both groups and contacts
::
2020-05-25 08:52:54 +03:00
[%create name=term =policy title=@t description=@t]
:: %join: join open group in both groups and contacts
::
[%join =resource]
2020-05-25 08:52:54 +03:00
:: %invite: invite to invite-only group and contacts
::
[%invite =resource =ship text=cord]
:: %remove: remove from both groups and contacts
::
[%remove =path =ship]
:: %delete: delete in both groups and contacts
::
[%delete =path]
:: %share: send %add contact-action to to recipient's contact-hook
::
[%share recipient=ship =path =ship =contact]
2020-05-27 05:21:10 +03:00
:: %groupify: create contacts object for a preexisting group
::
[%groupify =resource title=@t description=@t]
==
--