mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 09:51:36 +03:00
efc1873b77
* App for sending Apple Push Notifications * First pass at Hall subscription logic * Tiebout app works end to end, can receive actions via Eyre, and can resubscribe to circles * style changes for tiebout
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
|
|
==
|
|
::
|
|
--
|