urbit/pkg/landscape/sur/notify.hoon
2021-11-30 11:31:46 -05:00

32 lines
621 B
Plaintext

/- hark=hark-store, resource, graph-store
|%
+$ provider-action
$% [%add service=term notify=@t binding=@t auth-token=@t =whitelist]
[%remove service=term]
[%client-join service=term address=@t]
[%client-leave service=term]
==
::
+$ client-action
$% [%connect-provider who=@p service=term address=@t]
[%remove-provider who=@p service=term]
==
::
+$ uid @uvH
::
+$ notification
[=bin:hark =body:hark]
::
+$ whitelist
$: public=?
kids=?
users=(set ship)
groups=(set resource:resource)
==
::
+$ action ?(%notify %dismiss)
::
+$ update
[=uid =action]
--