diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/build.rs b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/build.rs
index a5a96422..c94c4af8 100644
--- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/build.rs
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/build.rs
@@ -19,6 +19,8 @@ const COMMANDS: &[&str] = &[
"set_screen_brightness",
"get_external_sdcard_path",
"request_manage_storage_permission",
+ "check_permissions",
+ "request_permissions",
"checkPermissions",
"requestPermissions",
];
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/check-permissions.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/check-permissions.toml
new file mode 100644
index 00000000..5fcc19b3
--- /dev/null
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/check-permissions.toml
@@ -0,0 +1,13 @@
+# Automatically generated - DO NOT EDIT!
+
+"$schema" = "../../schemas/schema.json"
+
+[[permission]]
+identifier = "allow-check-permissions"
+description = "Enables the check-permissions command without any pre-configured scope."
+commands.allow = ["check-permissions"]
+
+[[permission]]
+identifier = "deny-check-permissions"
+description = "Denies the check-permissions command without any pre-configured scope."
+commands.deny = ["check-permissions"]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/check_permissions.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/check_permissions.toml
new file mode 100644
index 00000000..f5af08b1
--- /dev/null
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/check_permissions.toml
@@ -0,0 +1,13 @@
+# Automatically generated - DO NOT EDIT!
+
+"$schema" = "../../schemas/schema.json"
+
+[[permission]]
+identifier = "allow-check-permissions"
+description = "Enables the check_permissions command without any pre-configured scope."
+commands.allow = ["check_permissions"]
+
+[[permission]]
+identifier = "deny-check-permissions"
+description = "Denies the check_permissions command without any pre-configured scope."
+commands.deny = ["check_permissions"]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/request-permissions.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/request-permissions.toml
new file mode 100644
index 00000000..03991cb9
--- /dev/null
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/request-permissions.toml
@@ -0,0 +1,13 @@
+# Automatically generated - DO NOT EDIT!
+
+"$schema" = "../../schemas/schema.json"
+
+[[permission]]
+identifier = "allow-request-permissions"
+description = "Enables the request-permissions command without any pre-configured scope."
+commands.allow = ["request-permissions"]
+
+[[permission]]
+identifier = "deny-request-permissions"
+description = "Denies the request-permissions command without any pre-configured scope."
+commands.deny = ["request-permissions"]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/request_permissions.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/request_permissions.toml
new file mode 100644
index 00000000..02dcd627
--- /dev/null
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/commands/request_permissions.toml
@@ -0,0 +1,13 @@
+# Automatically generated - DO NOT EDIT!
+
+"$schema" = "../../schemas/schema.json"
+
+[[permission]]
+identifier = "allow-request-permissions"
+description = "Enables the request_permissions command without any pre-configured scope."
+commands.allow = ["request_permissions"]
+
+[[permission]]
+identifier = "deny-request-permissions"
+description = "Denies the request_permissions command without any pre-configured scope."
+commands.deny = ["request_permissions"]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/reference.md b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/reference.md
index 8dd4d21d..3ba40b26 100644
--- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/reference.md
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/reference.md
@@ -24,6 +24,8 @@ Default permissions for the plugin
- `allow-set-screen-brightness`
- `allow-get-external-sdcard-path`
- `allow-request-manage-storage-permission`
+- `allow-check-permissions`
+- `allow-request-permissions`
- `allow-checkPermissions`
- `allow-requestPermissions`
@@ -91,6 +93,32 @@ Denies the auth_with_safari command without any pre-configured scope.
|
+`native-bridge:allow-check-permissions`
+
+ |
+
+
+Enables the check-permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
+`native-bridge:deny-check-permissions`
+
+ |
+
+
+Denies the check-permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
`native-bridge:allow-checkPermissions`
|
@@ -117,6 +145,32 @@ Denies the checkPermissions command without any pre-configured scope.
|
+`native-bridge:allow-check-permissions`
+
+ |
+
+
+Enables the check_permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
+`native-bridge:deny-check-permissions`
+
+ |
+
+
+Denies the check_permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
`native-bridge:allow-copy-uri-to-path`
|
@@ -481,6 +535,32 @@ Denies the lock_screen_orientation command without any pre-configured scope.
|
+`native-bridge:allow-request-permissions`
+
+ |
+
+
+Enables the request-permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
+`native-bridge:deny-request-permissions`
+
+ |
+
+
+Denies the request-permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
`native-bridge:allow-requestPermissions`
|
@@ -533,6 +613,32 @@ Denies the request_manage_storage_permission command without any pre-configured
|
+`native-bridge:allow-request-permissions`
+
+ |
+
+
+Enables the request_permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
+`native-bridge:deny-request-permissions`
+
+ |
+
+
+Denies the request_permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
`native-bridge:allow-set-screen-brightness`
|
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/default.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/default.toml
index a85dd5d3..1d308b03 100644
--- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/default.toml
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/default.toml
@@ -21,6 +21,8 @@ permissions = [
"allow-set-screen-brightness",
"allow-get-external-sdcard-path",
"allow-request-manage-storage-permission",
+ "allow-check-permissions",
+ "allow-request-permissions",
"allow-checkPermissions",
"allow-requestPermissions",
]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/schemas/schema.json b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/schemas/schema.json
index 5fbc0e6f..fd6b27ab 100644
--- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/schemas/schema.json
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/schemas/schema.json
@@ -318,6 +318,18 @@
"const": "deny-auth-with-safari",
"markdownDescription": "Denies the auth_with_safari command without any pre-configured scope."
},
+ {
+ "description": "Enables the check-permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "allow-check-permissions",
+ "markdownDescription": "Enables the check-permissions command without any pre-configured scope."
+ },
+ {
+ "description": "Denies the check-permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "deny-check-permissions",
+ "markdownDescription": "Denies the check-permissions command without any pre-configured scope."
+ },
{
"description": "Enables the checkPermissions command without any pre-configured scope.",
"type": "string",
@@ -330,6 +342,18 @@
"const": "deny-checkPermissions",
"markdownDescription": "Denies the checkPermissions command without any pre-configured scope."
},
+ {
+ "description": "Enables the check_permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "allow-check-permissions",
+ "markdownDescription": "Enables the check_permissions command without any pre-configured scope."
+ },
+ {
+ "description": "Denies the check_permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "deny-check-permissions",
+ "markdownDescription": "Denies the check_permissions command without any pre-configured scope."
+ },
{
"description": "Enables the copy_uri_to_path command without any pre-configured scope.",
"type": "string",
@@ -498,6 +522,18 @@
"const": "deny-lock-screen-orientation",
"markdownDescription": "Denies the lock_screen_orientation command without any pre-configured scope."
},
+ {
+ "description": "Enables the request-permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "allow-request-permissions",
+ "markdownDescription": "Enables the request-permissions command without any pre-configured scope."
+ },
+ {
+ "description": "Denies the request-permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "deny-request-permissions",
+ "markdownDescription": "Denies the request-permissions command without any pre-configured scope."
+ },
{
"description": "Enables the requestPermissions command without any pre-configured scope.",
"type": "string",
@@ -522,6 +558,18 @@
"const": "deny-request-manage-storage-permission",
"markdownDescription": "Denies the request_manage_storage_permission command without any pre-configured scope."
},
+ {
+ "description": "Enables the request_permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "allow-request-permissions",
+ "markdownDescription": "Enables the request_permissions command without any pre-configured scope."
+ },
+ {
+ "description": "Denies the request_permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "deny-request-permissions",
+ "markdownDescription": "Denies the request_permissions command without any pre-configured scope."
+ },
{
"description": "Enables the set_screen_brightness command without any pre-configured scope.",
"type": "string",
@@ -559,10 +607,10 @@
"markdownDescription": "Denies the use_background_audio command without any pre-configured scope."
},
{
- "description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-auth-with-safari`\n- `allow-auth-with-custom-tab`\n- `allow-copy-uri-to-path`\n- `allow-use-background-audio`\n- `allow-install-package`\n- `allow-set-system-ui-visibility`\n- `allow-get-status-bar-height`\n- `allow-get-sys-fonts-list`\n- `allow-intercept-keys`\n- `allow-lock-screen-orientation`\n- `allow-iap-initialize`\n- `allow-iap-fetch-products`\n- `allow-iap-purchase-product`\n- `allow-iap-restore-purchases`\n- `allow-get-system-color-scheme`\n- `allow-get-safe-area-insets`\n- `allow-get-screen-brightness`\n- `allow-set-screen-brightness`\n- `allow-get-external-sdcard-path`\n- `allow-request-manage-storage-permission`\n- `allow-checkPermissions`\n- `allow-requestPermissions`",
+ "description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-auth-with-safari`\n- `allow-auth-with-custom-tab`\n- `allow-copy-uri-to-path`\n- `allow-use-background-audio`\n- `allow-install-package`\n- `allow-set-system-ui-visibility`\n- `allow-get-status-bar-height`\n- `allow-get-sys-fonts-list`\n- `allow-intercept-keys`\n- `allow-lock-screen-orientation`\n- `allow-iap-initialize`\n- `allow-iap-fetch-products`\n- `allow-iap-purchase-product`\n- `allow-iap-restore-purchases`\n- `allow-get-system-color-scheme`\n- `allow-get-safe-area-insets`\n- `allow-get-screen-brightness`\n- `allow-set-screen-brightness`\n- `allow-get-external-sdcard-path`\n- `allow-request-manage-storage-permission`\n- `allow-check-permissions`\n- `allow-request-permissions`\n- `allow-checkPermissions`\n- `allow-requestPermissions`",
"type": "string",
"const": "default",
- "markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-auth-with-safari`\n- `allow-auth-with-custom-tab`\n- `allow-copy-uri-to-path`\n- `allow-use-background-audio`\n- `allow-install-package`\n- `allow-set-system-ui-visibility`\n- `allow-get-status-bar-height`\n- `allow-get-sys-fonts-list`\n- `allow-intercept-keys`\n- `allow-lock-screen-orientation`\n- `allow-iap-initialize`\n- `allow-iap-fetch-products`\n- `allow-iap-purchase-product`\n- `allow-iap-restore-purchases`\n- `allow-get-system-color-scheme`\n- `allow-get-safe-area-insets`\n- `allow-get-screen-brightness`\n- `allow-set-screen-brightness`\n- `allow-get-external-sdcard-path`\n- `allow-request-manage-storage-permission`\n- `allow-checkPermissions`\n- `allow-requestPermissions`"
+ "markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-auth-with-safari`\n- `allow-auth-with-custom-tab`\n- `allow-copy-uri-to-path`\n- `allow-use-background-audio`\n- `allow-install-package`\n- `allow-set-system-ui-visibility`\n- `allow-get-status-bar-height`\n- `allow-get-sys-fonts-list`\n- `allow-intercept-keys`\n- `allow-lock-screen-orientation`\n- `allow-iap-initialize`\n- `allow-iap-fetch-products`\n- `allow-iap-purchase-product`\n- `allow-iap-restore-purchases`\n- `allow-get-system-color-scheme`\n- `allow-get-safe-area-insets`\n- `allow-get-screen-brightness`\n- `allow-set-screen-brightness`\n- `allow-get-external-sdcard-path`\n- `allow-request-manage-storage-permission`\n- `allow-check-permissions`\n- `allow-request-permissions`\n- `allow-checkPermissions`\n- `allow-requestPermissions`"
}
]
}
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/build.rs b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/build.rs
index 117a1bec..3a626f38 100644
--- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/build.rs
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/build.rs
@@ -11,10 +11,12 @@ const COMMANDS: &[&str] = &[
"set_media_session_active",
"update_media_session_state",
"update_media_session_metadata",
+ "register_listener",
+ "remove_listener",
+ "check_permissions",
+ "request_permissions",
"checkPermissions",
"requestPermissions",
- "registerListener",
- "remove_listener",
];
fn main() {
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/check_permissions.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/check_permissions.toml
new file mode 100644
index 00000000..f5af08b1
--- /dev/null
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/check_permissions.toml
@@ -0,0 +1,13 @@
+# Automatically generated - DO NOT EDIT!
+
+"$schema" = "../../schemas/schema.json"
+
+[[permission]]
+identifier = "allow-check-permissions"
+description = "Enables the check_permissions command without any pre-configured scope."
+commands.allow = ["check_permissions"]
+
+[[permission]]
+identifier = "deny-check-permissions"
+description = "Denies the check_permissions command without any pre-configured scope."
+commands.deny = ["check_permissions"]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/registerListener.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/registerListener.toml
deleted file mode 100644
index f035e956..00000000
--- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/registerListener.toml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Automatically generated - DO NOT EDIT!
-
-"$schema" = "../../schemas/schema.json"
-
-[[permission]]
-identifier = "allow-registerListener"
-description = "Enables the registerListener command without any pre-configured scope."
-commands.allow = ["registerListener"]
-
-[[permission]]
-identifier = "deny-registerListener"
-description = "Denies the registerListener command without any pre-configured scope."
-commands.deny = ["registerListener"]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/register_listener.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/register_listener.toml
new file mode 100644
index 00000000..48363c0d
--- /dev/null
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/register_listener.toml
@@ -0,0 +1,13 @@
+# Automatically generated - DO NOT EDIT!
+
+"$schema" = "../../schemas/schema.json"
+
+[[permission]]
+identifier = "allow-register-listener"
+description = "Enables the register_listener command without any pre-configured scope."
+commands.allow = ["register_listener"]
+
+[[permission]]
+identifier = "deny-register-listener"
+description = "Denies the register_listener command without any pre-configured scope."
+commands.deny = ["register_listener"]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/request_permissions.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/request_permissions.toml
new file mode 100644
index 00000000..02dcd627
--- /dev/null
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/commands/request_permissions.toml
@@ -0,0 +1,13 @@
+# Automatically generated - DO NOT EDIT!
+
+"$schema" = "../../schemas/schema.json"
+
+[[permission]]
+identifier = "allow-request-permissions"
+description = "Enables the request_permissions command without any pre-configured scope."
+commands.allow = ["request_permissions"]
+
+[[permission]]
+identifier = "deny-request-permissions"
+description = "Denies the request_permissions command without any pre-configured scope."
+commands.deny = ["request_permissions"]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/reference.md b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/reference.md
index 384323df..e5ba3b02 100644
--- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/reference.md
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/autogenerated/reference.md
@@ -16,10 +16,12 @@ Default permissions for the plugin
- `allow-set-media-session-active`
- `allow-update-media-session-state`
- `allow-update-media-session-metadata`
+- `allow-register-listener`
+- `allow-remove-listener`
+- `allow-check-permissions`
+- `allow-request-permissions`
- `allow-checkPermissions`
- `allow-requestPermissions`
-- `allow-registerListener`
-- `allow-remove-listener`
## Permission Table
@@ -59,6 +61,32 @@ Denies the checkPermissions command without any pre-configured scope.
|
+`native-tts:allow-check-permissions`
+
+ |
+
+
+Enables the check_permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
+`native-tts:deny-check-permissions`
+
+ |
+
+
+Denies the check_permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
`native-tts:allow-get-all-voices`
|
@@ -137,12 +165,12 @@ Denies the pause command without any pre-configured scope.
|
-`native-tts:allow-registerListener`
+`native-tts:allow-register-listener`
|
-Enables the registerListener command without any pre-configured scope.
+Enables the register_listener command without any pre-configured scope.
|
@@ -150,12 +178,12 @@ Enables the registerListener command without any pre-configured scope.
|
-`native-tts:deny-registerListener`
+`native-tts:deny-register-listener`
|
-Denies the registerListener command without any pre-configured scope.
+Denies the register_listener command without any pre-configured scope.
|
@@ -215,6 +243,32 @@ Denies the requestPermissions command without any pre-configured scope.
|
+`native-tts:allow-request-permissions`
+
+ |
+
+
+Enables the request_permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
+`native-tts:deny-request-permissions`
+
+ |
+
+
+Denies the request_permissions command without any pre-configured scope.
+
+ |
+
+
+
+|
+
`native-tts:allow-resume`
|
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/default.toml b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/default.toml
index 210dbb9f..e13270bd 100644
--- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/default.toml
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/default.toml
@@ -13,8 +13,10 @@ permissions = [
"allow-set-media-session-active",
"allow-update-media-session-state",
"allow-update-media-session-metadata",
+ "allow-register-listener",
+ "allow-remove-listener",
+ "allow-check-permissions",
+ "allow-request-permissions",
"allow-checkPermissions",
"allow-requestPermissions",
- "allow-registerListener",
- "allow-remove-listener",
]
diff --git a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/schemas/schema.json b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/schemas/schema.json
index d384d3ad..495ec557 100644
--- a/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/schemas/schema.json
+++ b/apps/readest-app/src-tauri/plugins/tauri-plugin-native-tts/permissions/schemas/schema.json
@@ -306,6 +306,18 @@
"const": "deny-checkPermissions",
"markdownDescription": "Denies the checkPermissions command without any pre-configured scope."
},
+ {
+ "description": "Enables the check_permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "allow-check-permissions",
+ "markdownDescription": "Enables the check_permissions command without any pre-configured scope."
+ },
+ {
+ "description": "Denies the check_permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "deny-check-permissions",
+ "markdownDescription": "Denies the check_permissions command without any pre-configured scope."
+ },
{
"description": "Enables the get_all_voices command without any pre-configured scope.",
"type": "string",
@@ -343,16 +355,16 @@
"markdownDescription": "Denies the pause command without any pre-configured scope."
},
{
- "description": "Enables the registerListener command without any pre-configured scope.",
+ "description": "Enables the register_listener command without any pre-configured scope.",
"type": "string",
- "const": "allow-registerListener",
- "markdownDescription": "Enables the registerListener command without any pre-configured scope."
+ "const": "allow-register-listener",
+ "markdownDescription": "Enables the register_listener command without any pre-configured scope."
},
{
- "description": "Denies the registerListener command without any pre-configured scope.",
+ "description": "Denies the register_listener command without any pre-configured scope.",
"type": "string",
- "const": "deny-registerListener",
- "markdownDescription": "Denies the registerListener command without any pre-configured scope."
+ "const": "deny-register-listener",
+ "markdownDescription": "Denies the register_listener command without any pre-configured scope."
},
{
"description": "Enables the remove_listener command without any pre-configured scope.",
@@ -378,6 +390,18 @@
"const": "deny-requestPermissions",
"markdownDescription": "Denies the requestPermissions command without any pre-configured scope."
},
+ {
+ "description": "Enables the request_permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "allow-request-permissions",
+ "markdownDescription": "Enables the request_permissions command without any pre-configured scope."
+ },
+ {
+ "description": "Denies the request_permissions command without any pre-configured scope.",
+ "type": "string",
+ "const": "deny-request-permissions",
+ "markdownDescription": "Denies the request_permissions command without any pre-configured scope."
+ },
{
"description": "Enables the resume command without any pre-configured scope.",
"type": "string",
@@ -487,10 +511,10 @@
"markdownDescription": "Denies the update_media_session_state command without any pre-configured scope."
},
{
- "description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-init`\n- `allow-speak`\n- `allow-stop`\n- `allow-pause`\n- `allow-resume`\n- `allow-set-rate`\n- `allow-set-pitch`\n- `allow-set-voice`\n- `allow-get-all-voices`\n- `allow-set-media-session-active`\n- `allow-update-media-session-state`\n- `allow-update-media-session-metadata`\n- `allow-checkPermissions`\n- `allow-requestPermissions`\n- `allow-registerListener`\n- `allow-remove-listener`",
+ "description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-init`\n- `allow-speak`\n- `allow-stop`\n- `allow-pause`\n- `allow-resume`\n- `allow-set-rate`\n- `allow-set-pitch`\n- `allow-set-voice`\n- `allow-get-all-voices`\n- `allow-set-media-session-active`\n- `allow-update-media-session-state`\n- `allow-update-media-session-metadata`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-check-permissions`\n- `allow-request-permissions`\n- `allow-checkPermissions`\n- `allow-requestPermissions`",
"type": "string",
"const": "default",
- "markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-init`\n- `allow-speak`\n- `allow-stop`\n- `allow-pause`\n- `allow-resume`\n- `allow-set-rate`\n- `allow-set-pitch`\n- `allow-set-voice`\n- `allow-get-all-voices`\n- `allow-set-media-session-active`\n- `allow-update-media-session-state`\n- `allow-update-media-session-metadata`\n- `allow-checkPermissions`\n- `allow-requestPermissions`\n- `allow-registerListener`\n- `allow-remove-listener`"
+ "markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-init`\n- `allow-speak`\n- `allow-stop`\n- `allow-pause`\n- `allow-resume`\n- `allow-set-rate`\n- `allow-set-pitch`\n- `allow-set-voice`\n- `allow-get-all-voices`\n- `allow-set-media-session-active`\n- `allow-update-media-session-state`\n- `allow-update-media-session-metadata`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-check-permissions`\n- `allow-request-permissions`\n- `allow-checkPermissions`\n- `allow-requestPermissions`"
}
]
}