This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac66d9a
commit cf0b409
Showing
4 changed files
with
101 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/- 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 | ||
== | ||
:: | ||
-- |