diff --git a/tauri-plugin-ios-shared-token/build.rs b/tauri-plugin-ios-shared-token/build.rs index c1b1a2a..e974283 100644 --- a/tauri-plugin-ios-shared-token/build.rs +++ b/tauri-plugin-ios-shared-token/build.rs @@ -1,4 +1,4 @@ -const COMMANDS: &[&str] = &["saveToken"]; +const COMMANDS: &[&str] = &["save_token"]; fn main() { tauri_plugin::Builder::new(COMMANDS) diff --git a/tauri-plugin-ios-shared-token/permissions/autogenerated/commands/save_token.toml b/tauri-plugin-ios-shared-token/permissions/autogenerated/commands/save_token.toml new file mode 100644 index 0000000..ee30278 --- /dev/null +++ b/tauri-plugin-ios-shared-token/permissions/autogenerated/commands/save_token.toml @@ -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"] diff --git a/tauri-plugin-ios-shared-token/permissions/autogenerated/reference.md b/tauri-plugin-ios-shared-token/permissions/autogenerated/reference.md index 7cf3c46..636c51d 100644 --- a/tauri-plugin-ios-shared-token/permissions/autogenerated/reference.md +++ b/tauri-plugin-ios-shared-token/permissions/autogenerated/reference.md @@ -38,6 +38,32 @@ Enables the saveToken command without any pre-configured scope. Denies the saveToken command without any pre-configured scope. + + + + + + +`ios-shared-token:allow-save-token` + + + + +Enables the save_token command without any pre-configured scope. + + + + + + + +`ios-shared-token:deny-save-token` + + + + +Denies the save_token command without any pre-configured scope. + diff --git a/tauri-plugin-ios-shared-token/permissions/schemas/schema.json b/tauri-plugin-ios-shared-token/permissions/schemas/schema.json index 5b71940..22f1fde 100644 --- a/tauri-plugin-ios-shared-token/permissions/schemas/schema.json +++ b/tauri-plugin-ios-shared-token/permissions/schemas/schema.json @@ -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",