shrub/pkg/arvo/mar/publish/update.hoon

42 lines
693 B
Plaintext
Raw Normal View History

2019-07-12 01:07:05 +03:00
/- *publish
2019-06-21 23:24:33 +03:00
|_ upd=update
++ grab
|%
++ noun update
--
++ grow
|%
++ noun upd
++ json
=, enjs:format
%+ frond -.upd
::
?- -.upd
%invite
%- pairs
:~ [%who (ship who.upd)]
[%add b+add.upd]
[%coll s+col.upd]
[%title s+title.upd]
==
::
%unread
%- pairs
:~ [%add b+add.upd]
:+ %posts
%a
%+ turn ~(tap in keys.upd)
|= [who=@p coll=@tas post=@tas]
^- ^json
%- pairs
:~ [%who (ship who)]
[%coll s+coll]
[%post s+post]
==
==
2019-06-21 23:24:33 +03:00
::
==
::
--
--