This commit is contained in:
2025-05-01 18:45:59 +01:00
parent a05a625516
commit 0a2d27c150
4 changed files with 52 additions and 1 deletions

View File

@ -1,4 +1,4 @@
const COMMANDS: &[&str] = &["saveToken"];
const COMMANDS: &[&str] = &["save_token"];
fn main() {
tauri_plugin::Builder::new(COMMANDS)

View File

@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-save-token"
description = "Enables the save_token command without any pre-configured scope."
commands.allow = ["save_token"]
[[permission]]
identifier = "deny-save-token"
description = "Denies the save_token command without any pre-configured scope."
commands.deny = ["save_token"]

View File

@ -38,6 +38,32 @@ Enables the saveToken command without any pre-configured scope.
Denies the saveToken command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`ios-shared-token:allow-save-token`
</td>
<td>
Enables the save_token command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`ios-shared-token:deny-save-token`
</td>
<td>
Denies the save_token command without any pre-configured scope.
</td>
</tr>
</table>

View File

@ -306,6 +306,18 @@
"const": "deny-saveToken",
"markdownDescription": "Denies the saveToken command without any pre-configured scope."
},
{
"description": "Enables the save_token command without any pre-configured scope.",
"type": "string",
"const": "allow-save-token",
"markdownDescription": "Enables the save_token command without any pre-configured scope."
},
{
"description": "Denies the save_token command without any pre-configured scope.",
"type": "string",
"const": "deny-save-token",
"markdownDescription": "Denies the save_token command without any pre-configured scope."
},
{
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-save-token`",
"type": "string",