-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update allowed actions in controller-utils and document example snap …
…params types
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 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 |
---|---|---|
@@ -1,7 +1,17 @@ | ||
/** | ||
* The parameters for calling the `scheduleNotification` JSON-RPC method. | ||
* | ||
* @property date - The ISO 8601 date of when the notification should be scheduled. | ||
*/ | ||
export type ScheduleNotificationParams = { | ||
date: string; | ||
}; | ||
|
||
/** | ||
* The parameters for calling the `cancelNotification` JSON-RPC method. | ||
* | ||
* @property id - The id of the notification event to cancel. | ||
*/ | ||
export type CancelNotificationParams = { | ||
id: string; | ||
}; |
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