mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
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:
@@ -10,11 +10,11 @@
|
||||
"tauri": "tauri"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "2.0.0-beta.13",
|
||||
"@tauri-apps/api": "2.0.0-beta.14",
|
||||
"@tauri-apps/plugin-deep-link": "2.0.0-beta.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tauri-apps/cli": "2.0.0-beta.20",
|
||||
"@tauri-apps/cli": "2.0.0-beta.21",
|
||||
"internal-ip": "7.0.0",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.13"
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
"LICENSE"
|
||||
],
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "2.0.0-beta.13"
|
||||
"@tauri-apps/api": "2.0.0-beta.14"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,119 @@
|
||||
| Permission | Description |
|
||||
|------|-----|
|
||||
|`allow-get-current`|Enables the get_current command without any pre-configured scope.|
|
||||
|`deny-get-current`|Denies the get_current command without any pre-configured scope.|
|
||||
|`allow-is-registered`|Enables the is_registered command without any pre-configured scope.|
|
||||
|`deny-is-registered`|Denies the is_registered command without any pre-configured scope.|
|
||||
|`allow-register`|Enables the register command without any pre-configured scope.|
|
||||
|`deny-register`|Denies the register command without any pre-configured scope.|
|
||||
|`allow-unregister`|Enables the unregister command without any pre-configured scope.|
|
||||
|`deny-unregister`|Denies the unregister command without any pre-configured scope.|
|
||||
|`default`|Allows reading the opened deep link via the get_current command|
|
||||
## Default Permission
|
||||
|
||||
Allows reading the opened deep link via the get_current command
|
||||
|
||||
- `allow-get-current`
|
||||
|
||||
### Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Identifier</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`deep-link:allow-get-current`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the get_current command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`deep-link:deny-get-current`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the get_current command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`deep-link:allow-is-registered`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the is_registered command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`deep-link:deny-is-registered`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the is_registered command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`deep-link:allow-register`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the register command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`deep-link:deny-register`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the register command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`deep-link:allow-unregister`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the unregister command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`deep-link:deny-unregister`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the unregister command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -35,11 +35,13 @@ pub struct Config {
|
||||
pub mobile: Vec<AssociatedDomain>,
|
||||
/// Desktop requires urls starting with `<scheme>://`.
|
||||
/// These urls are also active in dev mode on Android.
|
||||
#[allow(unused)] // Used in tauri-bundler
|
||||
pub desktop: DesktopProtocol,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[serde(untagged)]
|
||||
#[allow(unused)] // Used in tauri-bundler
|
||||
pub enum DesktopProtocol {
|
||||
One(DeepLinkProtocol),
|
||||
List(Vec<DeepLinkProtocol>),
|
||||
|
||||
Reference in New Issue
Block a user