-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add notifications and sounds to schema (#1064)
* Add notifications and sounds to schema Add the ability to specific app notifications and sounds in the schema. Here is an example: ```starlark def get_schema(): return schema.Schema( version = "1", notifications = [ schema.Notification( id = "notificationid", name = "Notification", desc = "A Notification", icon = "notification", sounds = [ schema.Sound( title = "Ding!", file = ding_mp3, ), ], ), ], ) ``` This change makes the `Schema` and `SchemaJSON` fields of `Applet` public, so that embedders can inspect the schema and access the sound files that are referenced by `schema.Sound`. * Add Bazel build files to gitignore Bazel files are generated as part of Tidbyt's internal development process but are not used for the open source build.
- Loading branch information
1 parent
0d1fdc4
commit e09293d
Showing
14 changed files
with
549 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,6 @@ dist/ | |
# Dependency directories | ||
node_modules | ||
src/go | ||
|
||
# build files from monorepo | ||
BUILD.bazel |
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
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
Oops, something went wrong.