chore(deps): update tauri monorepo (v2) (#1512)

* fix(deps): update tauri monorepo

* Create tauri-beta-23.md

* fix clippy - regen permissions

* revert accidental cargo.toml change

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
renovate[bot]
2024-07-02 11:23:48 +02:00
committed by GitHub
parent 955ed6aec6
commit 76daee7aaf
91 changed files with 7593 additions and 952 deletions
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-beta.13"
"@tauri-apps/api": "2.0.0-beta.14"
}
}
+230 -20
View File
@@ -1,22 +1,6 @@
| Permission | Description |
|------|-----|
|`allow-arch`|Enables the arch command without any pre-configured scope.|
|`deny-arch`|Denies the arch command without any pre-configured scope.|
|`allow-exe-extension`|Enables the exe_extension command without any pre-configured scope.|
|`deny-exe-extension`|Denies the exe_extension command without any pre-configured scope.|
|`allow-family`|Enables the family command without any pre-configured scope.|
|`deny-family`|Denies the family command without any pre-configured scope.|
|`allow-hostname`|Enables the hostname command without any pre-configured scope.|
|`deny-hostname`|Denies the hostname command without any pre-configured scope.|
|`allow-locale`|Enables the locale command without any pre-configured scope.|
|`deny-locale`|Denies the locale command without any pre-configured scope.|
|`allow-os-type`|Enables the os_type command without any pre-configured scope.|
|`deny-os-type`|Denies the os_type command without any pre-configured scope.|
|`allow-platform`|Enables the platform command without any pre-configured scope.|
|`deny-platform`|Denies the platform command without any pre-configured scope.|
|`allow-version`|Enables the version command without any pre-configured scope.|
|`deny-version`|Denies the version command without any pre-configured scope.|
|`default`|This permission set configures which
## Default Permission
This permission set configures which
operating system information are available
to gather from the frontend.
@@ -24,4 +8,230 @@ to gather from the frontend.
All information except the host name are available.
|
- `allow-arch`
- `allow-exe-extension`
- `allow-family`
- `allow-locale`
- `allow-os-type`
- `allow-platform`
- `allow-version`
### Permission Table
<table>
<tr>
<th>Identifier</th>
<th>Description</th>
</tr>
<tr>
<td>
`os:allow-arch`
</td>
<td>
Enables the arch command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:deny-arch`
</td>
<td>
Denies the arch command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:allow-exe-extension`
</td>
<td>
Enables the exe_extension command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:deny-exe-extension`
</td>
<td>
Denies the exe_extension command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:allow-family`
</td>
<td>
Enables the family command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:deny-family`
</td>
<td>
Denies the family command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:allow-hostname`
</td>
<td>
Enables the hostname command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:deny-hostname`
</td>
<td>
Denies the hostname command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:allow-locale`
</td>
<td>
Enables the locale command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:deny-locale`
</td>
<td>
Denies the locale command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:allow-os-type`
</td>
<td>
Enables the os_type command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:deny-os-type`
</td>
<td>
Denies the os_type command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:allow-platform`
</td>
<td>
Enables the platform command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:deny-platform`
</td>
<td>
Denies the platform command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:allow-version`
</td>
<td>
Enables the version command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`os:deny-version`
</td>
<td>
Denies the version command without any pre-configured scope.
</td>
</tr>
</table>
+4 -4
View File
@@ -49,7 +49,7 @@
"minimum": 1.0
},
"description": {
"description": "Human-readable description of what the permission does.",
"description": "Human-readable description of what the permission does. Tauri convention is to use <h4> headings in markdown content for Tauri documentation generation purposes.",
"type": [
"string",
"null"
@@ -111,7 +111,7 @@
"type": "string"
},
"description": {
"description": "Human-readable description of what the permission does.",
"description": "Human-readable description of what the permission does. Tauri internal convention is to use <h4> headings in markdown content for Tauri documentation generation purposes.",
"type": [
"string",
"null"
@@ -172,7 +172,7 @@
}
},
"Scopes": {
"description": "A restriction of the command/endpoint functionality.\n\nIt can be of any serde serializable type and is used for allowing or preventing certain actions inside a Tauri command.\n\nThe scope is passed to the command and handled/enforced by the command itself.",
"description": "An argument for fine grained behavior control of Tauri commands.\n\nIt can be of any serde serializable type and is used to allow or prevent certain actions inside a Tauri command. The configured scope is passed to the command and will be enforced by the command implementation.\n\n## Example\n\n```json { \"allow\": [{ \"path\": \"$HOME/**\" }], \"deny\": [{ \"path\": \"$HOME/secret.txt\" }] } ```",
"type": "object",
"properties": {
"allow": {
@@ -186,7 +186,7 @@
}
},
"deny": {
"description": "Data that defines what is denied by the scope.",
"description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
"type": [
"array",
"null"