fix: Fix comp with latest beta (#1018)

* fix: Fix comp with latest beta

* linux
This commit is contained in:
Fabian-Lars
2024-03-04 18:59:24 +01:00
committed by GitHub
parent 9586eabd5a
commit 8a5e05cd83
58 changed files with 2066 additions and 2129 deletions
@@ -1,30 +1,9 @@
# Permissions
## allow-is-permission-granted
Enables the is_permission_granted command without any pre-configured scope.
## deny-is-permission-granted
Denies the is_permission_granted command without any pre-configured scope.
## allow-notify
Enables the notify command without any pre-configured scope.
## deny-notify
Denies the notify command without any pre-configured scope.
## allow-request-permission
Enables the request_permission command without any pre-configured scope.
## deny-request-permission
Denies the request_permission command without any pre-configured scope.
## default
Allows requesting permission, checking permission state and sending notifications
| Permission | Description |
|------|-----|
|`allow-is-permission-granted`|Enables the is_permission_granted command without any pre-configured scope.|
|`deny-is-permission-granted`|Denies the is_permission_granted command without any pre-configured scope.|
|`allow-notify`|Enables the notify command without any pre-configured scope.|
|`deny-notify`|Denies the notify command without any pre-configured scope.|
|`allow-request-permission`|Enables the request_permission command without any pre-configured scope.|
|`deny-request-permission`|Denies the request_permission command without any pre-configured scope.|
|`default`|Allows requesting permission, checking permission state and sending notifications|
@@ -17,7 +17,6 @@
},
"set": {
"description": "A list of permissions sets defined",
"default": [],
"type": "array",
"items": {
"$ref": "#/definitions/PermissionSet"
@@ -132,12 +131,25 @@
},
"scope": {
"description": "Allowed or denied scoped when using this permission.",
"default": {},
"allOf": [
{
"$ref": "#/definitions/Scopes"
}
]
},
"platforms": {
"description": "Target platforms this permission applies. By default all platforms are affected by this permission.",
"default": [
"linux",
"macOS",
"windows",
"android",
"iOS"
],
"type": "array",
"items": {
"$ref": "#/definitions/Target"
}
}
}
},
@@ -243,6 +255,46 @@
}
]
},
"Target": {
"description": "Platform target.",
"oneOf": [
{
"description": "MacOS.",
"type": "string",
"enum": [
"macOS"
]
},
{
"description": "Windows.",
"type": "string",
"enum": [
"windows"
]
},
{
"description": "Linux.",
"type": "string",
"enum": [
"linux"
]
},
{
"description": "Android.",
"type": "string",
"enum": [
"android"
]
},
{
"description": "iOS.",
"type": "string",
"enum": [
"iOS"
]
}
]
},
"PermissionKind": {
"type": "string",
"oneOf": [