shrub/pkg/arvo/sur/contact-store.hoon
2021-01-19 13:59:11 -06:00

36 lines
612 B
Plaintext

/- *resource
|%
+$ rolodex (map ship contact)
+$ contact
$: nickname=@t
email=@t
phone=@t
website=@t
color=@ux
avatar=(unit @t)
==
::
+$ edit-field
$% [%nickname nickname=@t]
[%email email=@t]
[%phone phone=@t]
[%website website=@t]
[%color color=@ux]
[%avatar avatar=(unit @t)]
==
::
+$ beings
$% [%ships ships=(set ship)]
[%group =resource]
==
::
+$ update
$% [%initial =rolodex]
[%add =ship =contact]
[%remove =ship]
[%edit =ship =edit-field]
[%allow =beings]
[%disallow =beings]
==
--