mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
37 lines
611 B
Plaintext
37 lines
611 B
Plaintext
/- *resource, graph-store, post, store=hark-store
|
|
^?
|
|
|%
|
|
::
|
|
+$ mode ?(%each %count %none)
|
|
::
|
|
+$ watch-for ?(%siblings %children %none)
|
|
::
|
|
+$ index-len
|
|
[parent=@ud self=@ud]
|
|
::
|
|
+$ notif-kind
|
|
$: title=(list content:store)
|
|
body=(list content:store)
|
|
=index-len
|
|
=mode
|
|
=watch-for
|
|
==
|
|
::
|
|
+$ action
|
|
$%
|
|
[?(%listen %ignore) graph=resource =index:post]
|
|
[%set-mentions mentions=?]
|
|
[%set-watch-on-self watch-on-self=?]
|
|
==
|
|
::
|
|
+$ update
|
|
$%
|
|
action
|
|
$: %initial
|
|
watching=(set [resource index:post])
|
|
mentions=_&
|
|
watch-on-self=_&
|
|
==
|
|
==
|
|
--
|