shrub/pkg/arvo/sur/contact-store.hoon

36 lines
612 B
Plaintext
Raw Normal View History

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