mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-01-14 19:22:03 +01:00
75 lines
1.7 KiB
JSON
75 lines
1.7 KiB
JSON
[
|
|
{
|
|
"namespace": "folderChange",
|
|
"functions": [
|
|
{
|
|
"name": "setCountType",
|
|
"type": "function",
|
|
"description": "Set the count type.",
|
|
"async": true,
|
|
"parameters": [
|
|
{
|
|
"type": "integer",
|
|
"name": "type",
|
|
"minimum": 0,
|
|
"maximum": 1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "setFilters",
|
|
"type": "function",
|
|
"description": "Set the account filters.",
|
|
"async": true,
|
|
"parameters": [
|
|
{
|
|
"name": "filters",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"unread": {
|
|
"type": "boolean"
|
|
},
|
|
"folder": {
|
|
"type": "object",
|
|
"properties": {
|
|
"accountName": {
|
|
"type": "string"
|
|
},
|
|
"accountId": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"name": "onUnreadMailChange",
|
|
"type": "function",
|
|
"description": "Fires when there is a change in the number of unread mails.",
|
|
"parameters": [
|
|
{
|
|
"name": "unread",
|
|
"type": "integer"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|