1
1
mirror of https://github.com/urbit/shrub.git synced 2024-12-25 13:04:17 +03:00
shrub/pkg/arvo/sur/hark-graph-hook.hoon

32 lines
516 B
Plaintext

/- *resource, graph-store, post
^?
|%
::
+$ mode ?(%each %count %none)
::
+$ watch-for ?(%siblings %children %none)
::
+$ index-len
[parent=@ud self=@ud]
::
+$ notif-kind
[name=@t =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=_&
==
==
--