* Migrate persistent notification services to support translations * Apply suggestions from code review Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"services": {
|
|
"create": {
|
|
"name": "Create",
|
|
"description": "Shows a notification on the **Notifications** panel.",
|
|
"fields": {
|
|
"message": {
|
|
"name": "Message",
|
|
"description": "Message body of the notification."
|
|
},
|
|
"title": {
|
|
"name": "Title",
|
|
"description": "Optional title of the notification."
|
|
},
|
|
"notification_id": {
|
|
"name": "Notification ID",
|
|
"description": "ID of the notification. This new notification will overwrite an existing notification with the same ID."
|
|
}
|
|
}
|
|
},
|
|
"dismiss": {
|
|
"name": "Dismiss",
|
|
"description": "Removes a notification from the **Notifications** panel.",
|
|
"fields": {
|
|
"notification_id": {
|
|
"name": "Notification ID",
|
|
"description": "ID of the notification to be removed."
|
|
}
|
|
}
|
|
},
|
|
"dismiss_all": {
|
|
"name": "Dismiss all",
|
|
"description": "Removes all notifications from the **Notifications** panel."
|
|
}
|
|
}
|
|
}
|