mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 20:47:27 +03:00
b3901ab42f
git-subtree-dir: pkg/arvo git-subtree-mainline:9c8f40bf6c
git-subtree-split:c20e2a185f
22 lines
544 B
Plaintext
22 lines
544 B
Plaintext
/- hall
|
|
=, eyre
|
|
::
|
|
::
|
|
|%
|
|
+$ notification
|
|
$: token=@t
|
|
topic=@t
|
|
payload=(map @t json)
|
|
==
|
|
::
|
|
+$ action
|
|
$% [%token tok=@t] :: set device token
|
|
[%king kng=@p] :: set ship to route notifications through
|
|
[%baseurl bur=@t] :: set url to send notifications to
|
|
[%notify not=notification] :: send notification
|
|
[%add-circle nom=name:hall] :: send notifications for this circle
|
|
[%del-circle nom=name:hall] :: stop sending for this circle
|
|
==
|
|
::
|
|
--
|