chore(style): lint and format with biome

DreamingCodes committed Mar 22, 2025 at 20:02 UTC a4393b9e519d9425593a221c4e3f754ab46ba1d8
27 files changed +9509 -10408
biome.jsonc new
+30
@@ -0,0 +1,30 @@
1 +{
2 + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3 + "vcs": {
4 + "enabled": true,
5 + "clientKind": "git",
6 + "useIgnoreFile": true
7 + },
8 + "files": {
9 + "ignoreUnknown": false,
10 + "ignore": []
11 + },
12 + "formatter": {
13 + "enabled": true,
14 + "indentStyle": "tab"
15 + },
16 + "organizeImports": {
17 + "enabled": true
18 + },
19 + "linter": {
20 + "enabled": true,
21 + "rules": {
22 + "recommended": true
23 + }
24 + },
25 + "javascript": {
26 + "formatter": {
27 + "quoteStyle": "double"
28 + }
29 + }
30 +}
bun.lockb
Binary files a/bun.lockb and b/bun.lockb differ
examples/tauri-app/.vscode/extensions.json
+5 -5
@@ -1,7 +1,7 @@
1 {
2 - "recommendations": [
3 - "svelte.svelte-vscode",
4 - "tauri-apps.tauri-vscode",
5 - "rust-lang.rust-analyzer"
6 - ]
2 + "recommendations": [
3 + "svelte.svelte-vscode",
4 + "tauri-apps.tauri-vscode",
5 + "rust-lang.rust-analyzer"
6 + ]
7 }
examples/tauri-app/jsconfig.json
+32 -32
@@ -1,34 +1,34 @@
1 {
2 - "compilerOptions": {
3 - "moduleResolution": "Node",
4 - "target": "ESNext",
5 - "module": "ESNext",
6 - /**
7 - * svelte-preprocess cannot figure out whether you have
8 - * a value or a type, so tell TypeScript to enforce using
9 - * `import type` instead of `import` for Types.
10 - */
11 - "importsNotUsedAsValues": "error",
12 - "isolatedModules": true,
13 - "resolveJsonModule": true,
14 - /**
15 - * To have warnings / errors of the Svelte compiler at the
16 - * correct position, enable source maps by default.
17 - */
18 - "sourceMap": true,
19 - "esModuleInterop": true,
20 - "skipLibCheck": true,
21 - "forceConsistentCasingInFileNames": true,
22 - "baseUrl": ".",
23 - /**
24 - * Typecheck JS in `.svelte` and `.js` files by default.
25 - * Disable this if you'd like to use dynamic types.
26 - */
27 - "checkJs": true
28 - },
29 - /**
30 - * Use global.d.ts instead of compilerOptions.types
31 - * to avoid limiting type declarations.
32 - */
33 - "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
2 + "compilerOptions": {
3 + "moduleResolution": "Node",
4 + "target": "ESNext",
5 + "module": "ESNext",
6 + /**
7 + * svelte-preprocess cannot figure out whether you have
8 + * a value or a type, so tell TypeScript to enforce using
9 + * `import type` instead of `import` for Types.
10 + */
11 + "importsNotUsedAsValues": "error",
12 + "isolatedModules": true,
13 + "resolveJsonModule": true,
14 + /**
15 + * To have warnings / errors of the Svelte compiler at the
16 + * correct position, enable source maps by default.
17 + */
18 + "sourceMap": true,
19 + "esModuleInterop": true,
20 + "skipLibCheck": true,
21 + "forceConsistentCasingInFileNames": true,
22 + "baseUrl": ".",
23 + /**
24 + * Typecheck JS in `.svelte` and `.js` files by default.
25 + * Disable this if you'd like to use dynamic types.
26 + */
27 + "checkJs": true
28 + },
29 + /**
30 + * Use global.d.ts instead of compilerOptions.types
31 + * to avoid limiting type declarations.
32 + */
33 + "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
34 }
examples/tauri-app/package.json
+21 -21
@@ -1,23 +1,23 @@
1 {
2 - "name": "tauri-app",
3 - "private": true,
4 - "version": "0.0.0",
5 - "type": "module",
6 - "scripts": {
7 - "dev": "vite",
8 - "build": "vite build",
9 - "preview": "vite preview",
10 - "tauri": "tauri"
11 - },
12 - "dependencies": {
13 - "@tauri-apps/api": "^2.0.0-beta.15",
14 - "tauri-plugin-admob-api": "../../"
15 - },
16 - "devDependencies": {
17 - "@sveltejs/vite-plugin-svelte": "^1.4.0",
18 - "internal-ip": "^7.0.0",
19 - "svelte": "^3.59.2",
20 - "vite": "^3.2.10",
21 - "@tauri-apps/cli": "next"
22 - }
2 + "name": "tauri-app",
3 + "private": true,
4 + "version": "0.0.0",
5 + "type": "module",
6 + "scripts": {
7 + "dev": "vite",
8 + "build": "vite build",
9 + "preview": "vite preview",
10 + "tauri": "tauri"
11 + },
12 + "dependencies": {
13 + "@tauri-apps/api": "^2.0.0-beta.15",
14 + "tauri-plugin-admob-api": "../../"
15 + },
16 + "devDependencies": {
17 + "@sveltejs/vite-plugin-svelte": "^1.4.0",
18 + "internal-ip": "^7.0.0",
19 + "svelte": "^3.59.2",
20 + "vite": "^3.2.10",
21 + "@tauri-apps/cli": "next"
22 + }
23 }
examples/tauri-app/src-tauri/capabilities/default.json
+16 -16
@@ -1,18 +1,18 @@
1 {
2 - "$schema": "../gen/schemas/desktop-schema.json",
3 - "identifier": "default",
4 - "description": "enables the default permissions",
5 - "windows": ["main"],
6 - "permissions": [
7 - "path:default",
8 - "event:default",
9 - "window:default",
10 - "webview:default",
11 - "app:default",
12 - "resources:default",
13 - "image:default",
14 - "menu:default",
15 - "tray:default",
16 - "admob:default"
17 - ]
2 + "$schema": "../gen/schemas/desktop-schema.json",
3 + "identifier": "default",
4 + "description": "enables the default permissions",
5 + "windows": ["main"],
6 + "permissions": [
7 + "path:default",
8 + "event:default",
9 + "window:default",
10 + "webview:default",
11 + "app:default",
12 + "resources:default",
13 + "image:default",
14 + "menu:default",
15 + "tray:default",
16 + "admob:default"
17 + ]
18 }
examples/tauri-app/src-tauri/gen/schemas/acl-manifests.json
+1651 -1
@@ -1 +1,1651 @@
1 -{"admob":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin","permissions":["allow-adCreate","allow-adHide","allow-adIsLoaded","allow-adLoad","allow-adShow","allow-configRequest","allow-configure","allow-requestTrackingAuthorization","allow-trackingAuthorizationStatus"]},"permissions":{"allow-adCreate":{"identifier":"allow-adCreate","description":"Enables the adCreate command without any pre-configured scope.","commands":{"allow":["adCreate"],"deny":[]}},"allow-adHide":{"identifier":"allow-adHide","description":"Enables the adHide command without any pre-configured scope.","commands":{"allow":["adHide"],"deny":[]}},"allow-adIsLoaded":{"identifier":"allow-adIsLoaded","description":"Enables the adIsLoaded command without any pre-configured scope.","commands":{"allow":["adIsLoaded"],"deny":[]}},"allow-adLoad":{"identifier":"allow-adLoad","description":"Enables the adLoad command without any pre-configured scope.","commands":{"allow":["adLoad"],"deny":[]}},"allow-adShow":{"identifier":"allow-adShow","description":"Enables the adShow command without any pre-configured scope.","commands":{"allow":["adShow"],"deny":[]}},"allow-configRequest":{"identifier":"allow-configRequest","description":"Enables the configRequest command without any pre-configured scope.","commands":{"allow":["configRequest"],"deny":[]}},"allow-configure":{"identifier":"allow-configure","description":"Enables the configure command without any pre-configured scope.","commands":{"allow":["configure"],"deny":[]}},"allow-isPrivacyOptionsRequired":{"identifier":"allow-isPrivacyOptionsRequired","description":"Enables the isPrivacyOptionsRequired command without any pre-configured scope.","commands":{"allow":["isPrivacyOptionsRequired"],"deny":[]}},"allow-requestTrackingAuthorization":{"identifier":"allow-requestTrackingAuthorization","description":"Enables the requestTrackingAuthorization command without any pre-configured scope.","commands":{"allow":["requestTrackingAuthorization"],"deny":[]}},"allow-showPrivacyOptionsForm":{"identifier":"allow-showPrivacyOptionsForm","description":"Enables the showPrivacyOptionsForm command without any pre-configured scope.","commands":{"allow":["showPrivacyOptionsForm"],"deny":[]}},"allow-trackingAuthorizationStatus":{"identifier":"allow-trackingAuthorizationStatus","description":"Enables the trackingAuthorizationStatus command without any pre-configured scope.","commands":{"allow":["trackingAuthorizationStatus"],"deny":[]}},"deny-adCreate":{"identifier":"deny-adCreate","description":"Denies the adCreate command without any pre-configured scope.","commands":{"allow":[],"deny":["adCreate"]}},"deny-adHide":{"identifier":"deny-adHide","description":"Denies the adHide command without any pre-configured scope.","commands":{"allow":[],"deny":["adHide"]}},"deny-adIsLoaded":{"identifier":"deny-adIsLoaded","description":"Denies the adIsLoaded command without any pre-configured scope.","commands":{"allow":[],"deny":["adIsLoaded"]}},"deny-adLoad":{"identifier":"deny-adLoad","description":"Denies the adLoad command without any pre-configured scope.","commands":{"allow":[],"deny":["adLoad"]}},"deny-adShow":{"identifier":"deny-adShow","description":"Denies the adShow command without any pre-configured scope.","commands":{"allow":[],"deny":["adShow"]}},"deny-configRequest":{"identifier":"deny-configRequest","description":"Denies the configRequest command without any pre-configured scope.","commands":{"allow":[],"deny":["configRequest"]}},"deny-configure":{"identifier":"deny-configure","description":"Denies the configure command without any pre-configured scope.","commands":{"allow":[],"deny":["configure"]}},"deny-isPrivacyOptionsRequired":{"identifier":"deny-isPrivacyOptionsRequired","description":"Denies the isPrivacyOptionsRequired command without any pre-configured scope.","commands":{"allow":[],"deny":["isPrivacyOptionsRequired"]}},"deny-requestTrackingAuthorization":{"identifier":"deny-requestTrackingAuthorization","description":"Denies the requestTrackingAuthorization command without any pre-configured scope.","commands":{"allow":[],"deny":["requestTrackingAuthorization"]}},"deny-showPrivacyOptionsForm":{"identifier":"deny-showPrivacyOptionsForm","description":"Denies the showPrivacyOptionsForm command without any pre-configured scope.","commands":{"allow":[],"deny":["showPrivacyOptionsForm"]}},"deny-trackingAuthorizationStatus":{"identifier":"deny-trackingAuthorizationStatus","description":"Denies the trackingAuthorizationStatus command without any pre-configured scope.","commands":{"allow":[],"deny":["trackingAuthorizationStatus"]}}},"permission_sets":{},"global_scope_schema":null},"app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"devtools":{"default_permission":null,"permissions":{},"permission_sets":{},"global_scope_schema":null},"event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-show-menu-on-left-click"]},"permissions":{"allow-get-by-id":{"identifier":"allow-get-by-id","description":"Enables the get_by_id command without any pre-configured scope.","commands":{"allow":["get_by_id"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-remove-by-id":{"identifier":"allow-remove-by-id","description":"Enables the remove_by_id command without any pre-configured scope.","commands":{"allow":["remove_by_id"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-icon-as-template":{"identifier":"allow-set-icon-as-template","description":"Enables the set_icon_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_as_template"],"deny":[]}},"allow-set-menu":{"identifier":"allow-set-menu","description":"Enables the set_menu command without any pre-configured scope.","commands":{"allow":["set_menu"],"deny":[]}},"allow-set-show-menu-on-left-click":{"identifier":"allow-set-show-menu-on-left-click","description":"Enables the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":["set_show_menu_on_left_click"],"deny":[]}},"allow-set-temp-dir-path":{"identifier":"allow-set-temp-dir-path","description":"Enables the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":["set_temp_dir_path"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-tooltip":{"identifier":"allow-set-tooltip","description":"Enables the set_tooltip command without any pre-configured scope.","commands":{"allow":["set_tooltip"],"deny":[]}},"allow-set-visible":{"identifier":"allow-set-visible","description":"Enables the set_visible command without any pre-configured scope.","commands":{"allow":["set_visible"],"deny":[]}},"deny-get-by-id":{"identifier":"deny-get-by-id","description":"Denies the get_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["get_by_id"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-remove-by-id":{"identifier":"deny-remove-by-id","description":"Denies the remove_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_by_id"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-icon-as-template":{"identifier":"deny-set-icon-as-template","description":"Denies the set_icon_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-internal-toggle-maximize"]},"permissions":{"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null}}
\ No newline at end of file
1 +{
2 + "admob": {
3 + "default_permission": {
4 + "identifier": "default",
5 + "description": "Default permissions for the plugin",
6 + "permissions": [
7 + "allow-adCreate",
8 + "allow-adHide",
9 + "allow-adIsLoaded",
10 + "allow-adLoad",
11 + "allow-adShow",
12 + "allow-configRequest",
13 + "allow-configure",
14 + "allow-requestTrackingAuthorization",
15 + "allow-trackingAuthorizationStatus"
16 + ]
17 + },
18 + "permissions": {
19 + "allow-adCreate": {
20 + "identifier": "allow-adCreate",
21 + "description": "Enables the adCreate command without any pre-configured scope.",
22 + "commands": { "allow": ["adCreate"], "deny": [] }
23 + },
24 + "allow-adHide": {
25 + "identifier": "allow-adHide",
26 + "description": "Enables the adHide command without any pre-configured scope.",
27 + "commands": { "allow": ["adHide"], "deny": [] }
28 + },
29 + "allow-adIsLoaded": {
30 + "identifier": "allow-adIsLoaded",
31 + "description": "Enables the adIsLoaded command without any pre-configured scope.",
32 + "commands": { "allow": ["adIsLoaded"], "deny": [] }
33 + },
34 + "allow-adLoad": {
35 + "identifier": "allow-adLoad",
36 + "description": "Enables the adLoad command without any pre-configured scope.",
37 + "commands": { "allow": ["adLoad"], "deny": [] }
38 + },
39 + "allow-adShow": {
40 + "identifier": "allow-adShow",
41 + "description": "Enables the adShow command without any pre-configured scope.",
42 + "commands": { "allow": ["adShow"], "deny": [] }
43 + },
44 + "allow-configRequest": {
45 + "identifier": "allow-configRequest",
46 + "description": "Enables the configRequest command without any pre-configured scope.",
47 + "commands": { "allow": ["configRequest"], "deny": [] }
48 + },
49 + "allow-configure": {
50 + "identifier": "allow-configure",
51 + "description": "Enables the configure command without any pre-configured scope.",
52 + "commands": { "allow": ["configure"], "deny": [] }
53 + },
54 + "allow-isPrivacyOptionsRequired": {
55 + "identifier": "allow-isPrivacyOptionsRequired",
56 + "description": "Enables the isPrivacyOptionsRequired command without any pre-configured scope.",
57 + "commands": { "allow": ["isPrivacyOptionsRequired"], "deny": [] }
58 + },
59 + "allow-requestTrackingAuthorization": {
60 + "identifier": "allow-requestTrackingAuthorization",
61 + "description": "Enables the requestTrackingAuthorization command without any pre-configured scope.",
62 + "commands": { "allow": ["requestTrackingAuthorization"], "deny": [] }
63 + },
64 + "allow-showPrivacyOptionsForm": {
65 + "identifier": "allow-showPrivacyOptionsForm",
66 + "description": "Enables the showPrivacyOptionsForm command without any pre-configured scope.",
67 + "commands": { "allow": ["showPrivacyOptionsForm"], "deny": [] }
68 + },
69 + "allow-trackingAuthorizationStatus": {
70 + "identifier": "allow-trackingAuthorizationStatus",
71 + "description": "Enables the trackingAuthorizationStatus command without any pre-configured scope.",
72 + "commands": { "allow": ["trackingAuthorizationStatus"], "deny": [] }
73 + },
74 + "deny-adCreate": {
75 + "identifier": "deny-adCreate",
76 + "description": "Denies the adCreate command without any pre-configured scope.",
77 + "commands": { "allow": [], "deny": ["adCreate"] }
78 + },
79 + "deny-adHide": {
80 + "identifier": "deny-adHide",
81 + "description": "Denies the adHide command without any pre-configured scope.",
82 + "commands": { "allow": [], "deny": ["adHide"] }
83 + },
84 + "deny-adIsLoaded": {
85 + "identifier": "deny-adIsLoaded",
86 + "description": "Denies the adIsLoaded command without any pre-configured scope.",
87 + "commands": { "allow": [], "deny": ["adIsLoaded"] }
88 + },
89 + "deny-adLoad": {
90 + "identifier": "deny-adLoad",
91 + "description": "Denies the adLoad command without any pre-configured scope.",
92 + "commands": { "allow": [], "deny": ["adLoad"] }
93 + },
94 + "deny-adShow": {
95 + "identifier": "deny-adShow",
96 + "description": "Denies the adShow command without any pre-configured scope.",
97 + "commands": { "allow": [], "deny": ["adShow"] }
98 + },
99 + "deny-configRequest": {
100 + "identifier": "deny-configRequest",
101 + "description": "Denies the configRequest command without any pre-configured scope.",
102 + "commands": { "allow": [], "deny": ["configRequest"] }
103 + },
104 + "deny-configure": {
105 + "identifier": "deny-configure",
106 + "description": "Denies the configure command without any pre-configured scope.",
107 + "commands": { "allow": [], "deny": ["configure"] }
108 + },
109 + "deny-isPrivacyOptionsRequired": {
110 + "identifier": "deny-isPrivacyOptionsRequired",
111 + "description": "Denies the isPrivacyOptionsRequired command without any pre-configured scope.",
112 + "commands": { "allow": [], "deny": ["isPrivacyOptionsRequired"] }
113 + },
114 + "deny-requestTrackingAuthorization": {
115 + "identifier": "deny-requestTrackingAuthorization",
116 + "description": "Denies the requestTrackingAuthorization command without any pre-configured scope.",
117 + "commands": { "allow": [], "deny": ["requestTrackingAuthorization"] }
118 + },
119 + "deny-showPrivacyOptionsForm": {
120 + "identifier": "deny-showPrivacyOptionsForm",
121 + "description": "Denies the showPrivacyOptionsForm command without any pre-configured scope.",
122 + "commands": { "allow": [], "deny": ["showPrivacyOptionsForm"] }
123 + },
124 + "deny-trackingAuthorizationStatus": {
125 + "identifier": "deny-trackingAuthorizationStatus",
126 + "description": "Denies the trackingAuthorizationStatus command without any pre-configured scope.",
127 + "commands": { "allow": [], "deny": ["trackingAuthorizationStatus"] }
128 + }
129 + },
130 + "permission_sets": {},
131 + "global_scope_schema": null
132 + },
133 + "app": {
134 + "default_permission": {
135 + "identifier": "default",
136 + "description": "Default permissions for the plugin.",
137 + "permissions": ["allow-version", "allow-name", "allow-tauri-version"]
138 + },
139 + "permissions": {
140 + "allow-app-hide": {
141 + "identifier": "allow-app-hide",
142 + "description": "Enables the app_hide command without any pre-configured scope.",
143 + "commands": { "allow": ["app_hide"], "deny": [] }
144 + },
145 + "allow-app-show": {
146 + "identifier": "allow-app-show",
147 + "description": "Enables the app_show command without any pre-configured scope.",
148 + "commands": { "allow": ["app_show"], "deny": [] }
149 + },
150 + "allow-default-window-icon": {
151 + "identifier": "allow-default-window-icon",
152 + "description": "Enables the default_window_icon command without any pre-configured scope.",
153 + "commands": { "allow": ["default_window_icon"], "deny": [] }
154 + },
155 + "allow-name": {
156 + "identifier": "allow-name",
157 + "description": "Enables the name command without any pre-configured scope.",
158 + "commands": { "allow": ["name"], "deny": [] }
159 + },
160 + "allow-tauri-version": {
161 + "identifier": "allow-tauri-version",
162 + "description": "Enables the tauri_version command without any pre-configured scope.",
163 + "commands": { "allow": ["tauri_version"], "deny": [] }
164 + },
165 + "allow-version": {
166 + "identifier": "allow-version",
167 + "description": "Enables the version command without any pre-configured scope.",
168 + "commands": { "allow": ["version"], "deny": [] }
169 + },
170 + "deny-app-hide": {
171 + "identifier": "deny-app-hide",
172 + "description": "Denies the app_hide command without any pre-configured scope.",
173 + "commands": { "allow": [], "deny": ["app_hide"] }
174 + },
175 + "deny-app-show": {
176 + "identifier": "deny-app-show",
177 + "description": "Denies the app_show command without any pre-configured scope.",
178 + "commands": { "allow": [], "deny": ["app_show"] }
179 + },
180 + "deny-default-window-icon": {
181 + "identifier": "deny-default-window-icon",
182 + "description": "Denies the default_window_icon command without any pre-configured scope.",
183 + "commands": { "allow": [], "deny": ["default_window_icon"] }
184 + },
185 + "deny-name": {
186 + "identifier": "deny-name",
187 + "description": "Denies the name command without any pre-configured scope.",
188 + "commands": { "allow": [], "deny": ["name"] }
189 + },
190 + "deny-tauri-version": {
191 + "identifier": "deny-tauri-version",
192 + "description": "Denies the tauri_version command without any pre-configured scope.",
193 + "commands": { "allow": [], "deny": ["tauri_version"] }
194 + },
195 + "deny-version": {
196 + "identifier": "deny-version",
197 + "description": "Denies the version command without any pre-configured scope.",
198 + "commands": { "allow": [], "deny": ["version"] }
199 + }
200 + },
201 + "permission_sets": {},
202 + "global_scope_schema": null
203 + },
204 + "devtools": {
205 + "default_permission": null,
206 + "permissions": {},
207 + "permission_sets": {},
208 + "global_scope_schema": null
209 + },
210 + "event": {
211 + "default_permission": {
212 + "identifier": "default",
213 + "description": "Default permissions for the plugin.",
214 + "permissions": [
215 + "allow-listen",
216 + "allow-unlisten",
217 + "allow-emit",
218 + "allow-emit-to"
219 + ]
220 + },
221 + "permissions": {
222 + "allow-emit": {
223 + "identifier": "allow-emit",
224 + "description": "Enables the emit command without any pre-configured scope.",
225 + "commands": { "allow": ["emit"], "deny": [] }
226 + },
227 + "allow-emit-to": {
228 + "identifier": "allow-emit-to",
229 + "description": "Enables the emit_to command without any pre-configured scope.",
230 + "commands": { "allow": ["emit_to"], "deny": [] }
231 + },
232 + "allow-listen": {
233 + "identifier": "allow-listen",
234 + "description": "Enables the listen command without any pre-configured scope.",
235 + "commands": { "allow": ["listen"], "deny": [] }
236 + },
237 + "allow-unlisten": {
238 + "identifier": "allow-unlisten",
239 + "description": "Enables the unlisten command without any pre-configured scope.",
240 + "commands": { "allow": ["unlisten"], "deny": [] }
241 + },
242 + "deny-emit": {
243 + "identifier": "deny-emit",
244 + "description": "Denies the emit command without any pre-configured scope.",
245 + "commands": { "allow": [], "deny": ["emit"] }
246 + },
247 + "deny-emit-to": {
248 + "identifier": "deny-emit-to",
249 + "description": "Denies the emit_to command without any pre-configured scope.",
250 + "commands": { "allow": [], "deny": ["emit_to"] }
251 + },
252 + "deny-listen": {
253 + "identifier": "deny-listen",
254 + "description": "Denies the listen command without any pre-configured scope.",
255 + "commands": { "allow": [], "deny": ["listen"] }
256 + },
257 + "deny-unlisten": {
258 + "identifier": "deny-unlisten",
259 + "description": "Denies the unlisten command without any pre-configured scope.",
260 + "commands": { "allow": [], "deny": ["unlisten"] }
261 + }
262 + },
263 + "permission_sets": {},
264 + "global_scope_schema": null
265 + },
266 + "image": {
267 + "default_permission": {
268 + "identifier": "default",
269 + "description": "Default permissions for the plugin.",
270 + "permissions": [
271 + "allow-new",
272 + "allow-from-bytes",
273 + "allow-from-path",
274 + "allow-rgba",
275 + "allow-size"
276 + ]
277 + },
278 + "permissions": {
279 + "allow-from-bytes": {
280 + "identifier": "allow-from-bytes",
281 + "description": "Enables the from_bytes command without any pre-configured scope.",
282 + "commands": { "allow": ["from_bytes"], "deny": [] }
283 + },
284 + "allow-from-path": {
285 + "identifier": "allow-from-path",
286 + "description": "Enables the from_path command without any pre-configured scope.",
287 + "commands": { "allow": ["from_path"], "deny": [] }
288 + },
289 + "allow-new": {
290 + "identifier": "allow-new",
291 + "description": "Enables the new command without any pre-configured scope.",
292 + "commands": { "allow": ["new"], "deny": [] }
293 + },
294 + "allow-rgba": {
295 + "identifier": "allow-rgba",
296 + "description": "Enables the rgba command without any pre-configured scope.",
297 + "commands": { "allow": ["rgba"], "deny": [] }
298 + },
299 + "allow-size": {
300 + "identifier": "allow-size",
301 + "description": "Enables the size command without any pre-configured scope.",
302 + "commands": { "allow": ["size"], "deny": [] }
303 + },
304 + "deny-from-bytes": {
305 + "identifier": "deny-from-bytes",
306 + "description": "Denies the from_bytes command without any pre-configured scope.",
307 + "commands": { "allow": [], "deny": ["from_bytes"] }
308 + },
309 + "deny-from-path": {
310 + "identifier": "deny-from-path",
311 + "description": "Denies the from_path command without any pre-configured scope.",
312 + "commands": { "allow": [], "deny": ["from_path"] }
313 + },
314 + "deny-new": {
315 + "identifier": "deny-new",
316 + "description": "Denies the new command without any pre-configured scope.",
317 + "commands": { "allow": [], "deny": ["new"] }
318 + },
319 + "deny-rgba": {
320 + "identifier": "deny-rgba",
321 + "description": "Denies the rgba command without any pre-configured scope.",
322 + "commands": { "allow": [], "deny": ["rgba"] }
323 + },
324 + "deny-size": {
325 + "identifier": "deny-size",
326 + "description": "Denies the size command without any pre-configured scope.",
327 + "commands": { "allow": [], "deny": ["size"] }
328 + }
329 + },
330 + "permission_sets": {},
331 + "global_scope_schema": null
332 + },
333 + "menu": {
334 + "default_permission": {
335 + "identifier": "default",
336 + "description": "Default permissions for the plugin.",
337 + "permissions": [
338 + "allow-new",
339 + "allow-append",
340 + "allow-prepend",
341 + "allow-insert",
342 + "allow-remove",
343 + "allow-remove-at",
344 + "allow-items",
345 + "allow-get",
346 + "allow-popup",
347 + "allow-create-default",
348 + "allow-set-as-app-menu",
349 + "allow-set-as-window-menu",
350 + "allow-text",
351 + "allow-set-text",
352 + "allow-is-enabled",
353 + "allow-set-enabled",
354 + "allow-set-accelerator",
355 + "allow-set-as-windows-menu-for-nsapp",
356 + "allow-set-as-help-menu-for-nsapp",
357 + "allow-is-checked",
358 + "allow-set-checked",
359 + "allow-set-icon"
360 + ]
361 + },
362 + "permissions": {
363 + "allow-append": {
364 + "identifier": "allow-append",
365 + "description": "Enables the append command without any pre-configured scope.",
366 + "commands": { "allow": ["append"], "deny": [] }
367 + },
368 + "allow-create-default": {
369 + "identifier": "allow-create-default",
370 + "description": "Enables the create_default command without any pre-configured scope.",
371 + "commands": { "allow": ["create_default"], "deny": [] }
372 + },
373 + "allow-get": {
374 + "identifier": "allow-get",
375 + "description": "Enables the get command without any pre-configured scope.",
376 + "commands": { "allow": ["get"], "deny": [] }
377 + },
378 + "allow-insert": {
379 + "identifier": "allow-insert",
380 + "description": "Enables the insert command without any pre-configured scope.",
381 + "commands": { "allow": ["insert"], "deny": [] }
382 + },
383 + "allow-is-checked": {
384 + "identifier": "allow-is-checked",
385 + "description": "Enables the is_checked command without any pre-configured scope.",
386 + "commands": { "allow": ["is_checked"], "deny": [] }
387 + },
388 + "allow-is-enabled": {
389 + "identifier": "allow-is-enabled",
390 + "description": "Enables the is_enabled command without any pre-configured scope.",
391 + "commands": { "allow": ["is_enabled"], "deny": [] }
392 + },
393 + "allow-items": {
394 + "identifier": "allow-items",
395 + "description": "Enables the items command without any pre-configured scope.",
396 + "commands": { "allow": ["items"], "deny": [] }
397 + },
398 + "allow-new": {
399 + "identifier": "allow-new",
400 + "description": "Enables the new command without any pre-configured scope.",
401 + "commands": { "allow": ["new"], "deny": [] }
402 + },
403 + "allow-popup": {
404 + "identifier": "allow-popup",
405 + "description": "Enables the popup command without any pre-configured scope.",
406 + "commands": { "allow": ["popup"], "deny": [] }
407 + },
408 + "allow-prepend": {
409 + "identifier": "allow-prepend",
410 + "description": "Enables the prepend command without any pre-configured scope.",
411 + "commands": { "allow": ["prepend"], "deny": [] }
412 + },
413 + "allow-remove": {
414 + "identifier": "allow-remove",
415 + "description": "Enables the remove command without any pre-configured scope.",
416 + "commands": { "allow": ["remove"], "deny": [] }
417 + },
418 + "allow-remove-at": {
419 + "identifier": "allow-remove-at",
420 + "description": "Enables the remove_at command without any pre-configured scope.",
421 + "commands": { "allow": ["remove_at"], "deny": [] }
422 + },
423 + "allow-set-accelerator": {
424 + "identifier": "allow-set-accelerator",
425 + "description": "Enables the set_accelerator command without any pre-configured scope.",
426 + "commands": { "allow": ["set_accelerator"], "deny": [] }
427 + },
428 + "allow-set-as-app-menu": {
429 + "identifier": "allow-set-as-app-menu",
430 + "description": "Enables the set_as_app_menu command without any pre-configured scope.",
431 + "commands": { "allow": ["set_as_app_menu"], "deny": [] }
432 + },
433 + "allow-set-as-help-menu-for-nsapp": {
434 + "identifier": "allow-set-as-help-menu-for-nsapp",
435 + "description": "Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
436 + "commands": { "allow": ["set_as_help_menu_for_nsapp"], "deny": [] }
437 + },
438 + "allow-set-as-window-menu": {
439 + "identifier": "allow-set-as-window-menu",
440 + "description": "Enables the set_as_window_menu command without any pre-configured scope.",
441 + "commands": { "allow": ["set_as_window_menu"], "deny": [] }
442 + },
443 + "allow-set-as-windows-menu-for-nsapp": {
444 + "identifier": "allow-set-as-windows-menu-for-nsapp",
445 + "description": "Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
446 + "commands": { "allow": ["set_as_windows_menu_for_nsapp"], "deny": [] }
447 + },
448 + "allow-set-checked": {
449 + "identifier": "allow-set-checked",
450 + "description": "Enables the set_checked command without any pre-configured scope.",
451 + "commands": { "allow": ["set_checked"], "deny": [] }
452 + },
453 + "allow-set-enabled": {
454 + "identifier": "allow-set-enabled",
455 + "description": "Enables the set_enabled command without any pre-configured scope.",
456 + "commands": { "allow": ["set_enabled"], "deny": [] }
457 + },
458 + "allow-set-icon": {
459 + "identifier": "allow-set-icon",
460 + "description": "Enables the set_icon command without any pre-configured scope.",
461 + "commands": { "allow": ["set_icon"], "deny": [] }
462 + },
463 + "allow-set-text": {
464 + "identifier": "allow-set-text",
465 + "description": "Enables the set_text command without any pre-configured scope.",
466 + "commands": { "allow": ["set_text"], "deny": [] }
467 + },
468 + "allow-text": {
469 + "identifier": "allow-text",
470 + "description": "Enables the text command without any pre-configured scope.",
471 + "commands": { "allow": ["text"], "deny": [] }
472 + },
473 + "deny-append": {
474 + "identifier": "deny-append",
475 + "description": "Denies the append command without any pre-configured scope.",
476 + "commands": { "allow": [], "deny": ["append"] }
477 + },
478 + "deny-create-default": {
479 + "identifier": "deny-create-default",
480 + "description": "Denies the create_default command without any pre-configured scope.",
481 + "commands": { "allow": [], "deny": ["create_default"] }
482 + },
483 + "deny-get": {
484 + "identifier": "deny-get",
485 + "description": "Denies the get command without any pre-configured scope.",
486 + "commands": { "allow": [], "deny": ["get"] }
487 + },
488 + "deny-insert": {
489 + "identifier": "deny-insert",
490 + "description": "Denies the insert command without any pre-configured scope.",
491 + "commands": { "allow": [], "deny": ["insert"] }
492 + },
493 + "deny-is-checked": {
494 + "identifier": "deny-is-checked",
495 + "description": "Denies the is_checked command without any pre-configured scope.",
496 + "commands": { "allow": [], "deny": ["is_checked"] }
497 + },
498 + "deny-is-enabled": {
499 + "identifier": "deny-is-enabled",
500 + "description": "Denies the is_enabled command without any pre-configured scope.",
501 + "commands": { "allow": [], "deny": ["is_enabled"] }
502 + },
503 + "deny-items": {
504 + "identifier": "deny-items",
505 + "description": "Denies the items command without any pre-configured scope.",
506 + "commands": { "allow": [], "deny": ["items"] }
507 + },
508 + "deny-new": {
509 + "identifier": "deny-new",
510 + "description": "Denies the new command without any pre-configured scope.",
511 + "commands": { "allow": [], "deny": ["new"] }
512 + },
513 + "deny-popup": {
514 + "identifier": "deny-popup",
515 + "description": "Denies the popup command without any pre-configured scope.",
516 + "commands": { "allow": [], "deny": ["popup"] }
517 + },
518 + "deny-prepend": {
519 + "identifier": "deny-prepend",
520 + "description": "Denies the prepend command without any pre-configured scope.",
521 + "commands": { "allow": [], "deny": ["prepend"] }
522 + },
523 + "deny-remove": {
524 + "identifier": "deny-remove",
525 + "description": "Denies the remove command without any pre-configured scope.",
526 + "commands": { "allow": [], "deny": ["remove"] }
527 + },
528 + "deny-remove-at": {
529 + "identifier": "deny-remove-at",
530 + "description": "Denies the remove_at command without any pre-configured scope.",
531 + "commands": { "allow": [], "deny": ["remove_at"] }
532 + },
533 + "deny-set-accelerator": {
534 + "identifier": "deny-set-accelerator",
535 + "description": "Denies the set_accelerator command without any pre-configured scope.",
536 + "commands": { "allow": [], "deny": ["set_accelerator"] }
537 + },
538 + "deny-set-as-app-menu": {
539 + "identifier": "deny-set-as-app-menu",
540 + "description": "Denies the set_as_app_menu command without any pre-configured scope.",
541 + "commands": { "allow": [], "deny": ["set_as_app_menu"] }
542 + },
543 + "deny-set-as-help-menu-for-nsapp": {
544 + "identifier": "deny-set-as-help-menu-for-nsapp",
545 + "description": "Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
546 + "commands": { "allow": [], "deny": ["set_as_help_menu_for_nsapp"] }
547 + },
548 + "deny-set-as-window-menu": {
549 + "identifier": "deny-set-as-window-menu",
550 + "description": "Denies the set_as_window_menu command without any pre-configured scope.",
551 + "commands": { "allow": [], "deny": ["set_as_window_menu"] }
552 + },
553 + "deny-set-as-windows-menu-for-nsapp": {
554 + "identifier": "deny-set-as-windows-menu-for-nsapp",
555 + "description": "Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
556 + "commands": { "allow": [], "deny": ["set_as_windows_menu_for_nsapp"] }
557 + },
558 + "deny-set-checked": {
559 + "identifier": "deny-set-checked",
560 + "description": "Denies the set_checked command without any pre-configured scope.",
561 + "commands": { "allow": [], "deny": ["set_checked"] }
562 + },
563 + "deny-set-enabled": {
564 + "identifier": "deny-set-enabled",
565 + "description": "Denies the set_enabled command without any pre-configured scope.",
566 + "commands": { "allow": [], "deny": ["set_enabled"] }
567 + },
568 + "deny-set-icon": {
569 + "identifier": "deny-set-icon",
570 + "description": "Denies the set_icon command without any pre-configured scope.",
571 + "commands": { "allow": [], "deny": ["set_icon"] }
572 + },
573 + "deny-set-text": {
574 + "identifier": "deny-set-text",
575 + "description": "Denies the set_text command without any pre-configured scope.",
576 + "commands": { "allow": [], "deny": ["set_text"] }
577 + },
578 + "deny-text": {
579 + "identifier": "deny-text",
580 + "description": "Denies the text command without any pre-configured scope.",
581 + "commands": { "allow": [], "deny": ["text"] }
582 + }
583 + },
584 + "permission_sets": {},
585 + "global_scope_schema": null
586 + },
587 + "path": {
588 + "default_permission": {
589 + "identifier": "default",
590 + "description": "Default permissions for the plugin.",
591 + "permissions": [
592 + "allow-resolve-directory",
593 + "allow-resolve",
594 + "allow-normalize",
595 + "allow-join",
596 + "allow-dirname",
597 + "allow-extname",
598 + "allow-basename",
599 + "allow-is-absolute"
600 + ]
601 + },
602 + "permissions": {
603 + "allow-basename": {
604 + "identifier": "allow-basename",
605 + "description": "Enables the basename command without any pre-configured scope.",
606 + "commands": { "allow": ["basename"], "deny": [] }
607 + },
608 + "allow-dirname": {
609 + "identifier": "allow-dirname",
610 + "description": "Enables the dirname command without any pre-configured scope.",
611 + "commands": { "allow": ["dirname"], "deny": [] }
612 + },
613 + "allow-extname": {
614 + "identifier": "allow-extname",
615 + "description": "Enables the extname command without any pre-configured scope.",
616 + "commands": { "allow": ["extname"], "deny": [] }
617 + },
618 + "allow-is-absolute": {
619 + "identifier": "allow-is-absolute",
620 + "description": "Enables the is_absolute command without any pre-configured scope.",
621 + "commands": { "allow": ["is_absolute"], "deny": [] }
622 + },
623 + "allow-join": {
624 + "identifier": "allow-join",
625 + "description": "Enables the join command without any pre-configured scope.",
626 + "commands": { "allow": ["join"], "deny": [] }
627 + },
628 + "allow-normalize": {
629 + "identifier": "allow-normalize",
630 + "description": "Enables the normalize command without any pre-configured scope.",
631 + "commands": { "allow": ["normalize"], "deny": [] }
632 + },
633 + "allow-resolve": {
634 + "identifier": "allow-resolve",
635 + "description": "Enables the resolve command without any pre-configured scope.",
636 + "commands": { "allow": ["resolve"], "deny": [] }
637 + },
638 + "allow-resolve-directory": {
639 + "identifier": "allow-resolve-directory",
640 + "description": "Enables the resolve_directory command without any pre-configured scope.",
641 + "commands": { "allow": ["resolve_directory"], "deny": [] }
642 + },
643 + "deny-basename": {
644 + "identifier": "deny-basename",
645 + "description": "Denies the basename command without any pre-configured scope.",
646 + "commands": { "allow": [], "deny": ["basename"] }
647 + },
648 + "deny-dirname": {
649 + "identifier": "deny-dirname",
650 + "description": "Denies the dirname command without any pre-configured scope.",
651 + "commands": { "allow": [], "deny": ["dirname"] }
652 + },
653 + "deny-extname": {
654 + "identifier": "deny-extname",
655 + "description": "Denies the extname command without any pre-configured scope.",
656 + "commands": { "allow": [], "deny": ["extname"] }
657 + },
658 + "deny-is-absolute": {
659 + "identifier": "deny-is-absolute",
660 + "description": "Denies the is_absolute command without any pre-configured scope.",
661 + "commands": { "allow": [], "deny": ["is_absolute"] }
662 + },
663 + "deny-join": {
664 + "identifier": "deny-join",
665 + "description": "Denies the join command without any pre-configured scope.",
666 + "commands": { "allow": [], "deny": ["join"] }
667 + },
668 + "deny-normalize": {
669 + "identifier": "deny-normalize",
670 + "description": "Denies the normalize command without any pre-configured scope.",
671 + "commands": { "allow": [], "deny": ["normalize"] }
672 + },
673 + "deny-resolve": {
674 + "identifier": "deny-resolve",
675 + "description": "Denies the resolve command without any pre-configured scope.",
676 + "commands": { "allow": [], "deny": ["resolve"] }
677 + },
678 + "deny-resolve-directory": {
679 + "identifier": "deny-resolve-directory",
680 + "description": "Denies the resolve_directory command without any pre-configured scope.",
681 + "commands": { "allow": [], "deny": ["resolve_directory"] }
682 + }
683 + },
684 + "permission_sets": {},
685 + "global_scope_schema": null
686 + },
687 + "resources": {
688 + "default_permission": {
689 + "identifier": "default",
690 + "description": "Default permissions for the plugin.",
691 + "permissions": ["allow-close"]
692 + },
693 + "permissions": {
694 + "allow-close": {
695 + "identifier": "allow-close",
696 + "description": "Enables the close command without any pre-configured scope.",
697 + "commands": { "allow": ["close"], "deny": [] }
698 + },
699 + "deny-close": {
700 + "identifier": "deny-close",
701 + "description": "Denies the close command without any pre-configured scope.",
702 + "commands": { "allow": [], "deny": ["close"] }
703 + }
704 + },
705 + "permission_sets": {},
706 + "global_scope_schema": null
707 + },
708 + "tray": {
709 + "default_permission": {
710 + "identifier": "default",
711 + "description": "Default permissions for the plugin.",
712 + "permissions": [
713 + "allow-new",
714 + "allow-get-by-id",
715 + "allow-remove-by-id",
716 + "allow-set-icon",
717 + "allow-set-menu",
718 + "allow-set-tooltip",
719 + "allow-set-title",
720 + "allow-set-visible",
721 + "allow-set-temp-dir-path",
722 + "allow-set-icon-as-template",
723 + "allow-set-show-menu-on-left-click"
724 + ]
725 + },
726 + "permissions": {
727 + "allow-get-by-id": {
728 + "identifier": "allow-get-by-id",
729 + "description": "Enables the get_by_id command without any pre-configured scope.",
730 + "commands": { "allow": ["get_by_id"], "deny": [] }
731 + },
732 + "allow-new": {
733 + "identifier": "allow-new",
734 + "description": "Enables the new command without any pre-configured scope.",
735 + "commands": { "allow": ["new"], "deny": [] }
736 + },
737 + "allow-remove-by-id": {
738 + "identifier": "allow-remove-by-id",
739 + "description": "Enables the remove_by_id command without any pre-configured scope.",
740 + "commands": { "allow": ["remove_by_id"], "deny": [] }
741 + },
742 + "allow-set-icon": {
743 + "identifier": "allow-set-icon",
744 + "description": "Enables the set_icon command without any pre-configured scope.",
745 + "commands": { "allow": ["set_icon"], "deny": [] }
746 + },
747 + "allow-set-icon-as-template": {
748 + "identifier": "allow-set-icon-as-template",
749 + "description": "Enables the set_icon_as_template command without any pre-configured scope.",
750 + "commands": { "allow": ["set_icon_as_template"], "deny": [] }
751 + },
752 + "allow-set-menu": {
753 + "identifier": "allow-set-menu",
754 + "description": "Enables the set_menu command without any pre-configured scope.",
755 + "commands": { "allow": ["set_menu"], "deny": [] }
756 + },
757 + "allow-set-show-menu-on-left-click": {
758 + "identifier": "allow-set-show-menu-on-left-click",
759 + "description": "Enables the set_show_menu_on_left_click command without any pre-configured scope.",
760 + "commands": { "allow": ["set_show_menu_on_left_click"], "deny": [] }
761 + },
762 + "allow-set-temp-dir-path": {
763 + "identifier": "allow-set-temp-dir-path",
764 + "description": "Enables the set_temp_dir_path command without any pre-configured scope.",
765 + "commands": { "allow": ["set_temp_dir_path"], "deny": [] }
766 + },
767 + "allow-set-title": {
768 + "identifier": "allow-set-title",
769 + "description": "Enables the set_title command without any pre-configured scope.",
770 + "commands": { "allow": ["set_title"], "deny": [] }
771 + },
772 + "allow-set-tooltip": {
773 + "identifier": "allow-set-tooltip",
774 + "description": "Enables the set_tooltip command without any pre-configured scope.",
775 + "commands": { "allow": ["set_tooltip"], "deny": [] }
776 + },
777 + "allow-set-visible": {
778 + "identifier": "allow-set-visible",
779 + "description": "Enables the set_visible command without any pre-configured scope.",
780 + "commands": { "allow": ["set_visible"], "deny": [] }
781 + },
782 + "deny-get-by-id": {
783 + "identifier": "deny-get-by-id",
784 + "description": "Denies the get_by_id command without any pre-configured scope.",
785 + "commands": { "allow": [], "deny": ["get_by_id"] }
786 + },
787 + "deny-new": {
788 + "identifier": "deny-new",
789 + "description": "Denies the new command without any pre-configured scope.",
790 + "commands": { "allow": [], "deny": ["new"] }
791 + },
792 + "deny-remove-by-id": {
793 + "identifier": "deny-remove-by-id",
794 + "description": "Denies the remove_by_id command without any pre-configured scope.",
795 + "commands": { "allow": [], "deny": ["remove_by_id"] }
796 + },
797 + "deny-set-icon": {
798 + "identifier": "deny-set-icon",
799 + "description": "Denies the set_icon command without any pre-configured scope.",
800 + "commands": { "allow": [], "deny": ["set_icon"] }
801 + },
802 + "deny-set-icon-as-template": {
803 + "identifier": "deny-set-icon-as-template",
804 + "description": "Denies the set_icon_as_template command without any pre-configured scope.",
805 + "commands": { "allow": [], "deny": ["set_icon_as_template"] }
806 + },
807 + "deny-set-menu": {
808 + "identifier": "deny-set-menu",
809 + "description": "Denies the set_menu command without any pre-configured scope.",
810 + "commands": { "allow": [], "deny": ["set_menu"] }
811 + },
812 + "deny-set-show-menu-on-left-click": {
813 + "identifier": "deny-set-show-menu-on-left-click",
814 + "description": "Denies the set_show_menu_on_left_click command without any pre-configured scope.",
815 + "commands": { "allow": [], "deny": ["set_show_menu_on_left_click"] }
816 + },
817 + "deny-set-temp-dir-path": {
818 + "identifier": "deny-set-temp-dir-path",
819 + "description": "Denies the set_temp_dir_path command without any pre-configured scope.",
820 + "commands": { "allow": [], "deny": ["set_temp_dir_path"] }
821 + },
822 + "deny-set-title": {
823 + "identifier": "deny-set-title",
824 + "description": "Denies the set_title command without any pre-configured scope.",
825 + "commands": { "allow": [], "deny": ["set_title"] }
826 + },
827 + "deny-set-tooltip": {
828 + "identifier": "deny-set-tooltip",
829 + "description": "Denies the set_tooltip command without any pre-configured scope.",
830 + "commands": { "allow": [], "deny": ["set_tooltip"] }
831 + },
832 + "deny-set-visible": {
833 + "identifier": "deny-set-visible",
834 + "description": "Denies the set_visible command without any pre-configured scope.",
835 + "commands": { "allow": [], "deny": ["set_visible"] }
836 + }
837 + },
838 + "permission_sets": {},
839 + "global_scope_schema": null
840 + },
841 + "webview": {
842 + "default_permission": {
843 + "identifier": "default",
844 + "description": "Default permissions for the plugin.",
845 + "permissions": [
846 + "allow-webview-position",
847 + "allow-webview-size",
848 + "allow-internal-toggle-devtools"
849 + ]
850 + },
851 + "permissions": {
852 + "allow-create-webview": {
853 + "identifier": "allow-create-webview",
854 + "description": "Enables the create_webview command without any pre-configured scope.",
855 + "commands": { "allow": ["create_webview"], "deny": [] }
856 + },
857 + "allow-create-webview-window": {
858 + "identifier": "allow-create-webview-window",
859 + "description": "Enables the create_webview_window command without any pre-configured scope.",
860 + "commands": { "allow": ["create_webview_window"], "deny": [] }
861 + },
862 + "allow-internal-toggle-devtools": {
863 + "identifier": "allow-internal-toggle-devtools",
864 + "description": "Enables the internal_toggle_devtools command without any pre-configured scope.",
865 + "commands": { "allow": ["internal_toggle_devtools"], "deny": [] }
866 + },
867 + "allow-print": {
868 + "identifier": "allow-print",
869 + "description": "Enables the print command without any pre-configured scope.",
870 + "commands": { "allow": ["print"], "deny": [] }
871 + },
872 + "allow-reparent": {
873 + "identifier": "allow-reparent",
874 + "description": "Enables the reparent command without any pre-configured scope.",
875 + "commands": { "allow": ["reparent"], "deny": [] }
876 + },
877 + "allow-set-webview-focus": {
878 + "identifier": "allow-set-webview-focus",
879 + "description": "Enables the set_webview_focus command without any pre-configured scope.",
880 + "commands": { "allow": ["set_webview_focus"], "deny": [] }
881 + },
882 + "allow-set-webview-position": {
883 + "identifier": "allow-set-webview-position",
884 + "description": "Enables the set_webview_position command without any pre-configured scope.",
885 + "commands": { "allow": ["set_webview_position"], "deny": [] }
886 + },
887 + "allow-set-webview-size": {
888 + "identifier": "allow-set-webview-size",
889 + "description": "Enables the set_webview_size command without any pre-configured scope.",
890 + "commands": { "allow": ["set_webview_size"], "deny": [] }
891 + },
892 + "allow-set-webview-zoom": {
893 + "identifier": "allow-set-webview-zoom",
894 + "description": "Enables the set_webview_zoom command without any pre-configured scope.",
895 + "commands": { "allow": ["set_webview_zoom"], "deny": [] }
896 + },
897 + "allow-webview-close": {
898 + "identifier": "allow-webview-close",
899 + "description": "Enables the webview_close command without any pre-configured scope.",
900 + "commands": { "allow": ["webview_close"], "deny": [] }
901 + },
902 + "allow-webview-position": {
903 + "identifier": "allow-webview-position",
904 + "description": "Enables the webview_position command without any pre-configured scope.",
905 + "commands": { "allow": ["webview_position"], "deny": [] }
906 + },
907 + "allow-webview-size": {
908 + "identifier": "allow-webview-size",
909 + "description": "Enables the webview_size command without any pre-configured scope.",
910 + "commands": { "allow": ["webview_size"], "deny": [] }
911 + },
912 + "deny-create-webview": {
913 + "identifier": "deny-create-webview",
914 + "description": "Denies the create_webview command without any pre-configured scope.",
915 + "commands": { "allow": [], "deny": ["create_webview"] }
916 + },
917 + "deny-create-webview-window": {
918 + "identifier": "deny-create-webview-window",
919 + "description": "Denies the create_webview_window command without any pre-configured scope.",
920 + "commands": { "allow": [], "deny": ["create_webview_window"] }
921 + },
922 + "deny-internal-toggle-devtools": {
923 + "identifier": "deny-internal-toggle-devtools",
924 + "description": "Denies the internal_toggle_devtools command without any pre-configured scope.",
925 + "commands": { "allow": [], "deny": ["internal_toggle_devtools"] }
926 + },
927 + "deny-print": {
928 + "identifier": "deny-print",
929 + "description": "Denies the print command without any pre-configured scope.",
930 + "commands": { "allow": [], "deny": ["print"] }
931 + },
932 + "deny-reparent": {
933 + "identifier": "deny-reparent",
934 + "description": "Denies the reparent command without any pre-configured scope.",
935 + "commands": { "allow": [], "deny": ["reparent"] }
936 + },
937 + "deny-set-webview-focus": {
938 + "identifier": "deny-set-webview-focus",
939 + "description": "Denies the set_webview_focus command without any pre-configured scope.",
940 + "commands": { "allow": [], "deny": ["set_webview_focus"] }
941 + },
942 + "deny-set-webview-position": {
943 + "identifier": "deny-set-webview-position",
944 + "description": "Denies the set_webview_position command without any pre-configured scope.",
945 + "commands": { "allow": [], "deny": ["set_webview_position"] }
946 + },
947 + "deny-set-webview-size": {
948 + "identifier": "deny-set-webview-size",
949 + "description": "Denies the set_webview_size command without any pre-configured scope.",
950 + "commands": { "allow": [], "deny": ["set_webview_size"] }
951 + },
952 + "deny-set-webview-zoom": {
953 + "identifier": "deny-set-webview-zoom",
954 + "description": "Denies the set_webview_zoom command without any pre-configured scope.",
955 + "commands": { "allow": [], "deny": ["set_webview_zoom"] }
956 + },
957 + "deny-webview-close": {
958 + "identifier": "deny-webview-close",
959 + "description": "Denies the webview_close command without any pre-configured scope.",
960 + "commands": { "allow": [], "deny": ["webview_close"] }
961 + },
962 + "deny-webview-position": {
963 + "identifier": "deny-webview-position",
964 + "description": "Denies the webview_position command without any pre-configured scope.",
965 + "commands": { "allow": [], "deny": ["webview_position"] }
966 + },
967 + "deny-webview-size": {
968 + "identifier": "deny-webview-size",
969 + "description": "Denies the webview_size command without any pre-configured scope.",
970 + "commands": { "allow": [], "deny": ["webview_size"] }
971 + }
972 + },
973 + "permission_sets": {},
974 + "global_scope_schema": null
975 + },
976 + "window": {
977 + "default_permission": {
978 + "identifier": "default",
979 + "description": "Default permissions for the plugin.",
980 + "permissions": [
981 + "allow-scale-factor",
982 + "allow-inner-position",
983 + "allow-outer-position",
984 + "allow-inner-size",
985 + "allow-outer-size",
986 + "allow-is-fullscreen",
987 + "allow-is-minimized",
988 + "allow-is-maximized",
989 + "allow-is-focused",
990 + "allow-is-decorated",
991 + "allow-is-resizable",
992 + "allow-is-maximizable",
993 + "allow-is-minimizable",
994 + "allow-is-closable",
995 + "allow-is-visible",
996 + "allow-title",
997 + "allow-current-monitor",
998 + "allow-primary-monitor",
999 + "allow-monitor-from-point",
1000 + "allow-available-monitors",
1001 + "allow-cursor-position",
1002 + "allow-theme",
1003 + "allow-internal-toggle-maximize"
1004 + ]
1005 + },
1006 + "permissions": {
1007 + "allow-available-monitors": {
1008 + "identifier": "allow-available-monitors",
1009 + "description": "Enables the available_monitors command without any pre-configured scope.",
1010 + "commands": { "allow": ["available_monitors"], "deny": [] }
1011 + },
1012 + "allow-center": {
1013 + "identifier": "allow-center",
1014 + "description": "Enables the center command without any pre-configured scope.",
1015 + "commands": { "allow": ["center"], "deny": [] }
1016 + },
1017 + "allow-close": {
1018 + "identifier": "allow-close",
1019 + "description": "Enables the close command without any pre-configured scope.",
1020 + "commands": { "allow": ["close"], "deny": [] }
1021 + },
1022 + "allow-create": {
1023 + "identifier": "allow-create",
1024 + "description": "Enables the create command without any pre-configured scope.",
1025 + "commands": { "allow": ["create"], "deny": [] }
1026 + },
1027 + "allow-current-monitor": {
1028 + "identifier": "allow-current-monitor",
1029 + "description": "Enables the current_monitor command without any pre-configured scope.",
1030 + "commands": { "allow": ["current_monitor"], "deny": [] }
1031 + },
1032 + "allow-cursor-position": {
1033 + "identifier": "allow-cursor-position",
1034 + "description": "Enables the cursor_position command without any pre-configured scope.",
1035 + "commands": { "allow": ["cursor_position"], "deny": [] }
1036 + },
1037 + "allow-destroy": {
1038 + "identifier": "allow-destroy",
1039 + "description": "Enables the destroy command without any pre-configured scope.",
1040 + "commands": { "allow": ["destroy"], "deny": [] }
1041 + },
1042 + "allow-hide": {
1043 + "identifier": "allow-hide",
1044 + "description": "Enables the hide command without any pre-configured scope.",
1045 + "commands": { "allow": ["hide"], "deny": [] }
1046 + },
1047 + "allow-inner-position": {
1048 + "identifier": "allow-inner-position",
1049 + "description": "Enables the inner_position command without any pre-configured scope.",
1050 + "commands": { "allow": ["inner_position"], "deny": [] }
1051 + },
1052 + "allow-inner-size": {
1053 + "identifier": "allow-inner-size",
1054 + "description": "Enables the inner_size command without any pre-configured scope.",
1055 + "commands": { "allow": ["inner_size"], "deny": [] }
1056 + },
1057 + "allow-internal-toggle-maximize": {
1058 + "identifier": "allow-internal-toggle-maximize",
1059 + "description": "Enables the internal_toggle_maximize command without any pre-configured scope.",
1060 + "commands": { "allow": ["internal_toggle_maximize"], "deny": [] }
1061 + },
1062 + "allow-is-closable": {
1063 + "identifier": "allow-is-closable",
1064 + "description": "Enables the is_closable command without any pre-configured scope.",
1065 + "commands": { "allow": ["is_closable"], "deny": [] }
1066 + },
1067 + "allow-is-decorated": {
1068 + "identifier": "allow-is-decorated",
1069 + "description": "Enables the is_decorated command without any pre-configured scope.",
1070 + "commands": { "allow": ["is_decorated"], "deny": [] }
1071 + },
1072 + "allow-is-focused": {
1073 + "identifier": "allow-is-focused",
1074 + "description": "Enables the is_focused command without any pre-configured scope.",
1075 + "commands": { "allow": ["is_focused"], "deny": [] }
1076 + },
1077 + "allow-is-fullscreen": {
1078 + "identifier": "allow-is-fullscreen",
1079 + "description": "Enables the is_fullscreen command without any pre-configured scope.",
1080 + "commands": { "allow": ["is_fullscreen"], "deny": [] }
1081 + },
1082 + "allow-is-maximizable": {
1083 + "identifier": "allow-is-maximizable",
1084 + "description": "Enables the is_maximizable command without any pre-configured scope.",
1085 + "commands": { "allow": ["is_maximizable"], "deny": [] }
1086 + },
1087 + "allow-is-maximized": {
1088 + "identifier": "allow-is-maximized",
1089 + "description": "Enables the is_maximized command without any pre-configured scope.",
1090 + "commands": { "allow": ["is_maximized"], "deny": [] }
1091 + },
1092 + "allow-is-minimizable": {
1093 + "identifier": "allow-is-minimizable",
1094 + "description": "Enables the is_minimizable command without any pre-configured scope.",
1095 + "commands": { "allow": ["is_minimizable"], "deny": [] }
1096 + },
1097 + "allow-is-minimized": {
1098 + "identifier": "allow-is-minimized",
1099 + "description": "Enables the is_minimized command without any pre-configured scope.",
1100 + "commands": { "allow": ["is_minimized"], "deny": [] }
1101 + },
1102 + "allow-is-resizable": {
1103 + "identifier": "allow-is-resizable",
1104 + "description": "Enables the is_resizable command without any pre-configured scope.",
1105 + "commands": { "allow": ["is_resizable"], "deny": [] }
1106 + },
1107 + "allow-is-visible": {
1108 + "identifier": "allow-is-visible",
1109 + "description": "Enables the is_visible command without any pre-configured scope.",
1110 + "commands": { "allow": ["is_visible"], "deny": [] }
1111 + },
1112 + "allow-maximize": {
1113 + "identifier": "allow-maximize",
1114 + "description": "Enables the maximize command without any pre-configured scope.",
1115 + "commands": { "allow": ["maximize"], "deny": [] }
1116 + },
1117 + "allow-minimize": {
1118 + "identifier": "allow-minimize",
1119 + "description": "Enables the minimize command without any pre-configured scope.",
1120 + "commands": { "allow": ["minimize"], "deny": [] }
1121 + },
1122 + "allow-monitor-from-point": {
1123 + "identifier": "allow-monitor-from-point",
1124 + "description": "Enables the monitor_from_point command without any pre-configured scope.",
1125 + "commands": { "allow": ["monitor_from_point"], "deny": [] }
1126 + },
1127 + "allow-outer-position": {
1128 + "identifier": "allow-outer-position",
1129 + "description": "Enables the outer_position command without any pre-configured scope.",
1130 + "commands": { "allow": ["outer_position"], "deny": [] }
1131 + },
1132 + "allow-outer-size": {
1133 + "identifier": "allow-outer-size",
1134 + "description": "Enables the outer_size command without any pre-configured scope.",
1135 + "commands": { "allow": ["outer_size"], "deny": [] }
1136 + },
1137 + "allow-primary-monitor": {
1138 + "identifier": "allow-primary-monitor",
1139 + "description": "Enables the primary_monitor command without any pre-configured scope.",
1140 + "commands": { "allow": ["primary_monitor"], "deny": [] }
1141 + },
1142 + "allow-request-user-attention": {
1143 + "identifier": "allow-request-user-attention",
1144 + "description": "Enables the request_user_attention command without any pre-configured scope.",
1145 + "commands": { "allow": ["request_user_attention"], "deny": [] }
1146 + },
1147 + "allow-scale-factor": {
1148 + "identifier": "allow-scale-factor",
1149 + "description": "Enables the scale_factor command without any pre-configured scope.",
1150 + "commands": { "allow": ["scale_factor"], "deny": [] }
1151 + },
1152 + "allow-set-always-on-bottom": {
1153 + "identifier": "allow-set-always-on-bottom",
1154 + "description": "Enables the set_always_on_bottom command without any pre-configured scope.",
1155 + "commands": { "allow": ["set_always_on_bottom"], "deny": [] }
1156 + },
1157 + "allow-set-always-on-top": {
1158 + "identifier": "allow-set-always-on-top",
1159 + "description": "Enables the set_always_on_top command without any pre-configured scope.",
1160 + "commands": { "allow": ["set_always_on_top"], "deny": [] }
1161 + },
1162 + "allow-set-closable": {
1163 + "identifier": "allow-set-closable",
1164 + "description": "Enables the set_closable command without any pre-configured scope.",
1165 + "commands": { "allow": ["set_closable"], "deny": [] }
1166 + },
1167 + "allow-set-content-protected": {
1168 + "identifier": "allow-set-content-protected",
1169 + "description": "Enables the set_content_protected command without any pre-configured scope.",
1170 + "commands": { "allow": ["set_content_protected"], "deny": [] }
1171 + },
1172 + "allow-set-cursor-grab": {
1173 + "identifier": "allow-set-cursor-grab",
1174 + "description": "Enables the set_cursor_grab command without any pre-configured scope.",
1175 + "commands": { "allow": ["set_cursor_grab"], "deny": [] }
1176 + },
1177 + "allow-set-cursor-icon": {
1178 + "identifier": "allow-set-cursor-icon",
1179 + "description": "Enables the set_cursor_icon command without any pre-configured scope.",
1180 + "commands": { "allow": ["set_cursor_icon"], "deny": [] }
1181 + },
1182 + "allow-set-cursor-position": {
1183 + "identifier": "allow-set-cursor-position",
1184 + "description": "Enables the set_cursor_position command without any pre-configured scope.",
1185 + "commands": { "allow": ["set_cursor_position"], "deny": [] }
1186 + },
1187 + "allow-set-cursor-visible": {
1188 + "identifier": "allow-set-cursor-visible",
1189 + "description": "Enables the set_cursor_visible command without any pre-configured scope.",
1190 + "commands": { "allow": ["set_cursor_visible"], "deny": [] }
1191 + },
1192 + "allow-set-decorations": {
1193 + "identifier": "allow-set-decorations",
1194 + "description": "Enables the set_decorations command without any pre-configured scope.",
1195 + "commands": { "allow": ["set_decorations"], "deny": [] }
1196 + },
1197 + "allow-set-effects": {
1198 + "identifier": "allow-set-effects",
1199 + "description": "Enables the set_effects command without any pre-configured scope.",
1200 + "commands": { "allow": ["set_effects"], "deny": [] }
1201 + },
1202 + "allow-set-focus": {
1203 + "identifier": "allow-set-focus",
1204 + "description": "Enables the set_focus command without any pre-configured scope.",
1205 + "commands": { "allow": ["set_focus"], "deny": [] }
1206 + },
1207 + "allow-set-fullscreen": {
1208 + "identifier": "allow-set-fullscreen",
1209 + "description": "Enables the set_fullscreen command without any pre-configured scope.",
1210 + "commands": { "allow": ["set_fullscreen"], "deny": [] }
1211 + },
1212 + "allow-set-icon": {
1213 + "identifier": "allow-set-icon",
1214 + "description": "Enables the set_icon command without any pre-configured scope.",
1215 + "commands": { "allow": ["set_icon"], "deny": [] }
1216 + },
1217 + "allow-set-ignore-cursor-events": {
1218 + "identifier": "allow-set-ignore-cursor-events",
1219 + "description": "Enables the set_ignore_cursor_events command without any pre-configured scope.",
1220 + "commands": { "allow": ["set_ignore_cursor_events"], "deny": [] }
1221 + },
1222 + "allow-set-max-size": {
1223 + "identifier": "allow-set-max-size",
1224 + "description": "Enables the set_max_size command without any pre-configured scope.",
1225 + "commands": { "allow": ["set_max_size"], "deny": [] }
1226 + },
1227 + "allow-set-maximizable": {
1228 + "identifier": "allow-set-maximizable",
1229 + "description": "Enables the set_maximizable command without any pre-configured scope.",
1230 + "commands": { "allow": ["set_maximizable"], "deny": [] }
1231 + },
1232 + "allow-set-min-size": {
1233 + "identifier": "allow-set-min-size",
1234 + "description": "Enables the set_min_size command without any pre-configured scope.",
1235 + "commands": { "allow": ["set_min_size"], "deny": [] }
1236 + },
1237 + "allow-set-minimizable": {
1238 + "identifier": "allow-set-minimizable",
1239 + "description": "Enables the set_minimizable command without any pre-configured scope.",
1240 + "commands": { "allow": ["set_minimizable"], "deny": [] }
1241 + },
1242 + "allow-set-position": {
1243 + "identifier": "allow-set-position",
1244 + "description": "Enables the set_position command without any pre-configured scope.",
1245 + "commands": { "allow": ["set_position"], "deny": [] }
1246 + },
1247 + "allow-set-progress-bar": {
1248 + "identifier": "allow-set-progress-bar",
1249 + "description": "Enables the set_progress_bar command without any pre-configured scope.",
1250 + "commands": { "allow": ["set_progress_bar"], "deny": [] }
1251 + },
1252 + "allow-set-resizable": {
1253 + "identifier": "allow-set-resizable",
1254 + "description": "Enables the set_resizable command without any pre-configured scope.",
1255 + "commands": { "allow": ["set_resizable"], "deny": [] }
1256 + },
1257 + "allow-set-shadow": {
1258 + "identifier": "allow-set-shadow",
1259 + "description": "Enables the set_shadow command without any pre-configured scope.",
1260 + "commands": { "allow": ["set_shadow"], "deny": [] }
1261 + },
1262 + "allow-set-size": {
1263 + "identifier": "allow-set-size",
1264 + "description": "Enables the set_size command without any pre-configured scope.",
1265 + "commands": { "allow": ["set_size"], "deny": [] }
1266 + },
1267 + "allow-set-skip-taskbar": {
1268 + "identifier": "allow-set-skip-taskbar",
1269 + "description": "Enables the set_skip_taskbar command without any pre-configured scope.",
1270 + "commands": { "allow": ["set_skip_taskbar"], "deny": [] }
1271 + },
1272 + "allow-set-title": {
1273 + "identifier": "allow-set-title",
1274 + "description": "Enables the set_title command without any pre-configured scope.",
1275 + "commands": { "allow": ["set_title"], "deny": [] }
1276 + },
1277 + "allow-set-title-bar-style": {
1278 + "identifier": "allow-set-title-bar-style",
1279 + "description": "Enables the set_title_bar_style command without any pre-configured scope.",
1280 + "commands": { "allow": ["set_title_bar_style"], "deny": [] }
1281 + },
1282 + "allow-set-visible-on-all-workspaces": {
1283 + "identifier": "allow-set-visible-on-all-workspaces",
1284 + "description": "Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1285 + "commands": { "allow": ["set_visible_on_all_workspaces"], "deny": [] }
1286 + },
1287 + "allow-show": {
1288 + "identifier": "allow-show",
1289 + "description": "Enables the show command without any pre-configured scope.",
1290 + "commands": { "allow": ["show"], "deny": [] }
1291 + },
1292 + "allow-start-dragging": {
1293 + "identifier": "allow-start-dragging",
1294 + "description": "Enables the start_dragging command without any pre-configured scope.",
1295 + "commands": { "allow": ["start_dragging"], "deny": [] }
1296 + },
1297 + "allow-start-resize-dragging": {
1298 + "identifier": "allow-start-resize-dragging",
1299 + "description": "Enables the start_resize_dragging command without any pre-configured scope.",
1300 + "commands": { "allow": ["start_resize_dragging"], "deny": [] }
1301 + },
1302 + "allow-theme": {
1303 + "identifier": "allow-theme",
1304 + "description": "Enables the theme command without any pre-configured scope.",
1305 + "commands": { "allow": ["theme"], "deny": [] }
1306 + },
1307 + "allow-title": {
1308 + "identifier": "allow-title",
1309 + "description": "Enables the title command without any pre-configured scope.",
1310 + "commands": { "allow": ["title"], "deny": [] }
1311 + },
1312 + "allow-toggle-maximize": {
1313 + "identifier": "allow-toggle-maximize",
1314 + "description": "Enables the toggle_maximize command without any pre-configured scope.",
1315 + "commands": { "allow": ["toggle_maximize"], "deny": [] }
1316 + },
1317 + "allow-unmaximize": {
1318 + "identifier": "allow-unmaximize",
1319 + "description": "Enables the unmaximize command without any pre-configured scope.",
1320 + "commands": { "allow": ["unmaximize"], "deny": [] }
1321 + },
1322 + "allow-unminimize": {
1323 + "identifier": "allow-unminimize",
1324 + "description": "Enables the unminimize command without any pre-configured scope.",
1325 + "commands": { "allow": ["unminimize"], "deny": [] }
1326 + },
1327 + "deny-available-monitors": {
1328 + "identifier": "deny-available-monitors",
1329 + "description": "Denies the available_monitors command without any pre-configured scope.",
1330 + "commands": { "allow": [], "deny": ["available_monitors"] }
1331 + },
1332 + "deny-center": {
1333 + "identifier": "deny-center",
1334 + "description": "Denies the center command without any pre-configured scope.",
1335 + "commands": { "allow": [], "deny": ["center"] }
1336 + },
1337 + "deny-close": {
1338 + "identifier": "deny-close",
1339 + "description": "Denies the close command without any pre-configured scope.",
1340 + "commands": { "allow": [], "deny": ["close"] }
1341 + },
1342 + "deny-create": {
1343 + "identifier": "deny-create",
1344 + "description": "Denies the create command without any pre-configured scope.",
1345 + "commands": { "allow": [], "deny": ["create"] }
1346 + },
1347 + "deny-current-monitor": {
1348 + "identifier": "deny-current-monitor",
1349 + "description": "Denies the current_monitor command without any pre-configured scope.",
1350 + "commands": { "allow": [], "deny": ["current_monitor"] }
1351 + },
1352 + "deny-cursor-position": {
1353 + "identifier": "deny-cursor-position",
1354 + "description": "Denies the cursor_position command without any pre-configured scope.",
1355 + "commands": { "allow": [], "deny": ["cursor_position"] }
1356 + },
1357 + "deny-destroy": {
1358 + "identifier": "deny-destroy",
1359 + "description": "Denies the destroy command without any pre-configured scope.",
1360 + "commands": { "allow": [], "deny": ["destroy"] }
1361 + },
1362 + "deny-hide": {
1363 + "identifier": "deny-hide",
1364 + "description": "Denies the hide command without any pre-configured scope.",
1365 + "commands": { "allow": [], "deny": ["hide"] }
1366 + },
1367 + "deny-inner-position": {
1368 + "identifier": "deny-inner-position",
1369 + "description": "Denies the inner_position command without any pre-configured scope.",
1370 + "commands": { "allow": [], "deny": ["inner_position"] }
1371 + },
1372 + "deny-inner-size": {
1373 + "identifier": "deny-inner-size",
1374 + "description": "Denies the inner_size command without any pre-configured scope.",
1375 + "commands": { "allow": [], "deny": ["inner_size"] }
1376 + },
1377 + "deny-internal-toggle-maximize": {
1378 + "identifier": "deny-internal-toggle-maximize",
1379 + "description": "Denies the internal_toggle_maximize command without any pre-configured scope.",
1380 + "commands": { "allow": [], "deny": ["internal_toggle_maximize"] }
1381 + },
1382 + "deny-is-closable": {
1383 + "identifier": "deny-is-closable",
1384 + "description": "Denies the is_closable command without any pre-configured scope.",
1385 + "commands": { "allow": [], "deny": ["is_closable"] }
1386 + },
1387 + "deny-is-decorated": {
1388 + "identifier": "deny-is-decorated",
1389 + "description": "Denies the is_decorated command without any pre-configured scope.",
1390 + "commands": { "allow": [], "deny": ["is_decorated"] }
1391 + },
1392 + "deny-is-focused": {
1393 + "identifier": "deny-is-focused",
1394 + "description": "Denies the is_focused command without any pre-configured scope.",
1395 + "commands": { "allow": [], "deny": ["is_focused"] }
1396 + },
1397 + "deny-is-fullscreen": {
1398 + "identifier": "deny-is-fullscreen",
1399 + "description": "Denies the is_fullscreen command without any pre-configured scope.",
1400 + "commands": { "allow": [], "deny": ["is_fullscreen"] }
1401 + },
1402 + "deny-is-maximizable": {
1403 + "identifier": "deny-is-maximizable",
1404 + "description": "Denies the is_maximizable command without any pre-configured scope.",
1405 + "commands": { "allow": [], "deny": ["is_maximizable"] }
1406 + },
1407 + "deny-is-maximized": {
1408 + "identifier": "deny-is-maximized",
1409 + "description": "Denies the is_maximized command without any pre-configured scope.",
1410 + "commands": { "allow": [], "deny": ["is_maximized"] }
1411 + },
1412 + "deny-is-minimizable": {
1413 + "identifier": "deny-is-minimizable",
1414 + "description": "Denies the is_minimizable command without any pre-configured scope.",
1415 + "commands": { "allow": [], "deny": ["is_minimizable"] }
1416 + },
1417 + "deny-is-minimized": {
1418 + "identifier": "deny-is-minimized",
1419 + "description": "Denies the is_minimized command without any pre-configured scope.",
1420 + "commands": { "allow": [], "deny": ["is_minimized"] }
1421 + },
1422 + "deny-is-resizable": {
1423 + "identifier": "deny-is-resizable",
1424 + "description": "Denies the is_resizable command without any pre-configured scope.",
1425 + "commands": { "allow": [], "deny": ["is_resizable"] }
1426 + },
1427 + "deny-is-visible": {
1428 + "identifier": "deny-is-visible",
1429 + "description": "Denies the is_visible command without any pre-configured scope.",
1430 + "commands": { "allow": [], "deny": ["is_visible"] }
1431 + },
1432 + "deny-maximize": {
1433 + "identifier": "deny-maximize",
1434 + "description": "Denies the maximize command without any pre-configured scope.",
1435 + "commands": { "allow": [], "deny": ["maximize"] }
1436 + },
1437 + "deny-minimize": {
1438 + "identifier": "deny-minimize",
1439 + "description": "Denies the minimize command without any pre-configured scope.",
1440 + "commands": { "allow": [], "deny": ["minimize"] }
1441 + },
1442 + "deny-monitor-from-point": {
1443 + "identifier": "deny-monitor-from-point",
1444 + "description": "Denies the monitor_from_point command without any pre-configured scope.",
1445 + "commands": { "allow": [], "deny": ["monitor_from_point"] }
1446 + },
1447 + "deny-outer-position": {
1448 + "identifier": "deny-outer-position",
1449 + "description": "Denies the outer_position command without any pre-configured scope.",
1450 + "commands": { "allow": [], "deny": ["outer_position"] }
1451 + },
1452 + "deny-outer-size": {
1453 + "identifier": "deny-outer-size",
1454 + "description": "Denies the outer_size command without any pre-configured scope.",
1455 + "commands": { "allow": [], "deny": ["outer_size"] }
1456 + },
1457 + "deny-primary-monitor": {
1458 + "identifier": "deny-primary-monitor",
1459 + "description": "Denies the primary_monitor command without any pre-configured scope.",
1460 + "commands": { "allow": [], "deny": ["primary_monitor"] }
1461 + },
1462 + "deny-request-user-attention": {
1463 + "identifier": "deny-request-user-attention",
1464 + "description": "Denies the request_user_attention command without any pre-configured scope.",
1465 + "commands": { "allow": [], "deny": ["request_user_attention"] }
1466 + },
1467 + "deny-scale-factor": {
1468 + "identifier": "deny-scale-factor",
1469 + "description": "Denies the scale_factor command without any pre-configured scope.",
1470 + "commands": { "allow": [], "deny": ["scale_factor"] }
1471 + },
1472 + "deny-set-always-on-bottom": {
1473 + "identifier": "deny-set-always-on-bottom",
1474 + "description": "Denies the set_always_on_bottom command without any pre-configured scope.",
1475 + "commands": { "allow": [], "deny": ["set_always_on_bottom"] }
1476 + },
1477 + "deny-set-always-on-top": {
1478 + "identifier": "deny-set-always-on-top",
1479 + "description": "Denies the set_always_on_top command without any pre-configured scope.",
1480 + "commands": { "allow": [], "deny": ["set_always_on_top"] }
1481 + },
1482 + "deny-set-closable": {
1483 + "identifier": "deny-set-closable",
1484 + "description": "Denies the set_closable command without any pre-configured scope.",
1485 + "commands": { "allow": [], "deny": ["set_closable"] }
1486 + },
1487 + "deny-set-content-protected": {
1488 + "identifier": "deny-set-content-protected",
1489 + "description": "Denies the set_content_protected command without any pre-configured scope.",
1490 + "commands": { "allow": [], "deny": ["set_content_protected"] }
1491 + },
1492 + "deny-set-cursor-grab": {
1493 + "identifier": "deny-set-cursor-grab",
1494 + "description": "Denies the set_cursor_grab command without any pre-configured scope.",
1495 + "commands": { "allow": [], "deny": ["set_cursor_grab"] }
1496 + },
1497 + "deny-set-cursor-icon": {
1498 + "identifier": "deny-set-cursor-icon",
1499 + "description": "Denies the set_cursor_icon command without any pre-configured scope.",
1500 + "commands": { "allow": [], "deny": ["set_cursor_icon"] }
1501 + },
1502 + "deny-set-cursor-position": {
1503 + "identifier": "deny-set-cursor-position",
1504 + "description": "Denies the set_cursor_position command without any pre-configured scope.",
1505 + "commands": { "allow": [], "deny": ["set_cursor_position"] }
1506 + },
1507 + "deny-set-cursor-visible": {
1508 + "identifier": "deny-set-cursor-visible",
1509 + "description": "Denies the set_cursor_visible command without any pre-configured scope.",
1510 + "commands": { "allow": [], "deny": ["set_cursor_visible"] }
1511 + },
1512 + "deny-set-decorations": {
1513 + "identifier": "deny-set-decorations",
1514 + "description": "Denies the set_decorations command without any pre-configured scope.",
1515 + "commands": { "allow": [], "deny": ["set_decorations"] }
1516 + },
1517 + "deny-set-effects": {
1518 + "identifier": "deny-set-effects",
1519 + "description": "Denies the set_effects command without any pre-configured scope.",
1520 + "commands": { "allow": [], "deny": ["set_effects"] }
1521 + },
1522 + "deny-set-focus": {
1523 + "identifier": "deny-set-focus",
1524 + "description": "Denies the set_focus command without any pre-configured scope.",
1525 + "commands": { "allow": [], "deny": ["set_focus"] }
1526 + },
1527 + "deny-set-fullscreen": {
1528 + "identifier": "deny-set-fullscreen",
1529 + "description": "Denies the set_fullscreen command without any pre-configured scope.",
1530 + "commands": { "allow": [], "deny": ["set_fullscreen"] }
1531 + },
1532 + "deny-set-icon": {
1533 + "identifier": "deny-set-icon",
1534 + "description": "Denies the set_icon command without any pre-configured scope.",
1535 + "commands": { "allow": [], "deny": ["set_icon"] }
1536 + },
1537 + "deny-set-ignore-cursor-events": {
1538 + "identifier": "deny-set-ignore-cursor-events",
1539 + "description": "Denies the set_ignore_cursor_events command without any pre-configured scope.",
1540 + "commands": { "allow": [], "deny": ["set_ignore_cursor_events"] }
1541 + },
1542 + "deny-set-max-size": {
1543 + "identifier": "deny-set-max-size",
1544 + "description": "Denies the set_max_size command without any pre-configured scope.",
1545 + "commands": { "allow": [], "deny": ["set_max_size"] }
1546 + },
1547 + "deny-set-maximizable": {
1548 + "identifier": "deny-set-maximizable",
1549 + "description": "Denies the set_maximizable command without any pre-configured scope.",
1550 + "commands": { "allow": [], "deny": ["set_maximizable"] }
1551 + },
1552 + "deny-set-min-size": {
1553 + "identifier": "deny-set-min-size",
1554 + "description": "Denies the set_min_size command without any pre-configured scope.",
1555 + "commands": { "allow": [], "deny": ["set_min_size"] }
1556 + },
1557 + "deny-set-minimizable": {
1558 + "identifier": "deny-set-minimizable",
1559 + "description": "Denies the set_minimizable command without any pre-configured scope.",
1560 + "commands": { "allow": [], "deny": ["set_minimizable"] }
1561 + },
1562 + "deny-set-position": {
1563 + "identifier": "deny-set-position",
1564 + "description": "Denies the set_position command without any pre-configured scope.",
1565 + "commands": { "allow": [], "deny": ["set_position"] }
1566 + },
1567 + "deny-set-progress-bar": {
1568 + "identifier": "deny-set-progress-bar",
1569 + "description": "Denies the set_progress_bar command without any pre-configured scope.",
1570 + "commands": { "allow": [], "deny": ["set_progress_bar"] }
1571 + },
1572 + "deny-set-resizable": {
1573 + "identifier": "deny-set-resizable",
1574 + "description": "Denies the set_resizable command without any pre-configured scope.",
1575 + "commands": { "allow": [], "deny": ["set_resizable"] }
1576 + },
1577 + "deny-set-shadow": {
1578 + "identifier": "deny-set-shadow",
1579 + "description": "Denies the set_shadow command without any pre-configured scope.",
1580 + "commands": { "allow": [], "deny": ["set_shadow"] }
1581 + },
1582 + "deny-set-size": {
1583 + "identifier": "deny-set-size",
1584 + "description": "Denies the set_size command without any pre-configured scope.",
1585 + "commands": { "allow": [], "deny": ["set_size"] }
1586 + },
1587 + "deny-set-skip-taskbar": {
1588 + "identifier": "deny-set-skip-taskbar",
1589 + "description": "Denies the set_skip_taskbar command without any pre-configured scope.",
1590 + "commands": { "allow": [], "deny": ["set_skip_taskbar"] }
1591 + },
1592 + "deny-set-title": {
1593 + "identifier": "deny-set-title",
1594 + "description": "Denies the set_title command without any pre-configured scope.",
1595 + "commands": { "allow": [], "deny": ["set_title"] }
1596 + },
1597 + "deny-set-title-bar-style": {
1598 + "identifier": "deny-set-title-bar-style",
1599 + "description": "Denies the set_title_bar_style command without any pre-configured scope.",
1600 + "commands": { "allow": [], "deny": ["set_title_bar_style"] }
1601 + },
1602 + "deny-set-visible-on-all-workspaces": {
1603 + "identifier": "deny-set-visible-on-all-workspaces",
1604 + "description": "Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
1605 + "commands": { "allow": [], "deny": ["set_visible_on_all_workspaces"] }
1606 + },
1607 + "deny-show": {
1608 + "identifier": "deny-show",
1609 + "description": "Denies the show command without any pre-configured scope.",
1610 + "commands": { "allow": [], "deny": ["show"] }
1611 + },
1612 + "deny-start-dragging": {
1613 + "identifier": "deny-start-dragging",
1614 + "description": "Denies the start_dragging command without any pre-configured scope.",
1615 + "commands": { "allow": [], "deny": ["start_dragging"] }
1616 + },
1617 + "deny-start-resize-dragging": {
1618 + "identifier": "deny-start-resize-dragging",
1619 + "description": "Denies the start_resize_dragging command without any pre-configured scope.",
1620 + "commands": { "allow": [], "deny": ["start_resize_dragging"] }
1621 + },
1622 + "deny-theme": {
1623 + "identifier": "deny-theme",
1624 + "description": "Denies the theme command without any pre-configured scope.",
1625 + "commands": { "allow": [], "deny": ["theme"] }
1626 + },
1627 + "deny-title": {
1628 + "identifier": "deny-title",
1629 + "description": "Denies the title command without any pre-configured scope.",
1630 + "commands": { "allow": [], "deny": ["title"] }
1631 + },
1632 + "deny-toggle-maximize": {
1633 + "identifier": "deny-toggle-maximize",
1634 + "description": "Denies the toggle_maximize command without any pre-configured scope.",
1635 + "commands": { "allow": [], "deny": ["toggle_maximize"] }
1636 + },
1637 + "deny-unmaximize": {
1638 + "identifier": "deny-unmaximize",
1639 + "description": "Denies the unmaximize command without any pre-configured scope.",
1640 + "commands": { "allow": [], "deny": ["unmaximize"] }
1641 + },
1642 + "deny-unminimize": {
1643 + "identifier": "deny-unminimize",
1644 + "description": "Denies the unminimize command without any pre-configured scope.",
1645 + "commands": { "allow": [], "deny": ["unminimize"] }
1646 + }
1647 + },
1648 + "permission_sets": {},
1649 + "global_scope_schema": null
1650 + }
1651 +}
examples/tauri-app/src-tauri/gen/schemas/android-schema.json
+1776 -2418
@@ -1,2419 +1,1777 @@
1 {
2 - "$schema": "http://json-schema.org/draft-07/schema#",
3 - "title": "CapabilityFile",
4 - "description": "Capability formats accepted in a capability file.",
5 - "anyOf": [
6 - {
7 - "description": "A single capability.",
8 - "allOf": [
9 - {
10 - "$ref": "#/definitions/Capability"
11 - }
12 - ]
13 - },
14 - {
15 - "description": "A list of capabilities.",
16 - "type": "array",
17 - "items": {
18 - "$ref": "#/definitions/Capability"
19 - }
20 - },
21 - {
22 - "description": "A list of capabilities.",
23 - "type": "object",
24 - "required": [
25 - "capabilities"
26 - ],
27 - "properties": {
28 - "capabilities": {
29 - "description": "The list of capabilities.",
30 - "type": "array",
31 - "items": {
32 - "$ref": "#/definitions/Capability"
33 - }
34 - }
35 - }
36 - }
37 - ],
38 - "definitions": {
39 - "Capability": {
40 - "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"core:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",
41 - "type": "object",
42 - "required": [
43 - "identifier",
44 - "permissions"
45 - ],
46 - "properties": {
47 - "identifier": {
48 - "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
49 - "type": "string"
50 - },
51 - "description": {
52 - "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",
53 - "default": "",
54 - "type": "string"
55 - },
56 - "remote": {
57 - "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",
58 - "anyOf": [
59 - {
60 - "$ref": "#/definitions/CapabilityRemote"
61 - },
62 - {
63 - "type": "null"
64 - }
65 - ]
66 - },
67 - "local": {
68 - "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
69 - "default": true,
70 - "type": "boolean"
71 - },
72 - "windows": {
73 - "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
74 - "type": "array",
75 - "items": {
76 - "type": "string"
77 - }
78 - },
79 - "webviews": {
80 - "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
81 - "type": "array",
82 - "items": {
83 - "type": "string"
84 - }
85 - },
86 - "permissions": {
87 - "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",
88 - "type": "array",
89 - "items": {
90 - "$ref": "#/definitions/PermissionEntry"
91 - },
92 - "uniqueItems": true
93 - },
94 - "platforms": {
95 - "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
96 - "type": [
97 - "array",
98 - "null"
99 - ],
100 - "items": {
101 - "$ref": "#/definitions/Target"
102 - }
103 - }
104 - }
105 - },
106 - "CapabilityRemote": {
107 - "description": "Configuration for remote URLs that are associated with the capability.",
108 - "type": "object",
109 - "required": [
110 - "urls"
111 - ],
112 - "properties": {
113 - "urls": {
114 - "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
115 - "type": "array",
116 - "items": {
117 - "type": "string"
118 - }
119 - }
120 - }
121 - },
122 - "PermissionEntry": {
123 - "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
124 - "anyOf": [
125 - {
126 - "description": "Reference a permission or permission set by identifier.",
127 - "allOf": [
128 - {
129 - "$ref": "#/definitions/Identifier"
130 - }
131 - ]
132 - },
133 - {
134 - "description": "Reference a permission or permission set by identifier and extends its scope.",
135 - "type": "object",
136 - "required": [
137 - "identifier"
138 - ],
139 - "properties": {
140 - "identifier": {
141 - "description": "Identifier of the permission or permission set.",
142 - "allOf": [
143 - {
144 - "$ref": "#/definitions/Identifier"
145 - }
146 - ]
147 - },
148 - "allow": {
149 - "description": "Data that defines what is allowed by the scope.",
150 - "type": [
151 - "array",
152 - "null"
153 - ],
154 - "items": {
155 - "$ref": "#/definitions/Value"
156 - }
157 - },
158 - "deny": {
159 - "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
160 - "type": [
161 - "array",
162 - "null"
163 - ],
164 - "items": {
165 - "$ref": "#/definitions/Value"
166 - }
167 - }
168 - }
169 - }
170 - ]
171 - },
172 - "Identifier": {
173 - "oneOf": [
174 - {
175 - "description": "admob:default -> Default permissions for the plugin",
176 - "type": "string",
177 - "enum": [
178 - "admob:default"
179 - ]
180 - },
181 - {
182 - "description": "admob:allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
183 - "type": "string",
184 - "enum": [
185 - "admob:allow-adCreate"
186 - ]
187 - },
188 - {
189 - "description": "admob:allow-adHide -> Enables the adHide command without any pre-configured scope.",
190 - "type": "string",
191 - "enum": [
192 - "admob:allow-adHide"
193 - ]
194 - },
195 - {
196 - "description": "admob:allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
197 - "type": "string",
198 - "enum": [
199 - "admob:allow-adIsLoaded"
200 - ]
201 - },
202 - {
203 - "description": "admob:allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
204 - "type": "string",
205 - "enum": [
206 - "admob:allow-adLoad"
207 - ]
208 - },
209 - {
210 - "description": "admob:allow-adShow -> Enables the adShow command without any pre-configured scope.",
211 - "type": "string",
212 - "enum": [
213 - "admob:allow-adShow"
214 - ]
215 - },
216 - {
217 - "description": "admob:allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
218 - "type": "string",
219 - "enum": [
220 - "admob:allow-configRequest"
221 - ]
222 - },
223 - {
224 - "description": "admob:allow-configure -> Enables the configure command without any pre-configured scope.",
225 - "type": "string",
226 - "enum": [
227 - "admob:allow-configure"
228 - ]
229 - },
230 - {
231 - "description": "admob:allow-isPrivacyOptionsRequired -> Enables the isPrivacyOptionsRequired command without any pre-configured scope.",
232 - "type": "string",
233 - "enum": [
234 - "admob:allow-isPrivacyOptionsRequired"
235 - ]
236 - },
237 - {
238 - "description": "admob:allow-register-listener -> Enables the register_listener command without any pre-configured scope.",
239 - "type": "string",
240 - "enum": [
241 - "admob:allow-register-listener"
242 - ]
243 - },
244 - {
245 - "description": "admob:allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
246 - "type": "string",
247 - "enum": [
248 - "admob:allow-requestTrackingAuthorization"
249 - ]
250 - },
251 - {
252 - "description": "admob:allow-showPrivacyOptionsForm -> Enables the showPrivacyOptionsForm command without any pre-configured scope.",
253 - "type": "string",
254 - "enum": [
255 - "admob:allow-showPrivacyOptionsForm"
256 - ]
257 - },
258 - {
259 - "description": "admob:allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
260 - "type": "string",
261 - "enum": [
262 - "admob:allow-trackingAuthorizationStatus"
263 - ]
264 - },
265 - {
266 - "description": "admob:deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
267 - "type": "string",
268 - "enum": [
269 - "admob:deny-adCreate"
270 - ]
271 - },
272 - {
273 - "description": "admob:deny-adHide -> Denies the adHide command without any pre-configured scope.",
274 - "type": "string",
275 - "enum": [
276 - "admob:deny-adHide"
277 - ]
278 - },
279 - {
280 - "description": "admob:deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
281 - "type": "string",
282 - "enum": [
283 - "admob:deny-adIsLoaded"
284 - ]
285 - },
286 - {
287 - "description": "admob:deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
288 - "type": "string",
289 - "enum": [
290 - "admob:deny-adLoad"
291 - ]
292 - },
293 - {
294 - "description": "admob:deny-adShow -> Denies the adShow command without any pre-configured scope.",
295 - "type": "string",
296 - "enum": [
297 - "admob:deny-adShow"
298 - ]
299 - },
300 - {
301 - "description": "admob:deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
302 - "type": "string",
303 - "enum": [
304 - "admob:deny-configRequest"
305 - ]
306 - },
307 - {
308 - "description": "admob:deny-configure -> Denies the configure command without any pre-configured scope.",
309 - "type": "string",
310 - "enum": [
311 - "admob:deny-configure"
312 - ]
313 - },
314 - {
315 - "description": "admob:deny-isPrivacyOptionsRequired -> Denies the isPrivacyOptionsRequired command without any pre-configured scope.",
316 - "type": "string",
317 - "enum": [
318 - "admob:deny-isPrivacyOptionsRequired"
319 - ]
320 - },
321 - {
322 - "description": "admob:deny-register-listener -> Denies the register_listener command without any pre-configured scope.",
323 - "type": "string",
324 - "enum": [
325 - "admob:deny-register-listener"
326 - ]
327 - },
328 - {
329 - "description": "admob:deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
330 - "type": "string",
331 - "enum": [
332 - "admob:deny-requestTrackingAuthorization"
333 - ]
334 - },
335 - {
336 - "description": "admob:deny-showPrivacyOptionsForm -> Denies the showPrivacyOptionsForm command without any pre-configured scope.",
337 - "type": "string",
338 - "enum": [
339 - "admob:deny-showPrivacyOptionsForm"
340 - ]
341 - },
342 - {
343 - "description": "admob:deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
344 - "type": "string",
345 - "enum": [
346 - "admob:deny-trackingAuthorizationStatus"
347 - ]
348 - },
349 - {
350 - "description": "core:app:default -> Default permissions for the plugin.",
351 - "type": "string",
352 - "enum": [
353 - "core:app:default"
354 - ]
355 - },
356 - {
357 - "description": "core:app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",
358 - "type": "string",
359 - "enum": [
360 - "core:app:allow-app-hide"
361 - ]
362 - },
363 - {
364 - "description": "core:app:allow-app-show -> Enables the app_show command without any pre-configured scope.",
365 - "type": "string",
366 - "enum": [
367 - "core:app:allow-app-show"
368 - ]
369 - },
370 - {
371 - "description": "core:app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",
372 - "type": "string",
373 - "enum": [
374 - "core:app:allow-default-window-icon"
375 - ]
376 - },
377 - {
378 - "description": "core:app:allow-name -> Enables the name command without any pre-configured scope.",
379 - "type": "string",
380 - "enum": [
381 - "core:app:allow-name"
382 - ]
383 - },
384 - {
385 - "description": "core:app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",
386 - "type": "string",
387 - "enum": [
388 - "core:app:allow-tauri-version"
389 - ]
390 - },
391 - {
392 - "description": "core:app:allow-version -> Enables the version command without any pre-configured scope.",
393 - "type": "string",
394 - "enum": [
395 - "core:app:allow-version"
396 - ]
397 - },
398 - {
399 - "description": "core:app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",
400 - "type": "string",
401 - "enum": [
402 - "core:app:deny-app-hide"
403 - ]
404 - },
405 - {
406 - "description": "core:app:deny-app-show -> Denies the app_show command without any pre-configured scope.",
407 - "type": "string",
408 - "enum": [
409 - "core:app:deny-app-show"
410 - ]
411 - },
412 - {
413 - "description": "core:app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",
414 - "type": "string",
415 - "enum": [
416 - "core:app:deny-default-window-icon"
417 - ]
418 - },
419 - {
420 - "description": "core:app:deny-name -> Denies the name command without any pre-configured scope.",
421 - "type": "string",
422 - "enum": [
423 - "core:app:deny-name"
424 - ]
425 - },
426 - {
427 - "description": "core:app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",
428 - "type": "string",
429 - "enum": [
430 - "core:app:deny-tauri-version"
431 - ]
432 - },
433 - {
434 - "description": "core:app:deny-version -> Denies the version command without any pre-configured scope.",
435 - "type": "string",
436 - "enum": [
437 - "core:app:deny-version"
438 - ]
439 - },
440 - {
441 - "description": "core:event:default -> Default permissions for the plugin.",
442 - "type": "string",
443 - "enum": [
444 - "core:event:default"
445 - ]
446 - },
447 - {
448 - "description": "core:event:allow-emit -> Enables the emit command without any pre-configured scope.",
449 - "type": "string",
450 - "enum": [
451 - "core:event:allow-emit"
452 - ]
453 - },
454 - {
455 - "description": "core:event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",
456 - "type": "string",
457 - "enum": [
458 - "core:event:allow-emit-to"
459 - ]
460 - },
461 - {
462 - "description": "core:event:allow-listen -> Enables the listen command without any pre-configured scope.",
463 - "type": "string",
464 - "enum": [
465 - "core:event:allow-listen"
466 - ]
467 - },
468 - {
469 - "description": "core:event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",
470 - "type": "string",
471 - "enum": [
472 - "core:event:allow-unlisten"
473 - ]
474 - },
475 - {
476 - "description": "core:event:deny-emit -> Denies the emit command without any pre-configured scope.",
477 - "type": "string",
478 - "enum": [
479 - "core:event:deny-emit"
480 - ]
481 - },
482 - {
483 - "description": "core:event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",
484 - "type": "string",
485 - "enum": [
486 - "core:event:deny-emit-to"
487 - ]
488 - },
489 - {
490 - "description": "core:event:deny-listen -> Denies the listen command without any pre-configured scope.",
491 - "type": "string",
492 - "enum": [
493 - "core:event:deny-listen"
494 - ]
495 - },
496 - {
497 - "description": "core:event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",
498 - "type": "string",
499 - "enum": [
500 - "core:event:deny-unlisten"
501 - ]
502 - },
503 - {
504 - "description": "core:image:default -> Default permissions for the plugin.",
505 - "type": "string",
506 - "enum": [
507 - "core:image:default"
508 - ]
509 - },
510 - {
511 - "description": "core:image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",
512 - "type": "string",
513 - "enum": [
514 - "core:image:allow-from-bytes"
515 - ]
516 - },
517 - {
518 - "description": "core:image:allow-from-path -> Enables the from_path command without any pre-configured scope.",
519 - "type": "string",
520 - "enum": [
521 - "core:image:allow-from-path"
522 - ]
523 - },
524 - {
525 - "description": "core:image:allow-new -> Enables the new command without any pre-configured scope.",
526 - "type": "string",
527 - "enum": [
528 - "core:image:allow-new"
529 - ]
530 - },
531 - {
532 - "description": "core:image:allow-rgba -> Enables the rgba command without any pre-configured scope.",
533 - "type": "string",
534 - "enum": [
535 - "core:image:allow-rgba"
536 - ]
537 - },
538 - {
539 - "description": "core:image:allow-size -> Enables the size command without any pre-configured scope.",
540 - "type": "string",
541 - "enum": [
542 - "core:image:allow-size"
543 - ]
544 - },
545 - {
546 - "description": "core:image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",
547 - "type": "string",
548 - "enum": [
549 - "core:image:deny-from-bytes"
550 - ]
551 - },
552 - {
553 - "description": "core:image:deny-from-path -> Denies the from_path command without any pre-configured scope.",
554 - "type": "string",
555 - "enum": [
556 - "core:image:deny-from-path"
557 - ]
558 - },
559 - {
560 - "description": "core:image:deny-new -> Denies the new command without any pre-configured scope.",
561 - "type": "string",
562 - "enum": [
563 - "core:image:deny-new"
564 - ]
565 - },
566 - {
567 - "description": "core:image:deny-rgba -> Denies the rgba command without any pre-configured scope.",
568 - "type": "string",
569 - "enum": [
570 - "core:image:deny-rgba"
571 - ]
572 - },
573 - {
574 - "description": "core:image:deny-size -> Denies the size command without any pre-configured scope.",
575 - "type": "string",
576 - "enum": [
577 - "core:image:deny-size"
578 - ]
579 - },
580 - {
581 - "description": "core:menu:default -> Default permissions for the plugin.",
582 - "type": "string",
583 - "enum": [
584 - "core:menu:default"
585 - ]
586 - },
587 - {
588 - "description": "core:menu:allow-append -> Enables the append command without any pre-configured scope.",
589 - "type": "string",
590 - "enum": [
591 - "core:menu:allow-append"
592 - ]
593 - },
594 - {
595 - "description": "core:menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",
596 - "type": "string",
597 - "enum": [
598 - "core:menu:allow-create-default"
599 - ]
600 - },
601 - {
602 - "description": "core:menu:allow-get -> Enables the get command without any pre-configured scope.",
603 - "type": "string",
604 - "enum": [
605 - "core:menu:allow-get"
606 - ]
607 - },
608 - {
609 - "description": "core:menu:allow-insert -> Enables the insert command without any pre-configured scope.",
610 - "type": "string",
611 - "enum": [
612 - "core:menu:allow-insert"
613 - ]
614 - },
615 - {
616 - "description": "core:menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",
617 - "type": "string",
618 - "enum": [
619 - "core:menu:allow-is-checked"
620 - ]
621 - },
622 - {
623 - "description": "core:menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",
624 - "type": "string",
625 - "enum": [
626 - "core:menu:allow-is-enabled"
627 - ]
628 - },
629 - {
630 - "description": "core:menu:allow-items -> Enables the items command without any pre-configured scope.",
631 - "type": "string",
632 - "enum": [
633 - "core:menu:allow-items"
634 - ]
635 - },
636 - {
637 - "description": "core:menu:allow-new -> Enables the new command without any pre-configured scope.",
638 - "type": "string",
639 - "enum": [
640 - "core:menu:allow-new"
641 - ]
642 - },
643 - {
644 - "description": "core:menu:allow-popup -> Enables the popup command without any pre-configured scope.",
645 - "type": "string",
646 - "enum": [
647 - "core:menu:allow-popup"
648 - ]
649 - },
650 - {
651 - "description": "core:menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",
652 - "type": "string",
653 - "enum": [
654 - "core:menu:allow-prepend"
655 - ]
656 - },
657 - {
658 - "description": "core:menu:allow-remove -> Enables the remove command without any pre-configured scope.",
659 - "type": "string",
660 - "enum": [
661 - "core:menu:allow-remove"
662 - ]
663 - },
664 - {
665 - "description": "core:menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",
666 - "type": "string",
667 - "enum": [
668 - "core:menu:allow-remove-at"
669 - ]
670 - },
671 - {
672 - "description": "core:menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",
673 - "type": "string",
674 - "enum": [
675 - "core:menu:allow-set-accelerator"
676 - ]
677 - },
678 - {
679 - "description": "core:menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",
680 - "type": "string",
681 - "enum": [
682 - "core:menu:allow-set-as-app-menu"
683 - ]
684 - },
685 - {
686 - "description": "core:menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
687 - "type": "string",
688 - "enum": [
689 - "core:menu:allow-set-as-help-menu-for-nsapp"
690 - ]
691 - },
692 - {
693 - "description": "core:menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",
694 - "type": "string",
695 - "enum": [
696 - "core:menu:allow-set-as-window-menu"
697 - ]
698 - },
699 - {
700 - "description": "core:menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
701 - "type": "string",
702 - "enum": [
703 - "core:menu:allow-set-as-windows-menu-for-nsapp"
704 - ]
705 - },
706 - {
707 - "description": "core:menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",
708 - "type": "string",
709 - "enum": [
710 - "core:menu:allow-set-checked"
711 - ]
712 - },
713 - {
714 - "description": "core:menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",
715 - "type": "string",
716 - "enum": [
717 - "core:menu:allow-set-enabled"
718 - ]
719 - },
720 - {
721 - "description": "core:menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
722 - "type": "string",
723 - "enum": [
724 - "core:menu:allow-set-icon"
725 - ]
726 - },
727 - {
728 - "description": "core:menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",
729 - "type": "string",
730 - "enum": [
731 - "core:menu:allow-set-text"
732 - ]
733 - },
734 - {
735 - "description": "core:menu:allow-text -> Enables the text command without any pre-configured scope.",
736 - "type": "string",
737 - "enum": [
738 - "core:menu:allow-text"
739 - ]
740 - },
741 - {
742 - "description": "core:menu:deny-append -> Denies the append command without any pre-configured scope.",
743 - "type": "string",
744 - "enum": [
745 - "core:menu:deny-append"
746 - ]
747 - },
748 - {
749 - "description": "core:menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",
750 - "type": "string",
751 - "enum": [
752 - "core:menu:deny-create-default"
753 - ]
754 - },
755 - {
756 - "description": "core:menu:deny-get -> Denies the get command without any pre-configured scope.",
757 - "type": "string",
758 - "enum": [
759 - "core:menu:deny-get"
760 - ]
761 - },
762 - {
763 - "description": "core:menu:deny-insert -> Denies the insert command without any pre-configured scope.",
764 - "type": "string",
765 - "enum": [
766 - "core:menu:deny-insert"
767 - ]
768 - },
769 - {
770 - "description": "core:menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",
771 - "type": "string",
772 - "enum": [
773 - "core:menu:deny-is-checked"
774 - ]
775 - },
776 - {
777 - "description": "core:menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",
778 - "type": "string",
779 - "enum": [
780 - "core:menu:deny-is-enabled"
781 - ]
782 - },
783 - {
784 - "description": "core:menu:deny-items -> Denies the items command without any pre-configured scope.",
785 - "type": "string",
786 - "enum": [
787 - "core:menu:deny-items"
788 - ]
789 - },
790 - {
791 - "description": "core:menu:deny-new -> Denies the new command without any pre-configured scope.",
792 - "type": "string",
793 - "enum": [
794 - "core:menu:deny-new"
795 - ]
796 - },
797 - {
798 - "description": "core:menu:deny-popup -> Denies the popup command without any pre-configured scope.",
799 - "type": "string",
800 - "enum": [
801 - "core:menu:deny-popup"
802 - ]
803 - },
804 - {
805 - "description": "core:menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",
806 - "type": "string",
807 - "enum": [
808 - "core:menu:deny-prepend"
809 - ]
810 - },
811 - {
812 - "description": "core:menu:deny-remove -> Denies the remove command without any pre-configured scope.",
813 - "type": "string",
814 - "enum": [
815 - "core:menu:deny-remove"
816 - ]
817 - },
818 - {
819 - "description": "core:menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",
820 - "type": "string",
821 - "enum": [
822 - "core:menu:deny-remove-at"
823 - ]
824 - },
825 - {
826 - "description": "core:menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",
827 - "type": "string",
828 - "enum": [
829 - "core:menu:deny-set-accelerator"
830 - ]
831 - },
832 - {
833 - "description": "core:menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",
834 - "type": "string",
835 - "enum": [
836 - "core:menu:deny-set-as-app-menu"
837 - ]
838 - },
839 - {
840 - "description": "core:menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
841 - "type": "string",
842 - "enum": [
843 - "core:menu:deny-set-as-help-menu-for-nsapp"
844 - ]
845 - },
846 - {
847 - "description": "core:menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",
848 - "type": "string",
849 - "enum": [
850 - "core:menu:deny-set-as-window-menu"
851 - ]
852 - },
853 - {
854 - "description": "core:menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
855 - "type": "string",
856 - "enum": [
857 - "core:menu:deny-set-as-windows-menu-for-nsapp"
858 - ]
859 - },
860 - {
861 - "description": "core:menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",
862 - "type": "string",
863 - "enum": [
864 - "core:menu:deny-set-checked"
865 - ]
866 - },
867 - {
868 - "description": "core:menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",
869 - "type": "string",
870 - "enum": [
871 - "core:menu:deny-set-enabled"
872 - ]
873 - },
874 - {
875 - "description": "core:menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
876 - "type": "string",
877 - "enum": [
878 - "core:menu:deny-set-icon"
879 - ]
880 - },
881 - {
882 - "description": "core:menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",
883 - "type": "string",
884 - "enum": [
885 - "core:menu:deny-set-text"
886 - ]
887 - },
888 - {
889 - "description": "core:menu:deny-text -> Denies the text command without any pre-configured scope.",
890 - "type": "string",
891 - "enum": [
892 - "core:menu:deny-text"
893 - ]
894 - },
895 - {
896 - "description": "core:path:default -> Default permissions for the plugin.",
897 - "type": "string",
898 - "enum": [
899 - "core:path:default"
900 - ]
901 - },
902 - {
903 - "description": "core:path:allow-basename -> Enables the basename command without any pre-configured scope.",
904 - "type": "string",
905 - "enum": [
906 - "core:path:allow-basename"
907 - ]
908 - },
909 - {
910 - "description": "core:path:allow-dirname -> Enables the dirname command without any pre-configured scope.",
911 - "type": "string",
912 - "enum": [
913 - "core:path:allow-dirname"
914 - ]
915 - },
916 - {
917 - "description": "core:path:allow-extname -> Enables the extname command without any pre-configured scope.",
918 - "type": "string",
919 - "enum": [
920 - "core:path:allow-extname"
921 - ]
922 - },
923 - {
924 - "description": "core:path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",
925 - "type": "string",
926 - "enum": [
927 - "core:path:allow-is-absolute"
928 - ]
929 - },
930 - {
931 - "description": "core:path:allow-join -> Enables the join command without any pre-configured scope.",
932 - "type": "string",
933 - "enum": [
934 - "core:path:allow-join"
935 - ]
936 - },
937 - {
938 - "description": "core:path:allow-normalize -> Enables the normalize command without any pre-configured scope.",
939 - "type": "string",
940 - "enum": [
941 - "core:path:allow-normalize"
942 - ]
943 - },
944 - {
945 - "description": "core:path:allow-resolve -> Enables the resolve command without any pre-configured scope.",
946 - "type": "string",
947 - "enum": [
948 - "core:path:allow-resolve"
949 - ]
950 - },
951 - {
952 - "description": "core:path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",
953 - "type": "string",
954 - "enum": [
955 - "core:path:allow-resolve-directory"
956 - ]
957 - },
958 - {
959 - "description": "core:path:deny-basename -> Denies the basename command without any pre-configured scope.",
960 - "type": "string",
961 - "enum": [
962 - "core:path:deny-basename"
963 - ]
964 - },
965 - {
966 - "description": "core:path:deny-dirname -> Denies the dirname command without any pre-configured scope.",
967 - "type": "string",
968 - "enum": [
969 - "core:path:deny-dirname"
970 - ]
971 - },
972 - {
973 - "description": "core:path:deny-extname -> Denies the extname command without any pre-configured scope.",
974 - "type": "string",
975 - "enum": [
976 - "core:path:deny-extname"
977 - ]
978 - },
979 - {
980 - "description": "core:path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",
981 - "type": "string",
982 - "enum": [
983 - "core:path:deny-is-absolute"
984 - ]
985 - },
986 - {
987 - "description": "core:path:deny-join -> Denies the join command without any pre-configured scope.",
988 - "type": "string",
989 - "enum": [
990 - "core:path:deny-join"
991 - ]
992 - },
993 - {
994 - "description": "core:path:deny-normalize -> Denies the normalize command without any pre-configured scope.",
995 - "type": "string",
996 - "enum": [
997 - "core:path:deny-normalize"
998 - ]
999 - },
1000 - {
1001 - "description": "core:path:deny-resolve -> Denies the resolve command without any pre-configured scope.",
1002 - "type": "string",
1003 - "enum": [
1004 - "core:path:deny-resolve"
1005 - ]
1006 - },
1007 - {
1008 - "description": "core:path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",
1009 - "type": "string",
1010 - "enum": [
1011 - "core:path:deny-resolve-directory"
1012 - ]
1013 - },
1014 - {
1015 - "description": "core:resources:default -> Default permissions for the plugin.",
1016 - "type": "string",
1017 - "enum": [
1018 - "core:resources:default"
1019 - ]
1020 - },
1021 - {
1022 - "description": "core:resources:allow-close -> Enables the close command without any pre-configured scope.",
1023 - "type": "string",
1024 - "enum": [
1025 - "core:resources:allow-close"
1026 - ]
1027 - },
1028 - {
1029 - "description": "core:resources:deny-close -> Denies the close command without any pre-configured scope.",
1030 - "type": "string",
1031 - "enum": [
1032 - "core:resources:deny-close"
1033 - ]
1034 - },
1035 - {
1036 - "description": "core:tray:default -> Default permissions for the plugin.",
1037 - "type": "string",
1038 - "enum": [
1039 - "core:tray:default"
1040 - ]
1041 - },
1042 - {
1043 - "description": "core:tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",
1044 - "type": "string",
1045 - "enum": [
1046 - "core:tray:allow-get-by-id"
1047 - ]
1048 - },
1049 - {
1050 - "description": "core:tray:allow-new -> Enables the new command without any pre-configured scope.",
1051 - "type": "string",
1052 - "enum": [
1053 - "core:tray:allow-new"
1054 - ]
1055 - },
1056 - {
1057 - "description": "core:tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",
1058 - "type": "string",
1059 - "enum": [
1060 - "core:tray:allow-remove-by-id"
1061 - ]
1062 - },
1063 - {
1064 - "description": "core:tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1065 - "type": "string",
1066 - "enum": [
1067 - "core:tray:allow-set-icon"
1068 - ]
1069 - },
1070 - {
1071 - "description": "core:tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",
1072 - "type": "string",
1073 - "enum": [
1074 - "core:tray:allow-set-icon-as-template"
1075 - ]
1076 - },
1077 - {
1078 - "description": "core:tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",
1079 - "type": "string",
1080 - "enum": [
1081 - "core:tray:allow-set-menu"
1082 - ]
1083 - },
1084 - {
1085 - "description": "core:tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",
1086 - "type": "string",
1087 - "enum": [
1088 - "core:tray:allow-set-show-menu-on-left-click"
1089 - ]
1090 - },
1091 - {
1092 - "description": "core:tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",
1093 - "type": "string",
1094 - "enum": [
1095 - "core:tray:allow-set-temp-dir-path"
1096 - ]
1097 - },
1098 - {
1099 - "description": "core:tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1100 - "type": "string",
1101 - "enum": [
1102 - "core:tray:allow-set-title"
1103 - ]
1104 - },
1105 - {
1106 - "description": "core:tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",
1107 - "type": "string",
1108 - "enum": [
1109 - "core:tray:allow-set-tooltip"
1110 - ]
1111 - },
1112 - {
1113 - "description": "core:tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",
1114 - "type": "string",
1115 - "enum": [
1116 - "core:tray:allow-set-visible"
1117 - ]
1118 - },
1119 - {
1120 - "description": "core:tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",
1121 - "type": "string",
1122 - "enum": [
1123 - "core:tray:deny-get-by-id"
1124 - ]
1125 - },
1126 - {
1127 - "description": "core:tray:deny-new -> Denies the new command without any pre-configured scope.",
1128 - "type": "string",
1129 - "enum": [
1130 - "core:tray:deny-new"
1131 - ]
1132 - },
1133 - {
1134 - "description": "core:tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",
1135 - "type": "string",
1136 - "enum": [
1137 - "core:tray:deny-remove-by-id"
1138 - ]
1139 - },
1140 - {
1141 - "description": "core:tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
1142 - "type": "string",
1143 - "enum": [
1144 - "core:tray:deny-set-icon"
1145 - ]
1146 - },
1147 - {
1148 - "description": "core:tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",
1149 - "type": "string",
1150 - "enum": [
1151 - "core:tray:deny-set-icon-as-template"
1152 - ]
1153 - },
1154 - {
1155 - "description": "core:tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",
1156 - "type": "string",
1157 - "enum": [
1158 - "core:tray:deny-set-menu"
1159 - ]
1160 - },
1161 - {
1162 - "description": "core:tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",
1163 - "type": "string",
1164 - "enum": [
1165 - "core:tray:deny-set-show-menu-on-left-click"
1166 - ]
1167 - },
1168 - {
1169 - "description": "core:tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",
1170 - "type": "string",
1171 - "enum": [
1172 - "core:tray:deny-set-temp-dir-path"
1173 - ]
1174 - },
1175 - {
1176 - "description": "core:tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",
1177 - "type": "string",
1178 - "enum": [
1179 - "core:tray:deny-set-title"
1180 - ]
1181 - },
1182 - {
1183 - "description": "core:tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",
1184 - "type": "string",
1185 - "enum": [
1186 - "core:tray:deny-set-tooltip"
1187 - ]
1188 - },
1189 - {
1190 - "description": "core:tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",
1191 - "type": "string",
1192 - "enum": [
1193 - "core:tray:deny-set-visible"
1194 - ]
1195 - },
1196 - {
1197 - "description": "core:webview:default -> Default permissions for the plugin.",
1198 - "type": "string",
1199 - "enum": [
1200 - "core:webview:default"
1201 - ]
1202 - },
1203 - {
1204 - "description": "core:webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",
1205 - "type": "string",
1206 - "enum": [
1207 - "core:webview:allow-create-webview"
1208 - ]
1209 - },
1210 - {
1211 - "description": "core:webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",
1212 - "type": "string",
1213 - "enum": [
1214 - "core:webview:allow-create-webview-window"
1215 - ]
1216 - },
1217 - {
1218 - "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.",
1219 - "type": "string",
1220 - "enum": [
1221 - "core:webview:allow-get-all-webviews"
1222 - ]
1223 - },
1224 - {
1225 - "description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
1226 - "type": "string",
1227 - "enum": [
1228 - "core:webview:allow-internal-toggle-devtools"
1229 - ]
1230 - },
1231 - {
1232 - "description": "core:webview:allow-print -> Enables the print command without any pre-configured scope.",
1233 - "type": "string",
1234 - "enum": [
1235 - "core:webview:allow-print"
1236 - ]
1237 - },
1238 - {
1239 - "description": "core:webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",
1240 - "type": "string",
1241 - "enum": [
1242 - "core:webview:allow-reparent"
1243 - ]
1244 - },
1245 - {
1246 - "description": "core:webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",
1247 - "type": "string",
1248 - "enum": [
1249 - "core:webview:allow-set-webview-focus"
1250 - ]
1251 - },
1252 - {
1253 - "description": "core:webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",
1254 - "type": "string",
1255 - "enum": [
1256 - "core:webview:allow-set-webview-position"
1257 - ]
1258 - },
1259 - {
1260 - "description": "core:webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",
1261 - "type": "string",
1262 - "enum": [
1263 - "core:webview:allow-set-webview-size"
1264 - ]
1265 - },
1266 - {
1267 - "description": "core:webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",
1268 - "type": "string",
1269 - "enum": [
1270 - "core:webview:allow-set-webview-zoom"
1271 - ]
1272 - },
1273 - {
1274 - "description": "core:webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",
1275 - "type": "string",
1276 - "enum": [
1277 - "core:webview:allow-webview-close"
1278 - ]
1279 - },
1280 - {
1281 - "description": "core:webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",
1282 - "type": "string",
1283 - "enum": [
1284 - "core:webview:allow-webview-position"
1285 - ]
1286 - },
1287 - {
1288 - "description": "core:webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",
1289 - "type": "string",
1290 - "enum": [
1291 - "core:webview:allow-webview-size"
1292 - ]
1293 - },
1294 - {
1295 - "description": "core:webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",
1296 - "type": "string",
1297 - "enum": [
1298 - "core:webview:deny-create-webview"
1299 - ]
1300 - },
1301 - {
1302 - "description": "core:webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",
1303 - "type": "string",
1304 - "enum": [
1305 - "core:webview:deny-create-webview-window"
1306 - ]
1307 - },
1308 - {
1309 - "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.",
1310 - "type": "string",
1311 - "enum": [
1312 - "core:webview:deny-get-all-webviews"
1313 - ]
1314 - },
1315 - {
1316 - "description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
1317 - "type": "string",
1318 - "enum": [
1319 - "core:webview:deny-internal-toggle-devtools"
1320 - ]
1321 - },
1322 - {
1323 - "description": "core:webview:deny-print -> Denies the print command without any pre-configured scope.",
1324 - "type": "string",
1325 - "enum": [
1326 - "core:webview:deny-print"
1327 - ]
1328 - },
1329 - {
1330 - "description": "core:webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",
1331 - "type": "string",
1332 - "enum": [
1333 - "core:webview:deny-reparent"
1334 - ]
1335 - },
1336 - {
1337 - "description": "core:webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",
1338 - "type": "string",
1339 - "enum": [
1340 - "core:webview:deny-set-webview-focus"
1341 - ]
1342 - },
1343 - {
1344 - "description": "core:webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",
1345 - "type": "string",
1346 - "enum": [
1347 - "core:webview:deny-set-webview-position"
1348 - ]
1349 - },
1350 - {
1351 - "description": "core:webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",
1352 - "type": "string",
1353 - "enum": [
1354 - "core:webview:deny-set-webview-size"
1355 - ]
1356 - },
1357 - {
1358 - "description": "core:webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",
1359 - "type": "string",
1360 - "enum": [
1361 - "core:webview:deny-set-webview-zoom"
1362 - ]
1363 - },
1364 - {
1365 - "description": "core:webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",
1366 - "type": "string",
1367 - "enum": [
1368 - "core:webview:deny-webview-close"
1369 - ]
1370 - },
1371 - {
1372 - "description": "core:webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",
1373 - "type": "string",
1374 - "enum": [
1375 - "core:webview:deny-webview-position"
1376 - ]
1377 - },
1378 - {
1379 - "description": "core:webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",
1380 - "type": "string",
1381 - "enum": [
1382 - "core:webview:deny-webview-size"
1383 - ]
1384 - },
1385 - {
1386 - "description": "core:window:default -> Default permissions for the plugin.",
1387 - "type": "string",
1388 - "enum": [
1389 - "core:window:default"
1390 - ]
1391 - },
1392 - {
1393 - "description": "core:window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",
1394 - "type": "string",
1395 - "enum": [
1396 - "core:window:allow-available-monitors"
1397 - ]
1398 - },
1399 - {
1400 - "description": "core:window:allow-center -> Enables the center command without any pre-configured scope.",
1401 - "type": "string",
1402 - "enum": [
1403 - "core:window:allow-center"
1404 - ]
1405 - },
1406 - {
1407 - "description": "core:window:allow-close -> Enables the close command without any pre-configured scope.",
1408 - "type": "string",
1409 - "enum": [
1410 - "core:window:allow-close"
1411 - ]
1412 - },
1413 - {
1414 - "description": "core:window:allow-create -> Enables the create command without any pre-configured scope.",
1415 - "type": "string",
1416 - "enum": [
1417 - "core:window:allow-create"
1418 - ]
1419 - },
1420 - {
1421 - "description": "core:window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",
1422 - "type": "string",
1423 - "enum": [
1424 - "core:window:allow-current-monitor"
1425 - ]
1426 - },
1427 - {
1428 - "description": "core:window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",
1429 - "type": "string",
1430 - "enum": [
1431 - "core:window:allow-cursor-position"
1432 - ]
1433 - },
1434 - {
1435 - "description": "core:window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
1436 - "type": "string",
1437 - "enum": [
1438 - "core:window:allow-destroy"
1439 - ]
1440 - },
1441 - {
1442 - "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.",
1443 - "type": "string",
1444 - "enum": [
1445 - "core:window:allow-get-all-windows"
1446 - ]
1447 - },
1448 - {
1449 - "description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.",
1450 - "type": "string",
1451 - "enum": [
1452 - "core:window:allow-hide"
1453 - ]
1454 - },
1455 - {
1456 - "description": "core:window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",
1457 - "type": "string",
1458 - "enum": [
1459 - "core:window:allow-inner-position"
1460 - ]
1461 - },
1462 - {
1463 - "description": "core:window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",
1464 - "type": "string",
1465 - "enum": [
1466 - "core:window:allow-inner-size"
1467 - ]
1468 - },
1469 - {
1470 - "description": "core:window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",
1471 - "type": "string",
1472 - "enum": [
1473 - "core:window:allow-internal-toggle-maximize"
1474 - ]
1475 - },
1476 - {
1477 - "description": "core:window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",
1478 - "type": "string",
1479 - "enum": [
1480 - "core:window:allow-is-closable"
1481 - ]
1482 - },
1483 - {
1484 - "description": "core:window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",
1485 - "type": "string",
1486 - "enum": [
1487 - "core:window:allow-is-decorated"
1488 - ]
1489 - },
1490 - {
1491 - "description": "core:window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",
1492 - "type": "string",
1493 - "enum": [
1494 - "core:window:allow-is-focused"
1495 - ]
1496 - },
1497 - {
1498 - "description": "core:window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",
1499 - "type": "string",
1500 - "enum": [
1501 - "core:window:allow-is-fullscreen"
1502 - ]
1503 - },
1504 - {
1505 - "description": "core:window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",
1506 - "type": "string",
1507 - "enum": [
1508 - "core:window:allow-is-maximizable"
1509 - ]
1510 - },
1511 - {
1512 - "description": "core:window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",
1513 - "type": "string",
1514 - "enum": [
1515 - "core:window:allow-is-maximized"
1516 - ]
1517 - },
1518 - {
1519 - "description": "core:window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",
1520 - "type": "string",
1521 - "enum": [
1522 - "core:window:allow-is-minimizable"
1523 - ]
1524 - },
1525 - {
1526 - "description": "core:window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",
1527 - "type": "string",
1528 - "enum": [
1529 - "core:window:allow-is-minimized"
1530 - ]
1531 - },
1532 - {
1533 - "description": "core:window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",
1534 - "type": "string",
1535 - "enum": [
1536 - "core:window:allow-is-resizable"
1537 - ]
1538 - },
1539 - {
1540 - "description": "core:window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",
1541 - "type": "string",
1542 - "enum": [
1543 - "core:window:allow-is-visible"
1544 - ]
1545 - },
1546 - {
1547 - "description": "core:window:allow-maximize -> Enables the maximize command without any pre-configured scope.",
1548 - "type": "string",
1549 - "enum": [
1550 - "core:window:allow-maximize"
1551 - ]
1552 - },
1553 - {
1554 - "description": "core:window:allow-minimize -> Enables the minimize command without any pre-configured scope.",
1555 - "type": "string",
1556 - "enum": [
1557 - "core:window:allow-minimize"
1558 - ]
1559 - },
1560 - {
1561 - "description": "core:window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",
1562 - "type": "string",
1563 - "enum": [
1564 - "core:window:allow-monitor-from-point"
1565 - ]
1566 - },
1567 - {
1568 - "description": "core:window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
1569 - "type": "string",
1570 - "enum": [
1571 - "core:window:allow-outer-position"
1572 - ]
1573 - },
1574 - {
1575 - "description": "core:window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",
1576 - "type": "string",
1577 - "enum": [
1578 - "core:window:allow-outer-size"
1579 - ]
1580 - },
1581 - {
1582 - "description": "core:window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",
1583 - "type": "string",
1584 - "enum": [
1585 - "core:window:allow-primary-monitor"
1586 - ]
1587 - },
1588 - {
1589 - "description": "core:window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",
1590 - "type": "string",
1591 - "enum": [
1592 - "core:window:allow-request-user-attention"
1593 - ]
1594 - },
1595 - {
1596 - "description": "core:window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",
1597 - "type": "string",
1598 - "enum": [
1599 - "core:window:allow-scale-factor"
1600 - ]
1601 - },
1602 - {
1603 - "description": "core:window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",
1604 - "type": "string",
1605 - "enum": [
1606 - "core:window:allow-set-always-on-bottom"
1607 - ]
1608 - },
1609 - {
1610 - "description": "core:window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",
1611 - "type": "string",
1612 - "enum": [
1613 - "core:window:allow-set-always-on-top"
1614 - ]
1615 - },
1616 - {
1617 - "description": "core:window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",
1618 - "type": "string",
1619 - "enum": [
1620 - "core:window:allow-set-closable"
1621 - ]
1622 - },
1623 - {
1624 - "description": "core:window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",
1625 - "type": "string",
1626 - "enum": [
1627 - "core:window:allow-set-content-protected"
1628 - ]
1629 - },
1630 - {
1631 - "description": "core:window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",
1632 - "type": "string",
1633 - "enum": [
1634 - "core:window:allow-set-cursor-grab"
1635 - ]
1636 - },
1637 - {
1638 - "description": "core:window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",
1639 - "type": "string",
1640 - "enum": [
1641 - "core:window:allow-set-cursor-icon"
1642 - ]
1643 - },
1644 - {
1645 - "description": "core:window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",
1646 - "type": "string",
1647 - "enum": [
1648 - "core:window:allow-set-cursor-position"
1649 - ]
1650 - },
1651 - {
1652 - "description": "core:window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",
1653 - "type": "string",
1654 - "enum": [
1655 - "core:window:allow-set-cursor-visible"
1656 - ]
1657 - },
1658 - {
1659 - "description": "core:window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",
1660 - "type": "string",
1661 - "enum": [
1662 - "core:window:allow-set-decorations"
1663 - ]
1664 - },
1665 - {
1666 - "description": "core:window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",
1667 - "type": "string",
1668 - "enum": [
1669 - "core:window:allow-set-effects"
1670 - ]
1671 - },
1672 - {
1673 - "description": "core:window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",
1674 - "type": "string",
1675 - "enum": [
1676 - "core:window:allow-set-focus"
1677 - ]
1678 - },
1679 - {
1680 - "description": "core:window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",
1681 - "type": "string",
1682 - "enum": [
1683 - "core:window:allow-set-fullscreen"
1684 - ]
1685 - },
1686 - {
1687 - "description": "core:window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1688 - "type": "string",
1689 - "enum": [
1690 - "core:window:allow-set-icon"
1691 - ]
1692 - },
1693 - {
1694 - "description": "core:window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",
1695 - "type": "string",
1696 - "enum": [
1697 - "core:window:allow-set-ignore-cursor-events"
1698 - ]
1699 - },
1700 - {
1701 - "description": "core:window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",
1702 - "type": "string",
1703 - "enum": [
1704 - "core:window:allow-set-max-size"
1705 - ]
1706 - },
1707 - {
1708 - "description": "core:window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",
1709 - "type": "string",
1710 - "enum": [
1711 - "core:window:allow-set-maximizable"
1712 - ]
1713 - },
1714 - {
1715 - "description": "core:window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",
1716 - "type": "string",
1717 - "enum": [
1718 - "core:window:allow-set-min-size"
1719 - ]
1720 - },
1721 - {
1722 - "description": "core:window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",
1723 - "type": "string",
1724 - "enum": [
1725 - "core:window:allow-set-minimizable"
1726 - ]
1727 - },
1728 - {
1729 - "description": "core:window:allow-set-position -> Enables the set_position command without any pre-configured scope.",
1730 - "type": "string",
1731 - "enum": [
1732 - "core:window:allow-set-position"
1733 - ]
1734 - },
1735 - {
1736 - "description": "core:window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",
1737 - "type": "string",
1738 - "enum": [
1739 - "core:window:allow-set-progress-bar"
1740 - ]
1741 - },
1742 - {
1743 - "description": "core:window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",
1744 - "type": "string",
1745 - "enum": [
1746 - "core:window:allow-set-resizable"
1747 - ]
1748 - },
1749 - {
1750 - "description": "core:window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",
1751 - "type": "string",
1752 - "enum": [
1753 - "core:window:allow-set-shadow"
1754 - ]
1755 - },
1756 - {
1757 - "description": "core:window:allow-set-size -> Enables the set_size command without any pre-configured scope.",
1758 - "type": "string",
1759 - "enum": [
1760 - "core:window:allow-set-size"
1761 - ]
1762 - },
1763 - {
1764 - "description": "core:window:allow-set-size-constraints -> Enables the set_size_constraints command without any pre-configured scope.",
1765 - "type": "string",
1766 - "enum": [
1767 - "core:window:allow-set-size-constraints"
1768 - ]
1769 - },
1770 - {
1771 - "description": "core:window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",
1772 - "type": "string",
1773 - "enum": [
1774 - "core:window:allow-set-skip-taskbar"
1775 - ]
1776 - },
1777 - {
1778 - "description": "core:window:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1779 - "type": "string",
1780 - "enum": [
1781 - "core:window:allow-set-title"
1782 - ]
1783 - },
1784 - {
1785 - "description": "core:window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",
1786 - "type": "string",
1787 - "enum": [
1788 - "core:window:allow-set-title-bar-style"
1789 - ]
1790 - },
1791 - {
1792 - "description": "core:window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1793 - "type": "string",
1794 - "enum": [
1795 - "core:window:allow-set-visible-on-all-workspaces"
1796 - ]
1797 - },
1798 - {
1799 - "description": "core:window:allow-show -> Enables the show command without any pre-configured scope.",
1800 - "type": "string",
1801 - "enum": [
1802 - "core:window:allow-show"
1803 - ]
1804 - },
1805 - {
1806 - "description": "core:window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",
1807 - "type": "string",
1808 - "enum": [
1809 - "core:window:allow-start-dragging"
1810 - ]
1811 - },
1812 - {
1813 - "description": "core:window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",
1814 - "type": "string",
1815 - "enum": [
1816 - "core:window:allow-start-resize-dragging"
1817 - ]
1818 - },
1819 - {
1820 - "description": "core:window:allow-theme -> Enables the theme command without any pre-configured scope.",
1821 - "type": "string",
1822 - "enum": [
1823 - "core:window:allow-theme"
1824 - ]
1825 - },
1826 - {
1827 - "description": "core:window:allow-title -> Enables the title command without any pre-configured scope.",
1828 - "type": "string",
1829 - "enum": [
1830 - "core:window:allow-title"
1831 - ]
1832 - },
1833 - {
1834 - "description": "core:window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",
1835 - "type": "string",
1836 - "enum": [
1837 - "core:window:allow-toggle-maximize"
1838 - ]
1839 - },
1840 - {
1841 - "description": "core:window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",
1842 - "type": "string",
1843 - "enum": [
1844 - "core:window:allow-unmaximize"
1845 - ]
1846 - },
1847 - {
1848 - "description": "core:window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",
1849 - "type": "string",
1850 - "enum": [
1851 - "core:window:allow-unminimize"
1852 - ]
1853 - },
1854 - {
1855 - "description": "core:window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",
1856 - "type": "string",
1857 - "enum": [
1858 - "core:window:deny-available-monitors"
1859 - ]
1860 - },
1861 - {
1862 - "description": "core:window:deny-center -> Denies the center command without any pre-configured scope.",
1863 - "type": "string",
1864 - "enum": [
1865 - "core:window:deny-center"
1866 - ]
1867 - },
1868 - {
1869 - "description": "core:window:deny-close -> Denies the close command without any pre-configured scope.",
1870 - "type": "string",
1871 - "enum": [
1872 - "core:window:deny-close"
1873 - ]
1874 - },
1875 - {
1876 - "description": "core:window:deny-create -> Denies the create command without any pre-configured scope.",
1877 - "type": "string",
1878 - "enum": [
1879 - "core:window:deny-create"
1880 - ]
1881 - },
1882 - {
1883 - "description": "core:window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",
1884 - "type": "string",
1885 - "enum": [
1886 - "core:window:deny-current-monitor"
1887 - ]
1888 - },
1889 - {
1890 - "description": "core:window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",
1891 - "type": "string",
1892 - "enum": [
1893 - "core:window:deny-cursor-position"
1894 - ]
1895 - },
1896 - {
1897 - "description": "core:window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
1898 - "type": "string",
1899 - "enum": [
1900 - "core:window:deny-destroy"
1901 - ]
1902 - },
1903 - {
1904 - "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.",
1905 - "type": "string",
1906 - "enum": [
1907 - "core:window:deny-get-all-windows"
1908 - ]
1909 - },
1910 - {
1911 - "description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.",
1912 - "type": "string",
1913 - "enum": [
1914 - "core:window:deny-hide"
1915 - ]
1916 - },
1917 - {
1918 - "description": "core:window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",
1919 - "type": "string",
1920 - "enum": [
1921 - "core:window:deny-inner-position"
1922 - ]
1923 - },
1924 - {
1925 - "description": "core:window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",
1926 - "type": "string",
1927 - "enum": [
1928 - "core:window:deny-inner-size"
1929 - ]
1930 - },
1931 - {
1932 - "description": "core:window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",
1933 - "type": "string",
1934 - "enum": [
1935 - "core:window:deny-internal-toggle-maximize"
1936 - ]
1937 - },
1938 - {
1939 - "description": "core:window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",
1940 - "type": "string",
1941 - "enum": [
1942 - "core:window:deny-is-closable"
1943 - ]
1944 - },
1945 - {
1946 - "description": "core:window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",
1947 - "type": "string",
1948 - "enum": [
1949 - "core:window:deny-is-decorated"
1950 - ]
1951 - },
1952 - {
1953 - "description": "core:window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",
1954 - "type": "string",
1955 - "enum": [
1956 - "core:window:deny-is-focused"
1957 - ]
1958 - },
1959 - {
1960 - "description": "core:window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",
1961 - "type": "string",
1962 - "enum": [
1963 - "core:window:deny-is-fullscreen"
1964 - ]
1965 - },
1966 - {
1967 - "description": "core:window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",
1968 - "type": "string",
1969 - "enum": [
1970 - "core:window:deny-is-maximizable"
1971 - ]
1972 - },
1973 - {
1974 - "description": "core:window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",
1975 - "type": "string",
1976 - "enum": [
1977 - "core:window:deny-is-maximized"
1978 - ]
1979 - },
1980 - {
1981 - "description": "core:window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",
1982 - "type": "string",
1983 - "enum": [
1984 - "core:window:deny-is-minimizable"
1985 - ]
1986 - },
1987 - {
1988 - "description": "core:window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",
1989 - "type": "string",
1990 - "enum": [
1991 - "core:window:deny-is-minimized"
1992 - ]
1993 - },
1994 - {
1995 - "description": "core:window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",
1996 - "type": "string",
1997 - "enum": [
1998 - "core:window:deny-is-resizable"
1999 - ]
2000 - },
2001 - {
2002 - "description": "core:window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",
2003 - "type": "string",
2004 - "enum": [
2005 - "core:window:deny-is-visible"
2006 - ]
2007 - },
2008 - {
2009 - "description": "core:window:deny-maximize -> Denies the maximize command without any pre-configured scope.",
2010 - "type": "string",
2011 - "enum": [
2012 - "core:window:deny-maximize"
2013 - ]
2014 - },
2015 - {
2016 - "description": "core:window:deny-minimize -> Denies the minimize command without any pre-configured scope.",
2017 - "type": "string",
2018 - "enum": [
2019 - "core:window:deny-minimize"
2020 - ]
2021 - },
2022 - {
2023 - "description": "core:window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",
2024 - "type": "string",
2025 - "enum": [
2026 - "core:window:deny-monitor-from-point"
2027 - ]
2028 - },
2029 - {
2030 - "description": "core:window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
2031 - "type": "string",
2032 - "enum": [
2033 - "core:window:deny-outer-position"
2034 - ]
2035 - },
2036 - {
2037 - "description": "core:window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",
2038 - "type": "string",
2039 - "enum": [
2040 - "core:window:deny-outer-size"
2041 - ]
2042 - },
2043 - {
2044 - "description": "core:window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",
2045 - "type": "string",
2046 - "enum": [
2047 - "core:window:deny-primary-monitor"
2048 - ]
2049 - },
2050 - {
2051 - "description": "core:window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",
2052 - "type": "string",
2053 - "enum": [
2054 - "core:window:deny-request-user-attention"
2055 - ]
2056 - },
2057 - {
2058 - "description": "core:window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",
2059 - "type": "string",
2060 - "enum": [
2061 - "core:window:deny-scale-factor"
2062 - ]
2063 - },
2064 - {
2065 - "description": "core:window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",
2066 - "type": "string",
2067 - "enum": [
2068 - "core:window:deny-set-always-on-bottom"
2069 - ]
2070 - },
2071 - {
2072 - "description": "core:window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",
2073 - "type": "string",
2074 - "enum": [
2075 - "core:window:deny-set-always-on-top"
2076 - ]
2077 - },
2078 - {
2079 - "description": "core:window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",
2080 - "type": "string",
2081 - "enum": [
2082 - "core:window:deny-set-closable"
2083 - ]
2084 - },
2085 - {
2086 - "description": "core:window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",
2087 - "type": "string",
2088 - "enum": [
2089 - "core:window:deny-set-content-protected"
2090 - ]
2091 - },
2092 - {
2093 - "description": "core:window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",
2094 - "type": "string",
2095 - "enum": [
2096 - "core:window:deny-set-cursor-grab"
2097 - ]
2098 - },
2099 - {
2100 - "description": "core:window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",
2101 - "type": "string",
2102 - "enum": [
2103 - "core:window:deny-set-cursor-icon"
2104 - ]
2105 - },
2106 - {
2107 - "description": "core:window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",
2108 - "type": "string",
2109 - "enum": [
2110 - "core:window:deny-set-cursor-position"
2111 - ]
2112 - },
2113 - {
2114 - "description": "core:window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",
2115 - "type": "string",
2116 - "enum": [
2117 - "core:window:deny-set-cursor-visible"
2118 - ]
2119 - },
2120 - {
2121 - "description": "core:window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",
2122 - "type": "string",
2123 - "enum": [
2124 - "core:window:deny-set-decorations"
2125 - ]
2126 - },
2127 - {
2128 - "description": "core:window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",
2129 - "type": "string",
2130 - "enum": [
2131 - "core:window:deny-set-effects"
2132 - ]
2133 - },
2134 - {
2135 - "description": "core:window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",
2136 - "type": "string",
2137 - "enum": [
2138 - "core:window:deny-set-focus"
2139 - ]
2140 - },
2141 - {
2142 - "description": "core:window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",
2143 - "type": "string",
2144 - "enum": [
2145 - "core:window:deny-set-fullscreen"
2146 - ]
2147 - },
2148 - {
2149 - "description": "core:window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
2150 - "type": "string",
2151 - "enum": [
2152 - "core:window:deny-set-icon"
2153 - ]
2154 - },
2155 - {
2156 - "description": "core:window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",
2157 - "type": "string",
2158 - "enum": [
2159 - "core:window:deny-set-ignore-cursor-events"
2160 - ]
2161 - },
2162 - {
2163 - "description": "core:window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",
2164 - "type": "string",
2165 - "enum": [
2166 - "core:window:deny-set-max-size"
2167 - ]
2168 - },
2169 - {
2170 - "description": "core:window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",
2171 - "type": "string",
2172 - "enum": [
2173 - "core:window:deny-set-maximizable"
2174 - ]
2175 - },
2176 - {
2177 - "description": "core:window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",
2178 - "type": "string",
2179 - "enum": [
2180 - "core:window:deny-set-min-size"
2181 - ]
2182 - },
2183 - {
2184 - "description": "core:window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",
2185 - "type": "string",
2186 - "enum": [
2187 - "core:window:deny-set-minimizable"
2188 - ]
2189 - },
2190 - {
2191 - "description": "core:window:deny-set-position -> Denies the set_position command without any pre-configured scope.",
2192 - "type": "string",
2193 - "enum": [
2194 - "core:window:deny-set-position"
2195 - ]
2196 - },
2197 - {
2198 - "description": "core:window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",
2199 - "type": "string",
2200 - "enum": [
2201 - "core:window:deny-set-progress-bar"
2202 - ]
2203 - },
2204 - {
2205 - "description": "core:window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",
2206 - "type": "string",
2207 - "enum": [
2208 - "core:window:deny-set-resizable"
2209 - ]
2210 - },
2211 - {
2212 - "description": "core:window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",
2213 - "type": "string",
2214 - "enum": [
2215 - "core:window:deny-set-shadow"
2216 - ]
2217 - },
2218 - {
2219 - "description": "core:window:deny-set-size -> Denies the set_size command without any pre-configured scope.",
2220 - "type": "string",
2221 - "enum": [
2222 - "core:window:deny-set-size"
2223 - ]
2224 - },
2225 - {
2226 - "description": "core:window:deny-set-size-constraints -> Denies the set_size_constraints command without any pre-configured scope.",
2227 - "type": "string",
2228 - "enum": [
2229 - "core:window:deny-set-size-constraints"
2230 - ]
2231 - },
2232 - {
2233 - "description": "core:window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",
2234 - "type": "string",
2235 - "enum": [
2236 - "core:window:deny-set-skip-taskbar"
2237 - ]
2238 - },
2239 - {
2240 - "description": "core:window:deny-set-title -> Denies the set_title command without any pre-configured scope.",
2241 - "type": "string",
2242 - "enum": [
2243 - "core:window:deny-set-title"
2244 - ]
2245 - },
2246 - {
2247 - "description": "core:window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",
2248 - "type": "string",
2249 - "enum": [
2250 - "core:window:deny-set-title-bar-style"
2251 - ]
2252 - },
2253 - {
2254 - "description": "core:window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
2255 - "type": "string",
2256 - "enum": [
2257 - "core:window:deny-set-visible-on-all-workspaces"
2258 - ]
2259 - },
2260 - {
2261 - "description": "core:window:deny-show -> Denies the show command without any pre-configured scope.",
2262 - "type": "string",
2263 - "enum": [
2264 - "core:window:deny-show"
2265 - ]
2266 - },
2267 - {
2268 - "description": "core:window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",
2269 - "type": "string",
2270 - "enum": [
2271 - "core:window:deny-start-dragging"
2272 - ]
2273 - },
2274 - {
2275 - "description": "core:window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",
2276 - "type": "string",
2277 - "enum": [
2278 - "core:window:deny-start-resize-dragging"
2279 - ]
2280 - },
2281 - {
2282 - "description": "core:window:deny-theme -> Denies the theme command without any pre-configured scope.",
2283 - "type": "string",
2284 - "enum": [
2285 - "core:window:deny-theme"
2286 - ]
2287 - },
2288 - {
2289 - "description": "core:window:deny-title -> Denies the title command without any pre-configured scope.",
2290 - "type": "string",
2291 - "enum": [
2292 - "core:window:deny-title"
2293 - ]
2294 - },
2295 - {
2296 - "description": "core:window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",
2297 - "type": "string",
2298 - "enum": [
2299 - "core:window:deny-toggle-maximize"
2300 - ]
2301 - },
2302 - {
2303 - "description": "core:window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",
2304 - "type": "string",
2305 - "enum": [
2306 - "core:window:deny-unmaximize"
2307 - ]
2308 - },
2309 - {
2310 - "description": "core:window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",
2311 - "type": "string",
2312 - "enum": [
2313 - "core:window:deny-unminimize"
2314 - ]
2315 - },
2316 - {
2317 - "type": "string",
2318 - "enum": [
2319 - "devtools:default"
2320 - ]
2321 - }
2322 - ]
2323 - },
2324 - "Value": {
2325 - "description": "All supported ACL values.",
2326 - "anyOf": [
2327 - {
2328 - "description": "Represents a null JSON value.",
2329 - "type": "null"
2330 - },
2331 - {
2332 - "description": "Represents a [`bool`].",
2333 - "type": "boolean"
2334 - },
2335 - {
2336 - "description": "Represents a valid ACL [`Number`].",
2337 - "allOf": [
2338 - {
2339 - "$ref": "#/definitions/Number"
2340 - }
2341 - ]
2342 - },
2343 - {
2344 - "description": "Represents a [`String`].",
2345 - "type": "string"
2346 - },
2347 - {
2348 - "description": "Represents a list of other [`Value`]s.",
2349 - "type": "array",
2350 - "items": {
2351 - "$ref": "#/definitions/Value"
2352 - }
2353 - },
2354 - {
2355 - "description": "Represents a map of [`String`] keys to [`Value`]s.",
2356 - "type": "object",
2357 - "additionalProperties": {
2358 - "$ref": "#/definitions/Value"
2359 - }
2360 - }
2361 - ]
2362 - },
2363 - "Number": {
2364 - "description": "A valid ACL number.",
2365 - "anyOf": [
2366 - {
2367 - "description": "Represents an [`i64`].",
2368 - "type": "integer",
2369 - "format": "int64"
2370 - },
2371 - {
2372 - "description": "Represents a [`f64`].",
2373 - "type": "number",
2374 - "format": "double"
2375 - }
2376 - ]
2377 - },
2378 - "Target": {
2379 - "description": "Platform target.",
2380 - "oneOf": [
2381 - {
2382 - "description": "MacOS.",
2383 - "type": "string",
2384 - "enum": [
2385 - "macOS"
2386 - ]
2387 - },
2388 - {
2389 - "description": "Windows.",
2390 - "type": "string",
2391 - "enum": [
2392 - "windows"
2393 - ]
2394 - },
2395 - {
2396 - "description": "Linux.",
2397 - "type": "string",
2398 - "enum": [
2399 - "linux"
2400 - ]
2401 - },
2402 - {
2403 - "description": "Android.",
2404 - "type": "string",
2405 - "enum": [
2406 - "android"
2407 - ]
2408 - },
2409 - {
2410 - "description": "iOS.",
2411 - "type": "string",
2412 - "enum": [
2413 - "iOS"
2414 - ]
2415 - }
2416 - ]
2417 - }
2418 - }
2419 -}
\ No newline at end of file
2 + "$schema": "http://json-schema.org/draft-07/schema#",
3 + "title": "CapabilityFile",
4 + "description": "Capability formats accepted in a capability file.",
5 + "anyOf": [
6 + {
7 + "description": "A single capability.",
8 + "allOf": [
9 + {
10 + "$ref": "#/definitions/Capability"
11 + }
12 + ]
13 + },
14 + {
15 + "description": "A list of capabilities.",
16 + "type": "array",
17 + "items": {
18 + "$ref": "#/definitions/Capability"
19 + }
20 + },
21 + {
22 + "description": "A list of capabilities.",
23 + "type": "object",
24 + "required": ["capabilities"],
25 + "properties": {
26 + "capabilities": {
27 + "description": "The list of capabilities.",
28 + "type": "array",
29 + "items": {
30 + "$ref": "#/definitions/Capability"
31 + }
32 + }
33 + }
34 + }
35 + ],
36 + "definitions": {
37 + "Capability": {
38 + "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"core:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",
39 + "type": "object",
40 + "required": ["identifier", "permissions"],
41 + "properties": {
42 + "identifier": {
43 + "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
44 + "type": "string"
45 + },
46 + "description": {
47 + "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",
48 + "default": "",
49 + "type": "string"
50 + },
51 + "remote": {
52 + "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",
53 + "anyOf": [
54 + {
55 + "$ref": "#/definitions/CapabilityRemote"
56 + },
57 + {
58 + "type": "null"
59 + }
60 + ]
61 + },
62 + "local": {
63 + "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
64 + "default": true,
65 + "type": "boolean"
66 + },
67 + "windows": {
68 + "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
69 + "type": "array",
70 + "items": {
71 + "type": "string"
72 + }
73 + },
74 + "webviews": {
75 + "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
76 + "type": "array",
77 + "items": {
78 + "type": "string"
79 + }
80 + },
81 + "permissions": {
82 + "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",
83 + "type": "array",
84 + "items": {
85 + "$ref": "#/definitions/PermissionEntry"
86 + },
87 + "uniqueItems": true
88 + },
89 + "platforms": {
90 + "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
91 + "type": ["array", "null"],
92 + "items": {
93 + "$ref": "#/definitions/Target"
94 + }
95 + }
96 + }
97 + },
98 + "CapabilityRemote": {
99 + "description": "Configuration for remote URLs that are associated with the capability.",
100 + "type": "object",
101 + "required": ["urls"],
102 + "properties": {
103 + "urls": {
104 + "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
105 + "type": "array",
106 + "items": {
107 + "type": "string"
108 + }
109 + }
110 + }
111 + },
112 + "PermissionEntry": {
113 + "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
114 + "anyOf": [
115 + {
116 + "description": "Reference a permission or permission set by identifier.",
117 + "allOf": [
118 + {
119 + "$ref": "#/definitions/Identifier"
120 + }
121 + ]
122 + },
123 + {
124 + "description": "Reference a permission or permission set by identifier and extends its scope.",
125 + "type": "object",
126 + "required": ["identifier"],
127 + "properties": {
128 + "identifier": {
129 + "description": "Identifier of the permission or permission set.",
130 + "allOf": [
131 + {
132 + "$ref": "#/definitions/Identifier"
133 + }
134 + ]
135 + },
136 + "allow": {
137 + "description": "Data that defines what is allowed by the scope.",
138 + "type": ["array", "null"],
139 + "items": {
140 + "$ref": "#/definitions/Value"
141 + }
142 + },
143 + "deny": {
144 + "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
145 + "type": ["array", "null"],
146 + "items": {
147 + "$ref": "#/definitions/Value"
148 + }
149 + }
150 + }
151 + }
152 + ]
153 + },
154 + "Identifier": {
155 + "oneOf": [
156 + {
157 + "description": "admob:default -> Default permissions for the plugin",
158 + "type": "string",
159 + "enum": ["admob:default"]
160 + },
161 + {
162 + "description": "admob:allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
163 + "type": "string",
164 + "enum": ["admob:allow-adCreate"]
165 + },
166 + {
167 + "description": "admob:allow-adHide -> Enables the adHide command without any pre-configured scope.",
168 + "type": "string",
169 + "enum": ["admob:allow-adHide"]
170 + },
171 + {
172 + "description": "admob:allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
173 + "type": "string",
174 + "enum": ["admob:allow-adIsLoaded"]
175 + },
176 + {
177 + "description": "admob:allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
178 + "type": "string",
179 + "enum": ["admob:allow-adLoad"]
180 + },
181 + {
182 + "description": "admob:allow-adShow -> Enables the adShow command without any pre-configured scope.",
183 + "type": "string",
184 + "enum": ["admob:allow-adShow"]
185 + },
186 + {
187 + "description": "admob:allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
188 + "type": "string",
189 + "enum": ["admob:allow-configRequest"]
190 + },
191 + {
192 + "description": "admob:allow-configure -> Enables the configure command without any pre-configured scope.",
193 + "type": "string",
194 + "enum": ["admob:allow-configure"]
195 + },
196 + {
197 + "description": "admob:allow-isPrivacyOptionsRequired -> Enables the isPrivacyOptionsRequired command without any pre-configured scope.",
198 + "type": "string",
199 + "enum": ["admob:allow-isPrivacyOptionsRequired"]
200 + },
201 + {
202 + "description": "admob:allow-register-listener -> Enables the register_listener command without any pre-configured scope.",
203 + "type": "string",
204 + "enum": ["admob:allow-register-listener"]
205 + },
206 + {
207 + "description": "admob:allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
208 + "type": "string",
209 + "enum": ["admob:allow-requestTrackingAuthorization"]
210 + },
211 + {
212 + "description": "admob:allow-showPrivacyOptionsForm -> Enables the showPrivacyOptionsForm command without any pre-configured scope.",
213 + "type": "string",
214 + "enum": ["admob:allow-showPrivacyOptionsForm"]
215 + },
216 + {
217 + "description": "admob:allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
218 + "type": "string",
219 + "enum": ["admob:allow-trackingAuthorizationStatus"]
220 + },
221 + {
222 + "description": "admob:deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
223 + "type": "string",
224 + "enum": ["admob:deny-adCreate"]
225 + },
226 + {
227 + "description": "admob:deny-adHide -> Denies the adHide command without any pre-configured scope.",
228 + "type": "string",
229 + "enum": ["admob:deny-adHide"]
230 + },
231 + {
232 + "description": "admob:deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
233 + "type": "string",
234 + "enum": ["admob:deny-adIsLoaded"]
235 + },
236 + {
237 + "description": "admob:deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
238 + "type": "string",
239 + "enum": ["admob:deny-adLoad"]
240 + },
241 + {
242 + "description": "admob:deny-adShow -> Denies the adShow command without any pre-configured scope.",
243 + "type": "string",
244 + "enum": ["admob:deny-adShow"]
245 + },
246 + {
247 + "description": "admob:deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
248 + "type": "string",
249 + "enum": ["admob:deny-configRequest"]
250 + },
251 + {
252 + "description": "admob:deny-configure -> Denies the configure command without any pre-configured scope.",
253 + "type": "string",
254 + "enum": ["admob:deny-configure"]
255 + },
256 + {
257 + "description": "admob:deny-isPrivacyOptionsRequired -> Denies the isPrivacyOptionsRequired command without any pre-configured scope.",
258 + "type": "string",
259 + "enum": ["admob:deny-isPrivacyOptionsRequired"]
260 + },
261 + {
262 + "description": "admob:deny-register-listener -> Denies the register_listener command without any pre-configured scope.",
263 + "type": "string",
264 + "enum": ["admob:deny-register-listener"]
265 + },
266 + {
267 + "description": "admob:deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
268 + "type": "string",
269 + "enum": ["admob:deny-requestTrackingAuthorization"]
270 + },
271 + {
272 + "description": "admob:deny-showPrivacyOptionsForm -> Denies the showPrivacyOptionsForm command without any pre-configured scope.",
273 + "type": "string",
274 + "enum": ["admob:deny-showPrivacyOptionsForm"]
275 + },
276 + {
277 + "description": "admob:deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
278 + "type": "string",
279 + "enum": ["admob:deny-trackingAuthorizationStatus"]
280 + },
281 + {
282 + "description": "core:app:default -> Default permissions for the plugin.",
283 + "type": "string",
284 + "enum": ["core:app:default"]
285 + },
286 + {
287 + "description": "core:app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",
288 + "type": "string",
289 + "enum": ["core:app:allow-app-hide"]
290 + },
291 + {
292 + "description": "core:app:allow-app-show -> Enables the app_show command without any pre-configured scope.",
293 + "type": "string",
294 + "enum": ["core:app:allow-app-show"]
295 + },
296 + {
297 + "description": "core:app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",
298 + "type": "string",
299 + "enum": ["core:app:allow-default-window-icon"]
300 + },
301 + {
302 + "description": "core:app:allow-name -> Enables the name command without any pre-configured scope.",
303 + "type": "string",
304 + "enum": ["core:app:allow-name"]
305 + },
306 + {
307 + "description": "core:app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",
308 + "type": "string",
309 + "enum": ["core:app:allow-tauri-version"]
310 + },
311 + {
312 + "description": "core:app:allow-version -> Enables the version command without any pre-configured scope.",
313 + "type": "string",
314 + "enum": ["core:app:allow-version"]
315 + },
316 + {
317 + "description": "core:app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",
318 + "type": "string",
319 + "enum": ["core:app:deny-app-hide"]
320 + },
321 + {
322 + "description": "core:app:deny-app-show -> Denies the app_show command without any pre-configured scope.",
323 + "type": "string",
324 + "enum": ["core:app:deny-app-show"]
325 + },
326 + {
327 + "description": "core:app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",
328 + "type": "string",
329 + "enum": ["core:app:deny-default-window-icon"]
330 + },
331 + {
332 + "description": "core:app:deny-name -> Denies the name command without any pre-configured scope.",
333 + "type": "string",
334 + "enum": ["core:app:deny-name"]
335 + },
336 + {
337 + "description": "core:app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",
338 + "type": "string",
339 + "enum": ["core:app:deny-tauri-version"]
340 + },
341 + {
342 + "description": "core:app:deny-version -> Denies the version command without any pre-configured scope.",
343 + "type": "string",
344 + "enum": ["core:app:deny-version"]
345 + },
346 + {
347 + "description": "core:event:default -> Default permissions for the plugin.",
348 + "type": "string",
349 + "enum": ["core:event:default"]
350 + },
351 + {
352 + "description": "core:event:allow-emit -> Enables the emit command without any pre-configured scope.",
353 + "type": "string",
354 + "enum": ["core:event:allow-emit"]
355 + },
356 + {
357 + "description": "core:event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",
358 + "type": "string",
359 + "enum": ["core:event:allow-emit-to"]
360 + },
361 + {
362 + "description": "core:event:allow-listen -> Enables the listen command without any pre-configured scope.",
363 + "type": "string",
364 + "enum": ["core:event:allow-listen"]
365 + },
366 + {
367 + "description": "core:event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",
368 + "type": "string",
369 + "enum": ["core:event:allow-unlisten"]
370 + },
371 + {
372 + "description": "core:event:deny-emit -> Denies the emit command without any pre-configured scope.",
373 + "type": "string",
374 + "enum": ["core:event:deny-emit"]
375 + },
376 + {
377 + "description": "core:event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",
378 + "type": "string",
379 + "enum": ["core:event:deny-emit-to"]
380 + },
381 + {
382 + "description": "core:event:deny-listen -> Denies the listen command without any pre-configured scope.",
383 + "type": "string",
384 + "enum": ["core:event:deny-listen"]
385 + },
386 + {
387 + "description": "core:event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",
388 + "type": "string",
389 + "enum": ["core:event:deny-unlisten"]
390 + },
391 + {
392 + "description": "core:image:default -> Default permissions for the plugin.",
393 + "type": "string",
394 + "enum": ["core:image:default"]
395 + },
396 + {
397 + "description": "core:image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",
398 + "type": "string",
399 + "enum": ["core:image:allow-from-bytes"]
400 + },
401 + {
402 + "description": "core:image:allow-from-path -> Enables the from_path command without any pre-configured scope.",
403 + "type": "string",
404 + "enum": ["core:image:allow-from-path"]
405 + },
406 + {
407 + "description": "core:image:allow-new -> Enables the new command without any pre-configured scope.",
408 + "type": "string",
409 + "enum": ["core:image:allow-new"]
410 + },
411 + {
412 + "description": "core:image:allow-rgba -> Enables the rgba command without any pre-configured scope.",
413 + "type": "string",
414 + "enum": ["core:image:allow-rgba"]
415 + },
416 + {
417 + "description": "core:image:allow-size -> Enables the size command without any pre-configured scope.",
418 + "type": "string",
419 + "enum": ["core:image:allow-size"]
420 + },
421 + {
422 + "description": "core:image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",
423 + "type": "string",
424 + "enum": ["core:image:deny-from-bytes"]
425 + },
426 + {
427 + "description": "core:image:deny-from-path -> Denies the from_path command without any pre-configured scope.",
428 + "type": "string",
429 + "enum": ["core:image:deny-from-path"]
430 + },
431 + {
432 + "description": "core:image:deny-new -> Denies the new command without any pre-configured scope.",
433 + "type": "string",
434 + "enum": ["core:image:deny-new"]
435 + },
436 + {
437 + "description": "core:image:deny-rgba -> Denies the rgba command without any pre-configured scope.",
438 + "type": "string",
439 + "enum": ["core:image:deny-rgba"]
440 + },
441 + {
442 + "description": "core:image:deny-size -> Denies the size command without any pre-configured scope.",
443 + "type": "string",
444 + "enum": ["core:image:deny-size"]
445 + },
446 + {
447 + "description": "core:menu:default -> Default permissions for the plugin.",
448 + "type": "string",
449 + "enum": ["core:menu:default"]
450 + },
451 + {
452 + "description": "core:menu:allow-append -> Enables the append command without any pre-configured scope.",
453 + "type": "string",
454 + "enum": ["core:menu:allow-append"]
455 + },
456 + {
457 + "description": "core:menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",
458 + "type": "string",
459 + "enum": ["core:menu:allow-create-default"]
460 + },
461 + {
462 + "description": "core:menu:allow-get -> Enables the get command without any pre-configured scope.",
463 + "type": "string",
464 + "enum": ["core:menu:allow-get"]
465 + },
466 + {
467 + "description": "core:menu:allow-insert -> Enables the insert command without any pre-configured scope.",
468 + "type": "string",
469 + "enum": ["core:menu:allow-insert"]
470 + },
471 + {
472 + "description": "core:menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",
473 + "type": "string",
474 + "enum": ["core:menu:allow-is-checked"]
475 + },
476 + {
477 + "description": "core:menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",
478 + "type": "string",
479 + "enum": ["core:menu:allow-is-enabled"]
480 + },
481 + {
482 + "description": "core:menu:allow-items -> Enables the items command without any pre-configured scope.",
483 + "type": "string",
484 + "enum": ["core:menu:allow-items"]
485 + },
486 + {
487 + "description": "core:menu:allow-new -> Enables the new command without any pre-configured scope.",
488 + "type": "string",
489 + "enum": ["core:menu:allow-new"]
490 + },
491 + {
492 + "description": "core:menu:allow-popup -> Enables the popup command without any pre-configured scope.",
493 + "type": "string",
494 + "enum": ["core:menu:allow-popup"]
495 + },
496 + {
497 + "description": "core:menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",
498 + "type": "string",
499 + "enum": ["core:menu:allow-prepend"]
500 + },
501 + {
502 + "description": "core:menu:allow-remove -> Enables the remove command without any pre-configured scope.",
503 + "type": "string",
504 + "enum": ["core:menu:allow-remove"]
505 + },
506 + {
507 + "description": "core:menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",
508 + "type": "string",
509 + "enum": ["core:menu:allow-remove-at"]
510 + },
511 + {
512 + "description": "core:menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",
513 + "type": "string",
514 + "enum": ["core:menu:allow-set-accelerator"]
515 + },
516 + {
517 + "description": "core:menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",
518 + "type": "string",
519 + "enum": ["core:menu:allow-set-as-app-menu"]
520 + },
521 + {
522 + "description": "core:menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
523 + "type": "string",
524 + "enum": ["core:menu:allow-set-as-help-menu-for-nsapp"]
525 + },
526 + {
527 + "description": "core:menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",
528 + "type": "string",
529 + "enum": ["core:menu:allow-set-as-window-menu"]
530 + },
531 + {
532 + "description": "core:menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
533 + "type": "string",
534 + "enum": ["core:menu:allow-set-as-windows-menu-for-nsapp"]
535 + },
536 + {
537 + "description": "core:menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",
538 + "type": "string",
539 + "enum": ["core:menu:allow-set-checked"]
540 + },
541 + {
542 + "description": "core:menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",
543 + "type": "string",
544 + "enum": ["core:menu:allow-set-enabled"]
545 + },
546 + {
547 + "description": "core:menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
548 + "type": "string",
549 + "enum": ["core:menu:allow-set-icon"]
550 + },
551 + {
552 + "description": "core:menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",
553 + "type": "string",
554 + "enum": ["core:menu:allow-set-text"]
555 + },
556 + {
557 + "description": "core:menu:allow-text -> Enables the text command without any pre-configured scope.",
558 + "type": "string",
559 + "enum": ["core:menu:allow-text"]
560 + },
561 + {
562 + "description": "core:menu:deny-append -> Denies the append command without any pre-configured scope.",
563 + "type": "string",
564 + "enum": ["core:menu:deny-append"]
565 + },
566 + {
567 + "description": "core:menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",
568 + "type": "string",
569 + "enum": ["core:menu:deny-create-default"]
570 + },
571 + {
572 + "description": "core:menu:deny-get -> Denies the get command without any pre-configured scope.",
573 + "type": "string",
574 + "enum": ["core:menu:deny-get"]
575 + },
576 + {
577 + "description": "core:menu:deny-insert -> Denies the insert command without any pre-configured scope.",
578 + "type": "string",
579 + "enum": ["core:menu:deny-insert"]
580 + },
581 + {
582 + "description": "core:menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",
583 + "type": "string",
584 + "enum": ["core:menu:deny-is-checked"]
585 + },
586 + {
587 + "description": "core:menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",
588 + "type": "string",
589 + "enum": ["core:menu:deny-is-enabled"]
590 + },
591 + {
592 + "description": "core:menu:deny-items -> Denies the items command without any pre-configured scope.",
593 + "type": "string",
594 + "enum": ["core:menu:deny-items"]
595 + },
596 + {
597 + "description": "core:menu:deny-new -> Denies the new command without any pre-configured scope.",
598 + "type": "string",
599 + "enum": ["core:menu:deny-new"]
600 + },
601 + {
602 + "description": "core:menu:deny-popup -> Denies the popup command without any pre-configured scope.",
603 + "type": "string",
604 + "enum": ["core:menu:deny-popup"]
605 + },
606 + {
607 + "description": "core:menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",
608 + "type": "string",
609 + "enum": ["core:menu:deny-prepend"]
610 + },
611 + {
612 + "description": "core:menu:deny-remove -> Denies the remove command without any pre-configured scope.",
613 + "type": "string",
614 + "enum": ["core:menu:deny-remove"]
615 + },
616 + {
617 + "description": "core:menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",
618 + "type": "string",
619 + "enum": ["core:menu:deny-remove-at"]
620 + },
621 + {
622 + "description": "core:menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",
623 + "type": "string",
624 + "enum": ["core:menu:deny-set-accelerator"]
625 + },
626 + {
627 + "description": "core:menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",
628 + "type": "string",
629 + "enum": ["core:menu:deny-set-as-app-menu"]
630 + },
631 + {
632 + "description": "core:menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
633 + "type": "string",
634 + "enum": ["core:menu:deny-set-as-help-menu-for-nsapp"]
635 + },
636 + {
637 + "description": "core:menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",
638 + "type": "string",
639 + "enum": ["core:menu:deny-set-as-window-menu"]
640 + },
641 + {
642 + "description": "core:menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
643 + "type": "string",
644 + "enum": ["core:menu:deny-set-as-windows-menu-for-nsapp"]
645 + },
646 + {
647 + "description": "core:menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",
648 + "type": "string",
649 + "enum": ["core:menu:deny-set-checked"]
650 + },
651 + {
652 + "description": "core:menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",
653 + "type": "string",
654 + "enum": ["core:menu:deny-set-enabled"]
655 + },
656 + {
657 + "description": "core:menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
658 + "type": "string",
659 + "enum": ["core:menu:deny-set-icon"]
660 + },
661 + {
662 + "description": "core:menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",
663 + "type": "string",
664 + "enum": ["core:menu:deny-set-text"]
665 + },
666 + {
667 + "description": "core:menu:deny-text -> Denies the text command without any pre-configured scope.",
668 + "type": "string",
669 + "enum": ["core:menu:deny-text"]
670 + },
671 + {
672 + "description": "core:path:default -> Default permissions for the plugin.",
673 + "type": "string",
674 + "enum": ["core:path:default"]
675 + },
676 + {
677 + "description": "core:path:allow-basename -> Enables the basename command without any pre-configured scope.",
678 + "type": "string",
679 + "enum": ["core:path:allow-basename"]
680 + },
681 + {
682 + "description": "core:path:allow-dirname -> Enables the dirname command without any pre-configured scope.",
683 + "type": "string",
684 + "enum": ["core:path:allow-dirname"]
685 + },
686 + {
687 + "description": "core:path:allow-extname -> Enables the extname command without any pre-configured scope.",
688 + "type": "string",
689 + "enum": ["core:path:allow-extname"]
690 + },
691 + {
692 + "description": "core:path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",
693 + "type": "string",
694 + "enum": ["core:path:allow-is-absolute"]
695 + },
696 + {
697 + "description": "core:path:allow-join -> Enables the join command without any pre-configured scope.",
698 + "type": "string",
699 + "enum": ["core:path:allow-join"]
700 + },
701 + {
702 + "description": "core:path:allow-normalize -> Enables the normalize command without any pre-configured scope.",
703 + "type": "string",
704 + "enum": ["core:path:allow-normalize"]
705 + },
706 + {
707 + "description": "core:path:allow-resolve -> Enables the resolve command without any pre-configured scope.",
708 + "type": "string",
709 + "enum": ["core:path:allow-resolve"]
710 + },
711 + {
712 + "description": "core:path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",
713 + "type": "string",
714 + "enum": ["core:path:allow-resolve-directory"]
715 + },
716 + {
717 + "description": "core:path:deny-basename -> Denies the basename command without any pre-configured scope.",
718 + "type": "string",
719 + "enum": ["core:path:deny-basename"]
720 + },
721 + {
722 + "description": "core:path:deny-dirname -> Denies the dirname command without any pre-configured scope.",
723 + "type": "string",
724 + "enum": ["core:path:deny-dirname"]
725 + },
726 + {
727 + "description": "core:path:deny-extname -> Denies the extname command without any pre-configured scope.",
728 + "type": "string",
729 + "enum": ["core:path:deny-extname"]
730 + },
731 + {
732 + "description": "core:path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",
733 + "type": "string",
734 + "enum": ["core:path:deny-is-absolute"]
735 + },
736 + {
737 + "description": "core:path:deny-join -> Denies the join command without any pre-configured scope.",
738 + "type": "string",
739 + "enum": ["core:path:deny-join"]
740 + },
741 + {
742 + "description": "core:path:deny-normalize -> Denies the normalize command without any pre-configured scope.",
743 + "type": "string",
744 + "enum": ["core:path:deny-normalize"]
745 + },
746 + {
747 + "description": "core:path:deny-resolve -> Denies the resolve command without any pre-configured scope.",
748 + "type": "string",
749 + "enum": ["core:path:deny-resolve"]
750 + },
751 + {
752 + "description": "core:path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",
753 + "type": "string",
754 + "enum": ["core:path:deny-resolve-directory"]
755 + },
756 + {
757 + "description": "core:resources:default -> Default permissions for the plugin.",
758 + "type": "string",
759 + "enum": ["core:resources:default"]
760 + },
761 + {
762 + "description": "core:resources:allow-close -> Enables the close command without any pre-configured scope.",
763 + "type": "string",
764 + "enum": ["core:resources:allow-close"]
765 + },
766 + {
767 + "description": "core:resources:deny-close -> Denies the close command without any pre-configured scope.",
768 + "type": "string",
769 + "enum": ["core:resources:deny-close"]
770 + },
771 + {
772 + "description": "core:tray:default -> Default permissions for the plugin.",
773 + "type": "string",
774 + "enum": ["core:tray:default"]
775 + },
776 + {
777 + "description": "core:tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",
778 + "type": "string",
779 + "enum": ["core:tray:allow-get-by-id"]
780 + },
781 + {
782 + "description": "core:tray:allow-new -> Enables the new command without any pre-configured scope.",
783 + "type": "string",
784 + "enum": ["core:tray:allow-new"]
785 + },
786 + {
787 + "description": "core:tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",
788 + "type": "string",
789 + "enum": ["core:tray:allow-remove-by-id"]
790 + },
791 + {
792 + "description": "core:tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
793 + "type": "string",
794 + "enum": ["core:tray:allow-set-icon"]
795 + },
796 + {
797 + "description": "core:tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",
798 + "type": "string",
799 + "enum": ["core:tray:allow-set-icon-as-template"]
800 + },
801 + {
802 + "description": "core:tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",
803 + "type": "string",
804 + "enum": ["core:tray:allow-set-menu"]
805 + },
806 + {
807 + "description": "core:tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",
808 + "type": "string",
809 + "enum": ["core:tray:allow-set-show-menu-on-left-click"]
810 + },
811 + {
812 + "description": "core:tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",
813 + "type": "string",
814 + "enum": ["core:tray:allow-set-temp-dir-path"]
815 + },
816 + {
817 + "description": "core:tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",
818 + "type": "string",
819 + "enum": ["core:tray:allow-set-title"]
820 + },
821 + {
822 + "description": "core:tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",
823 + "type": "string",
824 + "enum": ["core:tray:allow-set-tooltip"]
825 + },
826 + {
827 + "description": "core:tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",
828 + "type": "string",
829 + "enum": ["core:tray:allow-set-visible"]
830 + },
831 + {
832 + "description": "core:tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",
833 + "type": "string",
834 + "enum": ["core:tray:deny-get-by-id"]
835 + },
836 + {
837 + "description": "core:tray:deny-new -> Denies the new command without any pre-configured scope.",
838 + "type": "string",
839 + "enum": ["core:tray:deny-new"]
840 + },
841 + {
842 + "description": "core:tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",
843 + "type": "string",
844 + "enum": ["core:tray:deny-remove-by-id"]
845 + },
846 + {
847 + "description": "core:tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
848 + "type": "string",
849 + "enum": ["core:tray:deny-set-icon"]
850 + },
851 + {
852 + "description": "core:tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",
853 + "type": "string",
854 + "enum": ["core:tray:deny-set-icon-as-template"]
855 + },
856 + {
857 + "description": "core:tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",
858 + "type": "string",
859 + "enum": ["core:tray:deny-set-menu"]
860 + },
861 + {
862 + "description": "core:tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",
863 + "type": "string",
864 + "enum": ["core:tray:deny-set-show-menu-on-left-click"]
865 + },
866 + {
867 + "description": "core:tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",
868 + "type": "string",
869 + "enum": ["core:tray:deny-set-temp-dir-path"]
870 + },
871 + {
872 + "description": "core:tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",
873 + "type": "string",
874 + "enum": ["core:tray:deny-set-title"]
875 + },
876 + {
877 + "description": "core:tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",
878 + "type": "string",
879 + "enum": ["core:tray:deny-set-tooltip"]
880 + },
881 + {
882 + "description": "core:tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",
883 + "type": "string",
884 + "enum": ["core:tray:deny-set-visible"]
885 + },
886 + {
887 + "description": "core:webview:default -> Default permissions for the plugin.",
888 + "type": "string",
889 + "enum": ["core:webview:default"]
890 + },
891 + {
892 + "description": "core:webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",
893 + "type": "string",
894 + "enum": ["core:webview:allow-create-webview"]
895 + },
896 + {
897 + "description": "core:webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",
898 + "type": "string",
899 + "enum": ["core:webview:allow-create-webview-window"]
900 + },
901 + {
902 + "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.",
903 + "type": "string",
904 + "enum": ["core:webview:allow-get-all-webviews"]
905 + },
906 + {
907 + "description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
908 + "type": "string",
909 + "enum": ["core:webview:allow-internal-toggle-devtools"]
910 + },
911 + {
912 + "description": "core:webview:allow-print -> Enables the print command without any pre-configured scope.",
913 + "type": "string",
914 + "enum": ["core:webview:allow-print"]
915 + },
916 + {
917 + "description": "core:webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",
918 + "type": "string",
919 + "enum": ["core:webview:allow-reparent"]
920 + },
921 + {
922 + "description": "core:webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",
923 + "type": "string",
924 + "enum": ["core:webview:allow-set-webview-focus"]
925 + },
926 + {
927 + "description": "core:webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",
928 + "type": "string",
929 + "enum": ["core:webview:allow-set-webview-position"]
930 + },
931 + {
932 + "description": "core:webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",
933 + "type": "string",
934 + "enum": ["core:webview:allow-set-webview-size"]
935 + },
936 + {
937 + "description": "core:webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",
938 + "type": "string",
939 + "enum": ["core:webview:allow-set-webview-zoom"]
940 + },
941 + {
942 + "description": "core:webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",
943 + "type": "string",
944 + "enum": ["core:webview:allow-webview-close"]
945 + },
946 + {
947 + "description": "core:webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",
948 + "type": "string",
949 + "enum": ["core:webview:allow-webview-position"]
950 + },
951 + {
952 + "description": "core:webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",
953 + "type": "string",
954 + "enum": ["core:webview:allow-webview-size"]
955 + },
956 + {
957 + "description": "core:webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",
958 + "type": "string",
959 + "enum": ["core:webview:deny-create-webview"]
960 + },
961 + {
962 + "description": "core:webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",
963 + "type": "string",
964 + "enum": ["core:webview:deny-create-webview-window"]
965 + },
966 + {
967 + "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.",
968 + "type": "string",
969 + "enum": ["core:webview:deny-get-all-webviews"]
970 + },
971 + {
972 + "description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
973 + "type": "string",
974 + "enum": ["core:webview:deny-internal-toggle-devtools"]
975 + },
976 + {
977 + "description": "core:webview:deny-print -> Denies the print command without any pre-configured scope.",
978 + "type": "string",
979 + "enum": ["core:webview:deny-print"]
980 + },
981 + {
982 + "description": "core:webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",
983 + "type": "string",
984 + "enum": ["core:webview:deny-reparent"]
985 + },
986 + {
987 + "description": "core:webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",
988 + "type": "string",
989 + "enum": ["core:webview:deny-set-webview-focus"]
990 + },
991 + {
992 + "description": "core:webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",
993 + "type": "string",
994 + "enum": ["core:webview:deny-set-webview-position"]
995 + },
996 + {
997 + "description": "core:webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",
998 + "type": "string",
999 + "enum": ["core:webview:deny-set-webview-size"]
1000 + },
1001 + {
1002 + "description": "core:webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",
1003 + "type": "string",
1004 + "enum": ["core:webview:deny-set-webview-zoom"]
1005 + },
1006 + {
1007 + "description": "core:webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",
1008 + "type": "string",
1009 + "enum": ["core:webview:deny-webview-close"]
1010 + },
1011 + {
1012 + "description": "core:webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",
1013 + "type": "string",
1014 + "enum": ["core:webview:deny-webview-position"]
1015 + },
1016 + {
1017 + "description": "core:webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",
1018 + "type": "string",
1019 + "enum": ["core:webview:deny-webview-size"]
1020 + },
1021 + {
1022 + "description": "core:window:default -> Default permissions for the plugin.",
1023 + "type": "string",
1024 + "enum": ["core:window:default"]
1025 + },
1026 + {
1027 + "description": "core:window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",
1028 + "type": "string",
1029 + "enum": ["core:window:allow-available-monitors"]
1030 + },
1031 + {
1032 + "description": "core:window:allow-center -> Enables the center command without any pre-configured scope.",
1033 + "type": "string",
1034 + "enum": ["core:window:allow-center"]
1035 + },
1036 + {
1037 + "description": "core:window:allow-close -> Enables the close command without any pre-configured scope.",
1038 + "type": "string",
1039 + "enum": ["core:window:allow-close"]
1040 + },
1041 + {
1042 + "description": "core:window:allow-create -> Enables the create command without any pre-configured scope.",
1043 + "type": "string",
1044 + "enum": ["core:window:allow-create"]
1045 + },
1046 + {
1047 + "description": "core:window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",
1048 + "type": "string",
1049 + "enum": ["core:window:allow-current-monitor"]
1050 + },
1051 + {
1052 + "description": "core:window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",
1053 + "type": "string",
1054 + "enum": ["core:window:allow-cursor-position"]
1055 + },
1056 + {
1057 + "description": "core:window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
1058 + "type": "string",
1059 + "enum": ["core:window:allow-destroy"]
1060 + },
1061 + {
1062 + "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.",
1063 + "type": "string",
1064 + "enum": ["core:window:allow-get-all-windows"]
1065 + },
1066 + {
1067 + "description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.",
1068 + "type": "string",
1069 + "enum": ["core:window:allow-hide"]
1070 + },
1071 + {
1072 + "description": "core:window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",
1073 + "type": "string",
1074 + "enum": ["core:window:allow-inner-position"]
1075 + },
1076 + {
1077 + "description": "core:window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",
1078 + "type": "string",
1079 + "enum": ["core:window:allow-inner-size"]
1080 + },
1081 + {
1082 + "description": "core:window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",
1083 + "type": "string",
1084 + "enum": ["core:window:allow-internal-toggle-maximize"]
1085 + },
1086 + {
1087 + "description": "core:window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",
1088 + "type": "string",
1089 + "enum": ["core:window:allow-is-closable"]
1090 + },
1091 + {
1092 + "description": "core:window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",
1093 + "type": "string",
1094 + "enum": ["core:window:allow-is-decorated"]
1095 + },
1096 + {
1097 + "description": "core:window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",
1098 + "type": "string",
1099 + "enum": ["core:window:allow-is-focused"]
1100 + },
1101 + {
1102 + "description": "core:window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",
1103 + "type": "string",
1104 + "enum": ["core:window:allow-is-fullscreen"]
1105 + },
1106 + {
1107 + "description": "core:window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",
1108 + "type": "string",
1109 + "enum": ["core:window:allow-is-maximizable"]
1110 + },
1111 + {
1112 + "description": "core:window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",
1113 + "type": "string",
1114 + "enum": ["core:window:allow-is-maximized"]
1115 + },
1116 + {
1117 + "description": "core:window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",
1118 + "type": "string",
1119 + "enum": ["core:window:allow-is-minimizable"]
1120 + },
1121 + {
1122 + "description": "core:window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",
1123 + "type": "string",
1124 + "enum": ["core:window:allow-is-minimized"]
1125 + },
1126 + {
1127 + "description": "core:window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",
1128 + "type": "string",
1129 + "enum": ["core:window:allow-is-resizable"]
1130 + },
1131 + {
1132 + "description": "core:window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",
1133 + "type": "string",
1134 + "enum": ["core:window:allow-is-visible"]
1135 + },
1136 + {
1137 + "description": "core:window:allow-maximize -> Enables the maximize command without any pre-configured scope.",
1138 + "type": "string",
1139 + "enum": ["core:window:allow-maximize"]
1140 + },
1141 + {
1142 + "description": "core:window:allow-minimize -> Enables the minimize command without any pre-configured scope.",
1143 + "type": "string",
1144 + "enum": ["core:window:allow-minimize"]
1145 + },
1146 + {
1147 + "description": "core:window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",
1148 + "type": "string",
1149 + "enum": ["core:window:allow-monitor-from-point"]
1150 + },
1151 + {
1152 + "description": "core:window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
1153 + "type": "string",
1154 + "enum": ["core:window:allow-outer-position"]
1155 + },
1156 + {
1157 + "description": "core:window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",
1158 + "type": "string",
1159 + "enum": ["core:window:allow-outer-size"]
1160 + },
1161 + {
1162 + "description": "core:window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",
1163 + "type": "string",
1164 + "enum": ["core:window:allow-primary-monitor"]
1165 + },
1166 + {
1167 + "description": "core:window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",
1168 + "type": "string",
1169 + "enum": ["core:window:allow-request-user-attention"]
1170 + },
1171 + {
1172 + "description": "core:window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",
1173 + "type": "string",
1174 + "enum": ["core:window:allow-scale-factor"]
1175 + },
1176 + {
1177 + "description": "core:window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",
1178 + "type": "string",
1179 + "enum": ["core:window:allow-set-always-on-bottom"]
1180 + },
1181 + {
1182 + "description": "core:window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",
1183 + "type": "string",
1184 + "enum": ["core:window:allow-set-always-on-top"]
1185 + },
1186 + {
1187 + "description": "core:window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",
1188 + "type": "string",
1189 + "enum": ["core:window:allow-set-closable"]
1190 + },
1191 + {
1192 + "description": "core:window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",
1193 + "type": "string",
1194 + "enum": ["core:window:allow-set-content-protected"]
1195 + },
1196 + {
1197 + "description": "core:window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",
1198 + "type": "string",
1199 + "enum": ["core:window:allow-set-cursor-grab"]
1200 + },
1201 + {
1202 + "description": "core:window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",
1203 + "type": "string",
1204 + "enum": ["core:window:allow-set-cursor-icon"]
1205 + },
1206 + {
1207 + "description": "core:window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",
1208 + "type": "string",
1209 + "enum": ["core:window:allow-set-cursor-position"]
1210 + },
1211 + {
1212 + "description": "core:window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",
1213 + "type": "string",
1214 + "enum": ["core:window:allow-set-cursor-visible"]
1215 + },
1216 + {
1217 + "description": "core:window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",
1218 + "type": "string",
1219 + "enum": ["core:window:allow-set-decorations"]
1220 + },
1221 + {
1222 + "description": "core:window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",
1223 + "type": "string",
1224 + "enum": ["core:window:allow-set-effects"]
1225 + },
1226 + {
1227 + "description": "core:window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",
1228 + "type": "string",
1229 + "enum": ["core:window:allow-set-focus"]
1230 + },
1231 + {
1232 + "description": "core:window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",
1233 + "type": "string",
1234 + "enum": ["core:window:allow-set-fullscreen"]
1235 + },
1236 + {
1237 + "description": "core:window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1238 + "type": "string",
1239 + "enum": ["core:window:allow-set-icon"]
1240 + },
1241 + {
1242 + "description": "core:window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",
1243 + "type": "string",
1244 + "enum": ["core:window:allow-set-ignore-cursor-events"]
1245 + },
1246 + {
1247 + "description": "core:window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",
1248 + "type": "string",
1249 + "enum": ["core:window:allow-set-max-size"]
1250 + },
1251 + {
1252 + "description": "core:window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",
1253 + "type": "string",
1254 + "enum": ["core:window:allow-set-maximizable"]
1255 + },
1256 + {
1257 + "description": "core:window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",
1258 + "type": "string",
1259 + "enum": ["core:window:allow-set-min-size"]
1260 + },
1261 + {
1262 + "description": "core:window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",
1263 + "type": "string",
1264 + "enum": ["core:window:allow-set-minimizable"]
1265 + },
1266 + {
1267 + "description": "core:window:allow-set-position -> Enables the set_position command without any pre-configured scope.",
1268 + "type": "string",
1269 + "enum": ["core:window:allow-set-position"]
1270 + },
1271 + {
1272 + "description": "core:window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",
1273 + "type": "string",
1274 + "enum": ["core:window:allow-set-progress-bar"]
1275 + },
1276 + {
1277 + "description": "core:window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",
1278 + "type": "string",
1279 + "enum": ["core:window:allow-set-resizable"]
1280 + },
1281 + {
1282 + "description": "core:window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",
1283 + "type": "string",
1284 + "enum": ["core:window:allow-set-shadow"]
1285 + },
1286 + {
1287 + "description": "core:window:allow-set-size -> Enables the set_size command without any pre-configured scope.",
1288 + "type": "string",
1289 + "enum": ["core:window:allow-set-size"]
1290 + },
1291 + {
1292 + "description": "core:window:allow-set-size-constraints -> Enables the set_size_constraints command without any pre-configured scope.",
1293 + "type": "string",
1294 + "enum": ["core:window:allow-set-size-constraints"]
1295 + },
1296 + {
1297 + "description": "core:window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",
1298 + "type": "string",
1299 + "enum": ["core:window:allow-set-skip-taskbar"]
1300 + },
1301 + {
1302 + "description": "core:window:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1303 + "type": "string",
1304 + "enum": ["core:window:allow-set-title"]
1305 + },
1306 + {
1307 + "description": "core:window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",
1308 + "type": "string",
1309 + "enum": ["core:window:allow-set-title-bar-style"]
1310 + },
1311 + {
1312 + "description": "core:window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1313 + "type": "string",
1314 + "enum": ["core:window:allow-set-visible-on-all-workspaces"]
1315 + },
1316 + {
1317 + "description": "core:window:allow-show -> Enables the show command without any pre-configured scope.",
1318 + "type": "string",
1319 + "enum": ["core:window:allow-show"]
1320 + },
1321 + {
1322 + "description": "core:window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",
1323 + "type": "string",
1324 + "enum": ["core:window:allow-start-dragging"]
1325 + },
1326 + {
1327 + "description": "core:window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",
1328 + "type": "string",
1329 + "enum": ["core:window:allow-start-resize-dragging"]
1330 + },
1331 + {
1332 + "description": "core:window:allow-theme -> Enables the theme command without any pre-configured scope.",
1333 + "type": "string",
1334 + "enum": ["core:window:allow-theme"]
1335 + },
1336 + {
1337 + "description": "core:window:allow-title -> Enables the title command without any pre-configured scope.",
1338 + "type": "string",
1339 + "enum": ["core:window:allow-title"]
1340 + },
1341 + {
1342 + "description": "core:window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",
1343 + "type": "string",
1344 + "enum": ["core:window:allow-toggle-maximize"]
1345 + },
1346 + {
1347 + "description": "core:window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",
1348 + "type": "string",
1349 + "enum": ["core:window:allow-unmaximize"]
1350 + },
1351 + {
1352 + "description": "core:window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",
1353 + "type": "string",
1354 + "enum": ["core:window:allow-unminimize"]
1355 + },
1356 + {
1357 + "description": "core:window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",
1358 + "type": "string",
1359 + "enum": ["core:window:deny-available-monitors"]
1360 + },
1361 + {
1362 + "description": "core:window:deny-center -> Denies the center command without any pre-configured scope.",
1363 + "type": "string",
1364 + "enum": ["core:window:deny-center"]
1365 + },
1366 + {
1367 + "description": "core:window:deny-close -> Denies the close command without any pre-configured scope.",
1368 + "type": "string",
1369 + "enum": ["core:window:deny-close"]
1370 + },
1371 + {
1372 + "description": "core:window:deny-create -> Denies the create command without any pre-configured scope.",
1373 + "type": "string",
1374 + "enum": ["core:window:deny-create"]
1375 + },
1376 + {
1377 + "description": "core:window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",
1378 + "type": "string",
1379 + "enum": ["core:window:deny-current-monitor"]
1380 + },
1381 + {
1382 + "description": "core:window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",
1383 + "type": "string",
1384 + "enum": ["core:window:deny-cursor-position"]
1385 + },
1386 + {
1387 + "description": "core:window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
1388 + "type": "string",
1389 + "enum": ["core:window:deny-destroy"]
1390 + },
1391 + {
1392 + "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.",
1393 + "type": "string",
1394 + "enum": ["core:window:deny-get-all-windows"]
1395 + },
1396 + {
1397 + "description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.",
1398 + "type": "string",
1399 + "enum": ["core:window:deny-hide"]
1400 + },
1401 + {
1402 + "description": "core:window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",
1403 + "type": "string",
1404 + "enum": ["core:window:deny-inner-position"]
1405 + },
1406 + {
1407 + "description": "core:window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",
1408 + "type": "string",
1409 + "enum": ["core:window:deny-inner-size"]
1410 + },
1411 + {
1412 + "description": "core:window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",
1413 + "type": "string",
1414 + "enum": ["core:window:deny-internal-toggle-maximize"]
1415 + },
1416 + {
1417 + "description": "core:window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",
1418 + "type": "string",
1419 + "enum": ["core:window:deny-is-closable"]
1420 + },
1421 + {
1422 + "description": "core:window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",
1423 + "type": "string",
1424 + "enum": ["core:window:deny-is-decorated"]
1425 + },
1426 + {
1427 + "description": "core:window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",
1428 + "type": "string",
1429 + "enum": ["core:window:deny-is-focused"]
1430 + },
1431 + {
1432 + "description": "core:window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",
1433 + "type": "string",
1434 + "enum": ["core:window:deny-is-fullscreen"]
1435 + },
1436 + {
1437 + "description": "core:window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",
1438 + "type": "string",
1439 + "enum": ["core:window:deny-is-maximizable"]
1440 + },
1441 + {
1442 + "description": "core:window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",
1443 + "type": "string",
1444 + "enum": ["core:window:deny-is-maximized"]
1445 + },
1446 + {
1447 + "description": "core:window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",
1448 + "type": "string",
1449 + "enum": ["core:window:deny-is-minimizable"]
1450 + },
1451 + {
1452 + "description": "core:window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",
1453 + "type": "string",
1454 + "enum": ["core:window:deny-is-minimized"]
1455 + },
1456 + {
1457 + "description": "core:window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",
1458 + "type": "string",
1459 + "enum": ["core:window:deny-is-resizable"]
1460 + },
1461 + {
1462 + "description": "core:window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",
1463 + "type": "string",
1464 + "enum": ["core:window:deny-is-visible"]
1465 + },
1466 + {
1467 + "description": "core:window:deny-maximize -> Denies the maximize command without any pre-configured scope.",
1468 + "type": "string",
1469 + "enum": ["core:window:deny-maximize"]
1470 + },
1471 + {
1472 + "description": "core:window:deny-minimize -> Denies the minimize command without any pre-configured scope.",
1473 + "type": "string",
1474 + "enum": ["core:window:deny-minimize"]
1475 + },
1476 + {
1477 + "description": "core:window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",
1478 + "type": "string",
1479 + "enum": ["core:window:deny-monitor-from-point"]
1480 + },
1481 + {
1482 + "description": "core:window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
1483 + "type": "string",
1484 + "enum": ["core:window:deny-outer-position"]
1485 + },
1486 + {
1487 + "description": "core:window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",
1488 + "type": "string",
1489 + "enum": ["core:window:deny-outer-size"]
1490 + },
1491 + {
1492 + "description": "core:window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",
1493 + "type": "string",
1494 + "enum": ["core:window:deny-primary-monitor"]
1495 + },
1496 + {
1497 + "description": "core:window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",
1498 + "type": "string",
1499 + "enum": ["core:window:deny-request-user-attention"]
1500 + },
1501 + {
1502 + "description": "core:window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",
1503 + "type": "string",
1504 + "enum": ["core:window:deny-scale-factor"]
1505 + },
1506 + {
1507 + "description": "core:window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",
1508 + "type": "string",
1509 + "enum": ["core:window:deny-set-always-on-bottom"]
1510 + },
1511 + {
1512 + "description": "core:window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",
1513 + "type": "string",
1514 + "enum": ["core:window:deny-set-always-on-top"]
1515 + },
1516 + {
1517 + "description": "core:window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",
1518 + "type": "string",
1519 + "enum": ["core:window:deny-set-closable"]
1520 + },
1521 + {
1522 + "description": "core:window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",
1523 + "type": "string",
1524 + "enum": ["core:window:deny-set-content-protected"]
1525 + },
1526 + {
1527 + "description": "core:window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",
1528 + "type": "string",
1529 + "enum": ["core:window:deny-set-cursor-grab"]
1530 + },
1531 + {
1532 + "description": "core:window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",
1533 + "type": "string",
1534 + "enum": ["core:window:deny-set-cursor-icon"]
1535 + },
1536 + {
1537 + "description": "core:window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",
1538 + "type": "string",
1539 + "enum": ["core:window:deny-set-cursor-position"]
1540 + },
1541 + {
1542 + "description": "core:window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",
1543 + "type": "string",
1544 + "enum": ["core:window:deny-set-cursor-visible"]
1545 + },
1546 + {
1547 + "description": "core:window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",
1548 + "type": "string",
1549 + "enum": ["core:window:deny-set-decorations"]
1550 + },
1551 + {
1552 + "description": "core:window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",
1553 + "type": "string",
1554 + "enum": ["core:window:deny-set-effects"]
1555 + },
1556 + {
1557 + "description": "core:window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",
1558 + "type": "string",
1559 + "enum": ["core:window:deny-set-focus"]
1560 + },
1561 + {
1562 + "description": "core:window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",
1563 + "type": "string",
1564 + "enum": ["core:window:deny-set-fullscreen"]
1565 + },
1566 + {
1567 + "description": "core:window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
1568 + "type": "string",
1569 + "enum": ["core:window:deny-set-icon"]
1570 + },
1571 + {
1572 + "description": "core:window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",
1573 + "type": "string",
1574 + "enum": ["core:window:deny-set-ignore-cursor-events"]
1575 + },
1576 + {
1577 + "description": "core:window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",
1578 + "type": "string",
1579 + "enum": ["core:window:deny-set-max-size"]
1580 + },
1581 + {
1582 + "description": "core:window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",
1583 + "type": "string",
1584 + "enum": ["core:window:deny-set-maximizable"]
1585 + },
1586 + {
1587 + "description": "core:window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",
1588 + "type": "string",
1589 + "enum": ["core:window:deny-set-min-size"]
1590 + },
1591 + {
1592 + "description": "core:window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",
1593 + "type": "string",
1594 + "enum": ["core:window:deny-set-minimizable"]
1595 + },
1596 + {
1597 + "description": "core:window:deny-set-position -> Denies the set_position command without any pre-configured scope.",
1598 + "type": "string",
1599 + "enum": ["core:window:deny-set-position"]
1600 + },
1601 + {
1602 + "description": "core:window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",
1603 + "type": "string",
1604 + "enum": ["core:window:deny-set-progress-bar"]
1605 + },
1606 + {
1607 + "description": "core:window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",
1608 + "type": "string",
1609 + "enum": ["core:window:deny-set-resizable"]
1610 + },
1611 + {
1612 + "description": "core:window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",
1613 + "type": "string",
1614 + "enum": ["core:window:deny-set-shadow"]
1615 + },
1616 + {
1617 + "description": "core:window:deny-set-size -> Denies the set_size command without any pre-configured scope.",
1618 + "type": "string",
1619 + "enum": ["core:window:deny-set-size"]
1620 + },
1621 + {
1622 + "description": "core:window:deny-set-size-constraints -> Denies the set_size_constraints command without any pre-configured scope.",
1623 + "type": "string",
1624 + "enum": ["core:window:deny-set-size-constraints"]
1625 + },
1626 + {
1627 + "description": "core:window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",
1628 + "type": "string",
1629 + "enum": ["core:window:deny-set-skip-taskbar"]
1630 + },
1631 + {
1632 + "description": "core:window:deny-set-title -> Denies the set_title command without any pre-configured scope.",
1633 + "type": "string",
1634 + "enum": ["core:window:deny-set-title"]
1635 + },
1636 + {
1637 + "description": "core:window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",
1638 + "type": "string",
1639 + "enum": ["core:window:deny-set-title-bar-style"]
1640 + },
1641 + {
1642 + "description": "core:window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
1643 + "type": "string",
1644 + "enum": ["core:window:deny-set-visible-on-all-workspaces"]
1645 + },
1646 + {
1647 + "description": "core:window:deny-show -> Denies the show command without any pre-configured scope.",
1648 + "type": "string",
1649 + "enum": ["core:window:deny-show"]
1650 + },
1651 + {
1652 + "description": "core:window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",
1653 + "type": "string",
1654 + "enum": ["core:window:deny-start-dragging"]
1655 + },
1656 + {
1657 + "description": "core:window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",
1658 + "type": "string",
1659 + "enum": ["core:window:deny-start-resize-dragging"]
1660 + },
1661 + {
1662 + "description": "core:window:deny-theme -> Denies the theme command without any pre-configured scope.",
1663 + "type": "string",
1664 + "enum": ["core:window:deny-theme"]
1665 + },
1666 + {
1667 + "description": "core:window:deny-title -> Denies the title command without any pre-configured scope.",
1668 + "type": "string",
1669 + "enum": ["core:window:deny-title"]
1670 + },
1671 + {
1672 + "description": "core:window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",
1673 + "type": "string",
1674 + "enum": ["core:window:deny-toggle-maximize"]
1675 + },
1676 + {
1677 + "description": "core:window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",
1678 + "type": "string",
1679 + "enum": ["core:window:deny-unmaximize"]
1680 + },
1681 + {
1682 + "description": "core:window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",
1683 + "type": "string",
1684 + "enum": ["core:window:deny-unminimize"]
1685 + },
1686 + {
1687 + "type": "string",
1688 + "enum": ["devtools:default"]
1689 + }
1690 + ]
1691 + },
1692 + "Value": {
1693 + "description": "All supported ACL values.",
1694 + "anyOf": [
1695 + {
1696 + "description": "Represents a null JSON value.",
1697 + "type": "null"
1698 + },
1699 + {
1700 + "description": "Represents a [`bool`].",
1701 + "type": "boolean"
1702 + },
1703 + {
1704 + "description": "Represents a valid ACL [`Number`].",
1705 + "allOf": [
1706 + {
1707 + "$ref": "#/definitions/Number"
1708 + }
1709 + ]
1710 + },
1711 + {
1712 + "description": "Represents a [`String`].",
1713 + "type": "string"
1714 + },
1715 + {
1716 + "description": "Represents a list of other [`Value`]s.",
1717 + "type": "array",
1718 + "items": {
1719 + "$ref": "#/definitions/Value"
1720 + }
1721 + },
1722 + {
1723 + "description": "Represents a map of [`String`] keys to [`Value`]s.",
1724 + "type": "object",
1725 + "additionalProperties": {
1726 + "$ref": "#/definitions/Value"
1727 + }
1728 + }
1729 + ]
1730 + },
1731 + "Number": {
1732 + "description": "A valid ACL number.",
1733 + "anyOf": [
1734 + {
1735 + "description": "Represents an [`i64`].",
1736 + "type": "integer",
1737 + "format": "int64"
1738 + },
1739 + {
1740 + "description": "Represents a [`f64`].",
1741 + "type": "number",
1742 + "format": "double"
1743 + }
1744 + ]
1745 + },
1746 + "Target": {
1747 + "description": "Platform target.",
1748 + "oneOf": [
1749 + {
1750 + "description": "MacOS.",
1751 + "type": "string",
1752 + "enum": ["macOS"]
1753 + },
1754 + {
1755 + "description": "Windows.",
1756 + "type": "string",
1757 + "enum": ["windows"]
1758 + },
1759 + {
1760 + "description": "Linux.",
1761 + "type": "string",
1762 + "enum": ["linux"]
1763 + },
1764 + {
1765 + "description": "Android.",
1766 + "type": "string",
1767 + "enum": ["android"]
1768 + },
1769 + {
1770 + "description": "iOS.",
1771 + "type": "string",
1772 + "enum": ["iOS"]
1773 + }
1774 + ]
1775 + }
1776 + }
1777 +}
examples/tauri-app/src-tauri/gen/schemas/capabilities.json
+20 -1
@@ -1 +1,20 @@
1 -{"default":{"identifier":"default","description":"enables the default permissions","local":true,"windows":["main"],"permissions":["path:default","event:default","window:default","webview:default","app:default","resources:default","image:default","menu:default","tray:default","admob:default"]}}
\ No newline at end of file
1 +{
2 + "default": {
3 + "identifier": "default",
4 + "description": "enables the default permissions",
5 + "local": true,
6 + "windows": ["main"],
7 + "permissions": [
8 + "path:default",
9 + "event:default",
10 + "window:default",
11 + "webview:default",
12 + "app:default",
13 + "resources:default",
14 + "image:default",
15 + "menu:default",
16 + "tray:default",
17 + "admob:default"
18 + ]
19 + }
20 +}
examples/tauri-app/src-tauri/gen/schemas/desktop-schema.json
+1716 -2334
@@ -1,2335 +1,1717 @@
1 {
2 - "$schema": "http://json-schema.org/draft-07/schema#",
3 - "title": "CapabilityFile",
4 - "description": "Capability formats accepted in a capability file.",
5 - "anyOf": [
6 - {
7 - "description": "A single capability.",
8 - "allOf": [
9 - {
10 - "$ref": "#/definitions/Capability"
11 - }
12 - ]
13 - },
14 - {
15 - "description": "A list of capabilities.",
16 - "type": "array",
17 - "items": {
18 - "$ref": "#/definitions/Capability"
19 - }
20 - },
21 - {
22 - "description": "A list of capabilities.",
23 - "type": "object",
24 - "required": [
25 - "capabilities"
26 - ],
27 - "properties": {
28 - "capabilities": {
29 - "description": "The list of capabilities.",
30 - "type": "array",
31 - "items": {
32 - "$ref": "#/definitions/Capability"
33 - }
34 - }
35 - }
36 - }
37 - ],
38 - "definitions": {
39 - "Capability": {
40 - "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"path:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",
41 - "type": "object",
42 - "required": [
43 - "identifier",
44 - "permissions"
45 - ],
46 - "properties": {
47 - "identifier": {
48 - "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
49 - "type": "string"
50 - },
51 - "description": {
52 - "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",
53 - "default": "",
54 - "type": "string"
55 - },
56 - "remote": {
57 - "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",
58 - "anyOf": [
59 - {
60 - "$ref": "#/definitions/CapabilityRemote"
61 - },
62 - {
63 - "type": "null"
64 - }
65 - ]
66 - },
67 - "local": {
68 - "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
69 - "default": true,
70 - "type": "boolean"
71 - },
72 - "windows": {
73 - "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
74 - "type": "array",
75 - "items": {
76 - "type": "string"
77 - }
78 - },
79 - "webviews": {
80 - "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
81 - "type": "array",
82 - "items": {
83 - "type": "string"
84 - }
85 - },
86 - "permissions": {
87 - "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"path:default\", \"event:default\", \"window:default\", \"app:default\", \"image:default\", \"resources:default\", \"menu:default\", \"tray:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",
88 - "type": "array",
89 - "items": {
90 - "$ref": "#/definitions/PermissionEntry"
91 - },
92 - "uniqueItems": true
93 - },
94 - "platforms": {
95 - "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
96 - "type": [
97 - "array",
98 - "null"
99 - ],
100 - "items": {
101 - "$ref": "#/definitions/Target"
102 - }
103 - }
104 - }
105 - },
106 - "CapabilityRemote": {
107 - "description": "Configuration for remote URLs that are associated with the capability.",
108 - "type": "object",
109 - "required": [
110 - "urls"
111 - ],
112 - "properties": {
113 - "urls": {
114 - "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
115 - "type": "array",
116 - "items": {
117 - "type": "string"
118 - }
119 - }
120 - }
121 - },
122 - "PermissionEntry": {
123 - "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
124 - "anyOf": [
125 - {
126 - "description": "Reference a permission or permission set by identifier.",
127 - "allOf": [
128 - {
129 - "$ref": "#/definitions/Identifier"
130 - }
131 - ]
132 - },
133 - {
134 - "description": "Reference a permission or permission set by identifier and extends its scope.",
135 - "type": "object",
136 - "required": [
137 - "identifier"
138 - ],
139 - "properties": {
140 - "identifier": {
141 - "description": "Identifier of the permission or permission set.",
142 - "allOf": [
143 - {
144 - "$ref": "#/definitions/Identifier"
145 - }
146 - ]
147 - },
148 - "allow": {
149 - "description": "Data that defines what is allowed by the scope.",
150 - "type": [
151 - "array",
152 - "null"
153 - ],
154 - "items": {
155 - "$ref": "#/definitions/Value"
156 - }
157 - },
158 - "deny": {
159 - "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
160 - "type": [
161 - "array",
162 - "null"
163 - ],
164 - "items": {
165 - "$ref": "#/definitions/Value"
166 - }
167 - }
168 - }
169 - }
170 - ]
171 - },
172 - "Identifier": {
173 - "oneOf": [
174 - {
175 - "description": "admob:default -> Default permissions for the plugin",
176 - "type": "string",
177 - "enum": [
178 - "admob:default"
179 - ]
180 - },
181 - {
182 - "description": "admob:allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
183 - "type": "string",
184 - "enum": [
185 - "admob:allow-adCreate"
186 - ]
187 - },
188 - {
189 - "description": "admob:allow-adHide -> Enables the adHide command without any pre-configured scope.",
190 - "type": "string",
191 - "enum": [
192 - "admob:allow-adHide"
193 - ]
194 - },
195 - {
196 - "description": "admob:allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
197 - "type": "string",
198 - "enum": [
199 - "admob:allow-adIsLoaded"
200 - ]
201 - },
202 - {
203 - "description": "admob:allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
204 - "type": "string",
205 - "enum": [
206 - "admob:allow-adLoad"
207 - ]
208 - },
209 - {
210 - "description": "admob:allow-adShow -> Enables the adShow command without any pre-configured scope.",
211 - "type": "string",
212 - "enum": [
213 - "admob:allow-adShow"
214 - ]
215 - },
216 - {
217 - "description": "admob:allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
218 - "type": "string",
219 - "enum": [
220 - "admob:allow-configRequest"
221 - ]
222 - },
223 - {
224 - "description": "admob:allow-configure -> Enables the configure command without any pre-configured scope.",
225 - "type": "string",
226 - "enum": [
227 - "admob:allow-configure"
228 - ]
229 - },
230 - {
231 - "description": "admob:allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
232 - "type": "string",
233 - "enum": [
234 - "admob:allow-requestTrackingAuthorization"
235 - ]
236 - },
237 - {
238 - "description": "admob:allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
239 - "type": "string",
240 - "enum": [
241 - "admob:allow-trackingAuthorizationStatus"
242 - ]
243 - },
244 - {
245 - "description": "admob:deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
246 - "type": "string",
247 - "enum": [
248 - "admob:deny-adCreate"
249 - ]
250 - },
251 - {
252 - "description": "admob:deny-adHide -> Denies the adHide command without any pre-configured scope.",
253 - "type": "string",
254 - "enum": [
255 - "admob:deny-adHide"
256 - ]
257 - },
258 - {
259 - "description": "admob:deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
260 - "type": "string",
261 - "enum": [
262 - "admob:deny-adIsLoaded"
263 - ]
264 - },
265 - {
266 - "description": "admob:deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
267 - "type": "string",
268 - "enum": [
269 - "admob:deny-adLoad"
270 - ]
271 - },
272 - {
273 - "description": "admob:deny-adShow -> Denies the adShow command without any pre-configured scope.",
274 - "type": "string",
275 - "enum": [
276 - "admob:deny-adShow"
277 - ]
278 - },
279 - {
280 - "description": "admob:deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
281 - "type": "string",
282 - "enum": [
283 - "admob:deny-configRequest"
284 - ]
285 - },
286 - {
287 - "description": "admob:deny-configure -> Denies the configure command without any pre-configured scope.",
288 - "type": "string",
289 - "enum": [
290 - "admob:deny-configure"
291 - ]
292 - },
293 - {
294 - "description": "admob:deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
295 - "type": "string",
296 - "enum": [
297 - "admob:deny-requestTrackingAuthorization"
298 - ]
299 - },
300 - {
301 - "description": "admob:deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
302 - "type": "string",
303 - "enum": [
304 - "admob:deny-trackingAuthorizationStatus"
305 - ]
306 - },
307 - {
308 - "description": "app:default -> Default permissions for the plugin.",
309 - "type": "string",
310 - "enum": [
311 - "app:default"
312 - ]
313 - },
314 - {
315 - "description": "app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",
316 - "type": "string",
317 - "enum": [
318 - "app:allow-app-hide"
319 - ]
320 - },
321 - {
322 - "description": "app:allow-app-show -> Enables the app_show command without any pre-configured scope.",
323 - "type": "string",
324 - "enum": [
325 - "app:allow-app-show"
326 - ]
327 - },
328 - {
329 - "description": "app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",
330 - "type": "string",
331 - "enum": [
332 - "app:allow-default-window-icon"
333 - ]
334 - },
335 - {
336 - "description": "app:allow-name -> Enables the name command without any pre-configured scope.",
337 - "type": "string",
338 - "enum": [
339 - "app:allow-name"
340 - ]
341 - },
342 - {
343 - "description": "app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",
344 - "type": "string",
345 - "enum": [
346 - "app:allow-tauri-version"
347 - ]
348 - },
349 - {
350 - "description": "app:allow-version -> Enables the version command without any pre-configured scope.",
351 - "type": "string",
352 - "enum": [
353 - "app:allow-version"
354 - ]
355 - },
356 - {
357 - "description": "app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",
358 - "type": "string",
359 - "enum": [
360 - "app:deny-app-hide"
361 - ]
362 - },
363 - {
364 - "description": "app:deny-app-show -> Denies the app_show command without any pre-configured scope.",
365 - "type": "string",
366 - "enum": [
367 - "app:deny-app-show"
368 - ]
369 - },
370 - {
371 - "description": "app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",
372 - "type": "string",
373 - "enum": [
374 - "app:deny-default-window-icon"
375 - ]
376 - },
377 - {
378 - "description": "app:deny-name -> Denies the name command without any pre-configured scope.",
379 - "type": "string",
380 - "enum": [
381 - "app:deny-name"
382 - ]
383 - },
384 - {
385 - "description": "app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",
386 - "type": "string",
387 - "enum": [
388 - "app:deny-tauri-version"
389 - ]
390 - },
391 - {
392 - "description": "app:deny-version -> Denies the version command without any pre-configured scope.",
393 - "type": "string",
394 - "enum": [
395 - "app:deny-version"
396 - ]
397 - },
398 - {
399 - "type": "string",
400 - "enum": [
401 - "devtools:default"
402 - ]
403 - },
404 - {
405 - "description": "event:default -> Default permissions for the plugin.",
406 - "type": "string",
407 - "enum": [
408 - "event:default"
409 - ]
410 - },
411 - {
412 - "description": "event:allow-emit -> Enables the emit command without any pre-configured scope.",
413 - "type": "string",
414 - "enum": [
415 - "event:allow-emit"
416 - ]
417 - },
418 - {
419 - "description": "event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",
420 - "type": "string",
421 - "enum": [
422 - "event:allow-emit-to"
423 - ]
424 - },
425 - {
426 - "description": "event:allow-listen -> Enables the listen command without any pre-configured scope.",
427 - "type": "string",
428 - "enum": [
429 - "event:allow-listen"
430 - ]
431 - },
432 - {
433 - "description": "event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",
434 - "type": "string",
435 - "enum": [
436 - "event:allow-unlisten"
437 - ]
438 - },
439 - {
440 - "description": "event:deny-emit -> Denies the emit command without any pre-configured scope.",
441 - "type": "string",
442 - "enum": [
443 - "event:deny-emit"
444 - ]
445 - },
446 - {
447 - "description": "event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",
448 - "type": "string",
449 - "enum": [
450 - "event:deny-emit-to"
451 - ]
452 - },
453 - {
454 - "description": "event:deny-listen -> Denies the listen command without any pre-configured scope.",
455 - "type": "string",
456 - "enum": [
457 - "event:deny-listen"
458 - ]
459 - },
460 - {
461 - "description": "event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",
462 - "type": "string",
463 - "enum": [
464 - "event:deny-unlisten"
465 - ]
466 - },
467 - {
468 - "description": "image:default -> Default permissions for the plugin.",
469 - "type": "string",
470 - "enum": [
471 - "image:default"
472 - ]
473 - },
474 - {
475 - "description": "image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",
476 - "type": "string",
477 - "enum": [
478 - "image:allow-from-bytes"
479 - ]
480 - },
481 - {
482 - "description": "image:allow-from-path -> Enables the from_path command without any pre-configured scope.",
483 - "type": "string",
484 - "enum": [
485 - "image:allow-from-path"
486 - ]
487 - },
488 - {
489 - "description": "image:allow-new -> Enables the new command without any pre-configured scope.",
490 - "type": "string",
491 - "enum": [
492 - "image:allow-new"
493 - ]
494 - },
495 - {
496 - "description": "image:allow-rgba -> Enables the rgba command without any pre-configured scope.",
497 - "type": "string",
498 - "enum": [
499 - "image:allow-rgba"
500 - ]
501 - },
502 - {
503 - "description": "image:allow-size -> Enables the size command without any pre-configured scope.",
504 - "type": "string",
505 - "enum": [
506 - "image:allow-size"
507 - ]
508 - },
509 - {
510 - "description": "image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",
511 - "type": "string",
512 - "enum": [
513 - "image:deny-from-bytes"
514 - ]
515 - },
516 - {
517 - "description": "image:deny-from-path -> Denies the from_path command without any pre-configured scope.",
518 - "type": "string",
519 - "enum": [
520 - "image:deny-from-path"
521 - ]
522 - },
523 - {
524 - "description": "image:deny-new -> Denies the new command without any pre-configured scope.",
525 - "type": "string",
526 - "enum": [
527 - "image:deny-new"
528 - ]
529 - },
530 - {
531 - "description": "image:deny-rgba -> Denies the rgba command without any pre-configured scope.",
532 - "type": "string",
533 - "enum": [
534 - "image:deny-rgba"
535 - ]
536 - },
537 - {
538 - "description": "image:deny-size -> Denies the size command without any pre-configured scope.",
539 - "type": "string",
540 - "enum": [
541 - "image:deny-size"
542 - ]
543 - },
544 - {
545 - "description": "menu:default -> Default permissions for the plugin.",
546 - "type": "string",
547 - "enum": [
548 - "menu:default"
549 - ]
550 - },
551 - {
552 - "description": "menu:allow-append -> Enables the append command without any pre-configured scope.",
553 - "type": "string",
554 - "enum": [
555 - "menu:allow-append"
556 - ]
557 - },
558 - {
559 - "description": "menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",
560 - "type": "string",
561 - "enum": [
562 - "menu:allow-create-default"
563 - ]
564 - },
565 - {
566 - "description": "menu:allow-get -> Enables the get command without any pre-configured scope.",
567 - "type": "string",
568 - "enum": [
569 - "menu:allow-get"
570 - ]
571 - },
572 - {
573 - "description": "menu:allow-insert -> Enables the insert command without any pre-configured scope.",
574 - "type": "string",
575 - "enum": [
576 - "menu:allow-insert"
577 - ]
578 - },
579 - {
580 - "description": "menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",
581 - "type": "string",
582 - "enum": [
583 - "menu:allow-is-checked"
584 - ]
585 - },
586 - {
587 - "description": "menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",
588 - "type": "string",
589 - "enum": [
590 - "menu:allow-is-enabled"
591 - ]
592 - },
593 - {
594 - "description": "menu:allow-items -> Enables the items command without any pre-configured scope.",
595 - "type": "string",
596 - "enum": [
597 - "menu:allow-items"
598 - ]
599 - },
600 - {
601 - "description": "menu:allow-new -> Enables the new command without any pre-configured scope.",
602 - "type": "string",
603 - "enum": [
604 - "menu:allow-new"
605 - ]
606 - },
607 - {
608 - "description": "menu:allow-popup -> Enables the popup command without any pre-configured scope.",
609 - "type": "string",
610 - "enum": [
611 - "menu:allow-popup"
612 - ]
613 - },
614 - {
615 - "description": "menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",
616 - "type": "string",
617 - "enum": [
618 - "menu:allow-prepend"
619 - ]
620 - },
621 - {
622 - "description": "menu:allow-remove -> Enables the remove command without any pre-configured scope.",
623 - "type": "string",
624 - "enum": [
625 - "menu:allow-remove"
626 - ]
627 - },
628 - {
629 - "description": "menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",
630 - "type": "string",
631 - "enum": [
632 - "menu:allow-remove-at"
633 - ]
634 - },
635 - {
636 - "description": "menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",
637 - "type": "string",
638 - "enum": [
639 - "menu:allow-set-accelerator"
640 - ]
641 - },
642 - {
643 - "description": "menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",
644 - "type": "string",
645 - "enum": [
646 - "menu:allow-set-as-app-menu"
647 - ]
648 - },
649 - {
650 - "description": "menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
651 - "type": "string",
652 - "enum": [
653 - "menu:allow-set-as-help-menu-for-nsapp"
654 - ]
655 - },
656 - {
657 - "description": "menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",
658 - "type": "string",
659 - "enum": [
660 - "menu:allow-set-as-window-menu"
661 - ]
662 - },
663 - {
664 - "description": "menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
665 - "type": "string",
666 - "enum": [
667 - "menu:allow-set-as-windows-menu-for-nsapp"
668 - ]
669 - },
670 - {
671 - "description": "menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",
672 - "type": "string",
673 - "enum": [
674 - "menu:allow-set-checked"
675 - ]
676 - },
677 - {
678 - "description": "menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",
679 - "type": "string",
680 - "enum": [
681 - "menu:allow-set-enabled"
682 - ]
683 - },
684 - {
685 - "description": "menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
686 - "type": "string",
687 - "enum": [
688 - "menu:allow-set-icon"
689 - ]
690 - },
691 - {
692 - "description": "menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",
693 - "type": "string",
694 - "enum": [
695 - "menu:allow-set-text"
696 - ]
697 - },
698 - {
699 - "description": "menu:allow-text -> Enables the text command without any pre-configured scope.",
700 - "type": "string",
701 - "enum": [
702 - "menu:allow-text"
703 - ]
704 - },
705 - {
706 - "description": "menu:deny-append -> Denies the append command without any pre-configured scope.",
707 - "type": "string",
708 - "enum": [
709 - "menu:deny-append"
710 - ]
711 - },
712 - {
713 - "description": "menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",
714 - "type": "string",
715 - "enum": [
716 - "menu:deny-create-default"
717 - ]
718 - },
719 - {
720 - "description": "menu:deny-get -> Denies the get command without any pre-configured scope.",
721 - "type": "string",
722 - "enum": [
723 - "menu:deny-get"
724 - ]
725 - },
726 - {
727 - "description": "menu:deny-insert -> Denies the insert command without any pre-configured scope.",
728 - "type": "string",
729 - "enum": [
730 - "menu:deny-insert"
731 - ]
732 - },
733 - {
734 - "description": "menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",
735 - "type": "string",
736 - "enum": [
737 - "menu:deny-is-checked"
738 - ]
739 - },
740 - {
741 - "description": "menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",
742 - "type": "string",
743 - "enum": [
744 - "menu:deny-is-enabled"
745 - ]
746 - },
747 - {
748 - "description": "menu:deny-items -> Denies the items command without any pre-configured scope.",
749 - "type": "string",
750 - "enum": [
751 - "menu:deny-items"
752 - ]
753 - },
754 - {
755 - "description": "menu:deny-new -> Denies the new command without any pre-configured scope.",
756 - "type": "string",
757 - "enum": [
758 - "menu:deny-new"
759 - ]
760 - },
761 - {
762 - "description": "menu:deny-popup -> Denies the popup command without any pre-configured scope.",
763 - "type": "string",
764 - "enum": [
765 - "menu:deny-popup"
766 - ]
767 - },
768 - {
769 - "description": "menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",
770 - "type": "string",
771 - "enum": [
772 - "menu:deny-prepend"
773 - ]
774 - },
775 - {
776 - "description": "menu:deny-remove -> Denies the remove command without any pre-configured scope.",
777 - "type": "string",
778 - "enum": [
779 - "menu:deny-remove"
780 - ]
781 - },
782 - {
783 - "description": "menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",
784 - "type": "string",
785 - "enum": [
786 - "menu:deny-remove-at"
787 - ]
788 - },
789 - {
790 - "description": "menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",
791 - "type": "string",
792 - "enum": [
793 - "menu:deny-set-accelerator"
794 - ]
795 - },
796 - {
797 - "description": "menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",
798 - "type": "string",
799 - "enum": [
800 - "menu:deny-set-as-app-menu"
801 - ]
802 - },
803 - {
804 - "description": "menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
805 - "type": "string",
806 - "enum": [
807 - "menu:deny-set-as-help-menu-for-nsapp"
808 - ]
809 - },
810 - {
811 - "description": "menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",
812 - "type": "string",
813 - "enum": [
814 - "menu:deny-set-as-window-menu"
815 - ]
816 - },
817 - {
818 - "description": "menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
819 - "type": "string",
820 - "enum": [
821 - "menu:deny-set-as-windows-menu-for-nsapp"
822 - ]
823 - },
824 - {
825 - "description": "menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",
826 - "type": "string",
827 - "enum": [
828 - "menu:deny-set-checked"
829 - ]
830 - },
831 - {
832 - "description": "menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",
833 - "type": "string",
834 - "enum": [
835 - "menu:deny-set-enabled"
836 - ]
837 - },
838 - {
839 - "description": "menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
840 - "type": "string",
841 - "enum": [
842 - "menu:deny-set-icon"
843 - ]
844 - },
845 - {
846 - "description": "menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",
847 - "type": "string",
848 - "enum": [
849 - "menu:deny-set-text"
850 - ]
851 - },
852 - {
853 - "description": "menu:deny-text -> Denies the text command without any pre-configured scope.",
854 - "type": "string",
855 - "enum": [
856 - "menu:deny-text"
857 - ]
858 - },
859 - {
860 - "description": "path:default -> Default permissions for the plugin.",
861 - "type": "string",
862 - "enum": [
863 - "path:default"
864 - ]
865 - },
866 - {
867 - "description": "path:allow-basename -> Enables the basename command without any pre-configured scope.",
868 - "type": "string",
869 - "enum": [
870 - "path:allow-basename"
871 - ]
872 - },
873 - {
874 - "description": "path:allow-dirname -> Enables the dirname command without any pre-configured scope.",
875 - "type": "string",
876 - "enum": [
877 - "path:allow-dirname"
878 - ]
879 - },
880 - {
881 - "description": "path:allow-extname -> Enables the extname command without any pre-configured scope.",
882 - "type": "string",
883 - "enum": [
884 - "path:allow-extname"
885 - ]
886 - },
887 - {
888 - "description": "path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",
889 - "type": "string",
890 - "enum": [
891 - "path:allow-is-absolute"
892 - ]
893 - },
894 - {
895 - "description": "path:allow-join -> Enables the join command without any pre-configured scope.",
896 - "type": "string",
897 - "enum": [
898 - "path:allow-join"
899 - ]
900 - },
901 - {
902 - "description": "path:allow-normalize -> Enables the normalize command without any pre-configured scope.",
903 - "type": "string",
904 - "enum": [
905 - "path:allow-normalize"
906 - ]
907 - },
908 - {
909 - "description": "path:allow-resolve -> Enables the resolve command without any pre-configured scope.",
910 - "type": "string",
911 - "enum": [
912 - "path:allow-resolve"
913 - ]
914 - },
915 - {
916 - "description": "path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",
917 - "type": "string",
918 - "enum": [
919 - "path:allow-resolve-directory"
920 - ]
921 - },
922 - {
923 - "description": "path:deny-basename -> Denies the basename command without any pre-configured scope.",
924 - "type": "string",
925 - "enum": [
926 - "path:deny-basename"
927 - ]
928 - },
929 - {
930 - "description": "path:deny-dirname -> Denies the dirname command without any pre-configured scope.",
931 - "type": "string",
932 - "enum": [
933 - "path:deny-dirname"
934 - ]
935 - },
936 - {
937 - "description": "path:deny-extname -> Denies the extname command without any pre-configured scope.",
938 - "type": "string",
939 - "enum": [
940 - "path:deny-extname"
941 - ]
942 - },
943 - {
944 - "description": "path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",
945 - "type": "string",
946 - "enum": [
947 - "path:deny-is-absolute"
948 - ]
949 - },
950 - {
951 - "description": "path:deny-join -> Denies the join command without any pre-configured scope.",
952 - "type": "string",
953 - "enum": [
954 - "path:deny-join"
955 - ]
956 - },
957 - {
958 - "description": "path:deny-normalize -> Denies the normalize command without any pre-configured scope.",
959 - "type": "string",
960 - "enum": [
961 - "path:deny-normalize"
962 - ]
963 - },
964 - {
965 - "description": "path:deny-resolve -> Denies the resolve command without any pre-configured scope.",
966 - "type": "string",
967 - "enum": [
968 - "path:deny-resolve"
969 - ]
970 - },
971 - {
972 - "description": "path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",
973 - "type": "string",
974 - "enum": [
975 - "path:deny-resolve-directory"
976 - ]
977 - },
978 - {
979 - "description": "resources:default -> Default permissions for the plugin.",
980 - "type": "string",
981 - "enum": [
982 - "resources:default"
983 - ]
984 - },
985 - {
986 - "description": "resources:allow-close -> Enables the close command without any pre-configured scope.",
987 - "type": "string",
988 - "enum": [
989 - "resources:allow-close"
990 - ]
991 - },
992 - {
993 - "description": "resources:deny-close -> Denies the close command without any pre-configured scope.",
994 - "type": "string",
995 - "enum": [
996 - "resources:deny-close"
997 - ]
998 - },
999 - {
1000 - "description": "tray:default -> Default permissions for the plugin.",
1001 - "type": "string",
1002 - "enum": [
1003 - "tray:default"
1004 - ]
1005 - },
1006 - {
1007 - "description": "tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",
1008 - "type": "string",
1009 - "enum": [
1010 - "tray:allow-get-by-id"
1011 - ]
1012 - },
1013 - {
1014 - "description": "tray:allow-new -> Enables the new command without any pre-configured scope.",
1015 - "type": "string",
1016 - "enum": [
1017 - "tray:allow-new"
1018 - ]
1019 - },
1020 - {
1021 - "description": "tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",
1022 - "type": "string",
1023 - "enum": [
1024 - "tray:allow-remove-by-id"
1025 - ]
1026 - },
1027 - {
1028 - "description": "tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1029 - "type": "string",
1030 - "enum": [
1031 - "tray:allow-set-icon"
1032 - ]
1033 - },
1034 - {
1035 - "description": "tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",
1036 - "type": "string",
1037 - "enum": [
1038 - "tray:allow-set-icon-as-template"
1039 - ]
1040 - },
1041 - {
1042 - "description": "tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",
1043 - "type": "string",
1044 - "enum": [
1045 - "tray:allow-set-menu"
1046 - ]
1047 - },
1048 - {
1049 - "description": "tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",
1050 - "type": "string",
1051 - "enum": [
1052 - "tray:allow-set-show-menu-on-left-click"
1053 - ]
1054 - },
1055 - {
1056 - "description": "tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",
1057 - "type": "string",
1058 - "enum": [
1059 - "tray:allow-set-temp-dir-path"
1060 - ]
1061 - },
1062 - {
1063 - "description": "tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1064 - "type": "string",
1065 - "enum": [
1066 - "tray:allow-set-title"
1067 - ]
1068 - },
1069 - {
1070 - "description": "tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",
1071 - "type": "string",
1072 - "enum": [
1073 - "tray:allow-set-tooltip"
1074 - ]
1075 - },
1076 - {
1077 - "description": "tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",
1078 - "type": "string",
1079 - "enum": [
1080 - "tray:allow-set-visible"
1081 - ]
1082 - },
1083 - {
1084 - "description": "tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",
1085 - "type": "string",
1086 - "enum": [
1087 - "tray:deny-get-by-id"
1088 - ]
1089 - },
1090 - {
1091 - "description": "tray:deny-new -> Denies the new command without any pre-configured scope.",
1092 - "type": "string",
1093 - "enum": [
1094 - "tray:deny-new"
1095 - ]
1096 - },
1097 - {
1098 - "description": "tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",
1099 - "type": "string",
1100 - "enum": [
1101 - "tray:deny-remove-by-id"
1102 - ]
1103 - },
1104 - {
1105 - "description": "tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
1106 - "type": "string",
1107 - "enum": [
1108 - "tray:deny-set-icon"
1109 - ]
1110 - },
1111 - {
1112 - "description": "tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",
1113 - "type": "string",
1114 - "enum": [
1115 - "tray:deny-set-icon-as-template"
1116 - ]
1117 - },
1118 - {
1119 - "description": "tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",
1120 - "type": "string",
1121 - "enum": [
1122 - "tray:deny-set-menu"
1123 - ]
1124 - },
1125 - {
1126 - "description": "tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",
1127 - "type": "string",
1128 - "enum": [
1129 - "tray:deny-set-show-menu-on-left-click"
1130 - ]
1131 - },
1132 - {
1133 - "description": "tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",
1134 - "type": "string",
1135 - "enum": [
1136 - "tray:deny-set-temp-dir-path"
1137 - ]
1138 - },
1139 - {
1140 - "description": "tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",
1141 - "type": "string",
1142 - "enum": [
1143 - "tray:deny-set-title"
1144 - ]
1145 - },
1146 - {
1147 - "description": "tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",
1148 - "type": "string",
1149 - "enum": [
1150 - "tray:deny-set-tooltip"
1151 - ]
1152 - },
1153 - {
1154 - "description": "tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",
1155 - "type": "string",
1156 - "enum": [
1157 - "tray:deny-set-visible"
1158 - ]
1159 - },
1160 - {
1161 - "description": "webview:default -> Default permissions for the plugin.",
1162 - "type": "string",
1163 - "enum": [
1164 - "webview:default"
1165 - ]
1166 - },
1167 - {
1168 - "description": "webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",
1169 - "type": "string",
1170 - "enum": [
1171 - "webview:allow-create-webview"
1172 - ]
1173 - },
1174 - {
1175 - "description": "webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",
1176 - "type": "string",
1177 - "enum": [
1178 - "webview:allow-create-webview-window"
1179 - ]
1180 - },
1181 - {
1182 - "description": "webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
1183 - "type": "string",
1184 - "enum": [
1185 - "webview:allow-internal-toggle-devtools"
1186 - ]
1187 - },
1188 - {
1189 - "description": "webview:allow-print -> Enables the print command without any pre-configured scope.",
1190 - "type": "string",
1191 - "enum": [
1192 - "webview:allow-print"
1193 - ]
1194 - },
1195 - {
1196 - "description": "webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",
1197 - "type": "string",
1198 - "enum": [
1199 - "webview:allow-reparent"
1200 - ]
1201 - },
1202 - {
1203 - "description": "webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",
1204 - "type": "string",
1205 - "enum": [
1206 - "webview:allow-set-webview-focus"
1207 - ]
1208 - },
1209 - {
1210 - "description": "webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",
1211 - "type": "string",
1212 - "enum": [
1213 - "webview:allow-set-webview-position"
1214 - ]
1215 - },
1216 - {
1217 - "description": "webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",
1218 - "type": "string",
1219 - "enum": [
1220 - "webview:allow-set-webview-size"
1221 - ]
1222 - },
1223 - {
1224 - "description": "webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",
1225 - "type": "string",
1226 - "enum": [
1227 - "webview:allow-set-webview-zoom"
1228 - ]
1229 - },
1230 - {
1231 - "description": "webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",
1232 - "type": "string",
1233 - "enum": [
1234 - "webview:allow-webview-close"
1235 - ]
1236 - },
1237 - {
1238 - "description": "webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",
1239 - "type": "string",
1240 - "enum": [
1241 - "webview:allow-webview-position"
1242 - ]
1243 - },
1244 - {
1245 - "description": "webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",
1246 - "type": "string",
1247 - "enum": [
1248 - "webview:allow-webview-size"
1249 - ]
1250 - },
1251 - {
1252 - "description": "webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",
1253 - "type": "string",
1254 - "enum": [
1255 - "webview:deny-create-webview"
1256 - ]
1257 - },
1258 - {
1259 - "description": "webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",
1260 - "type": "string",
1261 - "enum": [
1262 - "webview:deny-create-webview-window"
1263 - ]
1264 - },
1265 - {
1266 - "description": "webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
1267 - "type": "string",
1268 - "enum": [
1269 - "webview:deny-internal-toggle-devtools"
1270 - ]
1271 - },
1272 - {
1273 - "description": "webview:deny-print -> Denies the print command without any pre-configured scope.",
1274 - "type": "string",
1275 - "enum": [
1276 - "webview:deny-print"
1277 - ]
1278 - },
1279 - {
1280 - "description": "webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",
1281 - "type": "string",
1282 - "enum": [
1283 - "webview:deny-reparent"
1284 - ]
1285 - },
1286 - {
1287 - "description": "webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",
1288 - "type": "string",
1289 - "enum": [
1290 - "webview:deny-set-webview-focus"
1291 - ]
1292 - },
1293 - {
1294 - "description": "webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",
1295 - "type": "string",
1296 - "enum": [
1297 - "webview:deny-set-webview-position"
1298 - ]
1299 - },
1300 - {
1301 - "description": "webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",
1302 - "type": "string",
1303 - "enum": [
1304 - "webview:deny-set-webview-size"
1305 - ]
1306 - },
1307 - {
1308 - "description": "webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",
1309 - "type": "string",
1310 - "enum": [
1311 - "webview:deny-set-webview-zoom"
1312 - ]
1313 - },
1314 - {
1315 - "description": "webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",
1316 - "type": "string",
1317 - "enum": [
1318 - "webview:deny-webview-close"
1319 - ]
1320 - },
1321 - {
1322 - "description": "webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",
1323 - "type": "string",
1324 - "enum": [
1325 - "webview:deny-webview-position"
1326 - ]
1327 - },
1328 - {
1329 - "description": "webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",
1330 - "type": "string",
1331 - "enum": [
1332 - "webview:deny-webview-size"
1333 - ]
1334 - },
1335 - {
1336 - "description": "window:default -> Default permissions for the plugin.",
1337 - "type": "string",
1338 - "enum": [
1339 - "window:default"
1340 - ]
1341 - },
1342 - {
1343 - "description": "window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",
1344 - "type": "string",
1345 - "enum": [
1346 - "window:allow-available-monitors"
1347 - ]
1348 - },
1349 - {
1350 - "description": "window:allow-center -> Enables the center command without any pre-configured scope.",
1351 - "type": "string",
1352 - "enum": [
1353 - "window:allow-center"
1354 - ]
1355 - },
1356 - {
1357 - "description": "window:allow-close -> Enables the close command without any pre-configured scope.",
1358 - "type": "string",
1359 - "enum": [
1360 - "window:allow-close"
1361 - ]
1362 - },
1363 - {
1364 - "description": "window:allow-create -> Enables the create command without any pre-configured scope.",
1365 - "type": "string",
1366 - "enum": [
1367 - "window:allow-create"
1368 - ]
1369 - },
1370 - {
1371 - "description": "window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",
1372 - "type": "string",
1373 - "enum": [
1374 - "window:allow-current-monitor"
1375 - ]
1376 - },
1377 - {
1378 - "description": "window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",
1379 - "type": "string",
1380 - "enum": [
1381 - "window:allow-cursor-position"
1382 - ]
1383 - },
1384 - {
1385 - "description": "window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
1386 - "type": "string",
1387 - "enum": [
1388 - "window:allow-destroy"
1389 - ]
1390 - },
1391 - {
1392 - "description": "window:allow-hide -> Enables the hide command without any pre-configured scope.",
1393 - "type": "string",
1394 - "enum": [
1395 - "window:allow-hide"
1396 - ]
1397 - },
1398 - {
1399 - "description": "window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",
1400 - "type": "string",
1401 - "enum": [
1402 - "window:allow-inner-position"
1403 - ]
1404 - },
1405 - {
1406 - "description": "window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",
1407 - "type": "string",
1408 - "enum": [
1409 - "window:allow-inner-size"
1410 - ]
1411 - },
1412 - {
1413 - "description": "window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",
1414 - "type": "string",
1415 - "enum": [
1416 - "window:allow-internal-toggle-maximize"
1417 - ]
1418 - },
1419 - {
1420 - "description": "window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",
1421 - "type": "string",
1422 - "enum": [
1423 - "window:allow-is-closable"
1424 - ]
1425 - },
1426 - {
1427 - "description": "window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",
1428 - "type": "string",
1429 - "enum": [
1430 - "window:allow-is-decorated"
1431 - ]
1432 - },
1433 - {
1434 - "description": "window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",
1435 - "type": "string",
1436 - "enum": [
1437 - "window:allow-is-focused"
1438 - ]
1439 - },
1440 - {
1441 - "description": "window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",
1442 - "type": "string",
1443 - "enum": [
1444 - "window:allow-is-fullscreen"
1445 - ]
1446 - },
1447 - {
1448 - "description": "window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",
1449 - "type": "string",
1450 - "enum": [
1451 - "window:allow-is-maximizable"
1452 - ]
1453 - },
1454 - {
1455 - "description": "window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",
1456 - "type": "string",
1457 - "enum": [
1458 - "window:allow-is-maximized"
1459 - ]
1460 - },
1461 - {
1462 - "description": "window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",
1463 - "type": "string",
1464 - "enum": [
1465 - "window:allow-is-minimizable"
1466 - ]
1467 - },
1468 - {
1469 - "description": "window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",
1470 - "type": "string",
1471 - "enum": [
1472 - "window:allow-is-minimized"
1473 - ]
1474 - },
1475 - {
1476 - "description": "window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",
1477 - "type": "string",
1478 - "enum": [
1479 - "window:allow-is-resizable"
1480 - ]
1481 - },
1482 - {
1483 - "description": "window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",
1484 - "type": "string",
1485 - "enum": [
1486 - "window:allow-is-visible"
1487 - ]
1488 - },
1489 - {
1490 - "description": "window:allow-maximize -> Enables the maximize command without any pre-configured scope.",
1491 - "type": "string",
1492 - "enum": [
1493 - "window:allow-maximize"
1494 - ]
1495 - },
1496 - {
1497 - "description": "window:allow-minimize -> Enables the minimize command without any pre-configured scope.",
1498 - "type": "string",
1499 - "enum": [
1500 - "window:allow-minimize"
1501 - ]
1502 - },
1503 - {
1504 - "description": "window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",
1505 - "type": "string",
1506 - "enum": [
1507 - "window:allow-monitor-from-point"
1508 - ]
1509 - },
1510 - {
1511 - "description": "window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
1512 - "type": "string",
1513 - "enum": [
1514 - "window:allow-outer-position"
1515 - ]
1516 - },
1517 - {
1518 - "description": "window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",
1519 - "type": "string",
1520 - "enum": [
1521 - "window:allow-outer-size"
1522 - ]
1523 - },
1524 - {
1525 - "description": "window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",
1526 - "type": "string",
1527 - "enum": [
1528 - "window:allow-primary-monitor"
1529 - ]
1530 - },
1531 - {
1532 - "description": "window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",
1533 - "type": "string",
1534 - "enum": [
1535 - "window:allow-request-user-attention"
1536 - ]
1537 - },
1538 - {
1539 - "description": "window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",
1540 - "type": "string",
1541 - "enum": [
1542 - "window:allow-scale-factor"
1543 - ]
1544 - },
1545 - {
1546 - "description": "window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",
1547 - "type": "string",
1548 - "enum": [
1549 - "window:allow-set-always-on-bottom"
1550 - ]
1551 - },
1552 - {
1553 - "description": "window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",
1554 - "type": "string",
1555 - "enum": [
1556 - "window:allow-set-always-on-top"
1557 - ]
1558 - },
1559 - {
1560 - "description": "window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",
1561 - "type": "string",
1562 - "enum": [
1563 - "window:allow-set-closable"
1564 - ]
1565 - },
1566 - {
1567 - "description": "window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",
1568 - "type": "string",
1569 - "enum": [
1570 - "window:allow-set-content-protected"
1571 - ]
1572 - },
1573 - {
1574 - "description": "window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",
1575 - "type": "string",
1576 - "enum": [
1577 - "window:allow-set-cursor-grab"
1578 - ]
1579 - },
1580 - {
1581 - "description": "window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",
1582 - "type": "string",
1583 - "enum": [
1584 - "window:allow-set-cursor-icon"
1585 - ]
1586 - },
1587 - {
1588 - "description": "window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",
1589 - "type": "string",
1590 - "enum": [
1591 - "window:allow-set-cursor-position"
1592 - ]
1593 - },
1594 - {
1595 - "description": "window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",
1596 - "type": "string",
1597 - "enum": [
1598 - "window:allow-set-cursor-visible"
1599 - ]
1600 - },
1601 - {
1602 - "description": "window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",
1603 - "type": "string",
1604 - "enum": [
1605 - "window:allow-set-decorations"
1606 - ]
1607 - },
1608 - {
1609 - "description": "window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",
1610 - "type": "string",
1611 - "enum": [
1612 - "window:allow-set-effects"
1613 - ]
1614 - },
1615 - {
1616 - "description": "window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",
1617 - "type": "string",
1618 - "enum": [
1619 - "window:allow-set-focus"
1620 - ]
1621 - },
1622 - {
1623 - "description": "window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",
1624 - "type": "string",
1625 - "enum": [
1626 - "window:allow-set-fullscreen"
1627 - ]
1628 - },
1629 - {
1630 - "description": "window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1631 - "type": "string",
1632 - "enum": [
1633 - "window:allow-set-icon"
1634 - ]
1635 - },
1636 - {
1637 - "description": "window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",
1638 - "type": "string",
1639 - "enum": [
1640 - "window:allow-set-ignore-cursor-events"
1641 - ]
1642 - },
1643 - {
1644 - "description": "window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",
1645 - "type": "string",
1646 - "enum": [
1647 - "window:allow-set-max-size"
1648 - ]
1649 - },
1650 - {
1651 - "description": "window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",
1652 - "type": "string",
1653 - "enum": [
1654 - "window:allow-set-maximizable"
1655 - ]
1656 - },
1657 - {
1658 - "description": "window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",
1659 - "type": "string",
1660 - "enum": [
1661 - "window:allow-set-min-size"
1662 - ]
1663 - },
1664 - {
1665 - "description": "window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",
1666 - "type": "string",
1667 - "enum": [
1668 - "window:allow-set-minimizable"
1669 - ]
1670 - },
1671 - {
1672 - "description": "window:allow-set-position -> Enables the set_position command without any pre-configured scope.",
1673 - "type": "string",
1674 - "enum": [
1675 - "window:allow-set-position"
1676 - ]
1677 - },
1678 - {
1679 - "description": "window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",
1680 - "type": "string",
1681 - "enum": [
1682 - "window:allow-set-progress-bar"
1683 - ]
1684 - },
1685 - {
1686 - "description": "window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",
1687 - "type": "string",
1688 - "enum": [
1689 - "window:allow-set-resizable"
1690 - ]
1691 - },
1692 - {
1693 - "description": "window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",
1694 - "type": "string",
1695 - "enum": [
1696 - "window:allow-set-shadow"
1697 - ]
1698 - },
1699 - {
1700 - "description": "window:allow-set-size -> Enables the set_size command without any pre-configured scope.",
1701 - "type": "string",
1702 - "enum": [
1703 - "window:allow-set-size"
1704 - ]
1705 - },
1706 - {
1707 - "description": "window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",
1708 - "type": "string",
1709 - "enum": [
1710 - "window:allow-set-skip-taskbar"
1711 - ]
1712 - },
1713 - {
1714 - "description": "window:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1715 - "type": "string",
1716 - "enum": [
1717 - "window:allow-set-title"
1718 - ]
1719 - },
1720 - {
1721 - "description": "window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",
1722 - "type": "string",
1723 - "enum": [
1724 - "window:allow-set-title-bar-style"
1725 - ]
1726 - },
1727 - {
1728 - "description": "window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1729 - "type": "string",
1730 - "enum": [
1731 - "window:allow-set-visible-on-all-workspaces"
1732 - ]
1733 - },
1734 - {
1735 - "description": "window:allow-show -> Enables the show command without any pre-configured scope.",
1736 - "type": "string",
1737 - "enum": [
1738 - "window:allow-show"
1739 - ]
1740 - },
1741 - {
1742 - "description": "window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",
1743 - "type": "string",
1744 - "enum": [
1745 - "window:allow-start-dragging"
1746 - ]
1747 - },
1748 - {
1749 - "description": "window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",
1750 - "type": "string",
1751 - "enum": [
1752 - "window:allow-start-resize-dragging"
1753 - ]
1754 - },
1755 - {
1756 - "description": "window:allow-theme -> Enables the theme command without any pre-configured scope.",
1757 - "type": "string",
1758 - "enum": [
1759 - "window:allow-theme"
1760 - ]
1761 - },
1762 - {
1763 - "description": "window:allow-title -> Enables the title command without any pre-configured scope.",
1764 - "type": "string",
1765 - "enum": [
1766 - "window:allow-title"
1767 - ]
1768 - },
1769 - {
1770 - "description": "window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",
1771 - "type": "string",
1772 - "enum": [
1773 - "window:allow-toggle-maximize"
1774 - ]
1775 - },
1776 - {
1777 - "description": "window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",
1778 - "type": "string",
1779 - "enum": [
1780 - "window:allow-unmaximize"
1781 - ]
1782 - },
1783 - {
1784 - "description": "window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",
1785 - "type": "string",
1786 - "enum": [
1787 - "window:allow-unminimize"
1788 - ]
1789 - },
1790 - {
1791 - "description": "window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",
1792 - "type": "string",
1793 - "enum": [
1794 - "window:deny-available-monitors"
1795 - ]
1796 - },
1797 - {
1798 - "description": "window:deny-center -> Denies the center command without any pre-configured scope.",
1799 - "type": "string",
1800 - "enum": [
1801 - "window:deny-center"
1802 - ]
1803 - },
1804 - {
1805 - "description": "window:deny-close -> Denies the close command without any pre-configured scope.",
1806 - "type": "string",
1807 - "enum": [
1808 - "window:deny-close"
1809 - ]
1810 - },
1811 - {
1812 - "description": "window:deny-create -> Denies the create command without any pre-configured scope.",
1813 - "type": "string",
1814 - "enum": [
1815 - "window:deny-create"
1816 - ]
1817 - },
1818 - {
1819 - "description": "window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",
1820 - "type": "string",
1821 - "enum": [
1822 - "window:deny-current-monitor"
1823 - ]
1824 - },
1825 - {
1826 - "description": "window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",
1827 - "type": "string",
1828 - "enum": [
1829 - "window:deny-cursor-position"
1830 - ]
1831 - },
1832 - {
1833 - "description": "window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
1834 - "type": "string",
1835 - "enum": [
1836 - "window:deny-destroy"
1837 - ]
1838 - },
1839 - {
1840 - "description": "window:deny-hide -> Denies the hide command without any pre-configured scope.",
1841 - "type": "string",
1842 - "enum": [
1843 - "window:deny-hide"
1844 - ]
1845 - },
1846 - {
1847 - "description": "window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",
1848 - "type": "string",
1849 - "enum": [
1850 - "window:deny-inner-position"
1851 - ]
1852 - },
1853 - {
1854 - "description": "window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",
1855 - "type": "string",
1856 - "enum": [
1857 - "window:deny-inner-size"
1858 - ]
1859 - },
1860 - {
1861 - "description": "window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",
1862 - "type": "string",
1863 - "enum": [
1864 - "window:deny-internal-toggle-maximize"
1865 - ]
1866 - },
1867 - {
1868 - "description": "window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",
1869 - "type": "string",
1870 - "enum": [
1871 - "window:deny-is-closable"
1872 - ]
1873 - },
1874 - {
1875 - "description": "window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",
1876 - "type": "string",
1877 - "enum": [
1878 - "window:deny-is-decorated"
1879 - ]
1880 - },
1881 - {
1882 - "description": "window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",
1883 - "type": "string",
1884 - "enum": [
1885 - "window:deny-is-focused"
1886 - ]
1887 - },
1888 - {
1889 - "description": "window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",
1890 - "type": "string",
1891 - "enum": [
1892 - "window:deny-is-fullscreen"
1893 - ]
1894 - },
1895 - {
1896 - "description": "window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",
1897 - "type": "string",
1898 - "enum": [
1899 - "window:deny-is-maximizable"
1900 - ]
1901 - },
1902 - {
1903 - "description": "window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",
1904 - "type": "string",
1905 - "enum": [
1906 - "window:deny-is-maximized"
1907 - ]
1908 - },
1909 - {
1910 - "description": "window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",
1911 - "type": "string",
1912 - "enum": [
1913 - "window:deny-is-minimizable"
1914 - ]
1915 - },
1916 - {
1917 - "description": "window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",
1918 - "type": "string",
1919 - "enum": [
1920 - "window:deny-is-minimized"
1921 - ]
1922 - },
1923 - {
1924 - "description": "window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",
1925 - "type": "string",
1926 - "enum": [
1927 - "window:deny-is-resizable"
1928 - ]
1929 - },
1930 - {
1931 - "description": "window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",
1932 - "type": "string",
1933 - "enum": [
1934 - "window:deny-is-visible"
1935 - ]
1936 - },
1937 - {
1938 - "description": "window:deny-maximize -> Denies the maximize command without any pre-configured scope.",
1939 - "type": "string",
1940 - "enum": [
1941 - "window:deny-maximize"
1942 - ]
1943 - },
1944 - {
1945 - "description": "window:deny-minimize -> Denies the minimize command without any pre-configured scope.",
1946 - "type": "string",
1947 - "enum": [
1948 - "window:deny-minimize"
1949 - ]
1950 - },
1951 - {
1952 - "description": "window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",
1953 - "type": "string",
1954 - "enum": [
1955 - "window:deny-monitor-from-point"
1956 - ]
1957 - },
1958 - {
1959 - "description": "window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
1960 - "type": "string",
1961 - "enum": [
1962 - "window:deny-outer-position"
1963 - ]
1964 - },
1965 - {
1966 - "description": "window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",
1967 - "type": "string",
1968 - "enum": [
1969 - "window:deny-outer-size"
1970 - ]
1971 - },
1972 - {
1973 - "description": "window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",
1974 - "type": "string",
1975 - "enum": [
1976 - "window:deny-primary-monitor"
1977 - ]
1978 - },
1979 - {
1980 - "description": "window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",
1981 - "type": "string",
1982 - "enum": [
1983 - "window:deny-request-user-attention"
1984 - ]
1985 - },
1986 - {
1987 - "description": "window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",
1988 - "type": "string",
1989 - "enum": [
1990 - "window:deny-scale-factor"
1991 - ]
1992 - },
1993 - {
1994 - "description": "window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",
1995 - "type": "string",
1996 - "enum": [
1997 - "window:deny-set-always-on-bottom"
1998 - ]
1999 - },
2000 - {
2001 - "description": "window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",
2002 - "type": "string",
2003 - "enum": [
2004 - "window:deny-set-always-on-top"
2005 - ]
2006 - },
2007 - {
2008 - "description": "window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",
2009 - "type": "string",
2010 - "enum": [
2011 - "window:deny-set-closable"
2012 - ]
2013 - },
2014 - {
2015 - "description": "window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",
2016 - "type": "string",
2017 - "enum": [
2018 - "window:deny-set-content-protected"
2019 - ]
2020 - },
2021 - {
2022 - "description": "window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",
2023 - "type": "string",
2024 - "enum": [
2025 - "window:deny-set-cursor-grab"
2026 - ]
2027 - },
2028 - {
2029 - "description": "window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",
2030 - "type": "string",
2031 - "enum": [
2032 - "window:deny-set-cursor-icon"
2033 - ]
2034 - },
2035 - {
2036 - "description": "window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",
2037 - "type": "string",
2038 - "enum": [
2039 - "window:deny-set-cursor-position"
2040 - ]
2041 - },
2042 - {
2043 - "description": "window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",
2044 - "type": "string",
2045 - "enum": [
2046 - "window:deny-set-cursor-visible"
2047 - ]
2048 - },
2049 - {
2050 - "description": "window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",
2051 - "type": "string",
2052 - "enum": [
2053 - "window:deny-set-decorations"
2054 - ]
2055 - },
2056 - {
2057 - "description": "window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",
2058 - "type": "string",
2059 - "enum": [
2060 - "window:deny-set-effects"
2061 - ]
2062 - },
2063 - {
2064 - "description": "window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",
2065 - "type": "string",
2066 - "enum": [
2067 - "window:deny-set-focus"
2068 - ]
2069 - },
2070 - {
2071 - "description": "window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",
2072 - "type": "string",
2073 - "enum": [
2074 - "window:deny-set-fullscreen"
2075 - ]
2076 - },
2077 - {
2078 - "description": "window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
2079 - "type": "string",
2080 - "enum": [
2081 - "window:deny-set-icon"
2082 - ]
2083 - },
2084 - {
2085 - "description": "window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",
2086 - "type": "string",
2087 - "enum": [
2088 - "window:deny-set-ignore-cursor-events"
2089 - ]
2090 - },
2091 - {
2092 - "description": "window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",
2093 - "type": "string",
2094 - "enum": [
2095 - "window:deny-set-max-size"
2096 - ]
2097 - },
2098 - {
2099 - "description": "window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",
2100 - "type": "string",
2101 - "enum": [
2102 - "window:deny-set-maximizable"
2103 - ]
2104 - },
2105 - {
2106 - "description": "window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",
2107 - "type": "string",
2108 - "enum": [
2109 - "window:deny-set-min-size"
2110 - ]
2111 - },
2112 - {
2113 - "description": "window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",
2114 - "type": "string",
2115 - "enum": [
2116 - "window:deny-set-minimizable"
2117 - ]
2118 - },
2119 - {
2120 - "description": "window:deny-set-position -> Denies the set_position command without any pre-configured scope.",
2121 - "type": "string",
2122 - "enum": [
2123 - "window:deny-set-position"
2124 - ]
2125 - },
2126 - {
2127 - "description": "window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",
2128 - "type": "string",
2129 - "enum": [
2130 - "window:deny-set-progress-bar"
2131 - ]
2132 - },
2133 - {
2134 - "description": "window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",
2135 - "type": "string",
2136 - "enum": [
2137 - "window:deny-set-resizable"
2138 - ]
2139 - },
2140 - {
2141 - "description": "window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",
2142 - "type": "string",
2143 - "enum": [
2144 - "window:deny-set-shadow"
2145 - ]
2146 - },
2147 - {
2148 - "description": "window:deny-set-size -> Denies the set_size command without any pre-configured scope.",
2149 - "type": "string",
2150 - "enum": [
2151 - "window:deny-set-size"
2152 - ]
2153 - },
2154 - {
2155 - "description": "window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",
2156 - "type": "string",
2157 - "enum": [
2158 - "window:deny-set-skip-taskbar"
2159 - ]
2160 - },
2161 - {
2162 - "description": "window:deny-set-title -> Denies the set_title command without any pre-configured scope.",
2163 - "type": "string",
2164 - "enum": [
2165 - "window:deny-set-title"
2166 - ]
2167 - },
2168 - {
2169 - "description": "window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",
2170 - "type": "string",
2171 - "enum": [
2172 - "window:deny-set-title-bar-style"
2173 - ]
2174 - },
2175 - {
2176 - "description": "window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
2177 - "type": "string",
2178 - "enum": [
2179 - "window:deny-set-visible-on-all-workspaces"
2180 - ]
2181 - },
2182 - {
2183 - "description": "window:deny-show -> Denies the show command without any pre-configured scope.",
2184 - "type": "string",
2185 - "enum": [
2186 - "window:deny-show"
2187 - ]
2188 - },
2189 - {
2190 - "description": "window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",
2191 - "type": "string",
2192 - "enum": [
2193 - "window:deny-start-dragging"
2194 - ]
2195 - },
2196 - {
2197 - "description": "window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",
2198 - "type": "string",
2199 - "enum": [
2200 - "window:deny-start-resize-dragging"
2201 - ]
2202 - },
2203 - {
2204 - "description": "window:deny-theme -> Denies the theme command without any pre-configured scope.",
2205 - "type": "string",
2206 - "enum": [
2207 - "window:deny-theme"
2208 - ]
2209 - },
2210 - {
2211 - "description": "window:deny-title -> Denies the title command without any pre-configured scope.",
2212 - "type": "string",
2213 - "enum": [
2214 - "window:deny-title"
2215 - ]
2216 - },
2217 - {
2218 - "description": "window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",
2219 - "type": "string",
2220 - "enum": [
2221 - "window:deny-toggle-maximize"
2222 - ]
2223 - },
2224 - {
2225 - "description": "window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",
2226 - "type": "string",
2227 - "enum": [
2228 - "window:deny-unmaximize"
2229 - ]
2230 - },
2231 - {
2232 - "description": "window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",
2233 - "type": "string",
2234 - "enum": [
2235 - "window:deny-unminimize"
2236 - ]
2237 - }
2238 - ]
2239 - },
2240 - "Value": {
2241 - "description": "All supported ACL values.",
2242 - "anyOf": [
2243 - {
2244 - "description": "Represents a null JSON value.",
2245 - "type": "null"
2246 - },
2247 - {
2248 - "description": "Represents a [`bool`].",
2249 - "type": "boolean"
2250 - },
2251 - {
2252 - "description": "Represents a valid ACL [`Number`].",
2253 - "allOf": [
2254 - {
2255 - "$ref": "#/definitions/Number"
2256 - }
2257 - ]
2258 - },
2259 - {
2260 - "description": "Represents a [`String`].",
2261 - "type": "string"
2262 - },
2263 - {
2264 - "description": "Represents a list of other [`Value`]s.",
2265 - "type": "array",
2266 - "items": {
2267 - "$ref": "#/definitions/Value"
2268 - }
2269 - },
2270 - {
2271 - "description": "Represents a map of [`String`] keys to [`Value`]s.",
2272 - "type": "object",
2273 - "additionalProperties": {
2274 - "$ref": "#/definitions/Value"
2275 - }
2276 - }
2277 - ]
2278 - },
2279 - "Number": {
2280 - "description": "A valid ACL number.",
2281 - "anyOf": [
2282 - {
2283 - "description": "Represents an [`i64`].",
2284 - "type": "integer",
2285 - "format": "int64"
2286 - },
2287 - {
2288 - "description": "Represents a [`f64`].",
2289 - "type": "number",
2290 - "format": "double"
2291 - }
2292 - ]
2293 - },
2294 - "Target": {
2295 - "description": "Platform target.",
2296 - "oneOf": [
2297 - {
2298 - "description": "MacOS.",
2299 - "type": "string",
2300 - "enum": [
2301 - "macOS"
2302 - ]
2303 - },
2304 - {
2305 - "description": "Windows.",
2306 - "type": "string",
2307 - "enum": [
2308 - "windows"
2309 - ]
2310 - },
2311 - {
2312 - "description": "Linux.",
2313 - "type": "string",
2314 - "enum": [
2315 - "linux"
2316 - ]
2317 - },
2318 - {
2319 - "description": "Android.",
2320 - "type": "string",
2321 - "enum": [
2322 - "android"
2323 - ]
2324 - },
2325 - {
2326 - "description": "iOS.",
2327 - "type": "string",
2328 - "enum": [
2329 - "iOS"
2330 - ]
2331 - }
2332 - ]
2333 - }
2334 - }
2335 -}
\ No newline at end of file
2 + "$schema": "http://json-schema.org/draft-07/schema#",
3 + "title": "CapabilityFile",
4 + "description": "Capability formats accepted in a capability file.",
5 + "anyOf": [
6 + {
7 + "description": "A single capability.",
8 + "allOf": [
9 + {
10 + "$ref": "#/definitions/Capability"
11 + }
12 + ]
13 + },
14 + {
15 + "description": "A list of capabilities.",
16 + "type": "array",
17 + "items": {
18 + "$ref": "#/definitions/Capability"
19 + }
20 + },
21 + {
22 + "description": "A list of capabilities.",
23 + "type": "object",
24 + "required": ["capabilities"],
25 + "properties": {
26 + "capabilities": {
27 + "description": "The list of capabilities.",
28 + "type": "array",
29 + "items": {
30 + "$ref": "#/definitions/Capability"
31 + }
32 + }
33 + }
34 + }
35 + ],
36 + "definitions": {
37 + "Capability": {
38 + "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"path:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",
39 + "type": "object",
40 + "required": ["identifier", "permissions"],
41 + "properties": {
42 + "identifier": {
43 + "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
44 + "type": "string"
45 + },
46 + "description": {
47 + "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",
48 + "default": "",
49 + "type": "string"
50 + },
51 + "remote": {
52 + "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",
53 + "anyOf": [
54 + {
55 + "$ref": "#/definitions/CapabilityRemote"
56 + },
57 + {
58 + "type": "null"
59 + }
60 + ]
61 + },
62 + "local": {
63 + "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
64 + "default": true,
65 + "type": "boolean"
66 + },
67 + "windows": {
68 + "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
69 + "type": "array",
70 + "items": {
71 + "type": "string"
72 + }
73 + },
74 + "webviews": {
75 + "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
76 + "type": "array",
77 + "items": {
78 + "type": "string"
79 + }
80 + },
81 + "permissions": {
82 + "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"path:default\", \"event:default\", \"window:default\", \"app:default\", \"image:default\", \"resources:default\", \"menu:default\", \"tray:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",
83 + "type": "array",
84 + "items": {
85 + "$ref": "#/definitions/PermissionEntry"
86 + },
87 + "uniqueItems": true
88 + },
89 + "platforms": {
90 + "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
91 + "type": ["array", "null"],
92 + "items": {
93 + "$ref": "#/definitions/Target"
94 + }
95 + }
96 + }
97 + },
98 + "CapabilityRemote": {
99 + "description": "Configuration for remote URLs that are associated with the capability.",
100 + "type": "object",
101 + "required": ["urls"],
102 + "properties": {
103 + "urls": {
104 + "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
105 + "type": "array",
106 + "items": {
107 + "type": "string"
108 + }
109 + }
110 + }
111 + },
112 + "PermissionEntry": {
113 + "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
114 + "anyOf": [
115 + {
116 + "description": "Reference a permission or permission set by identifier.",
117 + "allOf": [
118 + {
119 + "$ref": "#/definitions/Identifier"
120 + }
121 + ]
122 + },
123 + {
124 + "description": "Reference a permission or permission set by identifier and extends its scope.",
125 + "type": "object",
126 + "required": ["identifier"],
127 + "properties": {
128 + "identifier": {
129 + "description": "Identifier of the permission or permission set.",
130 + "allOf": [
131 + {
132 + "$ref": "#/definitions/Identifier"
133 + }
134 + ]
135 + },
136 + "allow": {
137 + "description": "Data that defines what is allowed by the scope.",
138 + "type": ["array", "null"],
139 + "items": {
140 + "$ref": "#/definitions/Value"
141 + }
142 + },
143 + "deny": {
144 + "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
145 + "type": ["array", "null"],
146 + "items": {
147 + "$ref": "#/definitions/Value"
148 + }
149 + }
150 + }
151 + }
152 + ]
153 + },
154 + "Identifier": {
155 + "oneOf": [
156 + {
157 + "description": "admob:default -> Default permissions for the plugin",
158 + "type": "string",
159 + "enum": ["admob:default"]
160 + },
161 + {
162 + "description": "admob:allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
163 + "type": "string",
164 + "enum": ["admob:allow-adCreate"]
165 + },
166 + {
167 + "description": "admob:allow-adHide -> Enables the adHide command without any pre-configured scope.",
168 + "type": "string",
169 + "enum": ["admob:allow-adHide"]
170 + },
171 + {
172 + "description": "admob:allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
173 + "type": "string",
174 + "enum": ["admob:allow-adIsLoaded"]
175 + },
176 + {
177 + "description": "admob:allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
178 + "type": "string",
179 + "enum": ["admob:allow-adLoad"]
180 + },
181 + {
182 + "description": "admob:allow-adShow -> Enables the adShow command without any pre-configured scope.",
183 + "type": "string",
184 + "enum": ["admob:allow-adShow"]
185 + },
186 + {
187 + "description": "admob:allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
188 + "type": "string",
189 + "enum": ["admob:allow-configRequest"]
190 + },
191 + {
192 + "description": "admob:allow-configure -> Enables the configure command without any pre-configured scope.",
193 + "type": "string",
194 + "enum": ["admob:allow-configure"]
195 + },
196 + {
197 + "description": "admob:allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
198 + "type": "string",
199 + "enum": ["admob:allow-requestTrackingAuthorization"]
200 + },
201 + {
202 + "description": "admob:allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
203 + "type": "string",
204 + "enum": ["admob:allow-trackingAuthorizationStatus"]
205 + },
206 + {
207 + "description": "admob:deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
208 + "type": "string",
209 + "enum": ["admob:deny-adCreate"]
210 + },
211 + {
212 + "description": "admob:deny-adHide -> Denies the adHide command without any pre-configured scope.",
213 + "type": "string",
214 + "enum": ["admob:deny-adHide"]
215 + },
216 + {
217 + "description": "admob:deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
218 + "type": "string",
219 + "enum": ["admob:deny-adIsLoaded"]
220 + },
221 + {
222 + "description": "admob:deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
223 + "type": "string",
224 + "enum": ["admob:deny-adLoad"]
225 + },
226 + {
227 + "description": "admob:deny-adShow -> Denies the adShow command without any pre-configured scope.",
228 + "type": "string",
229 + "enum": ["admob:deny-adShow"]
230 + },
231 + {
232 + "description": "admob:deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
233 + "type": "string",
234 + "enum": ["admob:deny-configRequest"]
235 + },
236 + {
237 + "description": "admob:deny-configure -> Denies the configure command without any pre-configured scope.",
238 + "type": "string",
239 + "enum": ["admob:deny-configure"]
240 + },
241 + {
242 + "description": "admob:deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
243 + "type": "string",
244 + "enum": ["admob:deny-requestTrackingAuthorization"]
245 + },
246 + {
247 + "description": "admob:deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
248 + "type": "string",
249 + "enum": ["admob:deny-trackingAuthorizationStatus"]
250 + },
251 + {
252 + "description": "app:default -> Default permissions for the plugin.",
253 + "type": "string",
254 + "enum": ["app:default"]
255 + },
256 + {
257 + "description": "app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",
258 + "type": "string",
259 + "enum": ["app:allow-app-hide"]
260 + },
261 + {
262 + "description": "app:allow-app-show -> Enables the app_show command without any pre-configured scope.",
263 + "type": "string",
264 + "enum": ["app:allow-app-show"]
265 + },
266 + {
267 + "description": "app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",
268 + "type": "string",
269 + "enum": ["app:allow-default-window-icon"]
270 + },
271 + {
272 + "description": "app:allow-name -> Enables the name command without any pre-configured scope.",
273 + "type": "string",
274 + "enum": ["app:allow-name"]
275 + },
276 + {
277 + "description": "app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",
278 + "type": "string",
279 + "enum": ["app:allow-tauri-version"]
280 + },
281 + {
282 + "description": "app:allow-version -> Enables the version command without any pre-configured scope.",
283 + "type": "string",
284 + "enum": ["app:allow-version"]
285 + },
286 + {
287 + "description": "app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",
288 + "type": "string",
289 + "enum": ["app:deny-app-hide"]
290 + },
291 + {
292 + "description": "app:deny-app-show -> Denies the app_show command without any pre-configured scope.",
293 + "type": "string",
294 + "enum": ["app:deny-app-show"]
295 + },
296 + {
297 + "description": "app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",
298 + "type": "string",
299 + "enum": ["app:deny-default-window-icon"]
300 + },
301 + {
302 + "description": "app:deny-name -> Denies the name command without any pre-configured scope.",
303 + "type": "string",
304 + "enum": ["app:deny-name"]
305 + },
306 + {
307 + "description": "app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",
308 + "type": "string",
309 + "enum": ["app:deny-tauri-version"]
310 + },
311 + {
312 + "description": "app:deny-version -> Denies the version command without any pre-configured scope.",
313 + "type": "string",
314 + "enum": ["app:deny-version"]
315 + },
316 + {
317 + "type": "string",
318 + "enum": ["devtools:default"]
319 + },
320 + {
321 + "description": "event:default -> Default permissions for the plugin.",
322 + "type": "string",
323 + "enum": ["event:default"]
324 + },
325 + {
326 + "description": "event:allow-emit -> Enables the emit command without any pre-configured scope.",
327 + "type": "string",
328 + "enum": ["event:allow-emit"]
329 + },
330 + {
331 + "description": "event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",
332 + "type": "string",
333 + "enum": ["event:allow-emit-to"]
334 + },
335 + {
336 + "description": "event:allow-listen -> Enables the listen command without any pre-configured scope.",
337 + "type": "string",
338 + "enum": ["event:allow-listen"]
339 + },
340 + {
341 + "description": "event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",
342 + "type": "string",
343 + "enum": ["event:allow-unlisten"]
344 + },
345 + {
346 + "description": "event:deny-emit -> Denies the emit command without any pre-configured scope.",
347 + "type": "string",
348 + "enum": ["event:deny-emit"]
349 + },
350 + {
351 + "description": "event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",
352 + "type": "string",
353 + "enum": ["event:deny-emit-to"]
354 + },
355 + {
356 + "description": "event:deny-listen -> Denies the listen command without any pre-configured scope.",
357 + "type": "string",
358 + "enum": ["event:deny-listen"]
359 + },
360 + {
361 + "description": "event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",
362 + "type": "string",
363 + "enum": ["event:deny-unlisten"]
364 + },
365 + {
366 + "description": "image:default -> Default permissions for the plugin.",
367 + "type": "string",
368 + "enum": ["image:default"]
369 + },
370 + {
371 + "description": "image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",
372 + "type": "string",
373 + "enum": ["image:allow-from-bytes"]
374 + },
375 + {
376 + "description": "image:allow-from-path -> Enables the from_path command without any pre-configured scope.",
377 + "type": "string",
378 + "enum": ["image:allow-from-path"]
379 + },
380 + {
381 + "description": "image:allow-new -> Enables the new command without any pre-configured scope.",
382 + "type": "string",
383 + "enum": ["image:allow-new"]
384 + },
385 + {
386 + "description": "image:allow-rgba -> Enables the rgba command without any pre-configured scope.",
387 + "type": "string",
388 + "enum": ["image:allow-rgba"]
389 + },
390 + {
391 + "description": "image:allow-size -> Enables the size command without any pre-configured scope.",
392 + "type": "string",
393 + "enum": ["image:allow-size"]
394 + },
395 + {
396 + "description": "image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",
397 + "type": "string",
398 + "enum": ["image:deny-from-bytes"]
399 + },
400 + {
401 + "description": "image:deny-from-path -> Denies the from_path command without any pre-configured scope.",
402 + "type": "string",
403 + "enum": ["image:deny-from-path"]
404 + },
405 + {
406 + "description": "image:deny-new -> Denies the new command without any pre-configured scope.",
407 + "type": "string",
408 + "enum": ["image:deny-new"]
409 + },
410 + {
411 + "description": "image:deny-rgba -> Denies the rgba command without any pre-configured scope.",
412 + "type": "string",
413 + "enum": ["image:deny-rgba"]
414 + },
415 + {
416 + "description": "image:deny-size -> Denies the size command without any pre-configured scope.",
417 + "type": "string",
418 + "enum": ["image:deny-size"]
419 + },
420 + {
421 + "description": "menu:default -> Default permissions for the plugin.",
422 + "type": "string",
423 + "enum": ["menu:default"]
424 + },
425 + {
426 + "description": "menu:allow-append -> Enables the append command without any pre-configured scope.",
427 + "type": "string",
428 + "enum": ["menu:allow-append"]
429 + },
430 + {
431 + "description": "menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",
432 + "type": "string",
433 + "enum": ["menu:allow-create-default"]
434 + },
435 + {
436 + "description": "menu:allow-get -> Enables the get command without any pre-configured scope.",
437 + "type": "string",
438 + "enum": ["menu:allow-get"]
439 + },
440 + {
441 + "description": "menu:allow-insert -> Enables the insert command without any pre-configured scope.",
442 + "type": "string",
443 + "enum": ["menu:allow-insert"]
444 + },
445 + {
446 + "description": "menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",
447 + "type": "string",
448 + "enum": ["menu:allow-is-checked"]
449 + },
450 + {
451 + "description": "menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",
452 + "type": "string",
453 + "enum": ["menu:allow-is-enabled"]
454 + },
455 + {
456 + "description": "menu:allow-items -> Enables the items command without any pre-configured scope.",
457 + "type": "string",
458 + "enum": ["menu:allow-items"]
459 + },
460 + {
461 + "description": "menu:allow-new -> Enables the new command without any pre-configured scope.",
462 + "type": "string",
463 + "enum": ["menu:allow-new"]
464 + },
465 + {
466 + "description": "menu:allow-popup -> Enables the popup command without any pre-configured scope.",
467 + "type": "string",
468 + "enum": ["menu:allow-popup"]
469 + },
470 + {
471 + "description": "menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",
472 + "type": "string",
473 + "enum": ["menu:allow-prepend"]
474 + },
475 + {
476 + "description": "menu:allow-remove -> Enables the remove command without any pre-configured scope.",
477 + "type": "string",
478 + "enum": ["menu:allow-remove"]
479 + },
480 + {
481 + "description": "menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",
482 + "type": "string",
483 + "enum": ["menu:allow-remove-at"]
484 + },
485 + {
486 + "description": "menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",
487 + "type": "string",
488 + "enum": ["menu:allow-set-accelerator"]
489 + },
490 + {
491 + "description": "menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",
492 + "type": "string",
493 + "enum": ["menu:allow-set-as-app-menu"]
494 + },
495 + {
496 + "description": "menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
497 + "type": "string",
498 + "enum": ["menu:allow-set-as-help-menu-for-nsapp"]
499 + },
500 + {
501 + "description": "menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",
502 + "type": "string",
503 + "enum": ["menu:allow-set-as-window-menu"]
504 + },
505 + {
506 + "description": "menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
507 + "type": "string",
508 + "enum": ["menu:allow-set-as-windows-menu-for-nsapp"]
509 + },
510 + {
511 + "description": "menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",
512 + "type": "string",
513 + "enum": ["menu:allow-set-checked"]
514 + },
515 + {
516 + "description": "menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",
517 + "type": "string",
518 + "enum": ["menu:allow-set-enabled"]
519 + },
520 + {
521 + "description": "menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
522 + "type": "string",
523 + "enum": ["menu:allow-set-icon"]
524 + },
525 + {
526 + "description": "menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",
527 + "type": "string",
528 + "enum": ["menu:allow-set-text"]
529 + },
530 + {
531 + "description": "menu:allow-text -> Enables the text command without any pre-configured scope.",
532 + "type": "string",
533 + "enum": ["menu:allow-text"]
534 + },
535 + {
536 + "description": "menu:deny-append -> Denies the append command without any pre-configured scope.",
537 + "type": "string",
538 + "enum": ["menu:deny-append"]
539 + },
540 + {
541 + "description": "menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",
542 + "type": "string",
543 + "enum": ["menu:deny-create-default"]
544 + },
545 + {
546 + "description": "menu:deny-get -> Denies the get command without any pre-configured scope.",
547 + "type": "string",
548 + "enum": ["menu:deny-get"]
549 + },
550 + {
551 + "description": "menu:deny-insert -> Denies the insert command without any pre-configured scope.",
552 + "type": "string",
553 + "enum": ["menu:deny-insert"]
554 + },
555 + {
556 + "description": "menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",
557 + "type": "string",
558 + "enum": ["menu:deny-is-checked"]
559 + },
560 + {
561 + "description": "menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",
562 + "type": "string",
563 + "enum": ["menu:deny-is-enabled"]
564 + },
565 + {
566 + "description": "menu:deny-items -> Denies the items command without any pre-configured scope.",
567 + "type": "string",
568 + "enum": ["menu:deny-items"]
569 + },
570 + {
571 + "description": "menu:deny-new -> Denies the new command without any pre-configured scope.",
572 + "type": "string",
573 + "enum": ["menu:deny-new"]
574 + },
575 + {
576 + "description": "menu:deny-popup -> Denies the popup command without any pre-configured scope.",
577 + "type": "string",
578 + "enum": ["menu:deny-popup"]
579 + },
580 + {
581 + "description": "menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",
582 + "type": "string",
583 + "enum": ["menu:deny-prepend"]
584 + },
585 + {
586 + "description": "menu:deny-remove -> Denies the remove command without any pre-configured scope.",
587 + "type": "string",
588 + "enum": ["menu:deny-remove"]
589 + },
590 + {
591 + "description": "menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",
592 + "type": "string",
593 + "enum": ["menu:deny-remove-at"]
594 + },
595 + {
596 + "description": "menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",
597 + "type": "string",
598 + "enum": ["menu:deny-set-accelerator"]
599 + },
600 + {
601 + "description": "menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",
602 + "type": "string",
603 + "enum": ["menu:deny-set-as-app-menu"]
604 + },
605 + {
606 + "description": "menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
607 + "type": "string",
608 + "enum": ["menu:deny-set-as-help-menu-for-nsapp"]
609 + },
610 + {
611 + "description": "menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",
612 + "type": "string",
613 + "enum": ["menu:deny-set-as-window-menu"]
614 + },
615 + {
616 + "description": "menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
617 + "type": "string",
618 + "enum": ["menu:deny-set-as-windows-menu-for-nsapp"]
619 + },
620 + {
621 + "description": "menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",
622 + "type": "string",
623 + "enum": ["menu:deny-set-checked"]
624 + },
625 + {
626 + "description": "menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",
627 + "type": "string",
628 + "enum": ["menu:deny-set-enabled"]
629 + },
630 + {
631 + "description": "menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
632 + "type": "string",
633 + "enum": ["menu:deny-set-icon"]
634 + },
635 + {
636 + "description": "menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",
637 + "type": "string",
638 + "enum": ["menu:deny-set-text"]
639 + },
640 + {
641 + "description": "menu:deny-text -> Denies the text command without any pre-configured scope.",
642 + "type": "string",
643 + "enum": ["menu:deny-text"]
644 + },
645 + {
646 + "description": "path:default -> Default permissions for the plugin.",
647 + "type": "string",
648 + "enum": ["path:default"]
649 + },
650 + {
651 + "description": "path:allow-basename -> Enables the basename command without any pre-configured scope.",
652 + "type": "string",
653 + "enum": ["path:allow-basename"]
654 + },
655 + {
656 + "description": "path:allow-dirname -> Enables the dirname command without any pre-configured scope.",
657 + "type": "string",
658 + "enum": ["path:allow-dirname"]
659 + },
660 + {
661 + "description": "path:allow-extname -> Enables the extname command without any pre-configured scope.",
662 + "type": "string",
663 + "enum": ["path:allow-extname"]
664 + },
665 + {
666 + "description": "path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",
667 + "type": "string",
668 + "enum": ["path:allow-is-absolute"]
669 + },
670 + {
671 + "description": "path:allow-join -> Enables the join command without any pre-configured scope.",
672 + "type": "string",
673 + "enum": ["path:allow-join"]
674 + },
675 + {
676 + "description": "path:allow-normalize -> Enables the normalize command without any pre-configured scope.",
677 + "type": "string",
678 + "enum": ["path:allow-normalize"]
679 + },
680 + {
681 + "description": "path:allow-resolve -> Enables the resolve command without any pre-configured scope.",
682 + "type": "string",
683 + "enum": ["path:allow-resolve"]
684 + },
685 + {
686 + "description": "path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",
687 + "type": "string",
688 + "enum": ["path:allow-resolve-directory"]
689 + },
690 + {
691 + "description": "path:deny-basename -> Denies the basename command without any pre-configured scope.",
692 + "type": "string",
693 + "enum": ["path:deny-basename"]
694 + },
695 + {
696 + "description": "path:deny-dirname -> Denies the dirname command without any pre-configured scope.",
697 + "type": "string",
698 + "enum": ["path:deny-dirname"]
699 + },
700 + {
701 + "description": "path:deny-extname -> Denies the extname command without any pre-configured scope.",
702 + "type": "string",
703 + "enum": ["path:deny-extname"]
704 + },
705 + {
706 + "description": "path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",
707 + "type": "string",
708 + "enum": ["path:deny-is-absolute"]
709 + },
710 + {
711 + "description": "path:deny-join -> Denies the join command without any pre-configured scope.",
712 + "type": "string",
713 + "enum": ["path:deny-join"]
714 + },
715 + {
716 + "description": "path:deny-normalize -> Denies the normalize command without any pre-configured scope.",
717 + "type": "string",
718 + "enum": ["path:deny-normalize"]
719 + },
720 + {
721 + "description": "path:deny-resolve -> Denies the resolve command without any pre-configured scope.",
722 + "type": "string",
723 + "enum": ["path:deny-resolve"]
724 + },
725 + {
726 + "description": "path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",
727 + "type": "string",
728 + "enum": ["path:deny-resolve-directory"]
729 + },
730 + {
731 + "description": "resources:default -> Default permissions for the plugin.",
732 + "type": "string",
733 + "enum": ["resources:default"]
734 + },
735 + {
736 + "description": "resources:allow-close -> Enables the close command without any pre-configured scope.",
737 + "type": "string",
738 + "enum": ["resources:allow-close"]
739 + },
740 + {
741 + "description": "resources:deny-close -> Denies the close command without any pre-configured scope.",
742 + "type": "string",
743 + "enum": ["resources:deny-close"]
744 + },
745 + {
746 + "description": "tray:default -> Default permissions for the plugin.",
747 + "type": "string",
748 + "enum": ["tray:default"]
749 + },
750 + {
751 + "description": "tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",
752 + "type": "string",
753 + "enum": ["tray:allow-get-by-id"]
754 + },
755 + {
756 + "description": "tray:allow-new -> Enables the new command without any pre-configured scope.",
757 + "type": "string",
758 + "enum": ["tray:allow-new"]
759 + },
760 + {
761 + "description": "tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",
762 + "type": "string",
763 + "enum": ["tray:allow-remove-by-id"]
764 + },
765 + {
766 + "description": "tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
767 + "type": "string",
768 + "enum": ["tray:allow-set-icon"]
769 + },
770 + {
771 + "description": "tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",
772 + "type": "string",
773 + "enum": ["tray:allow-set-icon-as-template"]
774 + },
775 + {
776 + "description": "tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",
777 + "type": "string",
778 + "enum": ["tray:allow-set-menu"]
779 + },
780 + {
781 + "description": "tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",
782 + "type": "string",
783 + "enum": ["tray:allow-set-show-menu-on-left-click"]
784 + },
785 + {
786 + "description": "tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",
787 + "type": "string",
788 + "enum": ["tray:allow-set-temp-dir-path"]
789 + },
790 + {
791 + "description": "tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",
792 + "type": "string",
793 + "enum": ["tray:allow-set-title"]
794 + },
795 + {
796 + "description": "tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",
797 + "type": "string",
798 + "enum": ["tray:allow-set-tooltip"]
799 + },
800 + {
801 + "description": "tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",
802 + "type": "string",
803 + "enum": ["tray:allow-set-visible"]
804 + },
805 + {
806 + "description": "tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",
807 + "type": "string",
808 + "enum": ["tray:deny-get-by-id"]
809 + },
810 + {
811 + "description": "tray:deny-new -> Denies the new command without any pre-configured scope.",
812 + "type": "string",
813 + "enum": ["tray:deny-new"]
814 + },
815 + {
816 + "description": "tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",
817 + "type": "string",
818 + "enum": ["tray:deny-remove-by-id"]
819 + },
820 + {
821 + "description": "tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
822 + "type": "string",
823 + "enum": ["tray:deny-set-icon"]
824 + },
825 + {
826 + "description": "tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",
827 + "type": "string",
828 + "enum": ["tray:deny-set-icon-as-template"]
829 + },
830 + {
831 + "description": "tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",
832 + "type": "string",
833 + "enum": ["tray:deny-set-menu"]
834 + },
835 + {
836 + "description": "tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",
837 + "type": "string",
838 + "enum": ["tray:deny-set-show-menu-on-left-click"]
839 + },
840 + {
841 + "description": "tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",
842 + "type": "string",
843 + "enum": ["tray:deny-set-temp-dir-path"]
844 + },
845 + {
846 + "description": "tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",
847 + "type": "string",
848 + "enum": ["tray:deny-set-title"]
849 + },
850 + {
851 + "description": "tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",
852 + "type": "string",
853 + "enum": ["tray:deny-set-tooltip"]
854 + },
855 + {
856 + "description": "tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",
857 + "type": "string",
858 + "enum": ["tray:deny-set-visible"]
859 + },
860 + {
861 + "description": "webview:default -> Default permissions for the plugin.",
862 + "type": "string",
863 + "enum": ["webview:default"]
864 + },
865 + {
866 + "description": "webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",
867 + "type": "string",
868 + "enum": ["webview:allow-create-webview"]
869 + },
870 + {
871 + "description": "webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",
872 + "type": "string",
873 + "enum": ["webview:allow-create-webview-window"]
874 + },
875 + {
876 + "description": "webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
877 + "type": "string",
878 + "enum": ["webview:allow-internal-toggle-devtools"]
879 + },
880 + {
881 + "description": "webview:allow-print -> Enables the print command without any pre-configured scope.",
882 + "type": "string",
883 + "enum": ["webview:allow-print"]
884 + },
885 + {
886 + "description": "webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",
887 + "type": "string",
888 + "enum": ["webview:allow-reparent"]
889 + },
890 + {
891 + "description": "webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",
892 + "type": "string",
893 + "enum": ["webview:allow-set-webview-focus"]
894 + },
895 + {
896 + "description": "webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",
897 + "type": "string",
898 + "enum": ["webview:allow-set-webview-position"]
899 + },
900 + {
901 + "description": "webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",
902 + "type": "string",
903 + "enum": ["webview:allow-set-webview-size"]
904 + },
905 + {
906 + "description": "webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",
907 + "type": "string",
908 + "enum": ["webview:allow-set-webview-zoom"]
909 + },
910 + {
911 + "description": "webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",
912 + "type": "string",
913 + "enum": ["webview:allow-webview-close"]
914 + },
915 + {
916 + "description": "webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",
917 + "type": "string",
918 + "enum": ["webview:allow-webview-position"]
919 + },
920 + {
921 + "description": "webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",
922 + "type": "string",
923 + "enum": ["webview:allow-webview-size"]
924 + },
925 + {
926 + "description": "webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",
927 + "type": "string",
928 + "enum": ["webview:deny-create-webview"]
929 + },
930 + {
931 + "description": "webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",
932 + "type": "string",
933 + "enum": ["webview:deny-create-webview-window"]
934 + },
935 + {
936 + "description": "webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
937 + "type": "string",
938 + "enum": ["webview:deny-internal-toggle-devtools"]
939 + },
940 + {
941 + "description": "webview:deny-print -> Denies the print command without any pre-configured scope.",
942 + "type": "string",
943 + "enum": ["webview:deny-print"]
944 + },
945 + {
946 + "description": "webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",
947 + "type": "string",
948 + "enum": ["webview:deny-reparent"]
949 + },
950 + {
951 + "description": "webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",
952 + "type": "string",
953 + "enum": ["webview:deny-set-webview-focus"]
954 + },
955 + {
956 + "description": "webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",
957 + "type": "string",
958 + "enum": ["webview:deny-set-webview-position"]
959 + },
960 + {
961 + "description": "webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",
962 + "type": "string",
963 + "enum": ["webview:deny-set-webview-size"]
964 + },
965 + {
966 + "description": "webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",
967 + "type": "string",
968 + "enum": ["webview:deny-set-webview-zoom"]
969 + },
970 + {
971 + "description": "webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",
972 + "type": "string",
973 + "enum": ["webview:deny-webview-close"]
974 + },
975 + {
976 + "description": "webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",
977 + "type": "string",
978 + "enum": ["webview:deny-webview-position"]
979 + },
980 + {
981 + "description": "webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",
982 + "type": "string",
983 + "enum": ["webview:deny-webview-size"]
984 + },
985 + {
986 + "description": "window:default -> Default permissions for the plugin.",
987 + "type": "string",
988 + "enum": ["window:default"]
989 + },
990 + {
991 + "description": "window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",
992 + "type": "string",
993 + "enum": ["window:allow-available-monitors"]
994 + },
995 + {
996 + "description": "window:allow-center -> Enables the center command without any pre-configured scope.",
997 + "type": "string",
998 + "enum": ["window:allow-center"]
999 + },
1000 + {
1001 + "description": "window:allow-close -> Enables the close command without any pre-configured scope.",
1002 + "type": "string",
1003 + "enum": ["window:allow-close"]
1004 + },
1005 + {
1006 + "description": "window:allow-create -> Enables the create command without any pre-configured scope.",
1007 + "type": "string",
1008 + "enum": ["window:allow-create"]
1009 + },
1010 + {
1011 + "description": "window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",
1012 + "type": "string",
1013 + "enum": ["window:allow-current-monitor"]
1014 + },
1015 + {
1016 + "description": "window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",
1017 + "type": "string",
1018 + "enum": ["window:allow-cursor-position"]
1019 + },
1020 + {
1021 + "description": "window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
1022 + "type": "string",
1023 + "enum": ["window:allow-destroy"]
1024 + },
1025 + {
1026 + "description": "window:allow-hide -> Enables the hide command without any pre-configured scope.",
1027 + "type": "string",
1028 + "enum": ["window:allow-hide"]
1029 + },
1030 + {
1031 + "description": "window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",
1032 + "type": "string",
1033 + "enum": ["window:allow-inner-position"]
1034 + },
1035 + {
1036 + "description": "window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",
1037 + "type": "string",
1038 + "enum": ["window:allow-inner-size"]
1039 + },
1040 + {
1041 + "description": "window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",
1042 + "type": "string",
1043 + "enum": ["window:allow-internal-toggle-maximize"]
1044 + },
1045 + {
1046 + "description": "window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",
1047 + "type": "string",
1048 + "enum": ["window:allow-is-closable"]
1049 + },
1050 + {
1051 + "description": "window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",
1052 + "type": "string",
1053 + "enum": ["window:allow-is-decorated"]
1054 + },
1055 + {
1056 + "description": "window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",
1057 + "type": "string",
1058 + "enum": ["window:allow-is-focused"]
1059 + },
1060 + {
1061 + "description": "window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",
1062 + "type": "string",
1063 + "enum": ["window:allow-is-fullscreen"]
1064 + },
1065 + {
1066 + "description": "window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",
1067 + "type": "string",
1068 + "enum": ["window:allow-is-maximizable"]
1069 + },
1070 + {
1071 + "description": "window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",
1072 + "type": "string",
1073 + "enum": ["window:allow-is-maximized"]
1074 + },
1075 + {
1076 + "description": "window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",
1077 + "type": "string",
1078 + "enum": ["window:allow-is-minimizable"]
1079 + },
1080 + {
1081 + "description": "window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",
1082 + "type": "string",
1083 + "enum": ["window:allow-is-minimized"]
1084 + },
1085 + {
1086 + "description": "window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",
1087 + "type": "string",
1088 + "enum": ["window:allow-is-resizable"]
1089 + },
1090 + {
1091 + "description": "window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",
1092 + "type": "string",
1093 + "enum": ["window:allow-is-visible"]
1094 + },
1095 + {
1096 + "description": "window:allow-maximize -> Enables the maximize command without any pre-configured scope.",
1097 + "type": "string",
1098 + "enum": ["window:allow-maximize"]
1099 + },
1100 + {
1101 + "description": "window:allow-minimize -> Enables the minimize command without any pre-configured scope.",
1102 + "type": "string",
1103 + "enum": ["window:allow-minimize"]
1104 + },
1105 + {
1106 + "description": "window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",
1107 + "type": "string",
1108 + "enum": ["window:allow-monitor-from-point"]
1109 + },
1110 + {
1111 + "description": "window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
1112 + "type": "string",
1113 + "enum": ["window:allow-outer-position"]
1114 + },
1115 + {
1116 + "description": "window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",
1117 + "type": "string",
1118 + "enum": ["window:allow-outer-size"]
1119 + },
1120 + {
1121 + "description": "window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",
1122 + "type": "string",
1123 + "enum": ["window:allow-primary-monitor"]
1124 + },
1125 + {
1126 + "description": "window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",
1127 + "type": "string",
1128 + "enum": ["window:allow-request-user-attention"]
1129 + },
1130 + {
1131 + "description": "window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",
1132 + "type": "string",
1133 + "enum": ["window:allow-scale-factor"]
1134 + },
1135 + {
1136 + "description": "window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",
1137 + "type": "string",
1138 + "enum": ["window:allow-set-always-on-bottom"]
1139 + },
1140 + {
1141 + "description": "window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",
1142 + "type": "string",
1143 + "enum": ["window:allow-set-always-on-top"]
1144 + },
1145 + {
1146 + "description": "window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",
1147 + "type": "string",
1148 + "enum": ["window:allow-set-closable"]
1149 + },
1150 + {
1151 + "description": "window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",
1152 + "type": "string",
1153 + "enum": ["window:allow-set-content-protected"]
1154 + },
1155 + {
1156 + "description": "window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",
1157 + "type": "string",
1158 + "enum": ["window:allow-set-cursor-grab"]
1159 + },
1160 + {
1161 + "description": "window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",
1162 + "type": "string",
1163 + "enum": ["window:allow-set-cursor-icon"]
1164 + },
1165 + {
1166 + "description": "window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",
1167 + "type": "string",
1168 + "enum": ["window:allow-set-cursor-position"]
1169 + },
1170 + {
1171 + "description": "window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",
1172 + "type": "string",
1173 + "enum": ["window:allow-set-cursor-visible"]
1174 + },
1175 + {
1176 + "description": "window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",
1177 + "type": "string",
1178 + "enum": ["window:allow-set-decorations"]
1179 + },
1180 + {
1181 + "description": "window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",
1182 + "type": "string",
1183 + "enum": ["window:allow-set-effects"]
1184 + },
1185 + {
1186 + "description": "window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",
1187 + "type": "string",
1188 + "enum": ["window:allow-set-focus"]
1189 + },
1190 + {
1191 + "description": "window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",
1192 + "type": "string",
1193 + "enum": ["window:allow-set-fullscreen"]
1194 + },
1195 + {
1196 + "description": "window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1197 + "type": "string",
1198 + "enum": ["window:allow-set-icon"]
1199 + },
1200 + {
1201 + "description": "window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",
1202 + "type": "string",
1203 + "enum": ["window:allow-set-ignore-cursor-events"]
1204 + },
1205 + {
1206 + "description": "window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",
1207 + "type": "string",
1208 + "enum": ["window:allow-set-max-size"]
1209 + },
1210 + {
1211 + "description": "window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",
1212 + "type": "string",
1213 + "enum": ["window:allow-set-maximizable"]
1214 + },
1215 + {
1216 + "description": "window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",
1217 + "type": "string",
1218 + "enum": ["window:allow-set-min-size"]
1219 + },
1220 + {
1221 + "description": "window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",
1222 + "type": "string",
1223 + "enum": ["window:allow-set-minimizable"]
1224 + },
1225 + {
1226 + "description": "window:allow-set-position -> Enables the set_position command without any pre-configured scope.",
1227 + "type": "string",
1228 + "enum": ["window:allow-set-position"]
1229 + },
1230 + {
1231 + "description": "window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",
1232 + "type": "string",
1233 + "enum": ["window:allow-set-progress-bar"]
1234 + },
1235 + {
1236 + "description": "window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",
1237 + "type": "string",
1238 + "enum": ["window:allow-set-resizable"]
1239 + },
1240 + {
1241 + "description": "window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",
1242 + "type": "string",
1243 + "enum": ["window:allow-set-shadow"]
1244 + },
1245 + {
1246 + "description": "window:allow-set-size -> Enables the set_size command without any pre-configured scope.",
1247 + "type": "string",
1248 + "enum": ["window:allow-set-size"]
1249 + },
1250 + {
1251 + "description": "window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",
1252 + "type": "string",
1253 + "enum": ["window:allow-set-skip-taskbar"]
1254 + },
1255 + {
1256 + "description": "window:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1257 + "type": "string",
1258 + "enum": ["window:allow-set-title"]
1259 + },
1260 + {
1261 + "description": "window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",
1262 + "type": "string",
1263 + "enum": ["window:allow-set-title-bar-style"]
1264 + },
1265 + {
1266 + "description": "window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1267 + "type": "string",
1268 + "enum": ["window:allow-set-visible-on-all-workspaces"]
1269 + },
1270 + {
1271 + "description": "window:allow-show -> Enables the show command without any pre-configured scope.",
1272 + "type": "string",
1273 + "enum": ["window:allow-show"]
1274 + },
1275 + {
1276 + "description": "window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",
1277 + "type": "string",
1278 + "enum": ["window:allow-start-dragging"]
1279 + },
1280 + {
1281 + "description": "window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",
1282 + "type": "string",
1283 + "enum": ["window:allow-start-resize-dragging"]
1284 + },
1285 + {
1286 + "description": "window:allow-theme -> Enables the theme command without any pre-configured scope.",
1287 + "type": "string",
1288 + "enum": ["window:allow-theme"]
1289 + },
1290 + {
1291 + "description": "window:allow-title -> Enables the title command without any pre-configured scope.",
1292 + "type": "string",
1293 + "enum": ["window:allow-title"]
1294 + },
1295 + {
1296 + "description": "window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",
1297 + "type": "string",
1298 + "enum": ["window:allow-toggle-maximize"]
1299 + },
1300 + {
1301 + "description": "window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",
1302 + "type": "string",
1303 + "enum": ["window:allow-unmaximize"]
1304 + },
1305 + {
1306 + "description": "window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",
1307 + "type": "string",
1308 + "enum": ["window:allow-unminimize"]
1309 + },
1310 + {
1311 + "description": "window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",
1312 + "type": "string",
1313 + "enum": ["window:deny-available-monitors"]
1314 + },
1315 + {
1316 + "description": "window:deny-center -> Denies the center command without any pre-configured scope.",
1317 + "type": "string",
1318 + "enum": ["window:deny-center"]
1319 + },
1320 + {
1321 + "description": "window:deny-close -> Denies the close command without any pre-configured scope.",
1322 + "type": "string",
1323 + "enum": ["window:deny-close"]
1324 + },
1325 + {
1326 + "description": "window:deny-create -> Denies the create command without any pre-configured scope.",
1327 + "type": "string",
1328 + "enum": ["window:deny-create"]
1329 + },
1330 + {
1331 + "description": "window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",
1332 + "type": "string",
1333 + "enum": ["window:deny-current-monitor"]
1334 + },
1335 + {
1336 + "description": "window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",
1337 + "type": "string",
1338 + "enum": ["window:deny-cursor-position"]
1339 + },
1340 + {
1341 + "description": "window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
1342 + "type": "string",
1343 + "enum": ["window:deny-destroy"]
1344 + },
1345 + {
1346 + "description": "window:deny-hide -> Denies the hide command without any pre-configured scope.",
1347 + "type": "string",
1348 + "enum": ["window:deny-hide"]
1349 + },
1350 + {
1351 + "description": "window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",
1352 + "type": "string",
1353 + "enum": ["window:deny-inner-position"]
1354 + },
1355 + {
1356 + "description": "window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",
1357 + "type": "string",
1358 + "enum": ["window:deny-inner-size"]
1359 + },
1360 + {
1361 + "description": "window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",
1362 + "type": "string",
1363 + "enum": ["window:deny-internal-toggle-maximize"]
1364 + },
1365 + {
1366 + "description": "window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",
1367 + "type": "string",
1368 + "enum": ["window:deny-is-closable"]
1369 + },
1370 + {
1371 + "description": "window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",
1372 + "type": "string",
1373 + "enum": ["window:deny-is-decorated"]
1374 + },
1375 + {
1376 + "description": "window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",
1377 + "type": "string",
1378 + "enum": ["window:deny-is-focused"]
1379 + },
1380 + {
1381 + "description": "window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",
1382 + "type": "string",
1383 + "enum": ["window:deny-is-fullscreen"]
1384 + },
1385 + {
1386 + "description": "window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",
1387 + "type": "string",
1388 + "enum": ["window:deny-is-maximizable"]
1389 + },
1390 + {
1391 + "description": "window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",
1392 + "type": "string",
1393 + "enum": ["window:deny-is-maximized"]
1394 + },
1395 + {
1396 + "description": "window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",
1397 + "type": "string",
1398 + "enum": ["window:deny-is-minimizable"]
1399 + },
1400 + {
1401 + "description": "window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",
1402 + "type": "string",
1403 + "enum": ["window:deny-is-minimized"]
1404 + },
1405 + {
1406 + "description": "window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",
1407 + "type": "string",
1408 + "enum": ["window:deny-is-resizable"]
1409 + },
1410 + {
1411 + "description": "window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",
1412 + "type": "string",
1413 + "enum": ["window:deny-is-visible"]
1414 + },
1415 + {
1416 + "description": "window:deny-maximize -> Denies the maximize command without any pre-configured scope.",
1417 + "type": "string",
1418 + "enum": ["window:deny-maximize"]
1419 + },
1420 + {
1421 + "description": "window:deny-minimize -> Denies the minimize command without any pre-configured scope.",
1422 + "type": "string",
1423 + "enum": ["window:deny-minimize"]
1424 + },
1425 + {
1426 + "description": "window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",
1427 + "type": "string",
1428 + "enum": ["window:deny-monitor-from-point"]
1429 + },
1430 + {
1431 + "description": "window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
1432 + "type": "string",
1433 + "enum": ["window:deny-outer-position"]
1434 + },
1435 + {
1436 + "description": "window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",
1437 + "type": "string",
1438 + "enum": ["window:deny-outer-size"]
1439 + },
1440 + {
1441 + "description": "window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",
1442 + "type": "string",
1443 + "enum": ["window:deny-primary-monitor"]
1444 + },
1445 + {
1446 + "description": "window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",
1447 + "type": "string",
1448 + "enum": ["window:deny-request-user-attention"]
1449 + },
1450 + {
1451 + "description": "window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",
1452 + "type": "string",
1453 + "enum": ["window:deny-scale-factor"]
1454 + },
1455 + {
1456 + "description": "window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",
1457 + "type": "string",
1458 + "enum": ["window:deny-set-always-on-bottom"]
1459 + },
1460 + {
1461 + "description": "window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",
1462 + "type": "string",
1463 + "enum": ["window:deny-set-always-on-top"]
1464 + },
1465 + {
1466 + "description": "window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",
1467 + "type": "string",
1468 + "enum": ["window:deny-set-closable"]
1469 + },
1470 + {
1471 + "description": "window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",
1472 + "type": "string",
1473 + "enum": ["window:deny-set-content-protected"]
1474 + },
1475 + {
1476 + "description": "window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",
1477 + "type": "string",
1478 + "enum": ["window:deny-set-cursor-grab"]
1479 + },
1480 + {
1481 + "description": "window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",
1482 + "type": "string",
1483 + "enum": ["window:deny-set-cursor-icon"]
1484 + },
1485 + {
1486 + "description": "window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",
1487 + "type": "string",
1488 + "enum": ["window:deny-set-cursor-position"]
1489 + },
1490 + {
1491 + "description": "window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",
1492 + "type": "string",
1493 + "enum": ["window:deny-set-cursor-visible"]
1494 + },
1495 + {
1496 + "description": "window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",
1497 + "type": "string",
1498 + "enum": ["window:deny-set-decorations"]
1499 + },
1500 + {
1501 + "description": "window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",
1502 + "type": "string",
1503 + "enum": ["window:deny-set-effects"]
1504 + },
1505 + {
1506 + "description": "window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",
1507 + "type": "string",
1508 + "enum": ["window:deny-set-focus"]
1509 + },
1510 + {
1511 + "description": "window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",
1512 + "type": "string",
1513 + "enum": ["window:deny-set-fullscreen"]
1514 + },
1515 + {
1516 + "description": "window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
1517 + "type": "string",
1518 + "enum": ["window:deny-set-icon"]
1519 + },
1520 + {
1521 + "description": "window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",
1522 + "type": "string",
1523 + "enum": ["window:deny-set-ignore-cursor-events"]
1524 + },
1525 + {
1526 + "description": "window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",
1527 + "type": "string",
1528 + "enum": ["window:deny-set-max-size"]
1529 + },
1530 + {
1531 + "description": "window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",
1532 + "type": "string",
1533 + "enum": ["window:deny-set-maximizable"]
1534 + },
1535 + {
1536 + "description": "window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",
1537 + "type": "string",
1538 + "enum": ["window:deny-set-min-size"]
1539 + },
1540 + {
1541 + "description": "window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",
1542 + "type": "string",
1543 + "enum": ["window:deny-set-minimizable"]
1544 + },
1545 + {
1546 + "description": "window:deny-set-position -> Denies the set_position command without any pre-configured scope.",
1547 + "type": "string",
1548 + "enum": ["window:deny-set-position"]
1549 + },
1550 + {
1551 + "description": "window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",
1552 + "type": "string",
1553 + "enum": ["window:deny-set-progress-bar"]
1554 + },
1555 + {
1556 + "description": "window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",
1557 + "type": "string",
1558 + "enum": ["window:deny-set-resizable"]
1559 + },
1560 + {
1561 + "description": "window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",
1562 + "type": "string",
1563 + "enum": ["window:deny-set-shadow"]
1564 + },
1565 + {
1566 + "description": "window:deny-set-size -> Denies the set_size command without any pre-configured scope.",
1567 + "type": "string",
1568 + "enum": ["window:deny-set-size"]
1569 + },
1570 + {
1571 + "description": "window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",
1572 + "type": "string",
1573 + "enum": ["window:deny-set-skip-taskbar"]
1574 + },
1575 + {
1576 + "description": "window:deny-set-title -> Denies the set_title command without any pre-configured scope.",
1577 + "type": "string",
1578 + "enum": ["window:deny-set-title"]
1579 + },
1580 + {
1581 + "description": "window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",
1582 + "type": "string",
1583 + "enum": ["window:deny-set-title-bar-style"]
1584 + },
1585 + {
1586 + "description": "window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
1587 + "type": "string",
1588 + "enum": ["window:deny-set-visible-on-all-workspaces"]
1589 + },
1590 + {
1591 + "description": "window:deny-show -> Denies the show command without any pre-configured scope.",
1592 + "type": "string",
1593 + "enum": ["window:deny-show"]
1594 + },
1595 + {
1596 + "description": "window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",
1597 + "type": "string",
1598 + "enum": ["window:deny-start-dragging"]
1599 + },
1600 + {
1601 + "description": "window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",
1602 + "type": "string",
1603 + "enum": ["window:deny-start-resize-dragging"]
1604 + },
1605 + {
1606 + "description": "window:deny-theme -> Denies the theme command without any pre-configured scope.",
1607 + "type": "string",
1608 + "enum": ["window:deny-theme"]
1609 + },
1610 + {
1611 + "description": "window:deny-title -> Denies the title command without any pre-configured scope.",
1612 + "type": "string",
1613 + "enum": ["window:deny-title"]
1614 + },
1615 + {
1616 + "description": "window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",
1617 + "type": "string",
1618 + "enum": ["window:deny-toggle-maximize"]
1619 + },
1620 + {
1621 + "description": "window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",
1622 + "type": "string",
1623 + "enum": ["window:deny-unmaximize"]
1624 + },
1625 + {
1626 + "description": "window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",
1627 + "type": "string",
1628 + "enum": ["window:deny-unminimize"]
1629 + }
1630 + ]
1631 + },
1632 + "Value": {
1633 + "description": "All supported ACL values.",
1634 + "anyOf": [
1635 + {
1636 + "description": "Represents a null JSON value.",
1637 + "type": "null"
1638 + },
1639 + {
1640 + "description": "Represents a [`bool`].",
1641 + "type": "boolean"
1642 + },
1643 + {
1644 + "description": "Represents a valid ACL [`Number`].",
1645 + "allOf": [
1646 + {
1647 + "$ref": "#/definitions/Number"
1648 + }
1649 + ]
1650 + },
1651 + {
1652 + "description": "Represents a [`String`].",
1653 + "type": "string"
1654 + },
1655 + {
1656 + "description": "Represents a list of other [`Value`]s.",
1657 + "type": "array",
1658 + "items": {
1659 + "$ref": "#/definitions/Value"
1660 + }
1661 + },
1662 + {
1663 + "description": "Represents a map of [`String`] keys to [`Value`]s.",
1664 + "type": "object",
1665 + "additionalProperties": {
1666 + "$ref": "#/definitions/Value"
1667 + }
1668 + }
1669 + ]
1670 + },
1671 + "Number": {
1672 + "description": "A valid ACL number.",
1673 + "anyOf": [
1674 + {
1675 + "description": "Represents an [`i64`].",
1676 + "type": "integer",
1677 + "format": "int64"
1678 + },
1679 + {
1680 + "description": "Represents a [`f64`].",
1681 + "type": "number",
1682 + "format": "double"
1683 + }
1684 + ]
1685 + },
1686 + "Target": {
1687 + "description": "Platform target.",
1688 + "oneOf": [
1689 + {
1690 + "description": "MacOS.",
1691 + "type": "string",
1692 + "enum": ["macOS"]
1693 + },
1694 + {
1695 + "description": "Windows.",
1696 + "type": "string",
1697 + "enum": ["windows"]
1698 + },
1699 + {
1700 + "description": "Linux.",
1701 + "type": "string",
1702 + "enum": ["linux"]
1703 + },
1704 + {
1705 + "description": "Android.",
1706 + "type": "string",
1707 + "enum": ["android"]
1708 + },
1709 + {
1710 + "description": "iOS.",
1711 + "type": "string",
1712 + "enum": ["iOS"]
1713 + }
1714 + ]
1715 + }
1716 + }
1717 +}
examples/tauri-app/src-tauri/gen/schemas/linux-schema.json
+1716 -2334
@@ -1,2335 +1,1717 @@
1 {
2 - "$schema": "http://json-schema.org/draft-07/schema#",
3 - "title": "CapabilityFile",
4 - "description": "Capability formats accepted in a capability file.",
5 - "anyOf": [
6 - {
7 - "description": "A single capability.",
8 - "allOf": [
9 - {
10 - "$ref": "#/definitions/Capability"
11 - }
12 - ]
13 - },
14 - {
15 - "description": "A list of capabilities.",
16 - "type": "array",
17 - "items": {
18 - "$ref": "#/definitions/Capability"
19 - }
20 - },
21 - {
22 - "description": "A list of capabilities.",
23 - "type": "object",
24 - "required": [
25 - "capabilities"
26 - ],
27 - "properties": {
28 - "capabilities": {
29 - "description": "The list of capabilities.",
30 - "type": "array",
31 - "items": {
32 - "$ref": "#/definitions/Capability"
33 - }
34 - }
35 - }
36 - }
37 - ],
38 - "definitions": {
39 - "Capability": {
40 - "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"path:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",
41 - "type": "object",
42 - "required": [
43 - "identifier",
44 - "permissions"
45 - ],
46 - "properties": {
47 - "identifier": {
48 - "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
49 - "type": "string"
50 - },
51 - "description": {
52 - "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",
53 - "default": "",
54 - "type": "string"
55 - },
56 - "remote": {
57 - "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",
58 - "anyOf": [
59 - {
60 - "$ref": "#/definitions/CapabilityRemote"
61 - },
62 - {
63 - "type": "null"
64 - }
65 - ]
66 - },
67 - "local": {
68 - "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
69 - "default": true,
70 - "type": "boolean"
71 - },
72 - "windows": {
73 - "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
74 - "type": "array",
75 - "items": {
76 - "type": "string"
77 - }
78 - },
79 - "webviews": {
80 - "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
81 - "type": "array",
82 - "items": {
83 - "type": "string"
84 - }
85 - },
86 - "permissions": {
87 - "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"path:default\", \"event:default\", \"window:default\", \"app:default\", \"image:default\", \"resources:default\", \"menu:default\", \"tray:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",
88 - "type": "array",
89 - "items": {
90 - "$ref": "#/definitions/PermissionEntry"
91 - },
92 - "uniqueItems": true
93 - },
94 - "platforms": {
95 - "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
96 - "type": [
97 - "array",
98 - "null"
99 - ],
100 - "items": {
101 - "$ref": "#/definitions/Target"
102 - }
103 - }
104 - }
105 - },
106 - "CapabilityRemote": {
107 - "description": "Configuration for remote URLs that are associated with the capability.",
108 - "type": "object",
109 - "required": [
110 - "urls"
111 - ],
112 - "properties": {
113 - "urls": {
114 - "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
115 - "type": "array",
116 - "items": {
117 - "type": "string"
118 - }
119 - }
120 - }
121 - },
122 - "PermissionEntry": {
123 - "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
124 - "anyOf": [
125 - {
126 - "description": "Reference a permission or permission set by identifier.",
127 - "allOf": [
128 - {
129 - "$ref": "#/definitions/Identifier"
130 - }
131 - ]
132 - },
133 - {
134 - "description": "Reference a permission or permission set by identifier and extends its scope.",
135 - "type": "object",
136 - "required": [
137 - "identifier"
138 - ],
139 - "properties": {
140 - "identifier": {
141 - "description": "Identifier of the permission or permission set.",
142 - "allOf": [
143 - {
144 - "$ref": "#/definitions/Identifier"
145 - }
146 - ]
147 - },
148 - "allow": {
149 - "description": "Data that defines what is allowed by the scope.",
150 - "type": [
151 - "array",
152 - "null"
153 - ],
154 - "items": {
155 - "$ref": "#/definitions/Value"
156 - }
157 - },
158 - "deny": {
159 - "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
160 - "type": [
161 - "array",
162 - "null"
163 - ],
164 - "items": {
165 - "$ref": "#/definitions/Value"
166 - }
167 - }
168 - }
169 - }
170 - ]
171 - },
172 - "Identifier": {
173 - "oneOf": [
174 - {
175 - "description": "admob:default -> Default permissions for the plugin",
176 - "type": "string",
177 - "enum": [
178 - "admob:default"
179 - ]
180 - },
181 - {
182 - "description": "admob:allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
183 - "type": "string",
184 - "enum": [
185 - "admob:allow-adCreate"
186 - ]
187 - },
188 - {
189 - "description": "admob:allow-adHide -> Enables the adHide command without any pre-configured scope.",
190 - "type": "string",
191 - "enum": [
192 - "admob:allow-adHide"
193 - ]
194 - },
195 - {
196 - "description": "admob:allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
197 - "type": "string",
198 - "enum": [
199 - "admob:allow-adIsLoaded"
200 - ]
201 - },
202 - {
203 - "description": "admob:allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
204 - "type": "string",
205 - "enum": [
206 - "admob:allow-adLoad"
207 - ]
208 - },
209 - {
210 - "description": "admob:allow-adShow -> Enables the adShow command without any pre-configured scope.",
211 - "type": "string",
212 - "enum": [
213 - "admob:allow-adShow"
214 - ]
215 - },
216 - {
217 - "description": "admob:allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
218 - "type": "string",
219 - "enum": [
220 - "admob:allow-configRequest"
221 - ]
222 - },
223 - {
224 - "description": "admob:allow-configure -> Enables the configure command without any pre-configured scope.",
225 - "type": "string",
226 - "enum": [
227 - "admob:allow-configure"
228 - ]
229 - },
230 - {
231 - "description": "admob:allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
232 - "type": "string",
233 - "enum": [
234 - "admob:allow-requestTrackingAuthorization"
235 - ]
236 - },
237 - {
238 - "description": "admob:allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
239 - "type": "string",
240 - "enum": [
241 - "admob:allow-trackingAuthorizationStatus"
242 - ]
243 - },
244 - {
245 - "description": "admob:deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
246 - "type": "string",
247 - "enum": [
248 - "admob:deny-adCreate"
249 - ]
250 - },
251 - {
252 - "description": "admob:deny-adHide -> Denies the adHide command without any pre-configured scope.",
253 - "type": "string",
254 - "enum": [
255 - "admob:deny-adHide"
256 - ]
257 - },
258 - {
259 - "description": "admob:deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
260 - "type": "string",
261 - "enum": [
262 - "admob:deny-adIsLoaded"
263 - ]
264 - },
265 - {
266 - "description": "admob:deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
267 - "type": "string",
268 - "enum": [
269 - "admob:deny-adLoad"
270 - ]
271 - },
272 - {
273 - "description": "admob:deny-adShow -> Denies the adShow command without any pre-configured scope.",
274 - "type": "string",
275 - "enum": [
276 - "admob:deny-adShow"
277 - ]
278 - },
279 - {
280 - "description": "admob:deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
281 - "type": "string",
282 - "enum": [
283 - "admob:deny-configRequest"
284 - ]
285 - },
286 - {
287 - "description": "admob:deny-configure -> Denies the configure command without any pre-configured scope.",
288 - "type": "string",
289 - "enum": [
290 - "admob:deny-configure"
291 - ]
292 - },
293 - {
294 - "description": "admob:deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
295 - "type": "string",
296 - "enum": [
297 - "admob:deny-requestTrackingAuthorization"
298 - ]
299 - },
300 - {
301 - "description": "admob:deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
302 - "type": "string",
303 - "enum": [
304 - "admob:deny-trackingAuthorizationStatus"
305 - ]
306 - },
307 - {
308 - "description": "app:default -> Default permissions for the plugin.",
309 - "type": "string",
310 - "enum": [
311 - "app:default"
312 - ]
313 - },
314 - {
315 - "description": "app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",
316 - "type": "string",
317 - "enum": [
318 - "app:allow-app-hide"
319 - ]
320 - },
321 - {
322 - "description": "app:allow-app-show -> Enables the app_show command without any pre-configured scope.",
323 - "type": "string",
324 - "enum": [
325 - "app:allow-app-show"
326 - ]
327 - },
328 - {
329 - "description": "app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",
330 - "type": "string",
331 - "enum": [
332 - "app:allow-default-window-icon"
333 - ]
334 - },
335 - {
336 - "description": "app:allow-name -> Enables the name command without any pre-configured scope.",
337 - "type": "string",
338 - "enum": [
339 - "app:allow-name"
340 - ]
341 - },
342 - {
343 - "description": "app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",
344 - "type": "string",
345 - "enum": [
346 - "app:allow-tauri-version"
347 - ]
348 - },
349 - {
350 - "description": "app:allow-version -> Enables the version command without any pre-configured scope.",
351 - "type": "string",
352 - "enum": [
353 - "app:allow-version"
354 - ]
355 - },
356 - {
357 - "description": "app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",
358 - "type": "string",
359 - "enum": [
360 - "app:deny-app-hide"
361 - ]
362 - },
363 - {
364 - "description": "app:deny-app-show -> Denies the app_show command without any pre-configured scope.",
365 - "type": "string",
366 - "enum": [
367 - "app:deny-app-show"
368 - ]
369 - },
370 - {
371 - "description": "app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",
372 - "type": "string",
373 - "enum": [
374 - "app:deny-default-window-icon"
375 - ]
376 - },
377 - {
378 - "description": "app:deny-name -> Denies the name command without any pre-configured scope.",
379 - "type": "string",
380 - "enum": [
381 - "app:deny-name"
382 - ]
383 - },
384 - {
385 - "description": "app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",
386 - "type": "string",
387 - "enum": [
388 - "app:deny-tauri-version"
389 - ]
390 - },
391 - {
392 - "description": "app:deny-version -> Denies the version command without any pre-configured scope.",
393 - "type": "string",
394 - "enum": [
395 - "app:deny-version"
396 - ]
397 - },
398 - {
399 - "type": "string",
400 - "enum": [
401 - "devtools:default"
402 - ]
403 - },
404 - {
405 - "description": "event:default -> Default permissions for the plugin.",
406 - "type": "string",
407 - "enum": [
408 - "event:default"
409 - ]
410 - },
411 - {
412 - "description": "event:allow-emit -> Enables the emit command without any pre-configured scope.",
413 - "type": "string",
414 - "enum": [
415 - "event:allow-emit"
416 - ]
417 - },
418 - {
419 - "description": "event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",
420 - "type": "string",
421 - "enum": [
422 - "event:allow-emit-to"
423 - ]
424 - },
425 - {
426 - "description": "event:allow-listen -> Enables the listen command without any pre-configured scope.",
427 - "type": "string",
428 - "enum": [
429 - "event:allow-listen"
430 - ]
431 - },
432 - {
433 - "description": "event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",
434 - "type": "string",
435 - "enum": [
436 - "event:allow-unlisten"
437 - ]
438 - },
439 - {
440 - "description": "event:deny-emit -> Denies the emit command without any pre-configured scope.",
441 - "type": "string",
442 - "enum": [
443 - "event:deny-emit"
444 - ]
445 - },
446 - {
447 - "description": "event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",
448 - "type": "string",
449 - "enum": [
450 - "event:deny-emit-to"
451 - ]
452 - },
453 - {
454 - "description": "event:deny-listen -> Denies the listen command without any pre-configured scope.",
455 - "type": "string",
456 - "enum": [
457 - "event:deny-listen"
458 - ]
459 - },
460 - {
461 - "description": "event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",
462 - "type": "string",
463 - "enum": [
464 - "event:deny-unlisten"
465 - ]
466 - },
467 - {
468 - "description": "image:default -> Default permissions for the plugin.",
469 - "type": "string",
470 - "enum": [
471 - "image:default"
472 - ]
473 - },
474 - {
475 - "description": "image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",
476 - "type": "string",
477 - "enum": [
478 - "image:allow-from-bytes"
479 - ]
480 - },
481 - {
482 - "description": "image:allow-from-path -> Enables the from_path command without any pre-configured scope.",
483 - "type": "string",
484 - "enum": [
485 - "image:allow-from-path"
486 - ]
487 - },
488 - {
489 - "description": "image:allow-new -> Enables the new command without any pre-configured scope.",
490 - "type": "string",
491 - "enum": [
492 - "image:allow-new"
493 - ]
494 - },
495 - {
496 - "description": "image:allow-rgba -> Enables the rgba command without any pre-configured scope.",
497 - "type": "string",
498 - "enum": [
499 - "image:allow-rgba"
500 - ]
501 - },
502 - {
503 - "description": "image:allow-size -> Enables the size command without any pre-configured scope.",
504 - "type": "string",
505 - "enum": [
506 - "image:allow-size"
507 - ]
508 - },
509 - {
510 - "description": "image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",
511 - "type": "string",
512 - "enum": [
513 - "image:deny-from-bytes"
514 - ]
515 - },
516 - {
517 - "description": "image:deny-from-path -> Denies the from_path command without any pre-configured scope.",
518 - "type": "string",
519 - "enum": [
520 - "image:deny-from-path"
521 - ]
522 - },
523 - {
524 - "description": "image:deny-new -> Denies the new command without any pre-configured scope.",
525 - "type": "string",
526 - "enum": [
527 - "image:deny-new"
528 - ]
529 - },
530 - {
531 - "description": "image:deny-rgba -> Denies the rgba command without any pre-configured scope.",
532 - "type": "string",
533 - "enum": [
534 - "image:deny-rgba"
535 - ]
536 - },
537 - {
538 - "description": "image:deny-size -> Denies the size command without any pre-configured scope.",
539 - "type": "string",
540 - "enum": [
541 - "image:deny-size"
542 - ]
543 - },
544 - {
545 - "description": "menu:default -> Default permissions for the plugin.",
546 - "type": "string",
547 - "enum": [
548 - "menu:default"
549 - ]
550 - },
551 - {
552 - "description": "menu:allow-append -> Enables the append command without any pre-configured scope.",
553 - "type": "string",
554 - "enum": [
555 - "menu:allow-append"
556 - ]
557 - },
558 - {
559 - "description": "menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",
560 - "type": "string",
561 - "enum": [
562 - "menu:allow-create-default"
563 - ]
564 - },
565 - {
566 - "description": "menu:allow-get -> Enables the get command without any pre-configured scope.",
567 - "type": "string",
568 - "enum": [
569 - "menu:allow-get"
570 - ]
571 - },
572 - {
573 - "description": "menu:allow-insert -> Enables the insert command without any pre-configured scope.",
574 - "type": "string",
575 - "enum": [
576 - "menu:allow-insert"
577 - ]
578 - },
579 - {
580 - "description": "menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",
581 - "type": "string",
582 - "enum": [
583 - "menu:allow-is-checked"
584 - ]
585 - },
586 - {
587 - "description": "menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",
588 - "type": "string",
589 - "enum": [
590 - "menu:allow-is-enabled"
591 - ]
592 - },
593 - {
594 - "description": "menu:allow-items -> Enables the items command without any pre-configured scope.",
595 - "type": "string",
596 - "enum": [
597 - "menu:allow-items"
598 - ]
599 - },
600 - {
601 - "description": "menu:allow-new -> Enables the new command without any pre-configured scope.",
602 - "type": "string",
603 - "enum": [
604 - "menu:allow-new"
605 - ]
606 - },
607 - {
608 - "description": "menu:allow-popup -> Enables the popup command without any pre-configured scope.",
609 - "type": "string",
610 - "enum": [
611 - "menu:allow-popup"
612 - ]
613 - },
614 - {
615 - "description": "menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",
616 - "type": "string",
617 - "enum": [
618 - "menu:allow-prepend"
619 - ]
620 - },
621 - {
622 - "description": "menu:allow-remove -> Enables the remove command without any pre-configured scope.",
623 - "type": "string",
624 - "enum": [
625 - "menu:allow-remove"
626 - ]
627 - },
628 - {
629 - "description": "menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",
630 - "type": "string",
631 - "enum": [
632 - "menu:allow-remove-at"
633 - ]
634 - },
635 - {
636 - "description": "menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",
637 - "type": "string",
638 - "enum": [
639 - "menu:allow-set-accelerator"
640 - ]
641 - },
642 - {
643 - "description": "menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",
644 - "type": "string",
645 - "enum": [
646 - "menu:allow-set-as-app-menu"
647 - ]
648 - },
649 - {
650 - "description": "menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
651 - "type": "string",
652 - "enum": [
653 - "menu:allow-set-as-help-menu-for-nsapp"
654 - ]
655 - },
656 - {
657 - "description": "menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",
658 - "type": "string",
659 - "enum": [
660 - "menu:allow-set-as-window-menu"
661 - ]
662 - },
663 - {
664 - "description": "menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
665 - "type": "string",
666 - "enum": [
667 - "menu:allow-set-as-windows-menu-for-nsapp"
668 - ]
669 - },
670 - {
671 - "description": "menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",
672 - "type": "string",
673 - "enum": [
674 - "menu:allow-set-checked"
675 - ]
676 - },
677 - {
678 - "description": "menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",
679 - "type": "string",
680 - "enum": [
681 - "menu:allow-set-enabled"
682 - ]
683 - },
684 - {
685 - "description": "menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
686 - "type": "string",
687 - "enum": [
688 - "menu:allow-set-icon"
689 - ]
690 - },
691 - {
692 - "description": "menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",
693 - "type": "string",
694 - "enum": [
695 - "menu:allow-set-text"
696 - ]
697 - },
698 - {
699 - "description": "menu:allow-text -> Enables the text command without any pre-configured scope.",
700 - "type": "string",
701 - "enum": [
702 - "menu:allow-text"
703 - ]
704 - },
705 - {
706 - "description": "menu:deny-append -> Denies the append command without any pre-configured scope.",
707 - "type": "string",
708 - "enum": [
709 - "menu:deny-append"
710 - ]
711 - },
712 - {
713 - "description": "menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",
714 - "type": "string",
715 - "enum": [
716 - "menu:deny-create-default"
717 - ]
718 - },
719 - {
720 - "description": "menu:deny-get -> Denies the get command without any pre-configured scope.",
721 - "type": "string",
722 - "enum": [
723 - "menu:deny-get"
724 - ]
725 - },
726 - {
727 - "description": "menu:deny-insert -> Denies the insert command without any pre-configured scope.",
728 - "type": "string",
729 - "enum": [
730 - "menu:deny-insert"
731 - ]
732 - },
733 - {
734 - "description": "menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",
735 - "type": "string",
736 - "enum": [
737 - "menu:deny-is-checked"
738 - ]
739 - },
740 - {
741 - "description": "menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",
742 - "type": "string",
743 - "enum": [
744 - "menu:deny-is-enabled"
745 - ]
746 - },
747 - {
748 - "description": "menu:deny-items -> Denies the items command without any pre-configured scope.",
749 - "type": "string",
750 - "enum": [
751 - "menu:deny-items"
752 - ]
753 - },
754 - {
755 - "description": "menu:deny-new -> Denies the new command without any pre-configured scope.",
756 - "type": "string",
757 - "enum": [
758 - "menu:deny-new"
759 - ]
760 - },
761 - {
762 - "description": "menu:deny-popup -> Denies the popup command without any pre-configured scope.",
763 - "type": "string",
764 - "enum": [
765 - "menu:deny-popup"
766 - ]
767 - },
768 - {
769 - "description": "menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",
770 - "type": "string",
771 - "enum": [
772 - "menu:deny-prepend"
773 - ]
774 - },
775 - {
776 - "description": "menu:deny-remove -> Denies the remove command without any pre-configured scope.",
777 - "type": "string",
778 - "enum": [
779 - "menu:deny-remove"
780 - ]
781 - },
782 - {
783 - "description": "menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",
784 - "type": "string",
785 - "enum": [
786 - "menu:deny-remove-at"
787 - ]
788 - },
789 - {
790 - "description": "menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",
791 - "type": "string",
792 - "enum": [
793 - "menu:deny-set-accelerator"
794 - ]
795 - },
796 - {
797 - "description": "menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",
798 - "type": "string",
799 - "enum": [
800 - "menu:deny-set-as-app-menu"
801 - ]
802 - },
803 - {
804 - "description": "menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
805 - "type": "string",
806 - "enum": [
807 - "menu:deny-set-as-help-menu-for-nsapp"
808 - ]
809 - },
810 - {
811 - "description": "menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",
812 - "type": "string",
813 - "enum": [
814 - "menu:deny-set-as-window-menu"
815 - ]
816 - },
817 - {
818 - "description": "menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
819 - "type": "string",
820 - "enum": [
821 - "menu:deny-set-as-windows-menu-for-nsapp"
822 - ]
823 - },
824 - {
825 - "description": "menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",
826 - "type": "string",
827 - "enum": [
828 - "menu:deny-set-checked"
829 - ]
830 - },
831 - {
832 - "description": "menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",
833 - "type": "string",
834 - "enum": [
835 - "menu:deny-set-enabled"
836 - ]
837 - },
838 - {
839 - "description": "menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
840 - "type": "string",
841 - "enum": [
842 - "menu:deny-set-icon"
843 - ]
844 - },
845 - {
846 - "description": "menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",
847 - "type": "string",
848 - "enum": [
849 - "menu:deny-set-text"
850 - ]
851 - },
852 - {
853 - "description": "menu:deny-text -> Denies the text command without any pre-configured scope.",
854 - "type": "string",
855 - "enum": [
856 - "menu:deny-text"
857 - ]
858 - },
859 - {
860 - "description": "path:default -> Default permissions for the plugin.",
861 - "type": "string",
862 - "enum": [
863 - "path:default"
864 - ]
865 - },
866 - {
867 - "description": "path:allow-basename -> Enables the basename command without any pre-configured scope.",
868 - "type": "string",
869 - "enum": [
870 - "path:allow-basename"
871 - ]
872 - },
873 - {
874 - "description": "path:allow-dirname -> Enables the dirname command without any pre-configured scope.",
875 - "type": "string",
876 - "enum": [
877 - "path:allow-dirname"
878 - ]
879 - },
880 - {
881 - "description": "path:allow-extname -> Enables the extname command without any pre-configured scope.",
882 - "type": "string",
883 - "enum": [
884 - "path:allow-extname"
885 - ]
886 - },
887 - {
888 - "description": "path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",
889 - "type": "string",
890 - "enum": [
891 - "path:allow-is-absolute"
892 - ]
893 - },
894 - {
895 - "description": "path:allow-join -> Enables the join command without any pre-configured scope.",
896 - "type": "string",
897 - "enum": [
898 - "path:allow-join"
899 - ]
900 - },
901 - {
902 - "description": "path:allow-normalize -> Enables the normalize command without any pre-configured scope.",
903 - "type": "string",
904 - "enum": [
905 - "path:allow-normalize"
906 - ]
907 - },
908 - {
909 - "description": "path:allow-resolve -> Enables the resolve command without any pre-configured scope.",
910 - "type": "string",
911 - "enum": [
912 - "path:allow-resolve"
913 - ]
914 - },
915 - {
916 - "description": "path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",
917 - "type": "string",
918 - "enum": [
919 - "path:allow-resolve-directory"
920 - ]
921 - },
922 - {
923 - "description": "path:deny-basename -> Denies the basename command without any pre-configured scope.",
924 - "type": "string",
925 - "enum": [
926 - "path:deny-basename"
927 - ]
928 - },
929 - {
930 - "description": "path:deny-dirname -> Denies the dirname command without any pre-configured scope.",
931 - "type": "string",
932 - "enum": [
933 - "path:deny-dirname"
934 - ]
935 - },
936 - {
937 - "description": "path:deny-extname -> Denies the extname command without any pre-configured scope.",
938 - "type": "string",
939 - "enum": [
940 - "path:deny-extname"
941 - ]
942 - },
943 - {
944 - "description": "path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",
945 - "type": "string",
946 - "enum": [
947 - "path:deny-is-absolute"
948 - ]
949 - },
950 - {
951 - "description": "path:deny-join -> Denies the join command without any pre-configured scope.",
952 - "type": "string",
953 - "enum": [
954 - "path:deny-join"
955 - ]
956 - },
957 - {
958 - "description": "path:deny-normalize -> Denies the normalize command without any pre-configured scope.",
959 - "type": "string",
960 - "enum": [
961 - "path:deny-normalize"
962 - ]
963 - },
964 - {
965 - "description": "path:deny-resolve -> Denies the resolve command without any pre-configured scope.",
966 - "type": "string",
967 - "enum": [
968 - "path:deny-resolve"
969 - ]
970 - },
971 - {
972 - "description": "path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",
973 - "type": "string",
974 - "enum": [
975 - "path:deny-resolve-directory"
976 - ]
977 - },
978 - {
979 - "description": "resources:default -> Default permissions for the plugin.",
980 - "type": "string",
981 - "enum": [
982 - "resources:default"
983 - ]
984 - },
985 - {
986 - "description": "resources:allow-close -> Enables the close command without any pre-configured scope.",
987 - "type": "string",
988 - "enum": [
989 - "resources:allow-close"
990 - ]
991 - },
992 - {
993 - "description": "resources:deny-close -> Denies the close command without any pre-configured scope.",
994 - "type": "string",
995 - "enum": [
996 - "resources:deny-close"
997 - ]
998 - },
999 - {
1000 - "description": "tray:default -> Default permissions for the plugin.",
1001 - "type": "string",
1002 - "enum": [
1003 - "tray:default"
1004 - ]
1005 - },
1006 - {
1007 - "description": "tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",
1008 - "type": "string",
1009 - "enum": [
1010 - "tray:allow-get-by-id"
1011 - ]
1012 - },
1013 - {
1014 - "description": "tray:allow-new -> Enables the new command without any pre-configured scope.",
1015 - "type": "string",
1016 - "enum": [
1017 - "tray:allow-new"
1018 - ]
1019 - },
1020 - {
1021 - "description": "tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",
1022 - "type": "string",
1023 - "enum": [
1024 - "tray:allow-remove-by-id"
1025 - ]
1026 - },
1027 - {
1028 - "description": "tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1029 - "type": "string",
1030 - "enum": [
1031 - "tray:allow-set-icon"
1032 - ]
1033 - },
1034 - {
1035 - "description": "tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",
1036 - "type": "string",
1037 - "enum": [
1038 - "tray:allow-set-icon-as-template"
1039 - ]
1040 - },
1041 - {
1042 - "description": "tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",
1043 - "type": "string",
1044 - "enum": [
1045 - "tray:allow-set-menu"
1046 - ]
1047 - },
1048 - {
1049 - "description": "tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",
1050 - "type": "string",
1051 - "enum": [
1052 - "tray:allow-set-show-menu-on-left-click"
1053 - ]
1054 - },
1055 - {
1056 - "description": "tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",
1057 - "type": "string",
1058 - "enum": [
1059 - "tray:allow-set-temp-dir-path"
1060 - ]
1061 - },
1062 - {
1063 - "description": "tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1064 - "type": "string",
1065 - "enum": [
1066 - "tray:allow-set-title"
1067 - ]
1068 - },
1069 - {
1070 - "description": "tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",
1071 - "type": "string",
1072 - "enum": [
1073 - "tray:allow-set-tooltip"
1074 - ]
1075 - },
1076 - {
1077 - "description": "tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",
1078 - "type": "string",
1079 - "enum": [
1080 - "tray:allow-set-visible"
1081 - ]
1082 - },
1083 - {
1084 - "description": "tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",
1085 - "type": "string",
1086 - "enum": [
1087 - "tray:deny-get-by-id"
1088 - ]
1089 - },
1090 - {
1091 - "description": "tray:deny-new -> Denies the new command without any pre-configured scope.",
1092 - "type": "string",
1093 - "enum": [
1094 - "tray:deny-new"
1095 - ]
1096 - },
1097 - {
1098 - "description": "tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",
1099 - "type": "string",
1100 - "enum": [
1101 - "tray:deny-remove-by-id"
1102 - ]
1103 - },
1104 - {
1105 - "description": "tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
1106 - "type": "string",
1107 - "enum": [
1108 - "tray:deny-set-icon"
1109 - ]
1110 - },
1111 - {
1112 - "description": "tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",
1113 - "type": "string",
1114 - "enum": [
1115 - "tray:deny-set-icon-as-template"
1116 - ]
1117 - },
1118 - {
1119 - "description": "tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",
1120 - "type": "string",
1121 - "enum": [
1122 - "tray:deny-set-menu"
1123 - ]
1124 - },
1125 - {
1126 - "description": "tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",
1127 - "type": "string",
1128 - "enum": [
1129 - "tray:deny-set-show-menu-on-left-click"
1130 - ]
1131 - },
1132 - {
1133 - "description": "tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",
1134 - "type": "string",
1135 - "enum": [
1136 - "tray:deny-set-temp-dir-path"
1137 - ]
1138 - },
1139 - {
1140 - "description": "tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",
1141 - "type": "string",
1142 - "enum": [
1143 - "tray:deny-set-title"
1144 - ]
1145 - },
1146 - {
1147 - "description": "tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",
1148 - "type": "string",
1149 - "enum": [
1150 - "tray:deny-set-tooltip"
1151 - ]
1152 - },
1153 - {
1154 - "description": "tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",
1155 - "type": "string",
1156 - "enum": [
1157 - "tray:deny-set-visible"
1158 - ]
1159 - },
1160 - {
1161 - "description": "webview:default -> Default permissions for the plugin.",
1162 - "type": "string",
1163 - "enum": [
1164 - "webview:default"
1165 - ]
1166 - },
1167 - {
1168 - "description": "webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",
1169 - "type": "string",
1170 - "enum": [
1171 - "webview:allow-create-webview"
1172 - ]
1173 - },
1174 - {
1175 - "description": "webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",
1176 - "type": "string",
1177 - "enum": [
1178 - "webview:allow-create-webview-window"
1179 - ]
1180 - },
1181 - {
1182 - "description": "webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
1183 - "type": "string",
1184 - "enum": [
1185 - "webview:allow-internal-toggle-devtools"
1186 - ]
1187 - },
1188 - {
1189 - "description": "webview:allow-print -> Enables the print command without any pre-configured scope.",
1190 - "type": "string",
1191 - "enum": [
1192 - "webview:allow-print"
1193 - ]
1194 - },
1195 - {
1196 - "description": "webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",
1197 - "type": "string",
1198 - "enum": [
1199 - "webview:allow-reparent"
1200 - ]
1201 - },
1202 - {
1203 - "description": "webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",
1204 - "type": "string",
1205 - "enum": [
1206 - "webview:allow-set-webview-focus"
1207 - ]
1208 - },
1209 - {
1210 - "description": "webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",
1211 - "type": "string",
1212 - "enum": [
1213 - "webview:allow-set-webview-position"
1214 - ]
1215 - },
1216 - {
1217 - "description": "webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",
1218 - "type": "string",
1219 - "enum": [
1220 - "webview:allow-set-webview-size"
1221 - ]
1222 - },
1223 - {
1224 - "description": "webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",
1225 - "type": "string",
1226 - "enum": [
1227 - "webview:allow-set-webview-zoom"
1228 - ]
1229 - },
1230 - {
1231 - "description": "webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",
1232 - "type": "string",
1233 - "enum": [
1234 - "webview:allow-webview-close"
1235 - ]
1236 - },
1237 - {
1238 - "description": "webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",
1239 - "type": "string",
1240 - "enum": [
1241 - "webview:allow-webview-position"
1242 - ]
1243 - },
1244 - {
1245 - "description": "webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",
1246 - "type": "string",
1247 - "enum": [
1248 - "webview:allow-webview-size"
1249 - ]
1250 - },
1251 - {
1252 - "description": "webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",
1253 - "type": "string",
1254 - "enum": [
1255 - "webview:deny-create-webview"
1256 - ]
1257 - },
1258 - {
1259 - "description": "webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",
1260 - "type": "string",
1261 - "enum": [
1262 - "webview:deny-create-webview-window"
1263 - ]
1264 - },
1265 - {
1266 - "description": "webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
1267 - "type": "string",
1268 - "enum": [
1269 - "webview:deny-internal-toggle-devtools"
1270 - ]
1271 - },
1272 - {
1273 - "description": "webview:deny-print -> Denies the print command without any pre-configured scope.",
1274 - "type": "string",
1275 - "enum": [
1276 - "webview:deny-print"
1277 - ]
1278 - },
1279 - {
1280 - "description": "webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",
1281 - "type": "string",
1282 - "enum": [
1283 - "webview:deny-reparent"
1284 - ]
1285 - },
1286 - {
1287 - "description": "webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",
1288 - "type": "string",
1289 - "enum": [
1290 - "webview:deny-set-webview-focus"
1291 - ]
1292 - },
1293 - {
1294 - "description": "webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",
1295 - "type": "string",
1296 - "enum": [
1297 - "webview:deny-set-webview-position"
1298 - ]
1299 - },
1300 - {
1301 - "description": "webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",
1302 - "type": "string",
1303 - "enum": [
1304 - "webview:deny-set-webview-size"
1305 - ]
1306 - },
1307 - {
1308 - "description": "webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",
1309 - "type": "string",
1310 - "enum": [
1311 - "webview:deny-set-webview-zoom"
1312 - ]
1313 - },
1314 - {
1315 - "description": "webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",
1316 - "type": "string",
1317 - "enum": [
1318 - "webview:deny-webview-close"
1319 - ]
1320 - },
1321 - {
1322 - "description": "webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",
1323 - "type": "string",
1324 - "enum": [
1325 - "webview:deny-webview-position"
1326 - ]
1327 - },
1328 - {
1329 - "description": "webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",
1330 - "type": "string",
1331 - "enum": [
1332 - "webview:deny-webview-size"
1333 - ]
1334 - },
1335 - {
1336 - "description": "window:default -> Default permissions for the plugin.",
1337 - "type": "string",
1338 - "enum": [
1339 - "window:default"
1340 - ]
1341 - },
1342 - {
1343 - "description": "window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",
1344 - "type": "string",
1345 - "enum": [
1346 - "window:allow-available-monitors"
1347 - ]
1348 - },
1349 - {
1350 - "description": "window:allow-center -> Enables the center command without any pre-configured scope.",
1351 - "type": "string",
1352 - "enum": [
1353 - "window:allow-center"
1354 - ]
1355 - },
1356 - {
1357 - "description": "window:allow-close -> Enables the close command without any pre-configured scope.",
1358 - "type": "string",
1359 - "enum": [
1360 - "window:allow-close"
1361 - ]
1362 - },
1363 - {
1364 - "description": "window:allow-create -> Enables the create command without any pre-configured scope.",
1365 - "type": "string",
1366 - "enum": [
1367 - "window:allow-create"
1368 - ]
1369 - },
1370 - {
1371 - "description": "window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",
1372 - "type": "string",
1373 - "enum": [
1374 - "window:allow-current-monitor"
1375 - ]
1376 - },
1377 - {
1378 - "description": "window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",
1379 - "type": "string",
1380 - "enum": [
1381 - "window:allow-cursor-position"
1382 - ]
1383 - },
1384 - {
1385 - "description": "window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
1386 - "type": "string",
1387 - "enum": [
1388 - "window:allow-destroy"
1389 - ]
1390 - },
1391 - {
1392 - "description": "window:allow-hide -> Enables the hide command without any pre-configured scope.",
1393 - "type": "string",
1394 - "enum": [
1395 - "window:allow-hide"
1396 - ]
1397 - },
1398 - {
1399 - "description": "window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",
1400 - "type": "string",
1401 - "enum": [
1402 - "window:allow-inner-position"
1403 - ]
1404 - },
1405 - {
1406 - "description": "window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",
1407 - "type": "string",
1408 - "enum": [
1409 - "window:allow-inner-size"
1410 - ]
1411 - },
1412 - {
1413 - "description": "window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",
1414 - "type": "string",
1415 - "enum": [
1416 - "window:allow-internal-toggle-maximize"
1417 - ]
1418 - },
1419 - {
1420 - "description": "window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",
1421 - "type": "string",
1422 - "enum": [
1423 - "window:allow-is-closable"
1424 - ]
1425 - },
1426 - {
1427 - "description": "window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",
1428 - "type": "string",
1429 - "enum": [
1430 - "window:allow-is-decorated"
1431 - ]
1432 - },
1433 - {
1434 - "description": "window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",
1435 - "type": "string",
1436 - "enum": [
1437 - "window:allow-is-focused"
1438 - ]
1439 - },
1440 - {
1441 - "description": "window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",
1442 - "type": "string",
1443 - "enum": [
1444 - "window:allow-is-fullscreen"
1445 - ]
1446 - },
1447 - {
1448 - "description": "window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",
1449 - "type": "string",
1450 - "enum": [
1451 - "window:allow-is-maximizable"
1452 - ]
1453 - },
1454 - {
1455 - "description": "window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",
1456 - "type": "string",
1457 - "enum": [
1458 - "window:allow-is-maximized"
1459 - ]
1460 - },
1461 - {
1462 - "description": "window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",
1463 - "type": "string",
1464 - "enum": [
1465 - "window:allow-is-minimizable"
1466 - ]
1467 - },
1468 - {
1469 - "description": "window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",
1470 - "type": "string",
1471 - "enum": [
1472 - "window:allow-is-minimized"
1473 - ]
1474 - },
1475 - {
1476 - "description": "window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",
1477 - "type": "string",
1478 - "enum": [
1479 - "window:allow-is-resizable"
1480 - ]
1481 - },
1482 - {
1483 - "description": "window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",
1484 - "type": "string",
1485 - "enum": [
1486 - "window:allow-is-visible"
1487 - ]
1488 - },
1489 - {
1490 - "description": "window:allow-maximize -> Enables the maximize command without any pre-configured scope.",
1491 - "type": "string",
1492 - "enum": [
1493 - "window:allow-maximize"
1494 - ]
1495 - },
1496 - {
1497 - "description": "window:allow-minimize -> Enables the minimize command without any pre-configured scope.",
1498 - "type": "string",
1499 - "enum": [
1500 - "window:allow-minimize"
1501 - ]
1502 - },
1503 - {
1504 - "description": "window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",
1505 - "type": "string",
1506 - "enum": [
1507 - "window:allow-monitor-from-point"
1508 - ]
1509 - },
1510 - {
1511 - "description": "window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
1512 - "type": "string",
1513 - "enum": [
1514 - "window:allow-outer-position"
1515 - ]
1516 - },
1517 - {
1518 - "description": "window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",
1519 - "type": "string",
1520 - "enum": [
1521 - "window:allow-outer-size"
1522 - ]
1523 - },
1524 - {
1525 - "description": "window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",
1526 - "type": "string",
1527 - "enum": [
1528 - "window:allow-primary-monitor"
1529 - ]
1530 - },
1531 - {
1532 - "description": "window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",
1533 - "type": "string",
1534 - "enum": [
1535 - "window:allow-request-user-attention"
1536 - ]
1537 - },
1538 - {
1539 - "description": "window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",
1540 - "type": "string",
1541 - "enum": [
1542 - "window:allow-scale-factor"
1543 - ]
1544 - },
1545 - {
1546 - "description": "window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",
1547 - "type": "string",
1548 - "enum": [
1549 - "window:allow-set-always-on-bottom"
1550 - ]
1551 - },
1552 - {
1553 - "description": "window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",
1554 - "type": "string",
1555 - "enum": [
1556 - "window:allow-set-always-on-top"
1557 - ]
1558 - },
1559 - {
1560 - "description": "window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",
1561 - "type": "string",
1562 - "enum": [
1563 - "window:allow-set-closable"
1564 - ]
1565 - },
1566 - {
1567 - "description": "window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",
1568 - "type": "string",
1569 - "enum": [
1570 - "window:allow-set-content-protected"
1571 - ]
1572 - },
1573 - {
1574 - "description": "window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",
1575 - "type": "string",
1576 - "enum": [
1577 - "window:allow-set-cursor-grab"
1578 - ]
1579 - },
1580 - {
1581 - "description": "window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",
1582 - "type": "string",
1583 - "enum": [
1584 - "window:allow-set-cursor-icon"
1585 - ]
1586 - },
1587 - {
1588 - "description": "window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",
1589 - "type": "string",
1590 - "enum": [
1591 - "window:allow-set-cursor-position"
1592 - ]
1593 - },
1594 - {
1595 - "description": "window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",
1596 - "type": "string",
1597 - "enum": [
1598 - "window:allow-set-cursor-visible"
1599 - ]
1600 - },
1601 - {
1602 - "description": "window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",
1603 - "type": "string",
1604 - "enum": [
1605 - "window:allow-set-decorations"
1606 - ]
1607 - },
1608 - {
1609 - "description": "window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",
1610 - "type": "string",
1611 - "enum": [
1612 - "window:allow-set-effects"
1613 - ]
1614 - },
1615 - {
1616 - "description": "window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",
1617 - "type": "string",
1618 - "enum": [
1619 - "window:allow-set-focus"
1620 - ]
1621 - },
1622 - {
1623 - "description": "window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",
1624 - "type": "string",
1625 - "enum": [
1626 - "window:allow-set-fullscreen"
1627 - ]
1628 - },
1629 - {
1630 - "description": "window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1631 - "type": "string",
1632 - "enum": [
1633 - "window:allow-set-icon"
1634 - ]
1635 - },
1636 - {
1637 - "description": "window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",
1638 - "type": "string",
1639 - "enum": [
1640 - "window:allow-set-ignore-cursor-events"
1641 - ]
1642 - },
1643 - {
1644 - "description": "window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",
1645 - "type": "string",
1646 - "enum": [
1647 - "window:allow-set-max-size"
1648 - ]
1649 - },
1650 - {
1651 - "description": "window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",
1652 - "type": "string",
1653 - "enum": [
1654 - "window:allow-set-maximizable"
1655 - ]
1656 - },
1657 - {
1658 - "description": "window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",
1659 - "type": "string",
1660 - "enum": [
1661 - "window:allow-set-min-size"
1662 - ]
1663 - },
1664 - {
1665 - "description": "window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",
1666 - "type": "string",
1667 - "enum": [
1668 - "window:allow-set-minimizable"
1669 - ]
1670 - },
1671 - {
1672 - "description": "window:allow-set-position -> Enables the set_position command without any pre-configured scope.",
1673 - "type": "string",
1674 - "enum": [
1675 - "window:allow-set-position"
1676 - ]
1677 - },
1678 - {
1679 - "description": "window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",
1680 - "type": "string",
1681 - "enum": [
1682 - "window:allow-set-progress-bar"
1683 - ]
1684 - },
1685 - {
1686 - "description": "window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",
1687 - "type": "string",
1688 - "enum": [
1689 - "window:allow-set-resizable"
1690 - ]
1691 - },
1692 - {
1693 - "description": "window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",
1694 - "type": "string",
1695 - "enum": [
1696 - "window:allow-set-shadow"
1697 - ]
1698 - },
1699 - {
1700 - "description": "window:allow-set-size -> Enables the set_size command without any pre-configured scope.",
1701 - "type": "string",
1702 - "enum": [
1703 - "window:allow-set-size"
1704 - ]
1705 - },
1706 - {
1707 - "description": "window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",
1708 - "type": "string",
1709 - "enum": [
1710 - "window:allow-set-skip-taskbar"
1711 - ]
1712 - },
1713 - {
1714 - "description": "window:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1715 - "type": "string",
1716 - "enum": [
1717 - "window:allow-set-title"
1718 - ]
1719 - },
1720 - {
1721 - "description": "window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",
1722 - "type": "string",
1723 - "enum": [
1724 - "window:allow-set-title-bar-style"
1725 - ]
1726 - },
1727 - {
1728 - "description": "window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1729 - "type": "string",
1730 - "enum": [
1731 - "window:allow-set-visible-on-all-workspaces"
1732 - ]
1733 - },
1734 - {
1735 - "description": "window:allow-show -> Enables the show command without any pre-configured scope.",
1736 - "type": "string",
1737 - "enum": [
1738 - "window:allow-show"
1739 - ]
1740 - },
1741 - {
1742 - "description": "window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",
1743 - "type": "string",
1744 - "enum": [
1745 - "window:allow-start-dragging"
1746 - ]
1747 - },
1748 - {
1749 - "description": "window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",
1750 - "type": "string",
1751 - "enum": [
1752 - "window:allow-start-resize-dragging"
1753 - ]
1754 - },
1755 - {
1756 - "description": "window:allow-theme -> Enables the theme command without any pre-configured scope.",
1757 - "type": "string",
1758 - "enum": [
1759 - "window:allow-theme"
1760 - ]
1761 - },
1762 - {
1763 - "description": "window:allow-title -> Enables the title command without any pre-configured scope.",
1764 - "type": "string",
1765 - "enum": [
1766 - "window:allow-title"
1767 - ]
1768 - },
1769 - {
1770 - "description": "window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",
1771 - "type": "string",
1772 - "enum": [
1773 - "window:allow-toggle-maximize"
1774 - ]
1775 - },
1776 - {
1777 - "description": "window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",
1778 - "type": "string",
1779 - "enum": [
1780 - "window:allow-unmaximize"
1781 - ]
1782 - },
1783 - {
1784 - "description": "window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",
1785 - "type": "string",
1786 - "enum": [
1787 - "window:allow-unminimize"
1788 - ]
1789 - },
1790 - {
1791 - "description": "window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",
1792 - "type": "string",
1793 - "enum": [
1794 - "window:deny-available-monitors"
1795 - ]
1796 - },
1797 - {
1798 - "description": "window:deny-center -> Denies the center command without any pre-configured scope.",
1799 - "type": "string",
1800 - "enum": [
1801 - "window:deny-center"
1802 - ]
1803 - },
1804 - {
1805 - "description": "window:deny-close -> Denies the close command without any pre-configured scope.",
1806 - "type": "string",
1807 - "enum": [
1808 - "window:deny-close"
1809 - ]
1810 - },
1811 - {
1812 - "description": "window:deny-create -> Denies the create command without any pre-configured scope.",
1813 - "type": "string",
1814 - "enum": [
1815 - "window:deny-create"
1816 - ]
1817 - },
1818 - {
1819 - "description": "window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",
1820 - "type": "string",
1821 - "enum": [
1822 - "window:deny-current-monitor"
1823 - ]
1824 - },
1825 - {
1826 - "description": "window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",
1827 - "type": "string",
1828 - "enum": [
1829 - "window:deny-cursor-position"
1830 - ]
1831 - },
1832 - {
1833 - "description": "window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
1834 - "type": "string",
1835 - "enum": [
1836 - "window:deny-destroy"
1837 - ]
1838 - },
1839 - {
1840 - "description": "window:deny-hide -> Denies the hide command without any pre-configured scope.",
1841 - "type": "string",
1842 - "enum": [
1843 - "window:deny-hide"
1844 - ]
1845 - },
1846 - {
1847 - "description": "window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",
1848 - "type": "string",
1849 - "enum": [
1850 - "window:deny-inner-position"
1851 - ]
1852 - },
1853 - {
1854 - "description": "window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",
1855 - "type": "string",
1856 - "enum": [
1857 - "window:deny-inner-size"
1858 - ]
1859 - },
1860 - {
1861 - "description": "window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",
1862 - "type": "string",
1863 - "enum": [
1864 - "window:deny-internal-toggle-maximize"
1865 - ]
1866 - },
1867 - {
1868 - "description": "window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",
1869 - "type": "string",
1870 - "enum": [
1871 - "window:deny-is-closable"
1872 - ]
1873 - },
1874 - {
1875 - "description": "window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",
1876 - "type": "string",
1877 - "enum": [
1878 - "window:deny-is-decorated"
1879 - ]
1880 - },
1881 - {
1882 - "description": "window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",
1883 - "type": "string",
1884 - "enum": [
1885 - "window:deny-is-focused"
1886 - ]
1887 - },
1888 - {
1889 - "description": "window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",
1890 - "type": "string",
1891 - "enum": [
1892 - "window:deny-is-fullscreen"
1893 - ]
1894 - },
1895 - {
1896 - "description": "window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",
1897 - "type": "string",
1898 - "enum": [
1899 - "window:deny-is-maximizable"
1900 - ]
1901 - },
1902 - {
1903 - "description": "window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",
1904 - "type": "string",
1905 - "enum": [
1906 - "window:deny-is-maximized"
1907 - ]
1908 - },
1909 - {
1910 - "description": "window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",
1911 - "type": "string",
1912 - "enum": [
1913 - "window:deny-is-minimizable"
1914 - ]
1915 - },
1916 - {
1917 - "description": "window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",
1918 - "type": "string",
1919 - "enum": [
1920 - "window:deny-is-minimized"
1921 - ]
1922 - },
1923 - {
1924 - "description": "window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",
1925 - "type": "string",
1926 - "enum": [
1927 - "window:deny-is-resizable"
1928 - ]
1929 - },
1930 - {
1931 - "description": "window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",
1932 - "type": "string",
1933 - "enum": [
1934 - "window:deny-is-visible"
1935 - ]
1936 - },
1937 - {
1938 - "description": "window:deny-maximize -> Denies the maximize command without any pre-configured scope.",
1939 - "type": "string",
1940 - "enum": [
1941 - "window:deny-maximize"
1942 - ]
1943 - },
1944 - {
1945 - "description": "window:deny-minimize -> Denies the minimize command without any pre-configured scope.",
1946 - "type": "string",
1947 - "enum": [
1948 - "window:deny-minimize"
1949 - ]
1950 - },
1951 - {
1952 - "description": "window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",
1953 - "type": "string",
1954 - "enum": [
1955 - "window:deny-monitor-from-point"
1956 - ]
1957 - },
1958 - {
1959 - "description": "window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
1960 - "type": "string",
1961 - "enum": [
1962 - "window:deny-outer-position"
1963 - ]
1964 - },
1965 - {
1966 - "description": "window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",
1967 - "type": "string",
1968 - "enum": [
1969 - "window:deny-outer-size"
1970 - ]
1971 - },
1972 - {
1973 - "description": "window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",
1974 - "type": "string",
1975 - "enum": [
1976 - "window:deny-primary-monitor"
1977 - ]
1978 - },
1979 - {
1980 - "description": "window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",
1981 - "type": "string",
1982 - "enum": [
1983 - "window:deny-request-user-attention"
1984 - ]
1985 - },
1986 - {
1987 - "description": "window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",
1988 - "type": "string",
1989 - "enum": [
1990 - "window:deny-scale-factor"
1991 - ]
1992 - },
1993 - {
1994 - "description": "window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",
1995 - "type": "string",
1996 - "enum": [
1997 - "window:deny-set-always-on-bottom"
1998 - ]
1999 - },
2000 - {
2001 - "description": "window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",
2002 - "type": "string",
2003 - "enum": [
2004 - "window:deny-set-always-on-top"
2005 - ]
2006 - },
2007 - {
2008 - "description": "window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",
2009 - "type": "string",
2010 - "enum": [
2011 - "window:deny-set-closable"
2012 - ]
2013 - },
2014 - {
2015 - "description": "window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",
2016 - "type": "string",
2017 - "enum": [
2018 - "window:deny-set-content-protected"
2019 - ]
2020 - },
2021 - {
2022 - "description": "window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",
2023 - "type": "string",
2024 - "enum": [
2025 - "window:deny-set-cursor-grab"
2026 - ]
2027 - },
2028 - {
2029 - "description": "window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",
2030 - "type": "string",
2031 - "enum": [
2032 - "window:deny-set-cursor-icon"
2033 - ]
2034 - },
2035 - {
2036 - "description": "window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",
2037 - "type": "string",
2038 - "enum": [
2039 - "window:deny-set-cursor-position"
2040 - ]
2041 - },
2042 - {
2043 - "description": "window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",
2044 - "type": "string",
2045 - "enum": [
2046 - "window:deny-set-cursor-visible"
2047 - ]
2048 - },
2049 - {
2050 - "description": "window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",
2051 - "type": "string",
2052 - "enum": [
2053 - "window:deny-set-decorations"
2054 - ]
2055 - },
2056 - {
2057 - "description": "window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",
2058 - "type": "string",
2059 - "enum": [
2060 - "window:deny-set-effects"
2061 - ]
2062 - },
2063 - {
2064 - "description": "window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",
2065 - "type": "string",
2066 - "enum": [
2067 - "window:deny-set-focus"
2068 - ]
2069 - },
2070 - {
2071 - "description": "window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",
2072 - "type": "string",
2073 - "enum": [
2074 - "window:deny-set-fullscreen"
2075 - ]
2076 - },
2077 - {
2078 - "description": "window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
2079 - "type": "string",
2080 - "enum": [
2081 - "window:deny-set-icon"
2082 - ]
2083 - },
2084 - {
2085 - "description": "window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",
2086 - "type": "string",
2087 - "enum": [
2088 - "window:deny-set-ignore-cursor-events"
2089 - ]
2090 - },
2091 - {
2092 - "description": "window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",
2093 - "type": "string",
2094 - "enum": [
2095 - "window:deny-set-max-size"
2096 - ]
2097 - },
2098 - {
2099 - "description": "window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",
2100 - "type": "string",
2101 - "enum": [
2102 - "window:deny-set-maximizable"
2103 - ]
2104 - },
2105 - {
2106 - "description": "window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",
2107 - "type": "string",
2108 - "enum": [
2109 - "window:deny-set-min-size"
2110 - ]
2111 - },
2112 - {
2113 - "description": "window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",
2114 - "type": "string",
2115 - "enum": [
2116 - "window:deny-set-minimizable"
2117 - ]
2118 - },
2119 - {
2120 - "description": "window:deny-set-position -> Denies the set_position command without any pre-configured scope.",
2121 - "type": "string",
2122 - "enum": [
2123 - "window:deny-set-position"
2124 - ]
2125 - },
2126 - {
2127 - "description": "window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",
2128 - "type": "string",
2129 - "enum": [
2130 - "window:deny-set-progress-bar"
2131 - ]
2132 - },
2133 - {
2134 - "description": "window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",
2135 - "type": "string",
2136 - "enum": [
2137 - "window:deny-set-resizable"
2138 - ]
2139 - },
2140 - {
2141 - "description": "window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",
2142 - "type": "string",
2143 - "enum": [
2144 - "window:deny-set-shadow"
2145 - ]
2146 - },
2147 - {
2148 - "description": "window:deny-set-size -> Denies the set_size command without any pre-configured scope.",
2149 - "type": "string",
2150 - "enum": [
2151 - "window:deny-set-size"
2152 - ]
2153 - },
2154 - {
2155 - "description": "window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",
2156 - "type": "string",
2157 - "enum": [
2158 - "window:deny-set-skip-taskbar"
2159 - ]
2160 - },
2161 - {
2162 - "description": "window:deny-set-title -> Denies the set_title command without any pre-configured scope.",
2163 - "type": "string",
2164 - "enum": [
2165 - "window:deny-set-title"
2166 - ]
2167 - },
2168 - {
2169 - "description": "window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",
2170 - "type": "string",
2171 - "enum": [
2172 - "window:deny-set-title-bar-style"
2173 - ]
2174 - },
2175 - {
2176 - "description": "window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
2177 - "type": "string",
2178 - "enum": [
2179 - "window:deny-set-visible-on-all-workspaces"
2180 - ]
2181 - },
2182 - {
2183 - "description": "window:deny-show -> Denies the show command without any pre-configured scope.",
2184 - "type": "string",
2185 - "enum": [
2186 - "window:deny-show"
2187 - ]
2188 - },
2189 - {
2190 - "description": "window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",
2191 - "type": "string",
2192 - "enum": [
2193 - "window:deny-start-dragging"
2194 - ]
2195 - },
2196 - {
2197 - "description": "window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",
2198 - "type": "string",
2199 - "enum": [
2200 - "window:deny-start-resize-dragging"
2201 - ]
2202 - },
2203 - {
2204 - "description": "window:deny-theme -> Denies the theme command without any pre-configured scope.",
2205 - "type": "string",
2206 - "enum": [
2207 - "window:deny-theme"
2208 - ]
2209 - },
2210 - {
2211 - "description": "window:deny-title -> Denies the title command without any pre-configured scope.",
2212 - "type": "string",
2213 - "enum": [
2214 - "window:deny-title"
2215 - ]
2216 - },
2217 - {
2218 - "description": "window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",
2219 - "type": "string",
2220 - "enum": [
2221 - "window:deny-toggle-maximize"
2222 - ]
2223 - },
2224 - {
2225 - "description": "window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",
2226 - "type": "string",
2227 - "enum": [
2228 - "window:deny-unmaximize"
2229 - ]
2230 - },
2231 - {
2232 - "description": "window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",
2233 - "type": "string",
2234 - "enum": [
2235 - "window:deny-unminimize"
2236 - ]
2237 - }
2238 - ]
2239 - },
2240 - "Value": {
2241 - "description": "All supported ACL values.",
2242 - "anyOf": [
2243 - {
2244 - "description": "Represents a null JSON value.",
2245 - "type": "null"
2246 - },
2247 - {
2248 - "description": "Represents a [`bool`].",
2249 - "type": "boolean"
2250 - },
2251 - {
2252 - "description": "Represents a valid ACL [`Number`].",
2253 - "allOf": [
2254 - {
2255 - "$ref": "#/definitions/Number"
2256 - }
2257 - ]
2258 - },
2259 - {
2260 - "description": "Represents a [`String`].",
2261 - "type": "string"
2262 - },
2263 - {
2264 - "description": "Represents a list of other [`Value`]s.",
2265 - "type": "array",
2266 - "items": {
2267 - "$ref": "#/definitions/Value"
2268 - }
2269 - },
2270 - {
2271 - "description": "Represents a map of [`String`] keys to [`Value`]s.",
2272 - "type": "object",
2273 - "additionalProperties": {
2274 - "$ref": "#/definitions/Value"
2275 - }
2276 - }
2277 - ]
2278 - },
2279 - "Number": {
2280 - "description": "A valid ACL number.",
2281 - "anyOf": [
2282 - {
2283 - "description": "Represents an [`i64`].",
2284 - "type": "integer",
2285 - "format": "int64"
2286 - },
2287 - {
2288 - "description": "Represents a [`f64`].",
2289 - "type": "number",
2290 - "format": "double"
2291 - }
2292 - ]
2293 - },
2294 - "Target": {
2295 - "description": "Platform target.",
2296 - "oneOf": [
2297 - {
2298 - "description": "MacOS.",
2299 - "type": "string",
2300 - "enum": [
2301 - "macOS"
2302 - ]
2303 - },
2304 - {
2305 - "description": "Windows.",
2306 - "type": "string",
2307 - "enum": [
2308 - "windows"
2309 - ]
2310 - },
2311 - {
2312 - "description": "Linux.",
2313 - "type": "string",
2314 - "enum": [
2315 - "linux"
2316 - ]
2317 - },
2318 - {
2319 - "description": "Android.",
2320 - "type": "string",
2321 - "enum": [
2322 - "android"
2323 - ]
2324 - },
2325 - {
2326 - "description": "iOS.",
2327 - "type": "string",
2328 - "enum": [
2329 - "iOS"
2330 - ]
2331 - }
2332 - ]
2333 - }
2334 - }
2335 -}
\ No newline at end of file
2 + "$schema": "http://json-schema.org/draft-07/schema#",
3 + "title": "CapabilityFile",
4 + "description": "Capability formats accepted in a capability file.",
5 + "anyOf": [
6 + {
7 + "description": "A single capability.",
8 + "allOf": [
9 + {
10 + "$ref": "#/definitions/Capability"
11 + }
12 + ]
13 + },
14 + {
15 + "description": "A list of capabilities.",
16 + "type": "array",
17 + "items": {
18 + "$ref": "#/definitions/Capability"
19 + }
20 + },
21 + {
22 + "description": "A list of capabilities.",
23 + "type": "object",
24 + "required": ["capabilities"],
25 + "properties": {
26 + "capabilities": {
27 + "description": "The list of capabilities.",
28 + "type": "array",
29 + "items": {
30 + "$ref": "#/definitions/Capability"
31 + }
32 + }
33 + }
34 + }
35 + ],
36 + "definitions": {
37 + "Capability": {
38 + "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"path:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",
39 + "type": "object",
40 + "required": ["identifier", "permissions"],
41 + "properties": {
42 + "identifier": {
43 + "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
44 + "type": "string"
45 + },
46 + "description": {
47 + "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",
48 + "default": "",
49 + "type": "string"
50 + },
51 + "remote": {
52 + "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",
53 + "anyOf": [
54 + {
55 + "$ref": "#/definitions/CapabilityRemote"
56 + },
57 + {
58 + "type": "null"
59 + }
60 + ]
61 + },
62 + "local": {
63 + "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
64 + "default": true,
65 + "type": "boolean"
66 + },
67 + "windows": {
68 + "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
69 + "type": "array",
70 + "items": {
71 + "type": "string"
72 + }
73 + },
74 + "webviews": {
75 + "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
76 + "type": "array",
77 + "items": {
78 + "type": "string"
79 + }
80 + },
81 + "permissions": {
82 + "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"path:default\", \"event:default\", \"window:default\", \"app:default\", \"image:default\", \"resources:default\", \"menu:default\", \"tray:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",
83 + "type": "array",
84 + "items": {
85 + "$ref": "#/definitions/PermissionEntry"
86 + },
87 + "uniqueItems": true
88 + },
89 + "platforms": {
90 + "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
91 + "type": ["array", "null"],
92 + "items": {
93 + "$ref": "#/definitions/Target"
94 + }
95 + }
96 + }
97 + },
98 + "CapabilityRemote": {
99 + "description": "Configuration for remote URLs that are associated with the capability.",
100 + "type": "object",
101 + "required": ["urls"],
102 + "properties": {
103 + "urls": {
104 + "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
105 + "type": "array",
106 + "items": {
107 + "type": "string"
108 + }
109 + }
110 + }
111 + },
112 + "PermissionEntry": {
113 + "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
114 + "anyOf": [
115 + {
116 + "description": "Reference a permission or permission set by identifier.",
117 + "allOf": [
118 + {
119 + "$ref": "#/definitions/Identifier"
120 + }
121 + ]
122 + },
123 + {
124 + "description": "Reference a permission or permission set by identifier and extends its scope.",
125 + "type": "object",
126 + "required": ["identifier"],
127 + "properties": {
128 + "identifier": {
129 + "description": "Identifier of the permission or permission set.",
130 + "allOf": [
131 + {
132 + "$ref": "#/definitions/Identifier"
133 + }
134 + ]
135 + },
136 + "allow": {
137 + "description": "Data that defines what is allowed by the scope.",
138 + "type": ["array", "null"],
139 + "items": {
140 + "$ref": "#/definitions/Value"
141 + }
142 + },
143 + "deny": {
144 + "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
145 + "type": ["array", "null"],
146 + "items": {
147 + "$ref": "#/definitions/Value"
148 + }
149 + }
150 + }
151 + }
152 + ]
153 + },
154 + "Identifier": {
155 + "oneOf": [
156 + {
157 + "description": "admob:default -> Default permissions for the plugin",
158 + "type": "string",
159 + "enum": ["admob:default"]
160 + },
161 + {
162 + "description": "admob:allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
163 + "type": "string",
164 + "enum": ["admob:allow-adCreate"]
165 + },
166 + {
167 + "description": "admob:allow-adHide -> Enables the adHide command without any pre-configured scope.",
168 + "type": "string",
169 + "enum": ["admob:allow-adHide"]
170 + },
171 + {
172 + "description": "admob:allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
173 + "type": "string",
174 + "enum": ["admob:allow-adIsLoaded"]
175 + },
176 + {
177 + "description": "admob:allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
178 + "type": "string",
179 + "enum": ["admob:allow-adLoad"]
180 + },
181 + {
182 + "description": "admob:allow-adShow -> Enables the adShow command without any pre-configured scope.",
183 + "type": "string",
184 + "enum": ["admob:allow-adShow"]
185 + },
186 + {
187 + "description": "admob:allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
188 + "type": "string",
189 + "enum": ["admob:allow-configRequest"]
190 + },
191 + {
192 + "description": "admob:allow-configure -> Enables the configure command without any pre-configured scope.",
193 + "type": "string",
194 + "enum": ["admob:allow-configure"]
195 + },
196 + {
197 + "description": "admob:allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
198 + "type": "string",
199 + "enum": ["admob:allow-requestTrackingAuthorization"]
200 + },
201 + {
202 + "description": "admob:allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
203 + "type": "string",
204 + "enum": ["admob:allow-trackingAuthorizationStatus"]
205 + },
206 + {
207 + "description": "admob:deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
208 + "type": "string",
209 + "enum": ["admob:deny-adCreate"]
210 + },
211 + {
212 + "description": "admob:deny-adHide -> Denies the adHide command without any pre-configured scope.",
213 + "type": "string",
214 + "enum": ["admob:deny-adHide"]
215 + },
216 + {
217 + "description": "admob:deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
218 + "type": "string",
219 + "enum": ["admob:deny-adIsLoaded"]
220 + },
221 + {
222 + "description": "admob:deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
223 + "type": "string",
224 + "enum": ["admob:deny-adLoad"]
225 + },
226 + {
227 + "description": "admob:deny-adShow -> Denies the adShow command without any pre-configured scope.",
228 + "type": "string",
229 + "enum": ["admob:deny-adShow"]
230 + },
231 + {
232 + "description": "admob:deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
233 + "type": "string",
234 + "enum": ["admob:deny-configRequest"]
235 + },
236 + {
237 + "description": "admob:deny-configure -> Denies the configure command without any pre-configured scope.",
238 + "type": "string",
239 + "enum": ["admob:deny-configure"]
240 + },
241 + {
242 + "description": "admob:deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
243 + "type": "string",
244 + "enum": ["admob:deny-requestTrackingAuthorization"]
245 + },
246 + {
247 + "description": "admob:deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
248 + "type": "string",
249 + "enum": ["admob:deny-trackingAuthorizationStatus"]
250 + },
251 + {
252 + "description": "app:default -> Default permissions for the plugin.",
253 + "type": "string",
254 + "enum": ["app:default"]
255 + },
256 + {
257 + "description": "app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",
258 + "type": "string",
259 + "enum": ["app:allow-app-hide"]
260 + },
261 + {
262 + "description": "app:allow-app-show -> Enables the app_show command without any pre-configured scope.",
263 + "type": "string",
264 + "enum": ["app:allow-app-show"]
265 + },
266 + {
267 + "description": "app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",
268 + "type": "string",
269 + "enum": ["app:allow-default-window-icon"]
270 + },
271 + {
272 + "description": "app:allow-name -> Enables the name command without any pre-configured scope.",
273 + "type": "string",
274 + "enum": ["app:allow-name"]
275 + },
276 + {
277 + "description": "app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",
278 + "type": "string",
279 + "enum": ["app:allow-tauri-version"]
280 + },
281 + {
282 + "description": "app:allow-version -> Enables the version command without any pre-configured scope.",
283 + "type": "string",
284 + "enum": ["app:allow-version"]
285 + },
286 + {
287 + "description": "app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",
288 + "type": "string",
289 + "enum": ["app:deny-app-hide"]
290 + },
291 + {
292 + "description": "app:deny-app-show -> Denies the app_show command without any pre-configured scope.",
293 + "type": "string",
294 + "enum": ["app:deny-app-show"]
295 + },
296 + {
297 + "description": "app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",
298 + "type": "string",
299 + "enum": ["app:deny-default-window-icon"]
300 + },
301 + {
302 + "description": "app:deny-name -> Denies the name command without any pre-configured scope.",
303 + "type": "string",
304 + "enum": ["app:deny-name"]
305 + },
306 + {
307 + "description": "app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",
308 + "type": "string",
309 + "enum": ["app:deny-tauri-version"]
310 + },
311 + {
312 + "description": "app:deny-version -> Denies the version command without any pre-configured scope.",
313 + "type": "string",
314 + "enum": ["app:deny-version"]
315 + },
316 + {
317 + "type": "string",
318 + "enum": ["devtools:default"]
319 + },
320 + {
321 + "description": "event:default -> Default permissions for the plugin.",
322 + "type": "string",
323 + "enum": ["event:default"]
324 + },
325 + {
326 + "description": "event:allow-emit -> Enables the emit command without any pre-configured scope.",
327 + "type": "string",
328 + "enum": ["event:allow-emit"]
329 + },
330 + {
331 + "description": "event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",
332 + "type": "string",
333 + "enum": ["event:allow-emit-to"]
334 + },
335 + {
336 + "description": "event:allow-listen -> Enables the listen command without any pre-configured scope.",
337 + "type": "string",
338 + "enum": ["event:allow-listen"]
339 + },
340 + {
341 + "description": "event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",
342 + "type": "string",
343 + "enum": ["event:allow-unlisten"]
344 + },
345 + {
346 + "description": "event:deny-emit -> Denies the emit command without any pre-configured scope.",
347 + "type": "string",
348 + "enum": ["event:deny-emit"]
349 + },
350 + {
351 + "description": "event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",
352 + "type": "string",
353 + "enum": ["event:deny-emit-to"]
354 + },
355 + {
356 + "description": "event:deny-listen -> Denies the listen command without any pre-configured scope.",
357 + "type": "string",
358 + "enum": ["event:deny-listen"]
359 + },
360 + {
361 + "description": "event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",
362 + "type": "string",
363 + "enum": ["event:deny-unlisten"]
364 + },
365 + {
366 + "description": "image:default -> Default permissions for the plugin.",
367 + "type": "string",
368 + "enum": ["image:default"]
369 + },
370 + {
371 + "description": "image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",
372 + "type": "string",
373 + "enum": ["image:allow-from-bytes"]
374 + },
375 + {
376 + "description": "image:allow-from-path -> Enables the from_path command without any pre-configured scope.",
377 + "type": "string",
378 + "enum": ["image:allow-from-path"]
379 + },
380 + {
381 + "description": "image:allow-new -> Enables the new command without any pre-configured scope.",
382 + "type": "string",
383 + "enum": ["image:allow-new"]
384 + },
385 + {
386 + "description": "image:allow-rgba -> Enables the rgba command without any pre-configured scope.",
387 + "type": "string",
388 + "enum": ["image:allow-rgba"]
389 + },
390 + {
391 + "description": "image:allow-size -> Enables the size command without any pre-configured scope.",
392 + "type": "string",
393 + "enum": ["image:allow-size"]
394 + },
395 + {
396 + "description": "image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",
397 + "type": "string",
398 + "enum": ["image:deny-from-bytes"]
399 + },
400 + {
401 + "description": "image:deny-from-path -> Denies the from_path command without any pre-configured scope.",
402 + "type": "string",
403 + "enum": ["image:deny-from-path"]
404 + },
405 + {
406 + "description": "image:deny-new -> Denies the new command without any pre-configured scope.",
407 + "type": "string",
408 + "enum": ["image:deny-new"]
409 + },
410 + {
411 + "description": "image:deny-rgba -> Denies the rgba command without any pre-configured scope.",
412 + "type": "string",
413 + "enum": ["image:deny-rgba"]
414 + },
415 + {
416 + "description": "image:deny-size -> Denies the size command without any pre-configured scope.",
417 + "type": "string",
418 + "enum": ["image:deny-size"]
419 + },
420 + {
421 + "description": "menu:default -> Default permissions for the plugin.",
422 + "type": "string",
423 + "enum": ["menu:default"]
424 + },
425 + {
426 + "description": "menu:allow-append -> Enables the append command without any pre-configured scope.",
427 + "type": "string",
428 + "enum": ["menu:allow-append"]
429 + },
430 + {
431 + "description": "menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",
432 + "type": "string",
433 + "enum": ["menu:allow-create-default"]
434 + },
435 + {
436 + "description": "menu:allow-get -> Enables the get command without any pre-configured scope.",
437 + "type": "string",
438 + "enum": ["menu:allow-get"]
439 + },
440 + {
441 + "description": "menu:allow-insert -> Enables the insert command without any pre-configured scope.",
442 + "type": "string",
443 + "enum": ["menu:allow-insert"]
444 + },
445 + {
446 + "description": "menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",
447 + "type": "string",
448 + "enum": ["menu:allow-is-checked"]
449 + },
450 + {
451 + "description": "menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",
452 + "type": "string",
453 + "enum": ["menu:allow-is-enabled"]
454 + },
455 + {
456 + "description": "menu:allow-items -> Enables the items command without any pre-configured scope.",
457 + "type": "string",
458 + "enum": ["menu:allow-items"]
459 + },
460 + {
461 + "description": "menu:allow-new -> Enables the new command without any pre-configured scope.",
462 + "type": "string",
463 + "enum": ["menu:allow-new"]
464 + },
465 + {
466 + "description": "menu:allow-popup -> Enables the popup command without any pre-configured scope.",
467 + "type": "string",
468 + "enum": ["menu:allow-popup"]
469 + },
470 + {
471 + "description": "menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",
472 + "type": "string",
473 + "enum": ["menu:allow-prepend"]
474 + },
475 + {
476 + "description": "menu:allow-remove -> Enables the remove command without any pre-configured scope.",
477 + "type": "string",
478 + "enum": ["menu:allow-remove"]
479 + },
480 + {
481 + "description": "menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",
482 + "type": "string",
483 + "enum": ["menu:allow-remove-at"]
484 + },
485 + {
486 + "description": "menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",
487 + "type": "string",
488 + "enum": ["menu:allow-set-accelerator"]
489 + },
490 + {
491 + "description": "menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",
492 + "type": "string",
493 + "enum": ["menu:allow-set-as-app-menu"]
494 + },
495 + {
496 + "description": "menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
497 + "type": "string",
498 + "enum": ["menu:allow-set-as-help-menu-for-nsapp"]
499 + },
500 + {
501 + "description": "menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",
502 + "type": "string",
503 + "enum": ["menu:allow-set-as-window-menu"]
504 + },
505 + {
506 + "description": "menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
507 + "type": "string",
508 + "enum": ["menu:allow-set-as-windows-menu-for-nsapp"]
509 + },
510 + {
511 + "description": "menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",
512 + "type": "string",
513 + "enum": ["menu:allow-set-checked"]
514 + },
515 + {
516 + "description": "menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",
517 + "type": "string",
518 + "enum": ["menu:allow-set-enabled"]
519 + },
520 + {
521 + "description": "menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
522 + "type": "string",
523 + "enum": ["menu:allow-set-icon"]
524 + },
525 + {
526 + "description": "menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",
527 + "type": "string",
528 + "enum": ["menu:allow-set-text"]
529 + },
530 + {
531 + "description": "menu:allow-text -> Enables the text command without any pre-configured scope.",
532 + "type": "string",
533 + "enum": ["menu:allow-text"]
534 + },
535 + {
536 + "description": "menu:deny-append -> Denies the append command without any pre-configured scope.",
537 + "type": "string",
538 + "enum": ["menu:deny-append"]
539 + },
540 + {
541 + "description": "menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",
542 + "type": "string",
543 + "enum": ["menu:deny-create-default"]
544 + },
545 + {
546 + "description": "menu:deny-get -> Denies the get command without any pre-configured scope.",
547 + "type": "string",
548 + "enum": ["menu:deny-get"]
549 + },
550 + {
551 + "description": "menu:deny-insert -> Denies the insert command without any pre-configured scope.",
552 + "type": "string",
553 + "enum": ["menu:deny-insert"]
554 + },
555 + {
556 + "description": "menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",
557 + "type": "string",
558 + "enum": ["menu:deny-is-checked"]
559 + },
560 + {
561 + "description": "menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",
562 + "type": "string",
563 + "enum": ["menu:deny-is-enabled"]
564 + },
565 + {
566 + "description": "menu:deny-items -> Denies the items command without any pre-configured scope.",
567 + "type": "string",
568 + "enum": ["menu:deny-items"]
569 + },
570 + {
571 + "description": "menu:deny-new -> Denies the new command without any pre-configured scope.",
572 + "type": "string",
573 + "enum": ["menu:deny-new"]
574 + },
575 + {
576 + "description": "menu:deny-popup -> Denies the popup command without any pre-configured scope.",
577 + "type": "string",
578 + "enum": ["menu:deny-popup"]
579 + },
580 + {
581 + "description": "menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",
582 + "type": "string",
583 + "enum": ["menu:deny-prepend"]
584 + },
585 + {
586 + "description": "menu:deny-remove -> Denies the remove command without any pre-configured scope.",
587 + "type": "string",
588 + "enum": ["menu:deny-remove"]
589 + },
590 + {
591 + "description": "menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",
592 + "type": "string",
593 + "enum": ["menu:deny-remove-at"]
594 + },
595 + {
596 + "description": "menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",
597 + "type": "string",
598 + "enum": ["menu:deny-set-accelerator"]
599 + },
600 + {
601 + "description": "menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",
602 + "type": "string",
603 + "enum": ["menu:deny-set-as-app-menu"]
604 + },
605 + {
606 + "description": "menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
607 + "type": "string",
608 + "enum": ["menu:deny-set-as-help-menu-for-nsapp"]
609 + },
610 + {
611 + "description": "menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",
612 + "type": "string",
613 + "enum": ["menu:deny-set-as-window-menu"]
614 + },
615 + {
616 + "description": "menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
617 + "type": "string",
618 + "enum": ["menu:deny-set-as-windows-menu-for-nsapp"]
619 + },
620 + {
621 + "description": "menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",
622 + "type": "string",
623 + "enum": ["menu:deny-set-checked"]
624 + },
625 + {
626 + "description": "menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",
627 + "type": "string",
628 + "enum": ["menu:deny-set-enabled"]
629 + },
630 + {
631 + "description": "menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
632 + "type": "string",
633 + "enum": ["menu:deny-set-icon"]
634 + },
635 + {
636 + "description": "menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",
637 + "type": "string",
638 + "enum": ["menu:deny-set-text"]
639 + },
640 + {
641 + "description": "menu:deny-text -> Denies the text command without any pre-configured scope.",
642 + "type": "string",
643 + "enum": ["menu:deny-text"]
644 + },
645 + {
646 + "description": "path:default -> Default permissions for the plugin.",
647 + "type": "string",
648 + "enum": ["path:default"]
649 + },
650 + {
651 + "description": "path:allow-basename -> Enables the basename command without any pre-configured scope.",
652 + "type": "string",
653 + "enum": ["path:allow-basename"]
654 + },
655 + {
656 + "description": "path:allow-dirname -> Enables the dirname command without any pre-configured scope.",
657 + "type": "string",
658 + "enum": ["path:allow-dirname"]
659 + },
660 + {
661 + "description": "path:allow-extname -> Enables the extname command without any pre-configured scope.",
662 + "type": "string",
663 + "enum": ["path:allow-extname"]
664 + },
665 + {
666 + "description": "path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",
667 + "type": "string",
668 + "enum": ["path:allow-is-absolute"]
669 + },
670 + {
671 + "description": "path:allow-join -> Enables the join command without any pre-configured scope.",
672 + "type": "string",
673 + "enum": ["path:allow-join"]
674 + },
675 + {
676 + "description": "path:allow-normalize -> Enables the normalize command without any pre-configured scope.",
677 + "type": "string",
678 + "enum": ["path:allow-normalize"]
679 + },
680 + {
681 + "description": "path:allow-resolve -> Enables the resolve command without any pre-configured scope.",
682 + "type": "string",
683 + "enum": ["path:allow-resolve"]
684 + },
685 + {
686 + "description": "path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",
687 + "type": "string",
688 + "enum": ["path:allow-resolve-directory"]
689 + },
690 + {
691 + "description": "path:deny-basename -> Denies the basename command without any pre-configured scope.",
692 + "type": "string",
693 + "enum": ["path:deny-basename"]
694 + },
695 + {
696 + "description": "path:deny-dirname -> Denies the dirname command without any pre-configured scope.",
697 + "type": "string",
698 + "enum": ["path:deny-dirname"]
699 + },
700 + {
701 + "description": "path:deny-extname -> Denies the extname command without any pre-configured scope.",
702 + "type": "string",
703 + "enum": ["path:deny-extname"]
704 + },
705 + {
706 + "description": "path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",
707 + "type": "string",
708 + "enum": ["path:deny-is-absolute"]
709 + },
710 + {
711 + "description": "path:deny-join -> Denies the join command without any pre-configured scope.",
712 + "type": "string",
713 + "enum": ["path:deny-join"]
714 + },
715 + {
716 + "description": "path:deny-normalize -> Denies the normalize command without any pre-configured scope.",
717 + "type": "string",
718 + "enum": ["path:deny-normalize"]
719 + },
720 + {
721 + "description": "path:deny-resolve -> Denies the resolve command without any pre-configured scope.",
722 + "type": "string",
723 + "enum": ["path:deny-resolve"]
724 + },
725 + {
726 + "description": "path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",
727 + "type": "string",
728 + "enum": ["path:deny-resolve-directory"]
729 + },
730 + {
731 + "description": "resources:default -> Default permissions for the plugin.",
732 + "type": "string",
733 + "enum": ["resources:default"]
734 + },
735 + {
736 + "description": "resources:allow-close -> Enables the close command without any pre-configured scope.",
737 + "type": "string",
738 + "enum": ["resources:allow-close"]
739 + },
740 + {
741 + "description": "resources:deny-close -> Denies the close command without any pre-configured scope.",
742 + "type": "string",
743 + "enum": ["resources:deny-close"]
744 + },
745 + {
746 + "description": "tray:default -> Default permissions for the plugin.",
747 + "type": "string",
748 + "enum": ["tray:default"]
749 + },
750 + {
751 + "description": "tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",
752 + "type": "string",
753 + "enum": ["tray:allow-get-by-id"]
754 + },
755 + {
756 + "description": "tray:allow-new -> Enables the new command without any pre-configured scope.",
757 + "type": "string",
758 + "enum": ["tray:allow-new"]
759 + },
760 + {
761 + "description": "tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",
762 + "type": "string",
763 + "enum": ["tray:allow-remove-by-id"]
764 + },
765 + {
766 + "description": "tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
767 + "type": "string",
768 + "enum": ["tray:allow-set-icon"]
769 + },
770 + {
771 + "description": "tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",
772 + "type": "string",
773 + "enum": ["tray:allow-set-icon-as-template"]
774 + },
775 + {
776 + "description": "tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",
777 + "type": "string",
778 + "enum": ["tray:allow-set-menu"]
779 + },
780 + {
781 + "description": "tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",
782 + "type": "string",
783 + "enum": ["tray:allow-set-show-menu-on-left-click"]
784 + },
785 + {
786 + "description": "tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",
787 + "type": "string",
788 + "enum": ["tray:allow-set-temp-dir-path"]
789 + },
790 + {
791 + "description": "tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",
792 + "type": "string",
793 + "enum": ["tray:allow-set-title"]
794 + },
795 + {
796 + "description": "tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",
797 + "type": "string",
798 + "enum": ["tray:allow-set-tooltip"]
799 + },
800 + {
801 + "description": "tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",
802 + "type": "string",
803 + "enum": ["tray:allow-set-visible"]
804 + },
805 + {
806 + "description": "tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",
807 + "type": "string",
808 + "enum": ["tray:deny-get-by-id"]
809 + },
810 + {
811 + "description": "tray:deny-new -> Denies the new command without any pre-configured scope.",
812 + "type": "string",
813 + "enum": ["tray:deny-new"]
814 + },
815 + {
816 + "description": "tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",
817 + "type": "string",
818 + "enum": ["tray:deny-remove-by-id"]
819 + },
820 + {
821 + "description": "tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
822 + "type": "string",
823 + "enum": ["tray:deny-set-icon"]
824 + },
825 + {
826 + "description": "tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",
827 + "type": "string",
828 + "enum": ["tray:deny-set-icon-as-template"]
829 + },
830 + {
831 + "description": "tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",
832 + "type": "string",
833 + "enum": ["tray:deny-set-menu"]
834 + },
835 + {
836 + "description": "tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",
837 + "type": "string",
838 + "enum": ["tray:deny-set-show-menu-on-left-click"]
839 + },
840 + {
841 + "description": "tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",
842 + "type": "string",
843 + "enum": ["tray:deny-set-temp-dir-path"]
844 + },
845 + {
846 + "description": "tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",
847 + "type": "string",
848 + "enum": ["tray:deny-set-title"]
849 + },
850 + {
851 + "description": "tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",
852 + "type": "string",
853 + "enum": ["tray:deny-set-tooltip"]
854 + },
855 + {
856 + "description": "tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",
857 + "type": "string",
858 + "enum": ["tray:deny-set-visible"]
859 + },
860 + {
861 + "description": "webview:default -> Default permissions for the plugin.",
862 + "type": "string",
863 + "enum": ["webview:default"]
864 + },
865 + {
866 + "description": "webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",
867 + "type": "string",
868 + "enum": ["webview:allow-create-webview"]
869 + },
870 + {
871 + "description": "webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",
872 + "type": "string",
873 + "enum": ["webview:allow-create-webview-window"]
874 + },
875 + {
876 + "description": "webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
877 + "type": "string",
878 + "enum": ["webview:allow-internal-toggle-devtools"]
879 + },
880 + {
881 + "description": "webview:allow-print -> Enables the print command without any pre-configured scope.",
882 + "type": "string",
883 + "enum": ["webview:allow-print"]
884 + },
885 + {
886 + "description": "webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",
887 + "type": "string",
888 + "enum": ["webview:allow-reparent"]
889 + },
890 + {
891 + "description": "webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",
892 + "type": "string",
893 + "enum": ["webview:allow-set-webview-focus"]
894 + },
895 + {
896 + "description": "webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",
897 + "type": "string",
898 + "enum": ["webview:allow-set-webview-position"]
899 + },
900 + {
901 + "description": "webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",
902 + "type": "string",
903 + "enum": ["webview:allow-set-webview-size"]
904 + },
905 + {
906 + "description": "webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",
907 + "type": "string",
908 + "enum": ["webview:allow-set-webview-zoom"]
909 + },
910 + {
911 + "description": "webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",
912 + "type": "string",
913 + "enum": ["webview:allow-webview-close"]
914 + },
915 + {
916 + "description": "webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",
917 + "type": "string",
918 + "enum": ["webview:allow-webview-position"]
919 + },
920 + {
921 + "description": "webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",
922 + "type": "string",
923 + "enum": ["webview:allow-webview-size"]
924 + },
925 + {
926 + "description": "webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",
927 + "type": "string",
928 + "enum": ["webview:deny-create-webview"]
929 + },
930 + {
931 + "description": "webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",
932 + "type": "string",
933 + "enum": ["webview:deny-create-webview-window"]
934 + },
935 + {
936 + "description": "webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
937 + "type": "string",
938 + "enum": ["webview:deny-internal-toggle-devtools"]
939 + },
940 + {
941 + "description": "webview:deny-print -> Denies the print command without any pre-configured scope.",
942 + "type": "string",
943 + "enum": ["webview:deny-print"]
944 + },
945 + {
946 + "description": "webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",
947 + "type": "string",
948 + "enum": ["webview:deny-reparent"]
949 + },
950 + {
951 + "description": "webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",
952 + "type": "string",
953 + "enum": ["webview:deny-set-webview-focus"]
954 + },
955 + {
956 + "description": "webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",
957 + "type": "string",
958 + "enum": ["webview:deny-set-webview-position"]
959 + },
960 + {
961 + "description": "webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",
962 + "type": "string",
963 + "enum": ["webview:deny-set-webview-size"]
964 + },
965 + {
966 + "description": "webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",
967 + "type": "string",
968 + "enum": ["webview:deny-set-webview-zoom"]
969 + },
970 + {
971 + "description": "webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",
972 + "type": "string",
973 + "enum": ["webview:deny-webview-close"]
974 + },
975 + {
976 + "description": "webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",
977 + "type": "string",
978 + "enum": ["webview:deny-webview-position"]
979 + },
980 + {
981 + "description": "webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",
982 + "type": "string",
983 + "enum": ["webview:deny-webview-size"]
984 + },
985 + {
986 + "description": "window:default -> Default permissions for the plugin.",
987 + "type": "string",
988 + "enum": ["window:default"]
989 + },
990 + {
991 + "description": "window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",
992 + "type": "string",
993 + "enum": ["window:allow-available-monitors"]
994 + },
995 + {
996 + "description": "window:allow-center -> Enables the center command without any pre-configured scope.",
997 + "type": "string",
998 + "enum": ["window:allow-center"]
999 + },
1000 + {
1001 + "description": "window:allow-close -> Enables the close command without any pre-configured scope.",
1002 + "type": "string",
1003 + "enum": ["window:allow-close"]
1004 + },
1005 + {
1006 + "description": "window:allow-create -> Enables the create command without any pre-configured scope.",
1007 + "type": "string",
1008 + "enum": ["window:allow-create"]
1009 + },
1010 + {
1011 + "description": "window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",
1012 + "type": "string",
1013 + "enum": ["window:allow-current-monitor"]
1014 + },
1015 + {
1016 + "description": "window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",
1017 + "type": "string",
1018 + "enum": ["window:allow-cursor-position"]
1019 + },
1020 + {
1021 + "description": "window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
1022 + "type": "string",
1023 + "enum": ["window:allow-destroy"]
1024 + },
1025 + {
1026 + "description": "window:allow-hide -> Enables the hide command without any pre-configured scope.",
1027 + "type": "string",
1028 + "enum": ["window:allow-hide"]
1029 + },
1030 + {
1031 + "description": "window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",
1032 + "type": "string",
1033 + "enum": ["window:allow-inner-position"]
1034 + },
1035 + {
1036 + "description": "window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",
1037 + "type": "string",
1038 + "enum": ["window:allow-inner-size"]
1039 + },
1040 + {
1041 + "description": "window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",
1042 + "type": "string",
1043 + "enum": ["window:allow-internal-toggle-maximize"]
1044 + },
1045 + {
1046 + "description": "window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",
1047 + "type": "string",
1048 + "enum": ["window:allow-is-closable"]
1049 + },
1050 + {
1051 + "description": "window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",
1052 + "type": "string",
1053 + "enum": ["window:allow-is-decorated"]
1054 + },
1055 + {
1056 + "description": "window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",
1057 + "type": "string",
1058 + "enum": ["window:allow-is-focused"]
1059 + },
1060 + {
1061 + "description": "window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",
1062 + "type": "string",
1063 + "enum": ["window:allow-is-fullscreen"]
1064 + },
1065 + {
1066 + "description": "window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",
1067 + "type": "string",
1068 + "enum": ["window:allow-is-maximizable"]
1069 + },
1070 + {
1071 + "description": "window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",
1072 + "type": "string",
1073 + "enum": ["window:allow-is-maximized"]
1074 + },
1075 + {
1076 + "description": "window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",
1077 + "type": "string",
1078 + "enum": ["window:allow-is-minimizable"]
1079 + },
1080 + {
1081 + "description": "window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",
1082 + "type": "string",
1083 + "enum": ["window:allow-is-minimized"]
1084 + },
1085 + {
1086 + "description": "window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",
1087 + "type": "string",
1088 + "enum": ["window:allow-is-resizable"]
1089 + },
1090 + {
1091 + "description": "window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",
1092 + "type": "string",
1093 + "enum": ["window:allow-is-visible"]
1094 + },
1095 + {
1096 + "description": "window:allow-maximize -> Enables the maximize command without any pre-configured scope.",
1097 + "type": "string",
1098 + "enum": ["window:allow-maximize"]
1099 + },
1100 + {
1101 + "description": "window:allow-minimize -> Enables the minimize command without any pre-configured scope.",
1102 + "type": "string",
1103 + "enum": ["window:allow-minimize"]
1104 + },
1105 + {
1106 + "description": "window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",
1107 + "type": "string",
1108 + "enum": ["window:allow-monitor-from-point"]
1109 + },
1110 + {
1111 + "description": "window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
1112 + "type": "string",
1113 + "enum": ["window:allow-outer-position"]
1114 + },
1115 + {
1116 + "description": "window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",
1117 + "type": "string",
1118 + "enum": ["window:allow-outer-size"]
1119 + },
1120 + {
1121 + "description": "window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",
1122 + "type": "string",
1123 + "enum": ["window:allow-primary-monitor"]
1124 + },
1125 + {
1126 + "description": "window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",
1127 + "type": "string",
1128 + "enum": ["window:allow-request-user-attention"]
1129 + },
1130 + {
1131 + "description": "window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",
1132 + "type": "string",
1133 + "enum": ["window:allow-scale-factor"]
1134 + },
1135 + {
1136 + "description": "window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",
1137 + "type": "string",
1138 + "enum": ["window:allow-set-always-on-bottom"]
1139 + },
1140 + {
1141 + "description": "window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",
1142 + "type": "string",
1143 + "enum": ["window:allow-set-always-on-top"]
1144 + },
1145 + {
1146 + "description": "window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",
1147 + "type": "string",
1148 + "enum": ["window:allow-set-closable"]
1149 + },
1150 + {
1151 + "description": "window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",
1152 + "type": "string",
1153 + "enum": ["window:allow-set-content-protected"]
1154 + },
1155 + {
1156 + "description": "window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",
1157 + "type": "string",
1158 + "enum": ["window:allow-set-cursor-grab"]
1159 + },
1160 + {
1161 + "description": "window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",
1162 + "type": "string",
1163 + "enum": ["window:allow-set-cursor-icon"]
1164 + },
1165 + {
1166 + "description": "window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",
1167 + "type": "string",
1168 + "enum": ["window:allow-set-cursor-position"]
1169 + },
1170 + {
1171 + "description": "window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",
1172 + "type": "string",
1173 + "enum": ["window:allow-set-cursor-visible"]
1174 + },
1175 + {
1176 + "description": "window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",
1177 + "type": "string",
1178 + "enum": ["window:allow-set-decorations"]
1179 + },
1180 + {
1181 + "description": "window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",
1182 + "type": "string",
1183 + "enum": ["window:allow-set-effects"]
1184 + },
1185 + {
1186 + "description": "window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",
1187 + "type": "string",
1188 + "enum": ["window:allow-set-focus"]
1189 + },
1190 + {
1191 + "description": "window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",
1192 + "type": "string",
1193 + "enum": ["window:allow-set-fullscreen"]
1194 + },
1195 + {
1196 + "description": "window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1197 + "type": "string",
1198 + "enum": ["window:allow-set-icon"]
1199 + },
1200 + {
1201 + "description": "window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",
1202 + "type": "string",
1203 + "enum": ["window:allow-set-ignore-cursor-events"]
1204 + },
1205 + {
1206 + "description": "window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",
1207 + "type": "string",
1208 + "enum": ["window:allow-set-max-size"]
1209 + },
1210 + {
1211 + "description": "window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",
1212 + "type": "string",
1213 + "enum": ["window:allow-set-maximizable"]
1214 + },
1215 + {
1216 + "description": "window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",
1217 + "type": "string",
1218 + "enum": ["window:allow-set-min-size"]
1219 + },
1220 + {
1221 + "description": "window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",
1222 + "type": "string",
1223 + "enum": ["window:allow-set-minimizable"]
1224 + },
1225 + {
1226 + "description": "window:allow-set-position -> Enables the set_position command without any pre-configured scope.",
1227 + "type": "string",
1228 + "enum": ["window:allow-set-position"]
1229 + },
1230 + {
1231 + "description": "window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",
1232 + "type": "string",
1233 + "enum": ["window:allow-set-progress-bar"]
1234 + },
1235 + {
1236 + "description": "window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",
1237 + "type": "string",
1238 + "enum": ["window:allow-set-resizable"]
1239 + },
1240 + {
1241 + "description": "window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",
1242 + "type": "string",
1243 + "enum": ["window:allow-set-shadow"]
1244 + },
1245 + {
1246 + "description": "window:allow-set-size -> Enables the set_size command without any pre-configured scope.",
1247 + "type": "string",
1248 + "enum": ["window:allow-set-size"]
1249 + },
1250 + {
1251 + "description": "window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",
1252 + "type": "string",
1253 + "enum": ["window:allow-set-skip-taskbar"]
1254 + },
1255 + {
1256 + "description": "window:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1257 + "type": "string",
1258 + "enum": ["window:allow-set-title"]
1259 + },
1260 + {
1261 + "description": "window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",
1262 + "type": "string",
1263 + "enum": ["window:allow-set-title-bar-style"]
1264 + },
1265 + {
1266 + "description": "window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1267 + "type": "string",
1268 + "enum": ["window:allow-set-visible-on-all-workspaces"]
1269 + },
1270 + {
1271 + "description": "window:allow-show -> Enables the show command without any pre-configured scope.",
1272 + "type": "string",
1273 + "enum": ["window:allow-show"]
1274 + },
1275 + {
1276 + "description": "window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",
1277 + "type": "string",
1278 + "enum": ["window:allow-start-dragging"]
1279 + },
1280 + {
1281 + "description": "window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",
1282 + "type": "string",
1283 + "enum": ["window:allow-start-resize-dragging"]
1284 + },
1285 + {
1286 + "description": "window:allow-theme -> Enables the theme command without any pre-configured scope.",
1287 + "type": "string",
1288 + "enum": ["window:allow-theme"]
1289 + },
1290 + {
1291 + "description": "window:allow-title -> Enables the title command without any pre-configured scope.",
1292 + "type": "string",
1293 + "enum": ["window:allow-title"]
1294 + },
1295 + {
1296 + "description": "window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",
1297 + "type": "string",
1298 + "enum": ["window:allow-toggle-maximize"]
1299 + },
1300 + {
1301 + "description": "window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",
1302 + "type": "string",
1303 + "enum": ["window:allow-unmaximize"]
1304 + },
1305 + {
1306 + "description": "window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",
1307 + "type": "string",
1308 + "enum": ["window:allow-unminimize"]
1309 + },
1310 + {
1311 + "description": "window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",
1312 + "type": "string",
1313 + "enum": ["window:deny-available-monitors"]
1314 + },
1315 + {
1316 + "description": "window:deny-center -> Denies the center command without any pre-configured scope.",
1317 + "type": "string",
1318 + "enum": ["window:deny-center"]
1319 + },
1320 + {
1321 + "description": "window:deny-close -> Denies the close command without any pre-configured scope.",
1322 + "type": "string",
1323 + "enum": ["window:deny-close"]
1324 + },
1325 + {
1326 + "description": "window:deny-create -> Denies the create command without any pre-configured scope.",
1327 + "type": "string",
1328 + "enum": ["window:deny-create"]
1329 + },
1330 + {
1331 + "description": "window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",
1332 + "type": "string",
1333 + "enum": ["window:deny-current-monitor"]
1334 + },
1335 + {
1336 + "description": "window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",
1337 + "type": "string",
1338 + "enum": ["window:deny-cursor-position"]
1339 + },
1340 + {
1341 + "description": "window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
1342 + "type": "string",
1343 + "enum": ["window:deny-destroy"]
1344 + },
1345 + {
1346 + "description": "window:deny-hide -> Denies the hide command without any pre-configured scope.",
1347 + "type": "string",
1348 + "enum": ["window:deny-hide"]
1349 + },
1350 + {
1351 + "description": "window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",
1352 + "type": "string",
1353 + "enum": ["window:deny-inner-position"]
1354 + },
1355 + {
1356 + "description": "window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",
1357 + "type": "string",
1358 + "enum": ["window:deny-inner-size"]
1359 + },
1360 + {
1361 + "description": "window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",
1362 + "type": "string",
1363 + "enum": ["window:deny-internal-toggle-maximize"]
1364 + },
1365 + {
1366 + "description": "window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",
1367 + "type": "string",
1368 + "enum": ["window:deny-is-closable"]
1369 + },
1370 + {
1371 + "description": "window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",
1372 + "type": "string",
1373 + "enum": ["window:deny-is-decorated"]
1374 + },
1375 + {
1376 + "description": "window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",
1377 + "type": "string",
1378 + "enum": ["window:deny-is-focused"]
1379 + },
1380 + {
1381 + "description": "window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",
1382 + "type": "string",
1383 + "enum": ["window:deny-is-fullscreen"]
1384 + },
1385 + {
1386 + "description": "window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",
1387 + "type": "string",
1388 + "enum": ["window:deny-is-maximizable"]
1389 + },
1390 + {
1391 + "description": "window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",
1392 + "type": "string",
1393 + "enum": ["window:deny-is-maximized"]
1394 + },
1395 + {
1396 + "description": "window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",
1397 + "type": "string",
1398 + "enum": ["window:deny-is-minimizable"]
1399 + },
1400 + {
1401 + "description": "window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",
1402 + "type": "string",
1403 + "enum": ["window:deny-is-minimized"]
1404 + },
1405 + {
1406 + "description": "window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",
1407 + "type": "string",
1408 + "enum": ["window:deny-is-resizable"]
1409 + },
1410 + {
1411 + "description": "window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",
1412 + "type": "string",
1413 + "enum": ["window:deny-is-visible"]
1414 + },
1415 + {
1416 + "description": "window:deny-maximize -> Denies the maximize command without any pre-configured scope.",
1417 + "type": "string",
1418 + "enum": ["window:deny-maximize"]
1419 + },
1420 + {
1421 + "description": "window:deny-minimize -> Denies the minimize command without any pre-configured scope.",
1422 + "type": "string",
1423 + "enum": ["window:deny-minimize"]
1424 + },
1425 + {
1426 + "description": "window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",
1427 + "type": "string",
1428 + "enum": ["window:deny-monitor-from-point"]
1429 + },
1430 + {
1431 + "description": "window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
1432 + "type": "string",
1433 + "enum": ["window:deny-outer-position"]
1434 + },
1435 + {
1436 + "description": "window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",
1437 + "type": "string",
1438 + "enum": ["window:deny-outer-size"]
1439 + },
1440 + {
1441 + "description": "window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",
1442 + "type": "string",
1443 + "enum": ["window:deny-primary-monitor"]
1444 + },
1445 + {
1446 + "description": "window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",
1447 + "type": "string",
1448 + "enum": ["window:deny-request-user-attention"]
1449 + },
1450 + {
1451 + "description": "window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",
1452 + "type": "string",
1453 + "enum": ["window:deny-scale-factor"]
1454 + },
1455 + {
1456 + "description": "window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",
1457 + "type": "string",
1458 + "enum": ["window:deny-set-always-on-bottom"]
1459 + },
1460 + {
1461 + "description": "window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",
1462 + "type": "string",
1463 + "enum": ["window:deny-set-always-on-top"]
1464 + },
1465 + {
1466 + "description": "window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",
1467 + "type": "string",
1468 + "enum": ["window:deny-set-closable"]
1469 + },
1470 + {
1471 + "description": "window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",
1472 + "type": "string",
1473 + "enum": ["window:deny-set-content-protected"]
1474 + },
1475 + {
1476 + "description": "window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",
1477 + "type": "string",
1478 + "enum": ["window:deny-set-cursor-grab"]
1479 + },
1480 + {
1481 + "description": "window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",
1482 + "type": "string",
1483 + "enum": ["window:deny-set-cursor-icon"]
1484 + },
1485 + {
1486 + "description": "window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",
1487 + "type": "string",
1488 + "enum": ["window:deny-set-cursor-position"]
1489 + },
1490 + {
1491 + "description": "window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",
1492 + "type": "string",
1493 + "enum": ["window:deny-set-cursor-visible"]
1494 + },
1495 + {
1496 + "description": "window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",
1497 + "type": "string",
1498 + "enum": ["window:deny-set-decorations"]
1499 + },
1500 + {
1501 + "description": "window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",
1502 + "type": "string",
1503 + "enum": ["window:deny-set-effects"]
1504 + },
1505 + {
1506 + "description": "window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",
1507 + "type": "string",
1508 + "enum": ["window:deny-set-focus"]
1509 + },
1510 + {
1511 + "description": "window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",
1512 + "type": "string",
1513 + "enum": ["window:deny-set-fullscreen"]
1514 + },
1515 + {
1516 + "description": "window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
1517 + "type": "string",
1518 + "enum": ["window:deny-set-icon"]
1519 + },
1520 + {
1521 + "description": "window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",
1522 + "type": "string",
1523 + "enum": ["window:deny-set-ignore-cursor-events"]
1524 + },
1525 + {
1526 + "description": "window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",
1527 + "type": "string",
1528 + "enum": ["window:deny-set-max-size"]
1529 + },
1530 + {
1531 + "description": "window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",
1532 + "type": "string",
1533 + "enum": ["window:deny-set-maximizable"]
1534 + },
1535 + {
1536 + "description": "window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",
1537 + "type": "string",
1538 + "enum": ["window:deny-set-min-size"]
1539 + },
1540 + {
1541 + "description": "window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",
1542 + "type": "string",
1543 + "enum": ["window:deny-set-minimizable"]
1544 + },
1545 + {
1546 + "description": "window:deny-set-position -> Denies the set_position command without any pre-configured scope.",
1547 + "type": "string",
1548 + "enum": ["window:deny-set-position"]
1549 + },
1550 + {
1551 + "description": "window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",
1552 + "type": "string",
1553 + "enum": ["window:deny-set-progress-bar"]
1554 + },
1555 + {
1556 + "description": "window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",
1557 + "type": "string",
1558 + "enum": ["window:deny-set-resizable"]
1559 + },
1560 + {
1561 + "description": "window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",
1562 + "type": "string",
1563 + "enum": ["window:deny-set-shadow"]
1564 + },
1565 + {
1566 + "description": "window:deny-set-size -> Denies the set_size command without any pre-configured scope.",
1567 + "type": "string",
1568 + "enum": ["window:deny-set-size"]
1569 + },
1570 + {
1571 + "description": "window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",
1572 + "type": "string",
1573 + "enum": ["window:deny-set-skip-taskbar"]
1574 + },
1575 + {
1576 + "description": "window:deny-set-title -> Denies the set_title command without any pre-configured scope.",
1577 + "type": "string",
1578 + "enum": ["window:deny-set-title"]
1579 + },
1580 + {
1581 + "description": "window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",
1582 + "type": "string",
1583 + "enum": ["window:deny-set-title-bar-style"]
1584 + },
1585 + {
1586 + "description": "window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
1587 + "type": "string",
1588 + "enum": ["window:deny-set-visible-on-all-workspaces"]
1589 + },
1590 + {
1591 + "description": "window:deny-show -> Denies the show command without any pre-configured scope.",
1592 + "type": "string",
1593 + "enum": ["window:deny-show"]
1594 + },
1595 + {
1596 + "description": "window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",
1597 + "type": "string",
1598 + "enum": ["window:deny-start-dragging"]
1599 + },
1600 + {
1601 + "description": "window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",
1602 + "type": "string",
1603 + "enum": ["window:deny-start-resize-dragging"]
1604 + },
1605 + {
1606 + "description": "window:deny-theme -> Denies the theme command without any pre-configured scope.",
1607 + "type": "string",
1608 + "enum": ["window:deny-theme"]
1609 + },
1610 + {
1611 + "description": "window:deny-title -> Denies the title command without any pre-configured scope.",
1612 + "type": "string",
1613 + "enum": ["window:deny-title"]
1614 + },
1615 + {
1616 + "description": "window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",
1617 + "type": "string",
1618 + "enum": ["window:deny-toggle-maximize"]
1619 + },
1620 + {
1621 + "description": "window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",
1622 + "type": "string",
1623 + "enum": ["window:deny-unmaximize"]
1624 + },
1625 + {
1626 + "description": "window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",
1627 + "type": "string",
1628 + "enum": ["window:deny-unminimize"]
1629 + }
1630 + ]
1631 + },
1632 + "Value": {
1633 + "description": "All supported ACL values.",
1634 + "anyOf": [
1635 + {
1636 + "description": "Represents a null JSON value.",
1637 + "type": "null"
1638 + },
1639 + {
1640 + "description": "Represents a [`bool`].",
1641 + "type": "boolean"
1642 + },
1643 + {
1644 + "description": "Represents a valid ACL [`Number`].",
1645 + "allOf": [
1646 + {
1647 + "$ref": "#/definitions/Number"
1648 + }
1649 + ]
1650 + },
1651 + {
1652 + "description": "Represents a [`String`].",
1653 + "type": "string"
1654 + },
1655 + {
1656 + "description": "Represents a list of other [`Value`]s.",
1657 + "type": "array",
1658 + "items": {
1659 + "$ref": "#/definitions/Value"
1660 + }
1661 + },
1662 + {
1663 + "description": "Represents a map of [`String`] keys to [`Value`]s.",
1664 + "type": "object",
1665 + "additionalProperties": {
1666 + "$ref": "#/definitions/Value"
1667 + }
1668 + }
1669 + ]
1670 + },
1671 + "Number": {
1672 + "description": "A valid ACL number.",
1673 + "anyOf": [
1674 + {
1675 + "description": "Represents an [`i64`].",
1676 + "type": "integer",
1677 + "format": "int64"
1678 + },
1679 + {
1680 + "description": "Represents a [`f64`].",
1681 + "type": "number",
1682 + "format": "double"
1683 + }
1684 + ]
1685 + },
1686 + "Target": {
1687 + "description": "Platform target.",
1688 + "oneOf": [
1689 + {
1690 + "description": "MacOS.",
1691 + "type": "string",
1692 + "enum": ["macOS"]
1693 + },
1694 + {
1695 + "description": "Windows.",
1696 + "type": "string",
1697 + "enum": ["windows"]
1698 + },
1699 + {
1700 + "description": "Linux.",
1701 + "type": "string",
1702 + "enum": ["linux"]
1703 + },
1704 + {
1705 + "description": "Android.",
1706 + "type": "string",
1707 + "enum": ["android"]
1708 + },
1709 + {
1710 + "description": "iOS.",
1711 + "type": "string",
1712 + "enum": ["iOS"]
1713 + }
1714 + ]
1715 + }
1716 + }
1717 +}
examples/tauri-app/src-tauri/gen/schemas/mobile-schema.json
+1776 -2418
@@ -1,2419 +1,1777 @@
1 {
2 - "$schema": "http://json-schema.org/draft-07/schema#",
3 - "title": "CapabilityFile",
4 - "description": "Capability formats accepted in a capability file.",
5 - "anyOf": [
6 - {
7 - "description": "A single capability.",
8 - "allOf": [
9 - {
10 - "$ref": "#/definitions/Capability"
11 - }
12 - ]
13 - },
14 - {
15 - "description": "A list of capabilities.",
16 - "type": "array",
17 - "items": {
18 - "$ref": "#/definitions/Capability"
19 - }
20 - },
21 - {
22 - "description": "A list of capabilities.",
23 - "type": "object",
24 - "required": [
25 - "capabilities"
26 - ],
27 - "properties": {
28 - "capabilities": {
29 - "description": "The list of capabilities.",
30 - "type": "array",
31 - "items": {
32 - "$ref": "#/definitions/Capability"
33 - }
34 - }
35 - }
36 - }
37 - ],
38 - "definitions": {
39 - "Capability": {
40 - "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"core:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",
41 - "type": "object",
42 - "required": [
43 - "identifier",
44 - "permissions"
45 - ],
46 - "properties": {
47 - "identifier": {
48 - "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
49 - "type": "string"
50 - },
51 - "description": {
52 - "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",
53 - "default": "",
54 - "type": "string"
55 - },
56 - "remote": {
57 - "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",
58 - "anyOf": [
59 - {
60 - "$ref": "#/definitions/CapabilityRemote"
61 - },
62 - {
63 - "type": "null"
64 - }
65 - ]
66 - },
67 - "local": {
68 - "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
69 - "default": true,
70 - "type": "boolean"
71 - },
72 - "windows": {
73 - "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
74 - "type": "array",
75 - "items": {
76 - "type": "string"
77 - }
78 - },
79 - "webviews": {
80 - "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
81 - "type": "array",
82 - "items": {
83 - "type": "string"
84 - }
85 - },
86 - "permissions": {
87 - "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",
88 - "type": "array",
89 - "items": {
90 - "$ref": "#/definitions/PermissionEntry"
91 - },
92 - "uniqueItems": true
93 - },
94 - "platforms": {
95 - "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
96 - "type": [
97 - "array",
98 - "null"
99 - ],
100 - "items": {
101 - "$ref": "#/definitions/Target"
102 - }
103 - }
104 - }
105 - },
106 - "CapabilityRemote": {
107 - "description": "Configuration for remote URLs that are associated with the capability.",
108 - "type": "object",
109 - "required": [
110 - "urls"
111 - ],
112 - "properties": {
113 - "urls": {
114 - "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
115 - "type": "array",
116 - "items": {
117 - "type": "string"
118 - }
119 - }
120 - }
121 - },
122 - "PermissionEntry": {
123 - "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
124 - "anyOf": [
125 - {
126 - "description": "Reference a permission or permission set by identifier.",
127 - "allOf": [
128 - {
129 - "$ref": "#/definitions/Identifier"
130 - }
131 - ]
132 - },
133 - {
134 - "description": "Reference a permission or permission set by identifier and extends its scope.",
135 - "type": "object",
136 - "required": [
137 - "identifier"
138 - ],
139 - "properties": {
140 - "identifier": {
141 - "description": "Identifier of the permission or permission set.",
142 - "allOf": [
143 - {
144 - "$ref": "#/definitions/Identifier"
145 - }
146 - ]
147 - },
148 - "allow": {
149 - "description": "Data that defines what is allowed by the scope.",
150 - "type": [
151 - "array",
152 - "null"
153 - ],
154 - "items": {
155 - "$ref": "#/definitions/Value"
156 - }
157 - },
158 - "deny": {
159 - "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
160 - "type": [
161 - "array",
162 - "null"
163 - ],
164 - "items": {
165 - "$ref": "#/definitions/Value"
166 - }
167 - }
168 - }
169 - }
170 - ]
171 - },
172 - "Identifier": {
173 - "oneOf": [
174 - {
175 - "description": "admob:default -> Default permissions for the plugin",
176 - "type": "string",
177 - "enum": [
178 - "admob:default"
179 - ]
180 - },
181 - {
182 - "description": "admob:allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
183 - "type": "string",
184 - "enum": [
185 - "admob:allow-adCreate"
186 - ]
187 - },
188 - {
189 - "description": "admob:allow-adHide -> Enables the adHide command without any pre-configured scope.",
190 - "type": "string",
191 - "enum": [
192 - "admob:allow-adHide"
193 - ]
194 - },
195 - {
196 - "description": "admob:allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
197 - "type": "string",
198 - "enum": [
199 - "admob:allow-adIsLoaded"
200 - ]
201 - },
202 - {
203 - "description": "admob:allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
204 - "type": "string",
205 - "enum": [
206 - "admob:allow-adLoad"
207 - ]
208 - },
209 - {
210 - "description": "admob:allow-adShow -> Enables the adShow command without any pre-configured scope.",
211 - "type": "string",
212 - "enum": [
213 - "admob:allow-adShow"
214 - ]
215 - },
216 - {
217 - "description": "admob:allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
218 - "type": "string",
219 - "enum": [
220 - "admob:allow-configRequest"
221 - ]
222 - },
223 - {
224 - "description": "admob:allow-configure -> Enables the configure command without any pre-configured scope.",
225 - "type": "string",
226 - "enum": [
227 - "admob:allow-configure"
228 - ]
229 - },
230 - {
231 - "description": "admob:allow-isPrivacyOptionsRequired -> Enables the isPrivacyOptionsRequired command without any pre-configured scope.",
232 - "type": "string",
233 - "enum": [
234 - "admob:allow-isPrivacyOptionsRequired"
235 - ]
236 - },
237 - {
238 - "description": "admob:allow-register-listener -> Enables the register_listener command without any pre-configured scope.",
239 - "type": "string",
240 - "enum": [
241 - "admob:allow-register-listener"
242 - ]
243 - },
244 - {
245 - "description": "admob:allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
246 - "type": "string",
247 - "enum": [
248 - "admob:allow-requestTrackingAuthorization"
249 - ]
250 - },
251 - {
252 - "description": "admob:allow-showPrivacyOptionsForm -> Enables the showPrivacyOptionsForm command without any pre-configured scope.",
253 - "type": "string",
254 - "enum": [
255 - "admob:allow-showPrivacyOptionsForm"
256 - ]
257 - },
258 - {
259 - "description": "admob:allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
260 - "type": "string",
261 - "enum": [
262 - "admob:allow-trackingAuthorizationStatus"
263 - ]
264 - },
265 - {
266 - "description": "admob:deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
267 - "type": "string",
268 - "enum": [
269 - "admob:deny-adCreate"
270 - ]
271 - },
272 - {
273 - "description": "admob:deny-adHide -> Denies the adHide command without any pre-configured scope.",
274 - "type": "string",
275 - "enum": [
276 - "admob:deny-adHide"
277 - ]
278 - },
279 - {
280 - "description": "admob:deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
281 - "type": "string",
282 - "enum": [
283 - "admob:deny-adIsLoaded"
284 - ]
285 - },
286 - {
287 - "description": "admob:deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
288 - "type": "string",
289 - "enum": [
290 - "admob:deny-adLoad"
291 - ]
292 - },
293 - {
294 - "description": "admob:deny-adShow -> Denies the adShow command without any pre-configured scope.",
295 - "type": "string",
296 - "enum": [
297 - "admob:deny-adShow"
298 - ]
299 - },
300 - {
301 - "description": "admob:deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
302 - "type": "string",
303 - "enum": [
304 - "admob:deny-configRequest"
305 - ]
306 - },
307 - {
308 - "description": "admob:deny-configure -> Denies the configure command without any pre-configured scope.",
309 - "type": "string",
310 - "enum": [
311 - "admob:deny-configure"
312 - ]
313 - },
314 - {
315 - "description": "admob:deny-isPrivacyOptionsRequired -> Denies the isPrivacyOptionsRequired command without any pre-configured scope.",
316 - "type": "string",
317 - "enum": [
318 - "admob:deny-isPrivacyOptionsRequired"
319 - ]
320 - },
321 - {
322 - "description": "admob:deny-register-listener -> Denies the register_listener command without any pre-configured scope.",
323 - "type": "string",
324 - "enum": [
325 - "admob:deny-register-listener"
326 - ]
327 - },
328 - {
329 - "description": "admob:deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
330 - "type": "string",
331 - "enum": [
332 - "admob:deny-requestTrackingAuthorization"
333 - ]
334 - },
335 - {
336 - "description": "admob:deny-showPrivacyOptionsForm -> Denies the showPrivacyOptionsForm command without any pre-configured scope.",
337 - "type": "string",
338 - "enum": [
339 - "admob:deny-showPrivacyOptionsForm"
340 - ]
341 - },
342 - {
343 - "description": "admob:deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
344 - "type": "string",
345 - "enum": [
346 - "admob:deny-trackingAuthorizationStatus"
347 - ]
348 - },
349 - {
350 - "description": "core:app:default -> Default permissions for the plugin.",
351 - "type": "string",
352 - "enum": [
353 - "core:app:default"
354 - ]
355 - },
356 - {
357 - "description": "core:app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",
358 - "type": "string",
359 - "enum": [
360 - "core:app:allow-app-hide"
361 - ]
362 - },
363 - {
364 - "description": "core:app:allow-app-show -> Enables the app_show command without any pre-configured scope.",
365 - "type": "string",
366 - "enum": [
367 - "core:app:allow-app-show"
368 - ]
369 - },
370 - {
371 - "description": "core:app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",
372 - "type": "string",
373 - "enum": [
374 - "core:app:allow-default-window-icon"
375 - ]
376 - },
377 - {
378 - "description": "core:app:allow-name -> Enables the name command without any pre-configured scope.",
379 - "type": "string",
380 - "enum": [
381 - "core:app:allow-name"
382 - ]
383 - },
384 - {
385 - "description": "core:app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",
386 - "type": "string",
387 - "enum": [
388 - "core:app:allow-tauri-version"
389 - ]
390 - },
391 - {
392 - "description": "core:app:allow-version -> Enables the version command without any pre-configured scope.",
393 - "type": "string",
394 - "enum": [
395 - "core:app:allow-version"
396 - ]
397 - },
398 - {
399 - "description": "core:app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",
400 - "type": "string",
401 - "enum": [
402 - "core:app:deny-app-hide"
403 - ]
404 - },
405 - {
406 - "description": "core:app:deny-app-show -> Denies the app_show command without any pre-configured scope.",
407 - "type": "string",
408 - "enum": [
409 - "core:app:deny-app-show"
410 - ]
411 - },
412 - {
413 - "description": "core:app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",
414 - "type": "string",
415 - "enum": [
416 - "core:app:deny-default-window-icon"
417 - ]
418 - },
419 - {
420 - "description": "core:app:deny-name -> Denies the name command without any pre-configured scope.",
421 - "type": "string",
422 - "enum": [
423 - "core:app:deny-name"
424 - ]
425 - },
426 - {
427 - "description": "core:app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",
428 - "type": "string",
429 - "enum": [
430 - "core:app:deny-tauri-version"
431 - ]
432 - },
433 - {
434 - "description": "core:app:deny-version -> Denies the version command without any pre-configured scope.",
435 - "type": "string",
436 - "enum": [
437 - "core:app:deny-version"
438 - ]
439 - },
440 - {
441 - "description": "core:event:default -> Default permissions for the plugin.",
442 - "type": "string",
443 - "enum": [
444 - "core:event:default"
445 - ]
446 - },
447 - {
448 - "description": "core:event:allow-emit -> Enables the emit command without any pre-configured scope.",
449 - "type": "string",
450 - "enum": [
451 - "core:event:allow-emit"
452 - ]
453 - },
454 - {
455 - "description": "core:event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",
456 - "type": "string",
457 - "enum": [
458 - "core:event:allow-emit-to"
459 - ]
460 - },
461 - {
462 - "description": "core:event:allow-listen -> Enables the listen command without any pre-configured scope.",
463 - "type": "string",
464 - "enum": [
465 - "core:event:allow-listen"
466 - ]
467 - },
468 - {
469 - "description": "core:event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",
470 - "type": "string",
471 - "enum": [
472 - "core:event:allow-unlisten"
473 - ]
474 - },
475 - {
476 - "description": "core:event:deny-emit -> Denies the emit command without any pre-configured scope.",
477 - "type": "string",
478 - "enum": [
479 - "core:event:deny-emit"
480 - ]
481 - },
482 - {
483 - "description": "core:event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",
484 - "type": "string",
485 - "enum": [
486 - "core:event:deny-emit-to"
487 - ]
488 - },
489 - {
490 - "description": "core:event:deny-listen -> Denies the listen command without any pre-configured scope.",
491 - "type": "string",
492 - "enum": [
493 - "core:event:deny-listen"
494 - ]
495 - },
496 - {
497 - "description": "core:event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",
498 - "type": "string",
499 - "enum": [
500 - "core:event:deny-unlisten"
501 - ]
502 - },
503 - {
504 - "description": "core:image:default -> Default permissions for the plugin.",
505 - "type": "string",
506 - "enum": [
507 - "core:image:default"
508 - ]
509 - },
510 - {
511 - "description": "core:image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",
512 - "type": "string",
513 - "enum": [
514 - "core:image:allow-from-bytes"
515 - ]
516 - },
517 - {
518 - "description": "core:image:allow-from-path -> Enables the from_path command without any pre-configured scope.",
519 - "type": "string",
520 - "enum": [
521 - "core:image:allow-from-path"
522 - ]
523 - },
524 - {
525 - "description": "core:image:allow-new -> Enables the new command without any pre-configured scope.",
526 - "type": "string",
527 - "enum": [
528 - "core:image:allow-new"
529 - ]
530 - },
531 - {
532 - "description": "core:image:allow-rgba -> Enables the rgba command without any pre-configured scope.",
533 - "type": "string",
534 - "enum": [
535 - "core:image:allow-rgba"
536 - ]
537 - },
538 - {
539 - "description": "core:image:allow-size -> Enables the size command without any pre-configured scope.",
540 - "type": "string",
541 - "enum": [
542 - "core:image:allow-size"
543 - ]
544 - },
545 - {
546 - "description": "core:image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",
547 - "type": "string",
548 - "enum": [
549 - "core:image:deny-from-bytes"
550 - ]
551 - },
552 - {
553 - "description": "core:image:deny-from-path -> Denies the from_path command without any pre-configured scope.",
554 - "type": "string",
555 - "enum": [
556 - "core:image:deny-from-path"
557 - ]
558 - },
559 - {
560 - "description": "core:image:deny-new -> Denies the new command without any pre-configured scope.",
561 - "type": "string",
562 - "enum": [
563 - "core:image:deny-new"
564 - ]
565 - },
566 - {
567 - "description": "core:image:deny-rgba -> Denies the rgba command without any pre-configured scope.",
568 - "type": "string",
569 - "enum": [
570 - "core:image:deny-rgba"
571 - ]
572 - },
573 - {
574 - "description": "core:image:deny-size -> Denies the size command without any pre-configured scope.",
575 - "type": "string",
576 - "enum": [
577 - "core:image:deny-size"
578 - ]
579 - },
580 - {
581 - "description": "core:menu:default -> Default permissions for the plugin.",
582 - "type": "string",
583 - "enum": [
584 - "core:menu:default"
585 - ]
586 - },
587 - {
588 - "description": "core:menu:allow-append -> Enables the append command without any pre-configured scope.",
589 - "type": "string",
590 - "enum": [
591 - "core:menu:allow-append"
592 - ]
593 - },
594 - {
595 - "description": "core:menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",
596 - "type": "string",
597 - "enum": [
598 - "core:menu:allow-create-default"
599 - ]
600 - },
601 - {
602 - "description": "core:menu:allow-get -> Enables the get command without any pre-configured scope.",
603 - "type": "string",
604 - "enum": [
605 - "core:menu:allow-get"
606 - ]
607 - },
608 - {
609 - "description": "core:menu:allow-insert -> Enables the insert command without any pre-configured scope.",
610 - "type": "string",
611 - "enum": [
612 - "core:menu:allow-insert"
613 - ]
614 - },
615 - {
616 - "description": "core:menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",
617 - "type": "string",
618 - "enum": [
619 - "core:menu:allow-is-checked"
620 - ]
621 - },
622 - {
623 - "description": "core:menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",
624 - "type": "string",
625 - "enum": [
626 - "core:menu:allow-is-enabled"
627 - ]
628 - },
629 - {
630 - "description": "core:menu:allow-items -> Enables the items command without any pre-configured scope.",
631 - "type": "string",
632 - "enum": [
633 - "core:menu:allow-items"
634 - ]
635 - },
636 - {
637 - "description": "core:menu:allow-new -> Enables the new command without any pre-configured scope.",
638 - "type": "string",
639 - "enum": [
640 - "core:menu:allow-new"
641 - ]
642 - },
643 - {
644 - "description": "core:menu:allow-popup -> Enables the popup command without any pre-configured scope.",
645 - "type": "string",
646 - "enum": [
647 - "core:menu:allow-popup"
648 - ]
649 - },
650 - {
651 - "description": "core:menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",
652 - "type": "string",
653 - "enum": [
654 - "core:menu:allow-prepend"
655 - ]
656 - },
657 - {
658 - "description": "core:menu:allow-remove -> Enables the remove command without any pre-configured scope.",
659 - "type": "string",
660 - "enum": [
661 - "core:menu:allow-remove"
662 - ]
663 - },
664 - {
665 - "description": "core:menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",
666 - "type": "string",
667 - "enum": [
668 - "core:menu:allow-remove-at"
669 - ]
670 - },
671 - {
672 - "description": "core:menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",
673 - "type": "string",
674 - "enum": [
675 - "core:menu:allow-set-accelerator"
676 - ]
677 - },
678 - {
679 - "description": "core:menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",
680 - "type": "string",
681 - "enum": [
682 - "core:menu:allow-set-as-app-menu"
683 - ]
684 - },
685 - {
686 - "description": "core:menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
687 - "type": "string",
688 - "enum": [
689 - "core:menu:allow-set-as-help-menu-for-nsapp"
690 - ]
691 - },
692 - {
693 - "description": "core:menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",
694 - "type": "string",
695 - "enum": [
696 - "core:menu:allow-set-as-window-menu"
697 - ]
698 - },
699 - {
700 - "description": "core:menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
701 - "type": "string",
702 - "enum": [
703 - "core:menu:allow-set-as-windows-menu-for-nsapp"
704 - ]
705 - },
706 - {
707 - "description": "core:menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",
708 - "type": "string",
709 - "enum": [
710 - "core:menu:allow-set-checked"
711 - ]
712 - },
713 - {
714 - "description": "core:menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",
715 - "type": "string",
716 - "enum": [
717 - "core:menu:allow-set-enabled"
718 - ]
719 - },
720 - {
721 - "description": "core:menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
722 - "type": "string",
723 - "enum": [
724 - "core:menu:allow-set-icon"
725 - ]
726 - },
727 - {
728 - "description": "core:menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",
729 - "type": "string",
730 - "enum": [
731 - "core:menu:allow-set-text"
732 - ]
733 - },
734 - {
735 - "description": "core:menu:allow-text -> Enables the text command without any pre-configured scope.",
736 - "type": "string",
737 - "enum": [
738 - "core:menu:allow-text"
739 - ]
740 - },
741 - {
742 - "description": "core:menu:deny-append -> Denies the append command without any pre-configured scope.",
743 - "type": "string",
744 - "enum": [
745 - "core:menu:deny-append"
746 - ]
747 - },
748 - {
749 - "description": "core:menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",
750 - "type": "string",
751 - "enum": [
752 - "core:menu:deny-create-default"
753 - ]
754 - },
755 - {
756 - "description": "core:menu:deny-get -> Denies the get command without any pre-configured scope.",
757 - "type": "string",
758 - "enum": [
759 - "core:menu:deny-get"
760 - ]
761 - },
762 - {
763 - "description": "core:menu:deny-insert -> Denies the insert command without any pre-configured scope.",
764 - "type": "string",
765 - "enum": [
766 - "core:menu:deny-insert"
767 - ]
768 - },
769 - {
770 - "description": "core:menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",
771 - "type": "string",
772 - "enum": [
773 - "core:menu:deny-is-checked"
774 - ]
775 - },
776 - {
777 - "description": "core:menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",
778 - "type": "string",
779 - "enum": [
780 - "core:menu:deny-is-enabled"
781 - ]
782 - },
783 - {
784 - "description": "core:menu:deny-items -> Denies the items command without any pre-configured scope.",
785 - "type": "string",
786 - "enum": [
787 - "core:menu:deny-items"
788 - ]
789 - },
790 - {
791 - "description": "core:menu:deny-new -> Denies the new command without any pre-configured scope.",
792 - "type": "string",
793 - "enum": [
794 - "core:menu:deny-new"
795 - ]
796 - },
797 - {
798 - "description": "core:menu:deny-popup -> Denies the popup command without any pre-configured scope.",
799 - "type": "string",
800 - "enum": [
801 - "core:menu:deny-popup"
802 - ]
803 - },
804 - {
805 - "description": "core:menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",
806 - "type": "string",
807 - "enum": [
808 - "core:menu:deny-prepend"
809 - ]
810 - },
811 - {
812 - "description": "core:menu:deny-remove -> Denies the remove command without any pre-configured scope.",
813 - "type": "string",
814 - "enum": [
815 - "core:menu:deny-remove"
816 - ]
817 - },
818 - {
819 - "description": "core:menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",
820 - "type": "string",
821 - "enum": [
822 - "core:menu:deny-remove-at"
823 - ]
824 - },
825 - {
826 - "description": "core:menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",
827 - "type": "string",
828 - "enum": [
829 - "core:menu:deny-set-accelerator"
830 - ]
831 - },
832 - {
833 - "description": "core:menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",
834 - "type": "string",
835 - "enum": [
836 - "core:menu:deny-set-as-app-menu"
837 - ]
838 - },
839 - {
840 - "description": "core:menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
841 - "type": "string",
842 - "enum": [
843 - "core:menu:deny-set-as-help-menu-for-nsapp"
844 - ]
845 - },
846 - {
847 - "description": "core:menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",
848 - "type": "string",
849 - "enum": [
850 - "core:menu:deny-set-as-window-menu"
851 - ]
852 - },
853 - {
854 - "description": "core:menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
855 - "type": "string",
856 - "enum": [
857 - "core:menu:deny-set-as-windows-menu-for-nsapp"
858 - ]
859 - },
860 - {
861 - "description": "core:menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",
862 - "type": "string",
863 - "enum": [
864 - "core:menu:deny-set-checked"
865 - ]
866 - },
867 - {
868 - "description": "core:menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",
869 - "type": "string",
870 - "enum": [
871 - "core:menu:deny-set-enabled"
872 - ]
873 - },
874 - {
875 - "description": "core:menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
876 - "type": "string",
877 - "enum": [
878 - "core:menu:deny-set-icon"
879 - ]
880 - },
881 - {
882 - "description": "core:menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",
883 - "type": "string",
884 - "enum": [
885 - "core:menu:deny-set-text"
886 - ]
887 - },
888 - {
889 - "description": "core:menu:deny-text -> Denies the text command without any pre-configured scope.",
890 - "type": "string",
891 - "enum": [
892 - "core:menu:deny-text"
893 - ]
894 - },
895 - {
896 - "description": "core:path:default -> Default permissions for the plugin.",
897 - "type": "string",
898 - "enum": [
899 - "core:path:default"
900 - ]
901 - },
902 - {
903 - "description": "core:path:allow-basename -> Enables the basename command without any pre-configured scope.",
904 - "type": "string",
905 - "enum": [
906 - "core:path:allow-basename"
907 - ]
908 - },
909 - {
910 - "description": "core:path:allow-dirname -> Enables the dirname command without any pre-configured scope.",
911 - "type": "string",
912 - "enum": [
913 - "core:path:allow-dirname"
914 - ]
915 - },
916 - {
917 - "description": "core:path:allow-extname -> Enables the extname command without any pre-configured scope.",
918 - "type": "string",
919 - "enum": [
920 - "core:path:allow-extname"
921 - ]
922 - },
923 - {
924 - "description": "core:path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",
925 - "type": "string",
926 - "enum": [
927 - "core:path:allow-is-absolute"
928 - ]
929 - },
930 - {
931 - "description": "core:path:allow-join -> Enables the join command without any pre-configured scope.",
932 - "type": "string",
933 - "enum": [
934 - "core:path:allow-join"
935 - ]
936 - },
937 - {
938 - "description": "core:path:allow-normalize -> Enables the normalize command without any pre-configured scope.",
939 - "type": "string",
940 - "enum": [
941 - "core:path:allow-normalize"
942 - ]
943 - },
944 - {
945 - "description": "core:path:allow-resolve -> Enables the resolve command without any pre-configured scope.",
946 - "type": "string",
947 - "enum": [
948 - "core:path:allow-resolve"
949 - ]
950 - },
951 - {
952 - "description": "core:path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",
953 - "type": "string",
954 - "enum": [
955 - "core:path:allow-resolve-directory"
956 - ]
957 - },
958 - {
959 - "description": "core:path:deny-basename -> Denies the basename command without any pre-configured scope.",
960 - "type": "string",
961 - "enum": [
962 - "core:path:deny-basename"
963 - ]
964 - },
965 - {
966 - "description": "core:path:deny-dirname -> Denies the dirname command without any pre-configured scope.",
967 - "type": "string",
968 - "enum": [
969 - "core:path:deny-dirname"
970 - ]
971 - },
972 - {
973 - "description": "core:path:deny-extname -> Denies the extname command without any pre-configured scope.",
974 - "type": "string",
975 - "enum": [
976 - "core:path:deny-extname"
977 - ]
978 - },
979 - {
980 - "description": "core:path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",
981 - "type": "string",
982 - "enum": [
983 - "core:path:deny-is-absolute"
984 - ]
985 - },
986 - {
987 - "description": "core:path:deny-join -> Denies the join command without any pre-configured scope.",
988 - "type": "string",
989 - "enum": [
990 - "core:path:deny-join"
991 - ]
992 - },
993 - {
994 - "description": "core:path:deny-normalize -> Denies the normalize command without any pre-configured scope.",
995 - "type": "string",
996 - "enum": [
997 - "core:path:deny-normalize"
998 - ]
999 - },
1000 - {
1001 - "description": "core:path:deny-resolve -> Denies the resolve command without any pre-configured scope.",
1002 - "type": "string",
1003 - "enum": [
1004 - "core:path:deny-resolve"
1005 - ]
1006 - },
1007 - {
1008 - "description": "core:path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",
1009 - "type": "string",
1010 - "enum": [
1011 - "core:path:deny-resolve-directory"
1012 - ]
1013 - },
1014 - {
1015 - "description": "core:resources:default -> Default permissions for the plugin.",
1016 - "type": "string",
1017 - "enum": [
1018 - "core:resources:default"
1019 - ]
1020 - },
1021 - {
1022 - "description": "core:resources:allow-close -> Enables the close command without any pre-configured scope.",
1023 - "type": "string",
1024 - "enum": [
1025 - "core:resources:allow-close"
1026 - ]
1027 - },
1028 - {
1029 - "description": "core:resources:deny-close -> Denies the close command without any pre-configured scope.",
1030 - "type": "string",
1031 - "enum": [
1032 - "core:resources:deny-close"
1033 - ]
1034 - },
1035 - {
1036 - "description": "core:tray:default -> Default permissions for the plugin.",
1037 - "type": "string",
1038 - "enum": [
1039 - "core:tray:default"
1040 - ]
1041 - },
1042 - {
1043 - "description": "core:tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",
1044 - "type": "string",
1045 - "enum": [
1046 - "core:tray:allow-get-by-id"
1047 - ]
1048 - },
1049 - {
1050 - "description": "core:tray:allow-new -> Enables the new command without any pre-configured scope.",
1051 - "type": "string",
1052 - "enum": [
1053 - "core:tray:allow-new"
1054 - ]
1055 - },
1056 - {
1057 - "description": "core:tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",
1058 - "type": "string",
1059 - "enum": [
1060 - "core:tray:allow-remove-by-id"
1061 - ]
1062 - },
1063 - {
1064 - "description": "core:tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1065 - "type": "string",
1066 - "enum": [
1067 - "core:tray:allow-set-icon"
1068 - ]
1069 - },
1070 - {
1071 - "description": "core:tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",
1072 - "type": "string",
1073 - "enum": [
1074 - "core:tray:allow-set-icon-as-template"
1075 - ]
1076 - },
1077 - {
1078 - "description": "core:tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",
1079 - "type": "string",
1080 - "enum": [
1081 - "core:tray:allow-set-menu"
1082 - ]
1083 - },
1084 - {
1085 - "description": "core:tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",
1086 - "type": "string",
1087 - "enum": [
1088 - "core:tray:allow-set-show-menu-on-left-click"
1089 - ]
1090 - },
1091 - {
1092 - "description": "core:tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",
1093 - "type": "string",
1094 - "enum": [
1095 - "core:tray:allow-set-temp-dir-path"
1096 - ]
1097 - },
1098 - {
1099 - "description": "core:tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1100 - "type": "string",
1101 - "enum": [
1102 - "core:tray:allow-set-title"
1103 - ]
1104 - },
1105 - {
1106 - "description": "core:tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",
1107 - "type": "string",
1108 - "enum": [
1109 - "core:tray:allow-set-tooltip"
1110 - ]
1111 - },
1112 - {
1113 - "description": "core:tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",
1114 - "type": "string",
1115 - "enum": [
1116 - "core:tray:allow-set-visible"
1117 - ]
1118 - },
1119 - {
1120 - "description": "core:tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",
1121 - "type": "string",
1122 - "enum": [
1123 - "core:tray:deny-get-by-id"
1124 - ]
1125 - },
1126 - {
1127 - "description": "core:tray:deny-new -> Denies the new command without any pre-configured scope.",
1128 - "type": "string",
1129 - "enum": [
1130 - "core:tray:deny-new"
1131 - ]
1132 - },
1133 - {
1134 - "description": "core:tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",
1135 - "type": "string",
1136 - "enum": [
1137 - "core:tray:deny-remove-by-id"
1138 - ]
1139 - },
1140 - {
1141 - "description": "core:tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
1142 - "type": "string",
1143 - "enum": [
1144 - "core:tray:deny-set-icon"
1145 - ]
1146 - },
1147 - {
1148 - "description": "core:tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",
1149 - "type": "string",
1150 - "enum": [
1151 - "core:tray:deny-set-icon-as-template"
1152 - ]
1153 - },
1154 - {
1155 - "description": "core:tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",
1156 - "type": "string",
1157 - "enum": [
1158 - "core:tray:deny-set-menu"
1159 - ]
1160 - },
1161 - {
1162 - "description": "core:tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",
1163 - "type": "string",
1164 - "enum": [
1165 - "core:tray:deny-set-show-menu-on-left-click"
1166 - ]
1167 - },
1168 - {
1169 - "description": "core:tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",
1170 - "type": "string",
1171 - "enum": [
1172 - "core:tray:deny-set-temp-dir-path"
1173 - ]
1174 - },
1175 - {
1176 - "description": "core:tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",
1177 - "type": "string",
1178 - "enum": [
1179 - "core:tray:deny-set-title"
1180 - ]
1181 - },
1182 - {
1183 - "description": "core:tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",
1184 - "type": "string",
1185 - "enum": [
1186 - "core:tray:deny-set-tooltip"
1187 - ]
1188 - },
1189 - {
1190 - "description": "core:tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",
1191 - "type": "string",
1192 - "enum": [
1193 - "core:tray:deny-set-visible"
1194 - ]
1195 - },
1196 - {
1197 - "description": "core:webview:default -> Default permissions for the plugin.",
1198 - "type": "string",
1199 - "enum": [
1200 - "core:webview:default"
1201 - ]
1202 - },
1203 - {
1204 - "description": "core:webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",
1205 - "type": "string",
1206 - "enum": [
1207 - "core:webview:allow-create-webview"
1208 - ]
1209 - },
1210 - {
1211 - "description": "core:webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",
1212 - "type": "string",
1213 - "enum": [
1214 - "core:webview:allow-create-webview-window"
1215 - ]
1216 - },
1217 - {
1218 - "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.",
1219 - "type": "string",
1220 - "enum": [
1221 - "core:webview:allow-get-all-webviews"
1222 - ]
1223 - },
1224 - {
1225 - "description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
1226 - "type": "string",
1227 - "enum": [
1228 - "core:webview:allow-internal-toggle-devtools"
1229 - ]
1230 - },
1231 - {
1232 - "description": "core:webview:allow-print -> Enables the print command without any pre-configured scope.",
1233 - "type": "string",
1234 - "enum": [
1235 - "core:webview:allow-print"
1236 - ]
1237 - },
1238 - {
1239 - "description": "core:webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",
1240 - "type": "string",
1241 - "enum": [
1242 - "core:webview:allow-reparent"
1243 - ]
1244 - },
1245 - {
1246 - "description": "core:webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",
1247 - "type": "string",
1248 - "enum": [
1249 - "core:webview:allow-set-webview-focus"
1250 - ]
1251 - },
1252 - {
1253 - "description": "core:webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",
1254 - "type": "string",
1255 - "enum": [
1256 - "core:webview:allow-set-webview-position"
1257 - ]
1258 - },
1259 - {
1260 - "description": "core:webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",
1261 - "type": "string",
1262 - "enum": [
1263 - "core:webview:allow-set-webview-size"
1264 - ]
1265 - },
1266 - {
1267 - "description": "core:webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",
1268 - "type": "string",
1269 - "enum": [
1270 - "core:webview:allow-set-webview-zoom"
1271 - ]
1272 - },
1273 - {
1274 - "description": "core:webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",
1275 - "type": "string",
1276 - "enum": [
1277 - "core:webview:allow-webview-close"
1278 - ]
1279 - },
1280 - {
1281 - "description": "core:webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",
1282 - "type": "string",
1283 - "enum": [
1284 - "core:webview:allow-webview-position"
1285 - ]
1286 - },
1287 - {
1288 - "description": "core:webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",
1289 - "type": "string",
1290 - "enum": [
1291 - "core:webview:allow-webview-size"
1292 - ]
1293 - },
1294 - {
1295 - "description": "core:webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",
1296 - "type": "string",
1297 - "enum": [
1298 - "core:webview:deny-create-webview"
1299 - ]
1300 - },
1301 - {
1302 - "description": "core:webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",
1303 - "type": "string",
1304 - "enum": [
1305 - "core:webview:deny-create-webview-window"
1306 - ]
1307 - },
1308 - {
1309 - "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.",
1310 - "type": "string",
1311 - "enum": [
1312 - "core:webview:deny-get-all-webviews"
1313 - ]
1314 - },
1315 - {
1316 - "description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
1317 - "type": "string",
1318 - "enum": [
1319 - "core:webview:deny-internal-toggle-devtools"
1320 - ]
1321 - },
1322 - {
1323 - "description": "core:webview:deny-print -> Denies the print command without any pre-configured scope.",
1324 - "type": "string",
1325 - "enum": [
1326 - "core:webview:deny-print"
1327 - ]
1328 - },
1329 - {
1330 - "description": "core:webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",
1331 - "type": "string",
1332 - "enum": [
1333 - "core:webview:deny-reparent"
1334 - ]
1335 - },
1336 - {
1337 - "description": "core:webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",
1338 - "type": "string",
1339 - "enum": [
1340 - "core:webview:deny-set-webview-focus"
1341 - ]
1342 - },
1343 - {
1344 - "description": "core:webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",
1345 - "type": "string",
1346 - "enum": [
1347 - "core:webview:deny-set-webview-position"
1348 - ]
1349 - },
1350 - {
1351 - "description": "core:webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",
1352 - "type": "string",
1353 - "enum": [
1354 - "core:webview:deny-set-webview-size"
1355 - ]
1356 - },
1357 - {
1358 - "description": "core:webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",
1359 - "type": "string",
1360 - "enum": [
1361 - "core:webview:deny-set-webview-zoom"
1362 - ]
1363 - },
1364 - {
1365 - "description": "core:webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",
1366 - "type": "string",
1367 - "enum": [
1368 - "core:webview:deny-webview-close"
1369 - ]
1370 - },
1371 - {
1372 - "description": "core:webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",
1373 - "type": "string",
1374 - "enum": [
1375 - "core:webview:deny-webview-position"
1376 - ]
1377 - },
1378 - {
1379 - "description": "core:webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",
1380 - "type": "string",
1381 - "enum": [
1382 - "core:webview:deny-webview-size"
1383 - ]
1384 - },
1385 - {
1386 - "description": "core:window:default -> Default permissions for the plugin.",
1387 - "type": "string",
1388 - "enum": [
1389 - "core:window:default"
1390 - ]
1391 - },
1392 - {
1393 - "description": "core:window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",
1394 - "type": "string",
1395 - "enum": [
1396 - "core:window:allow-available-monitors"
1397 - ]
1398 - },
1399 - {
1400 - "description": "core:window:allow-center -> Enables the center command without any pre-configured scope.",
1401 - "type": "string",
1402 - "enum": [
1403 - "core:window:allow-center"
1404 - ]
1405 - },
1406 - {
1407 - "description": "core:window:allow-close -> Enables the close command without any pre-configured scope.",
1408 - "type": "string",
1409 - "enum": [
1410 - "core:window:allow-close"
1411 - ]
1412 - },
1413 - {
1414 - "description": "core:window:allow-create -> Enables the create command without any pre-configured scope.",
1415 - "type": "string",
1416 - "enum": [
1417 - "core:window:allow-create"
1418 - ]
1419 - },
1420 - {
1421 - "description": "core:window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",
1422 - "type": "string",
1423 - "enum": [
1424 - "core:window:allow-current-monitor"
1425 - ]
1426 - },
1427 - {
1428 - "description": "core:window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",
1429 - "type": "string",
1430 - "enum": [
1431 - "core:window:allow-cursor-position"
1432 - ]
1433 - },
1434 - {
1435 - "description": "core:window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
1436 - "type": "string",
1437 - "enum": [
1438 - "core:window:allow-destroy"
1439 - ]
1440 - },
1441 - {
1442 - "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.",
1443 - "type": "string",
1444 - "enum": [
1445 - "core:window:allow-get-all-windows"
1446 - ]
1447 - },
1448 - {
1449 - "description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.",
1450 - "type": "string",
1451 - "enum": [
1452 - "core:window:allow-hide"
1453 - ]
1454 - },
1455 - {
1456 - "description": "core:window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",
1457 - "type": "string",
1458 - "enum": [
1459 - "core:window:allow-inner-position"
1460 - ]
1461 - },
1462 - {
1463 - "description": "core:window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",
1464 - "type": "string",
1465 - "enum": [
1466 - "core:window:allow-inner-size"
1467 - ]
1468 - },
1469 - {
1470 - "description": "core:window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",
1471 - "type": "string",
1472 - "enum": [
1473 - "core:window:allow-internal-toggle-maximize"
1474 - ]
1475 - },
1476 - {
1477 - "description": "core:window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",
1478 - "type": "string",
1479 - "enum": [
1480 - "core:window:allow-is-closable"
1481 - ]
1482 - },
1483 - {
1484 - "description": "core:window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",
1485 - "type": "string",
1486 - "enum": [
1487 - "core:window:allow-is-decorated"
1488 - ]
1489 - },
1490 - {
1491 - "description": "core:window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",
1492 - "type": "string",
1493 - "enum": [
1494 - "core:window:allow-is-focused"
1495 - ]
1496 - },
1497 - {
1498 - "description": "core:window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",
1499 - "type": "string",
1500 - "enum": [
1501 - "core:window:allow-is-fullscreen"
1502 - ]
1503 - },
1504 - {
1505 - "description": "core:window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",
1506 - "type": "string",
1507 - "enum": [
1508 - "core:window:allow-is-maximizable"
1509 - ]
1510 - },
1511 - {
1512 - "description": "core:window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",
1513 - "type": "string",
1514 - "enum": [
1515 - "core:window:allow-is-maximized"
1516 - ]
1517 - },
1518 - {
1519 - "description": "core:window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",
1520 - "type": "string",
1521 - "enum": [
1522 - "core:window:allow-is-minimizable"
1523 - ]
1524 - },
1525 - {
1526 - "description": "core:window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",
1527 - "type": "string",
1528 - "enum": [
1529 - "core:window:allow-is-minimized"
1530 - ]
1531 - },
1532 - {
1533 - "description": "core:window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",
1534 - "type": "string",
1535 - "enum": [
1536 - "core:window:allow-is-resizable"
1537 - ]
1538 - },
1539 - {
1540 - "description": "core:window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",
1541 - "type": "string",
1542 - "enum": [
1543 - "core:window:allow-is-visible"
1544 - ]
1545 - },
1546 - {
1547 - "description": "core:window:allow-maximize -> Enables the maximize command without any pre-configured scope.",
1548 - "type": "string",
1549 - "enum": [
1550 - "core:window:allow-maximize"
1551 - ]
1552 - },
1553 - {
1554 - "description": "core:window:allow-minimize -> Enables the minimize command without any pre-configured scope.",
1555 - "type": "string",
1556 - "enum": [
1557 - "core:window:allow-minimize"
1558 - ]
1559 - },
1560 - {
1561 - "description": "core:window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",
1562 - "type": "string",
1563 - "enum": [
1564 - "core:window:allow-monitor-from-point"
1565 - ]
1566 - },
1567 - {
1568 - "description": "core:window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
1569 - "type": "string",
1570 - "enum": [
1571 - "core:window:allow-outer-position"
1572 - ]
1573 - },
1574 - {
1575 - "description": "core:window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",
1576 - "type": "string",
1577 - "enum": [
1578 - "core:window:allow-outer-size"
1579 - ]
1580 - },
1581 - {
1582 - "description": "core:window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",
1583 - "type": "string",
1584 - "enum": [
1585 - "core:window:allow-primary-monitor"
1586 - ]
1587 - },
1588 - {
1589 - "description": "core:window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",
1590 - "type": "string",
1591 - "enum": [
1592 - "core:window:allow-request-user-attention"
1593 - ]
1594 - },
1595 - {
1596 - "description": "core:window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",
1597 - "type": "string",
1598 - "enum": [
1599 - "core:window:allow-scale-factor"
1600 - ]
1601 - },
1602 - {
1603 - "description": "core:window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",
1604 - "type": "string",
1605 - "enum": [
1606 - "core:window:allow-set-always-on-bottom"
1607 - ]
1608 - },
1609 - {
1610 - "description": "core:window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",
1611 - "type": "string",
1612 - "enum": [
1613 - "core:window:allow-set-always-on-top"
1614 - ]
1615 - },
1616 - {
1617 - "description": "core:window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",
1618 - "type": "string",
1619 - "enum": [
1620 - "core:window:allow-set-closable"
1621 - ]
1622 - },
1623 - {
1624 - "description": "core:window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",
1625 - "type": "string",
1626 - "enum": [
1627 - "core:window:allow-set-content-protected"
1628 - ]
1629 - },
1630 - {
1631 - "description": "core:window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",
1632 - "type": "string",
1633 - "enum": [
1634 - "core:window:allow-set-cursor-grab"
1635 - ]
1636 - },
1637 - {
1638 - "description": "core:window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",
1639 - "type": "string",
1640 - "enum": [
1641 - "core:window:allow-set-cursor-icon"
1642 - ]
1643 - },
1644 - {
1645 - "description": "core:window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",
1646 - "type": "string",
1647 - "enum": [
1648 - "core:window:allow-set-cursor-position"
1649 - ]
1650 - },
1651 - {
1652 - "description": "core:window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",
1653 - "type": "string",
1654 - "enum": [
1655 - "core:window:allow-set-cursor-visible"
1656 - ]
1657 - },
1658 - {
1659 - "description": "core:window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",
1660 - "type": "string",
1661 - "enum": [
1662 - "core:window:allow-set-decorations"
1663 - ]
1664 - },
1665 - {
1666 - "description": "core:window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",
1667 - "type": "string",
1668 - "enum": [
1669 - "core:window:allow-set-effects"
1670 - ]
1671 - },
1672 - {
1673 - "description": "core:window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",
1674 - "type": "string",
1675 - "enum": [
1676 - "core:window:allow-set-focus"
1677 - ]
1678 - },
1679 - {
1680 - "description": "core:window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",
1681 - "type": "string",
1682 - "enum": [
1683 - "core:window:allow-set-fullscreen"
1684 - ]
1685 - },
1686 - {
1687 - "description": "core:window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1688 - "type": "string",
1689 - "enum": [
1690 - "core:window:allow-set-icon"
1691 - ]
1692 - },
1693 - {
1694 - "description": "core:window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",
1695 - "type": "string",
1696 - "enum": [
1697 - "core:window:allow-set-ignore-cursor-events"
1698 - ]
1699 - },
1700 - {
1701 - "description": "core:window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",
1702 - "type": "string",
1703 - "enum": [
1704 - "core:window:allow-set-max-size"
1705 - ]
1706 - },
1707 - {
1708 - "description": "core:window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",
1709 - "type": "string",
1710 - "enum": [
1711 - "core:window:allow-set-maximizable"
1712 - ]
1713 - },
1714 - {
1715 - "description": "core:window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",
1716 - "type": "string",
1717 - "enum": [
1718 - "core:window:allow-set-min-size"
1719 - ]
1720 - },
1721 - {
1722 - "description": "core:window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",
1723 - "type": "string",
1724 - "enum": [
1725 - "core:window:allow-set-minimizable"
1726 - ]
1727 - },
1728 - {
1729 - "description": "core:window:allow-set-position -> Enables the set_position command without any pre-configured scope.",
1730 - "type": "string",
1731 - "enum": [
1732 - "core:window:allow-set-position"
1733 - ]
1734 - },
1735 - {
1736 - "description": "core:window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",
1737 - "type": "string",
1738 - "enum": [
1739 - "core:window:allow-set-progress-bar"
1740 - ]
1741 - },
1742 - {
1743 - "description": "core:window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",
1744 - "type": "string",
1745 - "enum": [
1746 - "core:window:allow-set-resizable"
1747 - ]
1748 - },
1749 - {
1750 - "description": "core:window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",
1751 - "type": "string",
1752 - "enum": [
1753 - "core:window:allow-set-shadow"
1754 - ]
1755 - },
1756 - {
1757 - "description": "core:window:allow-set-size -> Enables the set_size command without any pre-configured scope.",
1758 - "type": "string",
1759 - "enum": [
1760 - "core:window:allow-set-size"
1761 - ]
1762 - },
1763 - {
1764 - "description": "core:window:allow-set-size-constraints -> Enables the set_size_constraints command without any pre-configured scope.",
1765 - "type": "string",
1766 - "enum": [
1767 - "core:window:allow-set-size-constraints"
1768 - ]
1769 - },
1770 - {
1771 - "description": "core:window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",
1772 - "type": "string",
1773 - "enum": [
1774 - "core:window:allow-set-skip-taskbar"
1775 - ]
1776 - },
1777 - {
1778 - "description": "core:window:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1779 - "type": "string",
1780 - "enum": [
1781 - "core:window:allow-set-title"
1782 - ]
1783 - },
1784 - {
1785 - "description": "core:window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",
1786 - "type": "string",
1787 - "enum": [
1788 - "core:window:allow-set-title-bar-style"
1789 - ]
1790 - },
1791 - {
1792 - "description": "core:window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1793 - "type": "string",
1794 - "enum": [
1795 - "core:window:allow-set-visible-on-all-workspaces"
1796 - ]
1797 - },
1798 - {
1799 - "description": "core:window:allow-show -> Enables the show command without any pre-configured scope.",
1800 - "type": "string",
1801 - "enum": [
1802 - "core:window:allow-show"
1803 - ]
1804 - },
1805 - {
1806 - "description": "core:window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",
1807 - "type": "string",
1808 - "enum": [
1809 - "core:window:allow-start-dragging"
1810 - ]
1811 - },
1812 - {
1813 - "description": "core:window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",
1814 - "type": "string",
1815 - "enum": [
1816 - "core:window:allow-start-resize-dragging"
1817 - ]
1818 - },
1819 - {
1820 - "description": "core:window:allow-theme -> Enables the theme command without any pre-configured scope.",
1821 - "type": "string",
1822 - "enum": [
1823 - "core:window:allow-theme"
1824 - ]
1825 - },
1826 - {
1827 - "description": "core:window:allow-title -> Enables the title command without any pre-configured scope.",
1828 - "type": "string",
1829 - "enum": [
1830 - "core:window:allow-title"
1831 - ]
1832 - },
1833 - {
1834 - "description": "core:window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",
1835 - "type": "string",
1836 - "enum": [
1837 - "core:window:allow-toggle-maximize"
1838 - ]
1839 - },
1840 - {
1841 - "description": "core:window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",
1842 - "type": "string",
1843 - "enum": [
1844 - "core:window:allow-unmaximize"
1845 - ]
1846 - },
1847 - {
1848 - "description": "core:window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",
1849 - "type": "string",
1850 - "enum": [
1851 - "core:window:allow-unminimize"
1852 - ]
1853 - },
1854 - {
1855 - "description": "core:window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",
1856 - "type": "string",
1857 - "enum": [
1858 - "core:window:deny-available-monitors"
1859 - ]
1860 - },
1861 - {
1862 - "description": "core:window:deny-center -> Denies the center command without any pre-configured scope.",
1863 - "type": "string",
1864 - "enum": [
1865 - "core:window:deny-center"
1866 - ]
1867 - },
1868 - {
1869 - "description": "core:window:deny-close -> Denies the close command without any pre-configured scope.",
1870 - "type": "string",
1871 - "enum": [
1872 - "core:window:deny-close"
1873 - ]
1874 - },
1875 - {
1876 - "description": "core:window:deny-create -> Denies the create command without any pre-configured scope.",
1877 - "type": "string",
1878 - "enum": [
1879 - "core:window:deny-create"
1880 - ]
1881 - },
1882 - {
1883 - "description": "core:window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",
1884 - "type": "string",
1885 - "enum": [
1886 - "core:window:deny-current-monitor"
1887 - ]
1888 - },
1889 - {
1890 - "description": "core:window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",
1891 - "type": "string",
1892 - "enum": [
1893 - "core:window:deny-cursor-position"
1894 - ]
1895 - },
1896 - {
1897 - "description": "core:window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
1898 - "type": "string",
1899 - "enum": [
1900 - "core:window:deny-destroy"
1901 - ]
1902 - },
1903 - {
1904 - "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.",
1905 - "type": "string",
1906 - "enum": [
1907 - "core:window:deny-get-all-windows"
1908 - ]
1909 - },
1910 - {
1911 - "description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.",
1912 - "type": "string",
1913 - "enum": [
1914 - "core:window:deny-hide"
1915 - ]
1916 - },
1917 - {
1918 - "description": "core:window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",
1919 - "type": "string",
1920 - "enum": [
1921 - "core:window:deny-inner-position"
1922 - ]
1923 - },
1924 - {
1925 - "description": "core:window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",
1926 - "type": "string",
1927 - "enum": [
1928 - "core:window:deny-inner-size"
1929 - ]
1930 - },
1931 - {
1932 - "description": "core:window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",
1933 - "type": "string",
1934 - "enum": [
1935 - "core:window:deny-internal-toggle-maximize"
1936 - ]
1937 - },
1938 - {
1939 - "description": "core:window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",
1940 - "type": "string",
1941 - "enum": [
1942 - "core:window:deny-is-closable"
1943 - ]
1944 - },
1945 - {
1946 - "description": "core:window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",
1947 - "type": "string",
1948 - "enum": [
1949 - "core:window:deny-is-decorated"
1950 - ]
1951 - },
1952 - {
1953 - "description": "core:window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",
1954 - "type": "string",
1955 - "enum": [
1956 - "core:window:deny-is-focused"
1957 - ]
1958 - },
1959 - {
1960 - "description": "core:window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",
1961 - "type": "string",
1962 - "enum": [
1963 - "core:window:deny-is-fullscreen"
1964 - ]
1965 - },
1966 - {
1967 - "description": "core:window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",
1968 - "type": "string",
1969 - "enum": [
1970 - "core:window:deny-is-maximizable"
1971 - ]
1972 - },
1973 - {
1974 - "description": "core:window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",
1975 - "type": "string",
1976 - "enum": [
1977 - "core:window:deny-is-maximized"
1978 - ]
1979 - },
1980 - {
1981 - "description": "core:window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",
1982 - "type": "string",
1983 - "enum": [
1984 - "core:window:deny-is-minimizable"
1985 - ]
1986 - },
1987 - {
1988 - "description": "core:window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",
1989 - "type": "string",
1990 - "enum": [
1991 - "core:window:deny-is-minimized"
1992 - ]
1993 - },
1994 - {
1995 - "description": "core:window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",
1996 - "type": "string",
1997 - "enum": [
1998 - "core:window:deny-is-resizable"
1999 - ]
2000 - },
2001 - {
2002 - "description": "core:window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",
2003 - "type": "string",
2004 - "enum": [
2005 - "core:window:deny-is-visible"
2006 - ]
2007 - },
2008 - {
2009 - "description": "core:window:deny-maximize -> Denies the maximize command without any pre-configured scope.",
2010 - "type": "string",
2011 - "enum": [
2012 - "core:window:deny-maximize"
2013 - ]
2014 - },
2015 - {
2016 - "description": "core:window:deny-minimize -> Denies the minimize command without any pre-configured scope.",
2017 - "type": "string",
2018 - "enum": [
2019 - "core:window:deny-minimize"
2020 - ]
2021 - },
2022 - {
2023 - "description": "core:window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",
2024 - "type": "string",
2025 - "enum": [
2026 - "core:window:deny-monitor-from-point"
2027 - ]
2028 - },
2029 - {
2030 - "description": "core:window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
2031 - "type": "string",
2032 - "enum": [
2033 - "core:window:deny-outer-position"
2034 - ]
2035 - },
2036 - {
2037 - "description": "core:window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",
2038 - "type": "string",
2039 - "enum": [
2040 - "core:window:deny-outer-size"
2041 - ]
2042 - },
2043 - {
2044 - "description": "core:window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",
2045 - "type": "string",
2046 - "enum": [
2047 - "core:window:deny-primary-monitor"
2048 - ]
2049 - },
2050 - {
2051 - "description": "core:window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",
2052 - "type": "string",
2053 - "enum": [
2054 - "core:window:deny-request-user-attention"
2055 - ]
2056 - },
2057 - {
2058 - "description": "core:window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",
2059 - "type": "string",
2060 - "enum": [
2061 - "core:window:deny-scale-factor"
2062 - ]
2063 - },
2064 - {
2065 - "description": "core:window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",
2066 - "type": "string",
2067 - "enum": [
2068 - "core:window:deny-set-always-on-bottom"
2069 - ]
2070 - },
2071 - {
2072 - "description": "core:window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",
2073 - "type": "string",
2074 - "enum": [
2075 - "core:window:deny-set-always-on-top"
2076 - ]
2077 - },
2078 - {
2079 - "description": "core:window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",
2080 - "type": "string",
2081 - "enum": [
2082 - "core:window:deny-set-closable"
2083 - ]
2084 - },
2085 - {
2086 - "description": "core:window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",
2087 - "type": "string",
2088 - "enum": [
2089 - "core:window:deny-set-content-protected"
2090 - ]
2091 - },
2092 - {
2093 - "description": "core:window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",
2094 - "type": "string",
2095 - "enum": [
2096 - "core:window:deny-set-cursor-grab"
2097 - ]
2098 - },
2099 - {
2100 - "description": "core:window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",
2101 - "type": "string",
2102 - "enum": [
2103 - "core:window:deny-set-cursor-icon"
2104 - ]
2105 - },
2106 - {
2107 - "description": "core:window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",
2108 - "type": "string",
2109 - "enum": [
2110 - "core:window:deny-set-cursor-position"
2111 - ]
2112 - },
2113 - {
2114 - "description": "core:window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",
2115 - "type": "string",
2116 - "enum": [
2117 - "core:window:deny-set-cursor-visible"
2118 - ]
2119 - },
2120 - {
2121 - "description": "core:window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",
2122 - "type": "string",
2123 - "enum": [
2124 - "core:window:deny-set-decorations"
2125 - ]
2126 - },
2127 - {
2128 - "description": "core:window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",
2129 - "type": "string",
2130 - "enum": [
2131 - "core:window:deny-set-effects"
2132 - ]
2133 - },
2134 - {
2135 - "description": "core:window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",
2136 - "type": "string",
2137 - "enum": [
2138 - "core:window:deny-set-focus"
2139 - ]
2140 - },
2141 - {
2142 - "description": "core:window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",
2143 - "type": "string",
2144 - "enum": [
2145 - "core:window:deny-set-fullscreen"
2146 - ]
2147 - },
2148 - {
2149 - "description": "core:window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
2150 - "type": "string",
2151 - "enum": [
2152 - "core:window:deny-set-icon"
2153 - ]
2154 - },
2155 - {
2156 - "description": "core:window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",
2157 - "type": "string",
2158 - "enum": [
2159 - "core:window:deny-set-ignore-cursor-events"
2160 - ]
2161 - },
2162 - {
2163 - "description": "core:window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",
2164 - "type": "string",
2165 - "enum": [
2166 - "core:window:deny-set-max-size"
2167 - ]
2168 - },
2169 - {
2170 - "description": "core:window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",
2171 - "type": "string",
2172 - "enum": [
2173 - "core:window:deny-set-maximizable"
2174 - ]
2175 - },
2176 - {
2177 - "description": "core:window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",
2178 - "type": "string",
2179 - "enum": [
2180 - "core:window:deny-set-min-size"
2181 - ]
2182 - },
2183 - {
2184 - "description": "core:window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",
2185 - "type": "string",
2186 - "enum": [
2187 - "core:window:deny-set-minimizable"
2188 - ]
2189 - },
2190 - {
2191 - "description": "core:window:deny-set-position -> Denies the set_position command without any pre-configured scope.",
2192 - "type": "string",
2193 - "enum": [
2194 - "core:window:deny-set-position"
2195 - ]
2196 - },
2197 - {
2198 - "description": "core:window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",
2199 - "type": "string",
2200 - "enum": [
2201 - "core:window:deny-set-progress-bar"
2202 - ]
2203 - },
2204 - {
2205 - "description": "core:window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",
2206 - "type": "string",
2207 - "enum": [
2208 - "core:window:deny-set-resizable"
2209 - ]
2210 - },
2211 - {
2212 - "description": "core:window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",
2213 - "type": "string",
2214 - "enum": [
2215 - "core:window:deny-set-shadow"
2216 - ]
2217 - },
2218 - {
2219 - "description": "core:window:deny-set-size -> Denies the set_size command without any pre-configured scope.",
2220 - "type": "string",
2221 - "enum": [
2222 - "core:window:deny-set-size"
2223 - ]
2224 - },
2225 - {
2226 - "description": "core:window:deny-set-size-constraints -> Denies the set_size_constraints command without any pre-configured scope.",
2227 - "type": "string",
2228 - "enum": [
2229 - "core:window:deny-set-size-constraints"
2230 - ]
2231 - },
2232 - {
2233 - "description": "core:window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",
2234 - "type": "string",
2235 - "enum": [
2236 - "core:window:deny-set-skip-taskbar"
2237 - ]
2238 - },
2239 - {
2240 - "description": "core:window:deny-set-title -> Denies the set_title command without any pre-configured scope.",
2241 - "type": "string",
2242 - "enum": [
2243 - "core:window:deny-set-title"
2244 - ]
2245 - },
2246 - {
2247 - "description": "core:window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",
2248 - "type": "string",
2249 - "enum": [
2250 - "core:window:deny-set-title-bar-style"
2251 - ]
2252 - },
2253 - {
2254 - "description": "core:window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
2255 - "type": "string",
2256 - "enum": [
2257 - "core:window:deny-set-visible-on-all-workspaces"
2258 - ]
2259 - },
2260 - {
2261 - "description": "core:window:deny-show -> Denies the show command without any pre-configured scope.",
2262 - "type": "string",
2263 - "enum": [
2264 - "core:window:deny-show"
2265 - ]
2266 - },
2267 - {
2268 - "description": "core:window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",
2269 - "type": "string",
2270 - "enum": [
2271 - "core:window:deny-start-dragging"
2272 - ]
2273 - },
2274 - {
2275 - "description": "core:window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",
2276 - "type": "string",
2277 - "enum": [
2278 - "core:window:deny-start-resize-dragging"
2279 - ]
2280 - },
2281 - {
2282 - "description": "core:window:deny-theme -> Denies the theme command without any pre-configured scope.",
2283 - "type": "string",
2284 - "enum": [
2285 - "core:window:deny-theme"
2286 - ]
2287 - },
2288 - {
2289 - "description": "core:window:deny-title -> Denies the title command without any pre-configured scope.",
2290 - "type": "string",
2291 - "enum": [
2292 - "core:window:deny-title"
2293 - ]
2294 - },
2295 - {
2296 - "description": "core:window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",
2297 - "type": "string",
2298 - "enum": [
2299 - "core:window:deny-toggle-maximize"
2300 - ]
2301 - },
2302 - {
2303 - "description": "core:window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",
2304 - "type": "string",
2305 - "enum": [
2306 - "core:window:deny-unmaximize"
2307 - ]
2308 - },
2309 - {
2310 - "description": "core:window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",
2311 - "type": "string",
2312 - "enum": [
2313 - "core:window:deny-unminimize"
2314 - ]
2315 - },
2316 - {
2317 - "type": "string",
2318 - "enum": [
2319 - "devtools:default"
2320 - ]
2321 - }
2322 - ]
2323 - },
2324 - "Value": {
2325 - "description": "All supported ACL values.",
2326 - "anyOf": [
2327 - {
2328 - "description": "Represents a null JSON value.",
2329 - "type": "null"
2330 - },
2331 - {
2332 - "description": "Represents a [`bool`].",
2333 - "type": "boolean"
2334 - },
2335 - {
2336 - "description": "Represents a valid ACL [`Number`].",
2337 - "allOf": [
2338 - {
2339 - "$ref": "#/definitions/Number"
2340 - }
2341 - ]
2342 - },
2343 - {
2344 - "description": "Represents a [`String`].",
2345 - "type": "string"
2346 - },
2347 - {
2348 - "description": "Represents a list of other [`Value`]s.",
2349 - "type": "array",
2350 - "items": {
2351 - "$ref": "#/definitions/Value"
2352 - }
2353 - },
2354 - {
2355 - "description": "Represents a map of [`String`] keys to [`Value`]s.",
2356 - "type": "object",
2357 - "additionalProperties": {
2358 - "$ref": "#/definitions/Value"
2359 - }
2360 - }
2361 - ]
2362 - },
2363 - "Number": {
2364 - "description": "A valid ACL number.",
2365 - "anyOf": [
2366 - {
2367 - "description": "Represents an [`i64`].",
2368 - "type": "integer",
2369 - "format": "int64"
2370 - },
2371 - {
2372 - "description": "Represents a [`f64`].",
2373 - "type": "number",
2374 - "format": "double"
2375 - }
2376 - ]
2377 - },
2378 - "Target": {
2379 - "description": "Platform target.",
2380 - "oneOf": [
2381 - {
2382 - "description": "MacOS.",
2383 - "type": "string",
2384 - "enum": [
2385 - "macOS"
2386 - ]
2387 - },
2388 - {
2389 - "description": "Windows.",
2390 - "type": "string",
2391 - "enum": [
2392 - "windows"
2393 - ]
2394 - },
2395 - {
2396 - "description": "Linux.",
2397 - "type": "string",
2398 - "enum": [
2399 - "linux"
2400 - ]
2401 - },
2402 - {
2403 - "description": "Android.",
2404 - "type": "string",
2405 - "enum": [
2406 - "android"
2407 - ]
2408 - },
2409 - {
2410 - "description": "iOS.",
2411 - "type": "string",
2412 - "enum": [
2413 - "iOS"
2414 - ]
2415 - }
2416 - ]
2417 - }
2418 - }
2419 -}
\ No newline at end of file
2 + "$schema": "http://json-schema.org/draft-07/schema#",
3 + "title": "CapabilityFile",
4 + "description": "Capability formats accepted in a capability file.",
5 + "anyOf": [
6 + {
7 + "description": "A single capability.",
8 + "allOf": [
9 + {
10 + "$ref": "#/definitions/Capability"
11 + }
12 + ]
13 + },
14 + {
15 + "description": "A list of capabilities.",
16 + "type": "array",
17 + "items": {
18 + "$ref": "#/definitions/Capability"
19 + }
20 + },
21 + {
22 + "description": "A list of capabilities.",
23 + "type": "object",
24 + "required": ["capabilities"],
25 + "properties": {
26 + "capabilities": {
27 + "description": "The list of capabilities.",
28 + "type": "array",
29 + "items": {
30 + "$ref": "#/definitions/Capability"
31 + }
32 + }
33 + }
34 + }
35 + ],
36 + "definitions": {
37 + "Capability": {
38 + "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"core:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",
39 + "type": "object",
40 + "required": ["identifier", "permissions"],
41 + "properties": {
42 + "identifier": {
43 + "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
44 + "type": "string"
45 + },
46 + "description": {
47 + "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",
48 + "default": "",
49 + "type": "string"
50 + },
51 + "remote": {
52 + "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",
53 + "anyOf": [
54 + {
55 + "$ref": "#/definitions/CapabilityRemote"
56 + },
57 + {
58 + "type": "null"
59 + }
60 + ]
61 + },
62 + "local": {
63 + "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
64 + "default": true,
65 + "type": "boolean"
66 + },
67 + "windows": {
68 + "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
69 + "type": "array",
70 + "items": {
71 + "type": "string"
72 + }
73 + },
74 + "webviews": {
75 + "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
76 + "type": "array",
77 + "items": {
78 + "type": "string"
79 + }
80 + },
81 + "permissions": {
82 + "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",
83 + "type": "array",
84 + "items": {
85 + "$ref": "#/definitions/PermissionEntry"
86 + },
87 + "uniqueItems": true
88 + },
89 + "platforms": {
90 + "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
91 + "type": ["array", "null"],
92 + "items": {
93 + "$ref": "#/definitions/Target"
94 + }
95 + }
96 + }
97 + },
98 + "CapabilityRemote": {
99 + "description": "Configuration for remote URLs that are associated with the capability.",
100 + "type": "object",
101 + "required": ["urls"],
102 + "properties": {
103 + "urls": {
104 + "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
105 + "type": "array",
106 + "items": {
107 + "type": "string"
108 + }
109 + }
110 + }
111 + },
112 + "PermissionEntry": {
113 + "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
114 + "anyOf": [
115 + {
116 + "description": "Reference a permission or permission set by identifier.",
117 + "allOf": [
118 + {
119 + "$ref": "#/definitions/Identifier"
120 + }
121 + ]
122 + },
123 + {
124 + "description": "Reference a permission or permission set by identifier and extends its scope.",
125 + "type": "object",
126 + "required": ["identifier"],
127 + "properties": {
128 + "identifier": {
129 + "description": "Identifier of the permission or permission set.",
130 + "allOf": [
131 + {
132 + "$ref": "#/definitions/Identifier"
133 + }
134 + ]
135 + },
136 + "allow": {
137 + "description": "Data that defines what is allowed by the scope.",
138 + "type": ["array", "null"],
139 + "items": {
140 + "$ref": "#/definitions/Value"
141 + }
142 + },
143 + "deny": {
144 + "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
145 + "type": ["array", "null"],
146 + "items": {
147 + "$ref": "#/definitions/Value"
148 + }
149 + }
150 + }
151 + }
152 + ]
153 + },
154 + "Identifier": {
155 + "oneOf": [
156 + {
157 + "description": "admob:default -> Default permissions for the plugin",
158 + "type": "string",
159 + "enum": ["admob:default"]
160 + },
161 + {
162 + "description": "admob:allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
163 + "type": "string",
164 + "enum": ["admob:allow-adCreate"]
165 + },
166 + {
167 + "description": "admob:allow-adHide -> Enables the adHide command without any pre-configured scope.",
168 + "type": "string",
169 + "enum": ["admob:allow-adHide"]
170 + },
171 + {
172 + "description": "admob:allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
173 + "type": "string",
174 + "enum": ["admob:allow-adIsLoaded"]
175 + },
176 + {
177 + "description": "admob:allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
178 + "type": "string",
179 + "enum": ["admob:allow-adLoad"]
180 + },
181 + {
182 + "description": "admob:allow-adShow -> Enables the adShow command without any pre-configured scope.",
183 + "type": "string",
184 + "enum": ["admob:allow-adShow"]
185 + },
186 + {
187 + "description": "admob:allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
188 + "type": "string",
189 + "enum": ["admob:allow-configRequest"]
190 + },
191 + {
192 + "description": "admob:allow-configure -> Enables the configure command without any pre-configured scope.",
193 + "type": "string",
194 + "enum": ["admob:allow-configure"]
195 + },
196 + {
197 + "description": "admob:allow-isPrivacyOptionsRequired -> Enables the isPrivacyOptionsRequired command without any pre-configured scope.",
198 + "type": "string",
199 + "enum": ["admob:allow-isPrivacyOptionsRequired"]
200 + },
201 + {
202 + "description": "admob:allow-register-listener -> Enables the register_listener command without any pre-configured scope.",
203 + "type": "string",
204 + "enum": ["admob:allow-register-listener"]
205 + },
206 + {
207 + "description": "admob:allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
208 + "type": "string",
209 + "enum": ["admob:allow-requestTrackingAuthorization"]
210 + },
211 + {
212 + "description": "admob:allow-showPrivacyOptionsForm -> Enables the showPrivacyOptionsForm command without any pre-configured scope.",
213 + "type": "string",
214 + "enum": ["admob:allow-showPrivacyOptionsForm"]
215 + },
216 + {
217 + "description": "admob:allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
218 + "type": "string",
219 + "enum": ["admob:allow-trackingAuthorizationStatus"]
220 + },
221 + {
222 + "description": "admob:deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
223 + "type": "string",
224 + "enum": ["admob:deny-adCreate"]
225 + },
226 + {
227 + "description": "admob:deny-adHide -> Denies the adHide command without any pre-configured scope.",
228 + "type": "string",
229 + "enum": ["admob:deny-adHide"]
230 + },
231 + {
232 + "description": "admob:deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
233 + "type": "string",
234 + "enum": ["admob:deny-adIsLoaded"]
235 + },
236 + {
237 + "description": "admob:deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
238 + "type": "string",
239 + "enum": ["admob:deny-adLoad"]
240 + },
241 + {
242 + "description": "admob:deny-adShow -> Denies the adShow command without any pre-configured scope.",
243 + "type": "string",
244 + "enum": ["admob:deny-adShow"]
245 + },
246 + {
247 + "description": "admob:deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
248 + "type": "string",
249 + "enum": ["admob:deny-configRequest"]
250 + },
251 + {
252 + "description": "admob:deny-configure -> Denies the configure command without any pre-configured scope.",
253 + "type": "string",
254 + "enum": ["admob:deny-configure"]
255 + },
256 + {
257 + "description": "admob:deny-isPrivacyOptionsRequired -> Denies the isPrivacyOptionsRequired command without any pre-configured scope.",
258 + "type": "string",
259 + "enum": ["admob:deny-isPrivacyOptionsRequired"]
260 + },
261 + {
262 + "description": "admob:deny-register-listener -> Denies the register_listener command without any pre-configured scope.",
263 + "type": "string",
264 + "enum": ["admob:deny-register-listener"]
265 + },
266 + {
267 + "description": "admob:deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
268 + "type": "string",
269 + "enum": ["admob:deny-requestTrackingAuthorization"]
270 + },
271 + {
272 + "description": "admob:deny-showPrivacyOptionsForm -> Denies the showPrivacyOptionsForm command without any pre-configured scope.",
273 + "type": "string",
274 + "enum": ["admob:deny-showPrivacyOptionsForm"]
275 + },
276 + {
277 + "description": "admob:deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
278 + "type": "string",
279 + "enum": ["admob:deny-trackingAuthorizationStatus"]
280 + },
281 + {
282 + "description": "core:app:default -> Default permissions for the plugin.",
283 + "type": "string",
284 + "enum": ["core:app:default"]
285 + },
286 + {
287 + "description": "core:app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",
288 + "type": "string",
289 + "enum": ["core:app:allow-app-hide"]
290 + },
291 + {
292 + "description": "core:app:allow-app-show -> Enables the app_show command without any pre-configured scope.",
293 + "type": "string",
294 + "enum": ["core:app:allow-app-show"]
295 + },
296 + {
297 + "description": "core:app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",
298 + "type": "string",
299 + "enum": ["core:app:allow-default-window-icon"]
300 + },
301 + {
302 + "description": "core:app:allow-name -> Enables the name command without any pre-configured scope.",
303 + "type": "string",
304 + "enum": ["core:app:allow-name"]
305 + },
306 + {
307 + "description": "core:app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",
308 + "type": "string",
309 + "enum": ["core:app:allow-tauri-version"]
310 + },
311 + {
312 + "description": "core:app:allow-version -> Enables the version command without any pre-configured scope.",
313 + "type": "string",
314 + "enum": ["core:app:allow-version"]
315 + },
316 + {
317 + "description": "core:app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",
318 + "type": "string",
319 + "enum": ["core:app:deny-app-hide"]
320 + },
321 + {
322 + "description": "core:app:deny-app-show -> Denies the app_show command without any pre-configured scope.",
323 + "type": "string",
324 + "enum": ["core:app:deny-app-show"]
325 + },
326 + {
327 + "description": "core:app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",
328 + "type": "string",
329 + "enum": ["core:app:deny-default-window-icon"]
330 + },
331 + {
332 + "description": "core:app:deny-name -> Denies the name command without any pre-configured scope.",
333 + "type": "string",
334 + "enum": ["core:app:deny-name"]
335 + },
336 + {
337 + "description": "core:app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",
338 + "type": "string",
339 + "enum": ["core:app:deny-tauri-version"]
340 + },
341 + {
342 + "description": "core:app:deny-version -> Denies the version command without any pre-configured scope.",
343 + "type": "string",
344 + "enum": ["core:app:deny-version"]
345 + },
346 + {
347 + "description": "core:event:default -> Default permissions for the plugin.",
348 + "type": "string",
349 + "enum": ["core:event:default"]
350 + },
351 + {
352 + "description": "core:event:allow-emit -> Enables the emit command without any pre-configured scope.",
353 + "type": "string",
354 + "enum": ["core:event:allow-emit"]
355 + },
356 + {
357 + "description": "core:event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",
358 + "type": "string",
359 + "enum": ["core:event:allow-emit-to"]
360 + },
361 + {
362 + "description": "core:event:allow-listen -> Enables the listen command without any pre-configured scope.",
363 + "type": "string",
364 + "enum": ["core:event:allow-listen"]
365 + },
366 + {
367 + "description": "core:event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",
368 + "type": "string",
369 + "enum": ["core:event:allow-unlisten"]
370 + },
371 + {
372 + "description": "core:event:deny-emit -> Denies the emit command without any pre-configured scope.",
373 + "type": "string",
374 + "enum": ["core:event:deny-emit"]
375 + },
376 + {
377 + "description": "core:event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",
378 + "type": "string",
379 + "enum": ["core:event:deny-emit-to"]
380 + },
381 + {
382 + "description": "core:event:deny-listen -> Denies the listen command without any pre-configured scope.",
383 + "type": "string",
384 + "enum": ["core:event:deny-listen"]
385 + },
386 + {
387 + "description": "core:event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",
388 + "type": "string",
389 + "enum": ["core:event:deny-unlisten"]
390 + },
391 + {
392 + "description": "core:image:default -> Default permissions for the plugin.",
393 + "type": "string",
394 + "enum": ["core:image:default"]
395 + },
396 + {
397 + "description": "core:image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",
398 + "type": "string",
399 + "enum": ["core:image:allow-from-bytes"]
400 + },
401 + {
402 + "description": "core:image:allow-from-path -> Enables the from_path command without any pre-configured scope.",
403 + "type": "string",
404 + "enum": ["core:image:allow-from-path"]
405 + },
406 + {
407 + "description": "core:image:allow-new -> Enables the new command without any pre-configured scope.",
408 + "type": "string",
409 + "enum": ["core:image:allow-new"]
410 + },
411 + {
412 + "description": "core:image:allow-rgba -> Enables the rgba command without any pre-configured scope.",
413 + "type": "string",
414 + "enum": ["core:image:allow-rgba"]
415 + },
416 + {
417 + "description": "core:image:allow-size -> Enables the size command without any pre-configured scope.",
418 + "type": "string",
419 + "enum": ["core:image:allow-size"]
420 + },
421 + {
422 + "description": "core:image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",
423 + "type": "string",
424 + "enum": ["core:image:deny-from-bytes"]
425 + },
426 + {
427 + "description": "core:image:deny-from-path -> Denies the from_path command without any pre-configured scope.",
428 + "type": "string",
429 + "enum": ["core:image:deny-from-path"]
430 + },
431 + {
432 + "description": "core:image:deny-new -> Denies the new command without any pre-configured scope.",
433 + "type": "string",
434 + "enum": ["core:image:deny-new"]
435 + },
436 + {
437 + "description": "core:image:deny-rgba -> Denies the rgba command without any pre-configured scope.",
438 + "type": "string",
439 + "enum": ["core:image:deny-rgba"]
440 + },
441 + {
442 + "description": "core:image:deny-size -> Denies the size command without any pre-configured scope.",
443 + "type": "string",
444 + "enum": ["core:image:deny-size"]
445 + },
446 + {
447 + "description": "core:menu:default -> Default permissions for the plugin.",
448 + "type": "string",
449 + "enum": ["core:menu:default"]
450 + },
451 + {
452 + "description": "core:menu:allow-append -> Enables the append command without any pre-configured scope.",
453 + "type": "string",
454 + "enum": ["core:menu:allow-append"]
455 + },
456 + {
457 + "description": "core:menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",
458 + "type": "string",
459 + "enum": ["core:menu:allow-create-default"]
460 + },
461 + {
462 + "description": "core:menu:allow-get -> Enables the get command without any pre-configured scope.",
463 + "type": "string",
464 + "enum": ["core:menu:allow-get"]
465 + },
466 + {
467 + "description": "core:menu:allow-insert -> Enables the insert command without any pre-configured scope.",
468 + "type": "string",
469 + "enum": ["core:menu:allow-insert"]
470 + },
471 + {
472 + "description": "core:menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",
473 + "type": "string",
474 + "enum": ["core:menu:allow-is-checked"]
475 + },
476 + {
477 + "description": "core:menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",
478 + "type": "string",
479 + "enum": ["core:menu:allow-is-enabled"]
480 + },
481 + {
482 + "description": "core:menu:allow-items -> Enables the items command without any pre-configured scope.",
483 + "type": "string",
484 + "enum": ["core:menu:allow-items"]
485 + },
486 + {
487 + "description": "core:menu:allow-new -> Enables the new command without any pre-configured scope.",
488 + "type": "string",
489 + "enum": ["core:menu:allow-new"]
490 + },
491 + {
492 + "description": "core:menu:allow-popup -> Enables the popup command without any pre-configured scope.",
493 + "type": "string",
494 + "enum": ["core:menu:allow-popup"]
495 + },
496 + {
497 + "description": "core:menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",
498 + "type": "string",
499 + "enum": ["core:menu:allow-prepend"]
500 + },
501 + {
502 + "description": "core:menu:allow-remove -> Enables the remove command without any pre-configured scope.",
503 + "type": "string",
504 + "enum": ["core:menu:allow-remove"]
505 + },
506 + {
507 + "description": "core:menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",
508 + "type": "string",
509 + "enum": ["core:menu:allow-remove-at"]
510 + },
511 + {
512 + "description": "core:menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",
513 + "type": "string",
514 + "enum": ["core:menu:allow-set-accelerator"]
515 + },
516 + {
517 + "description": "core:menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",
518 + "type": "string",
519 + "enum": ["core:menu:allow-set-as-app-menu"]
520 + },
521 + {
522 + "description": "core:menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
523 + "type": "string",
524 + "enum": ["core:menu:allow-set-as-help-menu-for-nsapp"]
525 + },
526 + {
527 + "description": "core:menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",
528 + "type": "string",
529 + "enum": ["core:menu:allow-set-as-window-menu"]
530 + },
531 + {
532 + "description": "core:menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
533 + "type": "string",
534 + "enum": ["core:menu:allow-set-as-windows-menu-for-nsapp"]
535 + },
536 + {
537 + "description": "core:menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",
538 + "type": "string",
539 + "enum": ["core:menu:allow-set-checked"]
540 + },
541 + {
542 + "description": "core:menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",
543 + "type": "string",
544 + "enum": ["core:menu:allow-set-enabled"]
545 + },
546 + {
547 + "description": "core:menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
548 + "type": "string",
549 + "enum": ["core:menu:allow-set-icon"]
550 + },
551 + {
552 + "description": "core:menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",
553 + "type": "string",
554 + "enum": ["core:menu:allow-set-text"]
555 + },
556 + {
557 + "description": "core:menu:allow-text -> Enables the text command without any pre-configured scope.",
558 + "type": "string",
559 + "enum": ["core:menu:allow-text"]
560 + },
561 + {
562 + "description": "core:menu:deny-append -> Denies the append command without any pre-configured scope.",
563 + "type": "string",
564 + "enum": ["core:menu:deny-append"]
565 + },
566 + {
567 + "description": "core:menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",
568 + "type": "string",
569 + "enum": ["core:menu:deny-create-default"]
570 + },
571 + {
572 + "description": "core:menu:deny-get -> Denies the get command without any pre-configured scope.",
573 + "type": "string",
574 + "enum": ["core:menu:deny-get"]
575 + },
576 + {
577 + "description": "core:menu:deny-insert -> Denies the insert command without any pre-configured scope.",
578 + "type": "string",
579 + "enum": ["core:menu:deny-insert"]
580 + },
581 + {
582 + "description": "core:menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",
583 + "type": "string",
584 + "enum": ["core:menu:deny-is-checked"]
585 + },
586 + {
587 + "description": "core:menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",
588 + "type": "string",
589 + "enum": ["core:menu:deny-is-enabled"]
590 + },
591 + {
592 + "description": "core:menu:deny-items -> Denies the items command without any pre-configured scope.",
593 + "type": "string",
594 + "enum": ["core:menu:deny-items"]
595 + },
596 + {
597 + "description": "core:menu:deny-new -> Denies the new command without any pre-configured scope.",
598 + "type": "string",
599 + "enum": ["core:menu:deny-new"]
600 + },
601 + {
602 + "description": "core:menu:deny-popup -> Denies the popup command without any pre-configured scope.",
603 + "type": "string",
604 + "enum": ["core:menu:deny-popup"]
605 + },
606 + {
607 + "description": "core:menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",
608 + "type": "string",
609 + "enum": ["core:menu:deny-prepend"]
610 + },
611 + {
612 + "description": "core:menu:deny-remove -> Denies the remove command without any pre-configured scope.",
613 + "type": "string",
614 + "enum": ["core:menu:deny-remove"]
615 + },
616 + {
617 + "description": "core:menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",
618 + "type": "string",
619 + "enum": ["core:menu:deny-remove-at"]
620 + },
621 + {
622 + "description": "core:menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",
623 + "type": "string",
624 + "enum": ["core:menu:deny-set-accelerator"]
625 + },
626 + {
627 + "description": "core:menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",
628 + "type": "string",
629 + "enum": ["core:menu:deny-set-as-app-menu"]
630 + },
631 + {
632 + "description": "core:menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
633 + "type": "string",
634 + "enum": ["core:menu:deny-set-as-help-menu-for-nsapp"]
635 + },
636 + {
637 + "description": "core:menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",
638 + "type": "string",
639 + "enum": ["core:menu:deny-set-as-window-menu"]
640 + },
641 + {
642 + "description": "core:menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
643 + "type": "string",
644 + "enum": ["core:menu:deny-set-as-windows-menu-for-nsapp"]
645 + },
646 + {
647 + "description": "core:menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",
648 + "type": "string",
649 + "enum": ["core:menu:deny-set-checked"]
650 + },
651 + {
652 + "description": "core:menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",
653 + "type": "string",
654 + "enum": ["core:menu:deny-set-enabled"]
655 + },
656 + {
657 + "description": "core:menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
658 + "type": "string",
659 + "enum": ["core:menu:deny-set-icon"]
660 + },
661 + {
662 + "description": "core:menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",
663 + "type": "string",
664 + "enum": ["core:menu:deny-set-text"]
665 + },
666 + {
667 + "description": "core:menu:deny-text -> Denies the text command without any pre-configured scope.",
668 + "type": "string",
669 + "enum": ["core:menu:deny-text"]
670 + },
671 + {
672 + "description": "core:path:default -> Default permissions for the plugin.",
673 + "type": "string",
674 + "enum": ["core:path:default"]
675 + },
676 + {
677 + "description": "core:path:allow-basename -> Enables the basename command without any pre-configured scope.",
678 + "type": "string",
679 + "enum": ["core:path:allow-basename"]
680 + },
681 + {
682 + "description": "core:path:allow-dirname -> Enables the dirname command without any pre-configured scope.",
683 + "type": "string",
684 + "enum": ["core:path:allow-dirname"]
685 + },
686 + {
687 + "description": "core:path:allow-extname -> Enables the extname command without any pre-configured scope.",
688 + "type": "string",
689 + "enum": ["core:path:allow-extname"]
690 + },
691 + {
692 + "description": "core:path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",
693 + "type": "string",
694 + "enum": ["core:path:allow-is-absolute"]
695 + },
696 + {
697 + "description": "core:path:allow-join -> Enables the join command without any pre-configured scope.",
698 + "type": "string",
699 + "enum": ["core:path:allow-join"]
700 + },
701 + {
702 + "description": "core:path:allow-normalize -> Enables the normalize command without any pre-configured scope.",
703 + "type": "string",
704 + "enum": ["core:path:allow-normalize"]
705 + },
706 + {
707 + "description": "core:path:allow-resolve -> Enables the resolve command without any pre-configured scope.",
708 + "type": "string",
709 + "enum": ["core:path:allow-resolve"]
710 + },
711 + {
712 + "description": "core:path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",
713 + "type": "string",
714 + "enum": ["core:path:allow-resolve-directory"]
715 + },
716 + {
717 + "description": "core:path:deny-basename -> Denies the basename command without any pre-configured scope.",
718 + "type": "string",
719 + "enum": ["core:path:deny-basename"]
720 + },
721 + {
722 + "description": "core:path:deny-dirname -> Denies the dirname command without any pre-configured scope.",
723 + "type": "string",
724 + "enum": ["core:path:deny-dirname"]
725 + },
726 + {
727 + "description": "core:path:deny-extname -> Denies the extname command without any pre-configured scope.",
728 + "type": "string",
729 + "enum": ["core:path:deny-extname"]
730 + },
731 + {
732 + "description": "core:path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",
733 + "type": "string",
734 + "enum": ["core:path:deny-is-absolute"]
735 + },
736 + {
737 + "description": "core:path:deny-join -> Denies the join command without any pre-configured scope.",
738 + "type": "string",
739 + "enum": ["core:path:deny-join"]
740 + },
741 + {
742 + "description": "core:path:deny-normalize -> Denies the normalize command without any pre-configured scope.",
743 + "type": "string",
744 + "enum": ["core:path:deny-normalize"]
745 + },
746 + {
747 + "description": "core:path:deny-resolve -> Denies the resolve command without any pre-configured scope.",
748 + "type": "string",
749 + "enum": ["core:path:deny-resolve"]
750 + },
751 + {
752 + "description": "core:path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",
753 + "type": "string",
754 + "enum": ["core:path:deny-resolve-directory"]
755 + },
756 + {
757 + "description": "core:resources:default -> Default permissions for the plugin.",
758 + "type": "string",
759 + "enum": ["core:resources:default"]
760 + },
761 + {
762 + "description": "core:resources:allow-close -> Enables the close command without any pre-configured scope.",
763 + "type": "string",
764 + "enum": ["core:resources:allow-close"]
765 + },
766 + {
767 + "description": "core:resources:deny-close -> Denies the close command without any pre-configured scope.",
768 + "type": "string",
769 + "enum": ["core:resources:deny-close"]
770 + },
771 + {
772 + "description": "core:tray:default -> Default permissions for the plugin.",
773 + "type": "string",
774 + "enum": ["core:tray:default"]
775 + },
776 + {
777 + "description": "core:tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",
778 + "type": "string",
779 + "enum": ["core:tray:allow-get-by-id"]
780 + },
781 + {
782 + "description": "core:tray:allow-new -> Enables the new command without any pre-configured scope.",
783 + "type": "string",
784 + "enum": ["core:tray:allow-new"]
785 + },
786 + {
787 + "description": "core:tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",
788 + "type": "string",
789 + "enum": ["core:tray:allow-remove-by-id"]
790 + },
791 + {
792 + "description": "core:tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
793 + "type": "string",
794 + "enum": ["core:tray:allow-set-icon"]
795 + },
796 + {
797 + "description": "core:tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",
798 + "type": "string",
799 + "enum": ["core:tray:allow-set-icon-as-template"]
800 + },
801 + {
802 + "description": "core:tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",
803 + "type": "string",
804 + "enum": ["core:tray:allow-set-menu"]
805 + },
806 + {
807 + "description": "core:tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",
808 + "type": "string",
809 + "enum": ["core:tray:allow-set-show-menu-on-left-click"]
810 + },
811 + {
812 + "description": "core:tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",
813 + "type": "string",
814 + "enum": ["core:tray:allow-set-temp-dir-path"]
815 + },
816 + {
817 + "description": "core:tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",
818 + "type": "string",
819 + "enum": ["core:tray:allow-set-title"]
820 + },
821 + {
822 + "description": "core:tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",
823 + "type": "string",
824 + "enum": ["core:tray:allow-set-tooltip"]
825 + },
826 + {
827 + "description": "core:tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",
828 + "type": "string",
829 + "enum": ["core:tray:allow-set-visible"]
830 + },
831 + {
832 + "description": "core:tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",
833 + "type": "string",
834 + "enum": ["core:tray:deny-get-by-id"]
835 + },
836 + {
837 + "description": "core:tray:deny-new -> Denies the new command without any pre-configured scope.",
838 + "type": "string",
839 + "enum": ["core:tray:deny-new"]
840 + },
841 + {
842 + "description": "core:tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",
843 + "type": "string",
844 + "enum": ["core:tray:deny-remove-by-id"]
845 + },
846 + {
847 + "description": "core:tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
848 + "type": "string",
849 + "enum": ["core:tray:deny-set-icon"]
850 + },
851 + {
852 + "description": "core:tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",
853 + "type": "string",
854 + "enum": ["core:tray:deny-set-icon-as-template"]
855 + },
856 + {
857 + "description": "core:tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",
858 + "type": "string",
859 + "enum": ["core:tray:deny-set-menu"]
860 + },
861 + {
862 + "description": "core:tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",
863 + "type": "string",
864 + "enum": ["core:tray:deny-set-show-menu-on-left-click"]
865 + },
866 + {
867 + "description": "core:tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",
868 + "type": "string",
869 + "enum": ["core:tray:deny-set-temp-dir-path"]
870 + },
871 + {
872 + "description": "core:tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",
873 + "type": "string",
874 + "enum": ["core:tray:deny-set-title"]
875 + },
876 + {
877 + "description": "core:tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",
878 + "type": "string",
879 + "enum": ["core:tray:deny-set-tooltip"]
880 + },
881 + {
882 + "description": "core:tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",
883 + "type": "string",
884 + "enum": ["core:tray:deny-set-visible"]
885 + },
886 + {
887 + "description": "core:webview:default -> Default permissions for the plugin.",
888 + "type": "string",
889 + "enum": ["core:webview:default"]
890 + },
891 + {
892 + "description": "core:webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",
893 + "type": "string",
894 + "enum": ["core:webview:allow-create-webview"]
895 + },
896 + {
897 + "description": "core:webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",
898 + "type": "string",
899 + "enum": ["core:webview:allow-create-webview-window"]
900 + },
901 + {
902 + "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.",
903 + "type": "string",
904 + "enum": ["core:webview:allow-get-all-webviews"]
905 + },
906 + {
907 + "description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
908 + "type": "string",
909 + "enum": ["core:webview:allow-internal-toggle-devtools"]
910 + },
911 + {
912 + "description": "core:webview:allow-print -> Enables the print command without any pre-configured scope.",
913 + "type": "string",
914 + "enum": ["core:webview:allow-print"]
915 + },
916 + {
917 + "description": "core:webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",
918 + "type": "string",
919 + "enum": ["core:webview:allow-reparent"]
920 + },
921 + {
922 + "description": "core:webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",
923 + "type": "string",
924 + "enum": ["core:webview:allow-set-webview-focus"]
925 + },
926 + {
927 + "description": "core:webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",
928 + "type": "string",
929 + "enum": ["core:webview:allow-set-webview-position"]
930 + },
931 + {
932 + "description": "core:webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",
933 + "type": "string",
934 + "enum": ["core:webview:allow-set-webview-size"]
935 + },
936 + {
937 + "description": "core:webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",
938 + "type": "string",
939 + "enum": ["core:webview:allow-set-webview-zoom"]
940 + },
941 + {
942 + "description": "core:webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",
943 + "type": "string",
944 + "enum": ["core:webview:allow-webview-close"]
945 + },
946 + {
947 + "description": "core:webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",
948 + "type": "string",
949 + "enum": ["core:webview:allow-webview-position"]
950 + },
951 + {
952 + "description": "core:webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",
953 + "type": "string",
954 + "enum": ["core:webview:allow-webview-size"]
955 + },
956 + {
957 + "description": "core:webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",
958 + "type": "string",
959 + "enum": ["core:webview:deny-create-webview"]
960 + },
961 + {
962 + "description": "core:webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",
963 + "type": "string",
964 + "enum": ["core:webview:deny-create-webview-window"]
965 + },
966 + {
967 + "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.",
968 + "type": "string",
969 + "enum": ["core:webview:deny-get-all-webviews"]
970 + },
971 + {
972 + "description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
973 + "type": "string",
974 + "enum": ["core:webview:deny-internal-toggle-devtools"]
975 + },
976 + {
977 + "description": "core:webview:deny-print -> Denies the print command without any pre-configured scope.",
978 + "type": "string",
979 + "enum": ["core:webview:deny-print"]
980 + },
981 + {
982 + "description": "core:webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",
983 + "type": "string",
984 + "enum": ["core:webview:deny-reparent"]
985 + },
986 + {
987 + "description": "core:webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",
988 + "type": "string",
989 + "enum": ["core:webview:deny-set-webview-focus"]
990 + },
991 + {
992 + "description": "core:webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",
993 + "type": "string",
994 + "enum": ["core:webview:deny-set-webview-position"]
995 + },
996 + {
997 + "description": "core:webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",
998 + "type": "string",
999 + "enum": ["core:webview:deny-set-webview-size"]
1000 + },
1001 + {
1002 + "description": "core:webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",
1003 + "type": "string",
1004 + "enum": ["core:webview:deny-set-webview-zoom"]
1005 + },
1006 + {
1007 + "description": "core:webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",
1008 + "type": "string",
1009 + "enum": ["core:webview:deny-webview-close"]
1010 + },
1011 + {
1012 + "description": "core:webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",
1013 + "type": "string",
1014 + "enum": ["core:webview:deny-webview-position"]
1015 + },
1016 + {
1017 + "description": "core:webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",
1018 + "type": "string",
1019 + "enum": ["core:webview:deny-webview-size"]
1020 + },
1021 + {
1022 + "description": "core:window:default -> Default permissions for the plugin.",
1023 + "type": "string",
1024 + "enum": ["core:window:default"]
1025 + },
1026 + {
1027 + "description": "core:window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",
1028 + "type": "string",
1029 + "enum": ["core:window:allow-available-monitors"]
1030 + },
1031 + {
1032 + "description": "core:window:allow-center -> Enables the center command without any pre-configured scope.",
1033 + "type": "string",
1034 + "enum": ["core:window:allow-center"]
1035 + },
1036 + {
1037 + "description": "core:window:allow-close -> Enables the close command without any pre-configured scope.",
1038 + "type": "string",
1039 + "enum": ["core:window:allow-close"]
1040 + },
1041 + {
1042 + "description": "core:window:allow-create -> Enables the create command without any pre-configured scope.",
1043 + "type": "string",
1044 + "enum": ["core:window:allow-create"]
1045 + },
1046 + {
1047 + "description": "core:window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",
1048 + "type": "string",
1049 + "enum": ["core:window:allow-current-monitor"]
1050 + },
1051 + {
1052 + "description": "core:window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",
1053 + "type": "string",
1054 + "enum": ["core:window:allow-cursor-position"]
1055 + },
1056 + {
1057 + "description": "core:window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
1058 + "type": "string",
1059 + "enum": ["core:window:allow-destroy"]
1060 + },
1061 + {
1062 + "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.",
1063 + "type": "string",
1064 + "enum": ["core:window:allow-get-all-windows"]
1065 + },
1066 + {
1067 + "description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.",
1068 + "type": "string",
1069 + "enum": ["core:window:allow-hide"]
1070 + },
1071 + {
1072 + "description": "core:window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",
1073 + "type": "string",
1074 + "enum": ["core:window:allow-inner-position"]
1075 + },
1076 + {
1077 + "description": "core:window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",
1078 + "type": "string",
1079 + "enum": ["core:window:allow-inner-size"]
1080 + },
1081 + {
1082 + "description": "core:window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",
1083 + "type": "string",
1084 + "enum": ["core:window:allow-internal-toggle-maximize"]
1085 + },
1086 + {
1087 + "description": "core:window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",
1088 + "type": "string",
1089 + "enum": ["core:window:allow-is-closable"]
1090 + },
1091 + {
1092 + "description": "core:window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",
1093 + "type": "string",
1094 + "enum": ["core:window:allow-is-decorated"]
1095 + },
1096 + {
1097 + "description": "core:window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",
1098 + "type": "string",
1099 + "enum": ["core:window:allow-is-focused"]
1100 + },
1101 + {
1102 + "description": "core:window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",
1103 + "type": "string",
1104 + "enum": ["core:window:allow-is-fullscreen"]
1105 + },
1106 + {
1107 + "description": "core:window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",
1108 + "type": "string",
1109 + "enum": ["core:window:allow-is-maximizable"]
1110 + },
1111 + {
1112 + "description": "core:window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",
1113 + "type": "string",
1114 + "enum": ["core:window:allow-is-maximized"]
1115 + },
1116 + {
1117 + "description": "core:window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",
1118 + "type": "string",
1119 + "enum": ["core:window:allow-is-minimizable"]
1120 + },
1121 + {
1122 + "description": "core:window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",
1123 + "type": "string",
1124 + "enum": ["core:window:allow-is-minimized"]
1125 + },
1126 + {
1127 + "description": "core:window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",
1128 + "type": "string",
1129 + "enum": ["core:window:allow-is-resizable"]
1130 + },
1131 + {
1132 + "description": "core:window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",
1133 + "type": "string",
1134 + "enum": ["core:window:allow-is-visible"]
1135 + },
1136 + {
1137 + "description": "core:window:allow-maximize -> Enables the maximize command without any pre-configured scope.",
1138 + "type": "string",
1139 + "enum": ["core:window:allow-maximize"]
1140 + },
1141 + {
1142 + "description": "core:window:allow-minimize -> Enables the minimize command without any pre-configured scope.",
1143 + "type": "string",
1144 + "enum": ["core:window:allow-minimize"]
1145 + },
1146 + {
1147 + "description": "core:window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",
1148 + "type": "string",
1149 + "enum": ["core:window:allow-monitor-from-point"]
1150 + },
1151 + {
1152 + "description": "core:window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
1153 + "type": "string",
1154 + "enum": ["core:window:allow-outer-position"]
1155 + },
1156 + {
1157 + "description": "core:window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",
1158 + "type": "string",
1159 + "enum": ["core:window:allow-outer-size"]
1160 + },
1161 + {
1162 + "description": "core:window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",
1163 + "type": "string",
1164 + "enum": ["core:window:allow-primary-monitor"]
1165 + },
1166 + {
1167 + "description": "core:window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",
1168 + "type": "string",
1169 + "enum": ["core:window:allow-request-user-attention"]
1170 + },
1171 + {
1172 + "description": "core:window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",
1173 + "type": "string",
1174 + "enum": ["core:window:allow-scale-factor"]
1175 + },
1176 + {
1177 + "description": "core:window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",
1178 + "type": "string",
1179 + "enum": ["core:window:allow-set-always-on-bottom"]
1180 + },
1181 + {
1182 + "description": "core:window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",
1183 + "type": "string",
1184 + "enum": ["core:window:allow-set-always-on-top"]
1185 + },
1186 + {
1187 + "description": "core:window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",
1188 + "type": "string",
1189 + "enum": ["core:window:allow-set-closable"]
1190 + },
1191 + {
1192 + "description": "core:window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",
1193 + "type": "string",
1194 + "enum": ["core:window:allow-set-content-protected"]
1195 + },
1196 + {
1197 + "description": "core:window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",
1198 + "type": "string",
1199 + "enum": ["core:window:allow-set-cursor-grab"]
1200 + },
1201 + {
1202 + "description": "core:window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",
1203 + "type": "string",
1204 + "enum": ["core:window:allow-set-cursor-icon"]
1205 + },
1206 + {
1207 + "description": "core:window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",
1208 + "type": "string",
1209 + "enum": ["core:window:allow-set-cursor-position"]
1210 + },
1211 + {
1212 + "description": "core:window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",
1213 + "type": "string",
1214 + "enum": ["core:window:allow-set-cursor-visible"]
1215 + },
1216 + {
1217 + "description": "core:window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",
1218 + "type": "string",
1219 + "enum": ["core:window:allow-set-decorations"]
1220 + },
1221 + {
1222 + "description": "core:window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",
1223 + "type": "string",
1224 + "enum": ["core:window:allow-set-effects"]
1225 + },
1226 + {
1227 + "description": "core:window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",
1228 + "type": "string",
1229 + "enum": ["core:window:allow-set-focus"]
1230 + },
1231 + {
1232 + "description": "core:window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",
1233 + "type": "string",
1234 + "enum": ["core:window:allow-set-fullscreen"]
1235 + },
1236 + {
1237 + "description": "core:window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
1238 + "type": "string",
1239 + "enum": ["core:window:allow-set-icon"]
1240 + },
1241 + {
1242 + "description": "core:window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",
1243 + "type": "string",
1244 + "enum": ["core:window:allow-set-ignore-cursor-events"]
1245 + },
1246 + {
1247 + "description": "core:window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",
1248 + "type": "string",
1249 + "enum": ["core:window:allow-set-max-size"]
1250 + },
1251 + {
1252 + "description": "core:window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",
1253 + "type": "string",
1254 + "enum": ["core:window:allow-set-maximizable"]
1255 + },
1256 + {
1257 + "description": "core:window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",
1258 + "type": "string",
1259 + "enum": ["core:window:allow-set-min-size"]
1260 + },
1261 + {
1262 + "description": "core:window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",
1263 + "type": "string",
1264 + "enum": ["core:window:allow-set-minimizable"]
1265 + },
1266 + {
1267 + "description": "core:window:allow-set-position -> Enables the set_position command without any pre-configured scope.",
1268 + "type": "string",
1269 + "enum": ["core:window:allow-set-position"]
1270 + },
1271 + {
1272 + "description": "core:window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",
1273 + "type": "string",
1274 + "enum": ["core:window:allow-set-progress-bar"]
1275 + },
1276 + {
1277 + "description": "core:window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",
1278 + "type": "string",
1279 + "enum": ["core:window:allow-set-resizable"]
1280 + },
1281 + {
1282 + "description": "core:window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",
1283 + "type": "string",
1284 + "enum": ["core:window:allow-set-shadow"]
1285 + },
1286 + {
1287 + "description": "core:window:allow-set-size -> Enables the set_size command without any pre-configured scope.",
1288 + "type": "string",
1289 + "enum": ["core:window:allow-set-size"]
1290 + },
1291 + {
1292 + "description": "core:window:allow-set-size-constraints -> Enables the set_size_constraints command without any pre-configured scope.",
1293 + "type": "string",
1294 + "enum": ["core:window:allow-set-size-constraints"]
1295 + },
1296 + {
1297 + "description": "core:window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",
1298 + "type": "string",
1299 + "enum": ["core:window:allow-set-skip-taskbar"]
1300 + },
1301 + {
1302 + "description": "core:window:allow-set-title -> Enables the set_title command without any pre-configured scope.",
1303 + "type": "string",
1304 + "enum": ["core:window:allow-set-title"]
1305 + },
1306 + {
1307 + "description": "core:window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",
1308 + "type": "string",
1309 + "enum": ["core:window:allow-set-title-bar-style"]
1310 + },
1311 + {
1312 + "description": "core:window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1313 + "type": "string",
1314 + "enum": ["core:window:allow-set-visible-on-all-workspaces"]
1315 + },
1316 + {
1317 + "description": "core:window:allow-show -> Enables the show command without any pre-configured scope.",
1318 + "type": "string",
1319 + "enum": ["core:window:allow-show"]
1320 + },
1321 + {
1322 + "description": "core:window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",
1323 + "type": "string",
1324 + "enum": ["core:window:allow-start-dragging"]
1325 + },
1326 + {
1327 + "description": "core:window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",
1328 + "type": "string",
1329 + "enum": ["core:window:allow-start-resize-dragging"]
1330 + },
1331 + {
1332 + "description": "core:window:allow-theme -> Enables the theme command without any pre-configured scope.",
1333 + "type": "string",
1334 + "enum": ["core:window:allow-theme"]
1335 + },
1336 + {
1337 + "description": "core:window:allow-title -> Enables the title command without any pre-configured scope.",
1338 + "type": "string",
1339 + "enum": ["core:window:allow-title"]
1340 + },
1341 + {
1342 + "description": "core:window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",
1343 + "type": "string",
1344 + "enum": ["core:window:allow-toggle-maximize"]
1345 + },
1346 + {
1347 + "description": "core:window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",
1348 + "type": "string",
1349 + "enum": ["core:window:allow-unmaximize"]
1350 + },
1351 + {
1352 + "description": "core:window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",
1353 + "type": "string",
1354 + "enum": ["core:window:allow-unminimize"]
1355 + },
1356 + {
1357 + "description": "core:window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",
1358 + "type": "string",
1359 + "enum": ["core:window:deny-available-monitors"]
1360 + },
1361 + {
1362 + "description": "core:window:deny-center -> Denies the center command without any pre-configured scope.",
1363 + "type": "string",
1364 + "enum": ["core:window:deny-center"]
1365 + },
1366 + {
1367 + "description": "core:window:deny-close -> Denies the close command without any pre-configured scope.",
1368 + "type": "string",
1369 + "enum": ["core:window:deny-close"]
1370 + },
1371 + {
1372 + "description": "core:window:deny-create -> Denies the create command without any pre-configured scope.",
1373 + "type": "string",
1374 + "enum": ["core:window:deny-create"]
1375 + },
1376 + {
1377 + "description": "core:window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",
1378 + "type": "string",
1379 + "enum": ["core:window:deny-current-monitor"]
1380 + },
1381 + {
1382 + "description": "core:window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",
1383 + "type": "string",
1384 + "enum": ["core:window:deny-cursor-position"]
1385 + },
1386 + {
1387 + "description": "core:window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
1388 + "type": "string",
1389 + "enum": ["core:window:deny-destroy"]
1390 + },
1391 + {
1392 + "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.",
1393 + "type": "string",
1394 + "enum": ["core:window:deny-get-all-windows"]
1395 + },
1396 + {
1397 + "description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.",
1398 + "type": "string",
1399 + "enum": ["core:window:deny-hide"]
1400 + },
1401 + {
1402 + "description": "core:window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",
1403 + "type": "string",
1404 + "enum": ["core:window:deny-inner-position"]
1405 + },
1406 + {
1407 + "description": "core:window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",
1408 + "type": "string",
1409 + "enum": ["core:window:deny-inner-size"]
1410 + },
1411 + {
1412 + "description": "core:window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",
1413 + "type": "string",
1414 + "enum": ["core:window:deny-internal-toggle-maximize"]
1415 + },
1416 + {
1417 + "description": "core:window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",
1418 + "type": "string",
1419 + "enum": ["core:window:deny-is-closable"]
1420 + },
1421 + {
1422 + "description": "core:window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",
1423 + "type": "string",
1424 + "enum": ["core:window:deny-is-decorated"]
1425 + },
1426 + {
1427 + "description": "core:window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",
1428 + "type": "string",
1429 + "enum": ["core:window:deny-is-focused"]
1430 + },
1431 + {
1432 + "description": "core:window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",
1433 + "type": "string",
1434 + "enum": ["core:window:deny-is-fullscreen"]
1435 + },
1436 + {
1437 + "description": "core:window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",
1438 + "type": "string",
1439 + "enum": ["core:window:deny-is-maximizable"]
1440 + },
1441 + {
1442 + "description": "core:window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",
1443 + "type": "string",
1444 + "enum": ["core:window:deny-is-maximized"]
1445 + },
1446 + {
1447 + "description": "core:window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",
1448 + "type": "string",
1449 + "enum": ["core:window:deny-is-minimizable"]
1450 + },
1451 + {
1452 + "description": "core:window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",
1453 + "type": "string",
1454 + "enum": ["core:window:deny-is-minimized"]
1455 + },
1456 + {
1457 + "description": "core:window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",
1458 + "type": "string",
1459 + "enum": ["core:window:deny-is-resizable"]
1460 + },
1461 + {
1462 + "description": "core:window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",
1463 + "type": "string",
1464 + "enum": ["core:window:deny-is-visible"]
1465 + },
1466 + {
1467 + "description": "core:window:deny-maximize -> Denies the maximize command without any pre-configured scope.",
1468 + "type": "string",
1469 + "enum": ["core:window:deny-maximize"]
1470 + },
1471 + {
1472 + "description": "core:window:deny-minimize -> Denies the minimize command without any pre-configured scope.",
1473 + "type": "string",
1474 + "enum": ["core:window:deny-minimize"]
1475 + },
1476 + {
1477 + "description": "core:window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",
1478 + "type": "string",
1479 + "enum": ["core:window:deny-monitor-from-point"]
1480 + },
1481 + {
1482 + "description": "core:window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
1483 + "type": "string",
1484 + "enum": ["core:window:deny-outer-position"]
1485 + },
1486 + {
1487 + "description": "core:window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",
1488 + "type": "string",
1489 + "enum": ["core:window:deny-outer-size"]
1490 + },
1491 + {
1492 + "description": "core:window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",
1493 + "type": "string",
1494 + "enum": ["core:window:deny-primary-monitor"]
1495 + },
1496 + {
1497 + "description": "core:window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",
1498 + "type": "string",
1499 + "enum": ["core:window:deny-request-user-attention"]
1500 + },
1501 + {
1502 + "description": "core:window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",
1503 + "type": "string",
1504 + "enum": ["core:window:deny-scale-factor"]
1505 + },
1506 + {
1507 + "description": "core:window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",
1508 + "type": "string",
1509 + "enum": ["core:window:deny-set-always-on-bottom"]
1510 + },
1511 + {
1512 + "description": "core:window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",
1513 + "type": "string",
1514 + "enum": ["core:window:deny-set-always-on-top"]
1515 + },
1516 + {
1517 + "description": "core:window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",
1518 + "type": "string",
1519 + "enum": ["core:window:deny-set-closable"]
1520 + },
1521 + {
1522 + "description": "core:window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",
1523 + "type": "string",
1524 + "enum": ["core:window:deny-set-content-protected"]
1525 + },
1526 + {
1527 + "description": "core:window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",
1528 + "type": "string",
1529 + "enum": ["core:window:deny-set-cursor-grab"]
1530 + },
1531 + {
1532 + "description": "core:window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",
1533 + "type": "string",
1534 + "enum": ["core:window:deny-set-cursor-icon"]
1535 + },
1536 + {
1537 + "description": "core:window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",
1538 + "type": "string",
1539 + "enum": ["core:window:deny-set-cursor-position"]
1540 + },
1541 + {
1542 + "description": "core:window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",
1543 + "type": "string",
1544 + "enum": ["core:window:deny-set-cursor-visible"]
1545 + },
1546 + {
1547 + "description": "core:window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",
1548 + "type": "string",
1549 + "enum": ["core:window:deny-set-decorations"]
1550 + },
1551 + {
1552 + "description": "core:window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",
1553 + "type": "string",
1554 + "enum": ["core:window:deny-set-effects"]
1555 + },
1556 + {
1557 + "description": "core:window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",
1558 + "type": "string",
1559 + "enum": ["core:window:deny-set-focus"]
1560 + },
1561 + {
1562 + "description": "core:window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",
1563 + "type": "string",
1564 + "enum": ["core:window:deny-set-fullscreen"]
1565 + },
1566 + {
1567 + "description": "core:window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
1568 + "type": "string",
1569 + "enum": ["core:window:deny-set-icon"]
1570 + },
1571 + {
1572 + "description": "core:window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",
1573 + "type": "string",
1574 + "enum": ["core:window:deny-set-ignore-cursor-events"]
1575 + },
1576 + {
1577 + "description": "core:window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",
1578 + "type": "string",
1579 + "enum": ["core:window:deny-set-max-size"]
1580 + },
1581 + {
1582 + "description": "core:window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",
1583 + "type": "string",
1584 + "enum": ["core:window:deny-set-maximizable"]
1585 + },
1586 + {
1587 + "description": "core:window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",
1588 + "type": "string",
1589 + "enum": ["core:window:deny-set-min-size"]
1590 + },
1591 + {
1592 + "description": "core:window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",
1593 + "type": "string",
1594 + "enum": ["core:window:deny-set-minimizable"]
1595 + },
1596 + {
1597 + "description": "core:window:deny-set-position -> Denies the set_position command without any pre-configured scope.",
1598 + "type": "string",
1599 + "enum": ["core:window:deny-set-position"]
1600 + },
1601 + {
1602 + "description": "core:window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",
1603 + "type": "string",
1604 + "enum": ["core:window:deny-set-progress-bar"]
1605 + },
1606 + {
1607 + "description": "core:window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",
1608 + "type": "string",
1609 + "enum": ["core:window:deny-set-resizable"]
1610 + },
1611 + {
1612 + "description": "core:window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",
1613 + "type": "string",
1614 + "enum": ["core:window:deny-set-shadow"]
1615 + },
1616 + {
1617 + "description": "core:window:deny-set-size -> Denies the set_size command without any pre-configured scope.",
1618 + "type": "string",
1619 + "enum": ["core:window:deny-set-size"]
1620 + },
1621 + {
1622 + "description": "core:window:deny-set-size-constraints -> Denies the set_size_constraints command without any pre-configured scope.",
1623 + "type": "string",
1624 + "enum": ["core:window:deny-set-size-constraints"]
1625 + },
1626 + {
1627 + "description": "core:window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",
1628 + "type": "string",
1629 + "enum": ["core:window:deny-set-skip-taskbar"]
1630 + },
1631 + {
1632 + "description": "core:window:deny-set-title -> Denies the set_title command without any pre-configured scope.",
1633 + "type": "string",
1634 + "enum": ["core:window:deny-set-title"]
1635 + },
1636 + {
1637 + "description": "core:window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",
1638 + "type": "string",
1639 + "enum": ["core:window:deny-set-title-bar-style"]
1640 + },
1641 + {
1642 + "description": "core:window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
1643 + "type": "string",
1644 + "enum": ["core:window:deny-set-visible-on-all-workspaces"]
1645 + },
1646 + {
1647 + "description": "core:window:deny-show -> Denies the show command without any pre-configured scope.",
1648 + "type": "string",
1649 + "enum": ["core:window:deny-show"]
1650 + },
1651 + {
1652 + "description": "core:window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",
1653 + "type": "string",
1654 + "enum": ["core:window:deny-start-dragging"]
1655 + },
1656 + {
1657 + "description": "core:window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",
1658 + "type": "string",
1659 + "enum": ["core:window:deny-start-resize-dragging"]
1660 + },
1661 + {
1662 + "description": "core:window:deny-theme -> Denies the theme command without any pre-configured scope.",
1663 + "type": "string",
1664 + "enum": ["core:window:deny-theme"]
1665 + },
1666 + {
1667 + "description": "core:window:deny-title -> Denies the title command without any pre-configured scope.",
1668 + "type": "string",
1669 + "enum": ["core:window:deny-title"]
1670 + },
1671 + {
1672 + "description": "core:window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",
1673 + "type": "string",
1674 + "enum": ["core:window:deny-toggle-maximize"]
1675 + },
1676 + {
1677 + "description": "core:window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",
1678 + "type": "string",
1679 + "enum": ["core:window:deny-unmaximize"]
1680 + },
1681 + {
1682 + "description": "core:window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",
1683 + "type": "string",
1684 + "enum": ["core:window:deny-unminimize"]
1685 + },
1686 + {
1687 + "type": "string",
1688 + "enum": ["devtools:default"]
1689 + }
1690 + ]
1691 + },
1692 + "Value": {
1693 + "description": "All supported ACL values.",
1694 + "anyOf": [
1695 + {
1696 + "description": "Represents a null JSON value.",
1697 + "type": "null"
1698 + },
1699 + {
1700 + "description": "Represents a [`bool`].",
1701 + "type": "boolean"
1702 + },
1703 + {
1704 + "description": "Represents a valid ACL [`Number`].",
1705 + "allOf": [
1706 + {
1707 + "$ref": "#/definitions/Number"
1708 + }
1709 + ]
1710 + },
1711 + {
1712 + "description": "Represents a [`String`].",
1713 + "type": "string"
1714 + },
1715 + {
1716 + "description": "Represents a list of other [`Value`]s.",
1717 + "type": "array",
1718 + "items": {
1719 + "$ref": "#/definitions/Value"
1720 + }
1721 + },
1722 + {
1723 + "description": "Represents a map of [`String`] keys to [`Value`]s.",
1724 + "type": "object",
1725 + "additionalProperties": {
1726 + "$ref": "#/definitions/Value"
1727 + }
1728 + }
1729 + ]
1730 + },
1731 + "Number": {
1732 + "description": "A valid ACL number.",
1733 + "anyOf": [
1734 + {
1735 + "description": "Represents an [`i64`].",
1736 + "type": "integer",
1737 + "format": "int64"
1738 + },
1739 + {
1740 + "description": "Represents a [`f64`].",
1741 + "type": "number",
1742 + "format": "double"
1743 + }
1744 + ]
1745 + },
1746 + "Target": {
1747 + "description": "Platform target.",
1748 + "oneOf": [
1749 + {
1750 + "description": "MacOS.",
1751 + "type": "string",
1752 + "enum": ["macOS"]
1753 + },
1754 + {
1755 + "description": "Windows.",
1756 + "type": "string",
1757 + "enum": ["windows"]
1758 + },
1759 + {
1760 + "description": "Linux.",
1761 + "type": "string",
1762 + "enum": ["linux"]
1763 + },
1764 + {
1765 + "description": "Android.",
1766 + "type": "string",
1767 + "enum": ["android"]
1768 + },
1769 + {
1770 + "description": "iOS.",
1771 + "type": "string",
1772 + "enum": ["iOS"]
1773 + }
1774 + ]
1775 + }
1776 + }
1777 +}
examples/tauri-app/src-tauri/tauri.conf.json
+35 -35
@@ -1,37 +1,37 @@
1 {
2 - "productName": "tauri-app",
3 - "version": "0.0.0",
4 - "identifier": "com.tauri.dev",
5 - "build": {
6 - "beforeDevCommand": "bun run dev",
7 - "beforeBuildCommand": "bun run build",
8 - "devUrl": "http://localhost:1420",
9 - "frontendDist": "../dist"
10 - },
11 - "app": {
12 - "withGlobalTauri": false,
13 - "security": {
14 - "csp": null
15 - },
16 - "windows": [
17 - {
18 - "fullscreen": false,
19 - "height": 600,
20 - "resizable": true,
21 - "title": "tauri-app",
22 - "width": 800
23 - }
24 - ]
25 - },
26 - "bundle": {
27 - "active": true,
28 - "targets": "all",
29 - "icon": [
30 - "icons/32x32.png",
31 - "icons/128x128.png",
32 - "icons/128x128@2x.png",
33 - "icons/icon.icns",
34 - "icons/icon.ico"
35 - ]
36 - }
2 + "productName": "tauri-app",
3 + "version": "0.0.0",
4 + "identifier": "com.tauri.dev",
5 + "build": {
6 + "beforeDevCommand": "bun run dev",
7 + "beforeBuildCommand": "bun run build",
8 + "devUrl": "http://localhost:1420",
9 + "frontendDist": "../dist"
10 + },
11 + "app": {
12 + "withGlobalTauri": false,
13 + "security": {
14 + "csp": null
15 + },
16 + "windows": [
17 + {
18 + "fullscreen": false,
19 + "height": 600,
20 + "resizable": true,
21 + "title": "tauri-app",
22 + "width": 800
23 + }
24 + ]
25 + },
26 + "bundle": {
27 + "active": true,
28 + "targets": "all",
29 + "icon": [
30 + "icons/32x32.png",
31 + "icons/128x128.png",
32 + "icons/128x128@2x.png",
33 + "icons/icon.icns",
34 + "icons/icon.ico"
35 + ]
36 + }
37 }
examples/tauri-app/src/App.svelte
+21 -19
@@ -1,23 +1,25 @@
1 <script lang="ts">
2 - import Greet from './lib/Greet.svelte'
3 - import {BannerAd, InterstitialAd} from "tauri-plugin-admob-api";
4 -
5 - let response = ''
6 -
7 - function updateResponse(returnValue) {
8 - response += `[${new Date().toLocaleTimeString()}] ` + (typeof returnValue === 'string' ? returnValue : JSON.stringify(returnValue)) + '<br>'
9 - }
10 -
11 - async function _ping() {
12 - const banner = new BannerAd({
13 - adUnitId: 'ca-app-pub-3940256099942544/9214589741',
14 - position: 'top',
15 - });
16 - if (!(await banner.isLoaded())){
17 - await banner.load();
18 - }
19 - await banner.show();
20 - }
2 +import { BannerAd, InterstitialAd } from "tauri-plugin-admob-api";
3 +import Greet from "./lib/Greet.svelte";
4 +
5 +let response = "";
6 +
7 +function updateResponse(returnValue) {
8 + response += `[${new Date().toLocaleTimeString()}] ${
9 + typeof returnValue === "string" ? returnValue : JSON.stringify(returnValue)
10 + }<br>`;
11 +}
12 +
13 +async function _ping() {
14 + const banner = new BannerAd({
15 + adUnitId: "ca-app-pub-3940256099942544/9214589741",
16 + position: "top",
17 + });
18 + if (!(await banner.isLoaded())) {
19 + await banner.load();
20 + }
21 + await banner.show();
22 +}
23 </script>
24
25 <main class="container">
examples/tauri-app/src/lib/Greet.svelte
+7 -7
@@ -1,13 +1,13 @@
1 <script>
2 - import { invoke } from "@tauri-apps/api/core"
2 +import { invoke } from "@tauri-apps/api/core";
3
4 - let name = "";
5 - let greetMsg = ""
4 +const name = "";
5 +let greetMsg = "";
6
7 - async function greet(){
8 - // Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
9 - greetMsg = await invoke("greet", { name })
10 - }
7 +async function greet() {
8 + // Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
9 + greetMsg = await invoke("greet", { name });
10 +}
11 </script>
12
13 <div>
examples/tauri-app/src/main.js
+1 -1
@@ -2,7 +2,7 @@ import "./style.css";
2 import App from "./App.svelte";
3
4 const app = new App({
5 - target: document.getElementById("app"),
5 + target: document.getElementById("app"),
6 });
7
8 export default app;
examples/tauri-app/src/style.css
+59 -59
@@ -1,102 +1,102 @@
1 :root {
2 - font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3 - font-size: 16px;
4 - line-height: 24px;
5 - font-weight: 400;
6 -
7 - color: #0f0f0f;
8 - background-color: #f6f6f6;
9 -
10 - font-synthesis: none;
11 - text-rendering: optimizeLegibility;
12 - -webkit-font-smoothing: antialiased;
13 - -moz-osx-font-smoothing: grayscale;
14 - -webkit-text-size-adjust: 100%;
2 + font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3 + font-size: 16px;
4 + line-height: 24px;
5 + font-weight: 400;
6 +
7 + color: #0f0f0f;
8 + background-color: #f6f6f6;
9 +
10 + font-synthesis: none;
11 + text-rendering: optimizeLegibility;
12 + -webkit-font-smoothing: antialiased;
13 + -moz-osx-font-smoothing: grayscale;
14 + -webkit-text-size-adjust: 100%;
15 }
16
17 .container {
18 - margin: 0;
19 - padding-top: 10vh;
20 - display: flex;
21 - flex-direction: column;
22 - justify-content: center;
23 - text-align: center;
18 + margin: 0;
19 + padding-top: 10vh;
20 + display: flex;
21 + flex-direction: column;
22 + justify-content: center;
23 + text-align: center;
24 }
25
26 .logo {
27 - height: 6em;
28 - padding: 1.5em;
29 - will-change: filter;
30 - transition: 0.75s;
27 + height: 6em;
28 + padding: 1.5em;
29 + will-change: filter;
30 + transition: 0.75s;
31 }
32
33 .logo.tauri:hover {
34 - filter: drop-shadow(0 0 2em #24c8db);
34 + filter: drop-shadow(0 0 2em #24c8db);
35 }
36
37 .row {
38 - display: flex;
39 - justify-content: center;
38 + display: flex;
39 + justify-content: center;
40 }
41
42 a {
43 - font-weight: 500;
44 - color: #646cff;
45 - text-decoration: inherit;
43 + font-weight: 500;
44 + color: #646cff;
45 + text-decoration: inherit;
46 }
47
48 a:hover {
49 - color: #535bf2;
49 + color: #535bf2;
50 }
51
52 h1 {
53 - text-align: center;
53 + text-align: center;
54 }
55
56 input,
57 button {
58 - border-radius: 8px;
59 - border: 1px solid transparent;
60 - padding: 0.6em 1.2em;
61 - font-size: 1em;
62 - font-weight: 500;
63 - font-family: inherit;
64 - color: #0f0f0f;
65 - background-color: #ffffff;
66 - transition: border-color 0.25s;
67 - box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
58 + border-radius: 8px;
59 + border: 1px solid transparent;
60 + padding: 0.6em 1.2em;
61 + font-size: 1em;
62 + font-weight: 500;
63 + font-family: inherit;
64 + color: #0f0f0f;
65 + background-color: #ffffff;
66 + transition: border-color 0.25s;
67 + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
68 }
69
70 button {
71 - cursor: pointer;
71 + cursor: pointer;
72 }
73
74 button:hover {
75 - border-color: #396cd8;
75 + border-color: #396cd8;
76 }
77
78 input,
79 button {
80 - outline: none;
80 + outline: none;
81 }
82
83 #greet-input {
84 - margin-right: 5px;
84 + margin-right: 5px;
85 }
86
87 @media (prefers-color-scheme: dark) {
88 - :root {
89 - color: #f6f6f6;
90 - background-color: #2f2f2f;
91 - }
92 -
93 - a:hover {
94 - color: #24c8db;
95 - }
96 -
97 - input,
98 - button {
99 - color: #ffffff;
100 - background-color: #0f0f0f98;
101 - }
88 + :root {
89 + color: #f6f6f6;
90 + background-color: #2f2f2f;
91 + }
92 +
93 + a:hover {
94 + color: #24c8db;
95 + }
96 +
97 + input,
98 + button {
99 + color: #ffffff;
100 + background-color: #0f0f0f98;
101 + }
102 }
examples/tauri-app/vite.config.js
+20 -18
@@ -1,25 +1,27 @@
1 -import { defineConfig } from "vite";
1 import { svelte } from "@sveltejs/vite-plugin-svelte";
3 -import { internalIpV4Sync } from 'internal-ip'
2 +import { internalIpV4Sync } from "internal-ip";
3 +import { defineConfig } from "vite";
4
5 const mobile = !!/android|ios/.exec(process.env.TAURI_ENV_PLATFORM);
6
7 // https://vitejs.dev/config/
8 export default defineConfig({
9 - plugins: [svelte()],
9 + plugins: [svelte()],
10
11 - // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
12 - // prevent vite from obscuring rust errors
13 - clearScreen: false,
14 - // tauri expects a fixed port, fail if that port is not available
15 - server: {
16 - host: mobile ? "0.0.0.0" : false,
17 - port: 1420,
18 - strictPort: true,
19 - hmr: mobile ? {
20 - protocol: 'ws',
21 - host: internalIpV4Sync(),
22 - port: 1421
23 - } : undefined,
24 - },
25 -})
11 + // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
12 + // prevent vite from obscuring rust errors
13 + clearScreen: false,
14 + // tauri expects a fixed port, fail if that port is not available
15 + server: {
16 + host: mobile ? "0.0.0.0" : false,
17 + port: 1420,
18 + strictPort: true,
19 + hmr: mobile
20 + ? {
21 + protocol: "ws",
22 + host: internalIpV4Sync(),
23 + port: 1421,
24 + }
25 + : undefined,
26 + },
27 +});
guest-js/ads/banner.ts
+30 -30
@@ -1,37 +1,37 @@
1 -import {MobileAd, MobileAdOptions} from "./common";
1 +import { MobileAd, type MobileAdOptions } from "./common";
2
3 export class BannerAd extends MobileAd<BannerAdOptions> {
4 - static cls = 'BannerAd';
5 - #loaded = false;
6 -
7 - constructor(opts: BannerAdOptions) {
8 - super({
9 - position: 'bottom',
10 - ...opts,
11 - })
12 - }
13 -
14 - isLoaded() {
15 - return super.isLoaded();
16 - }
17 -
18 - async load() {
19 - await super.load();
20 - this.#loaded = true;
21 - }
22 -
23 - async show() {
24 - if (!this.#loaded) await this.load();
25 - await super.show();
26 - }
27 -
28 - hide() {
29 - return super.hide();
30 - }
4 + static cls = "BannerAd";
5 + #loaded = false;
6 +
7 + constructor(opts: BannerAdOptions) {
8 + super({
9 + position: "bottom",
10 + ...opts,
11 + });
12 + }
13 +
14 + isLoaded() {
15 + return super.isLoaded();
16 + }
17 +
18 + async load() {
19 + await super.load();
20 + this.#loaded = true;
21 + }
22 +
23 + async show() {
24 + if (!this.#loaded) await this.load();
25 + await super.show();
26 + }
27 +
28 + hide() {
29 + return super.hide();
30 + }
31 }
32
33 -export type BannerPosition = 'top' | 'bottom';
33 +export type BannerPosition = "top" | "bottom";
34
35 export interface BannerAdOptions extends MobileAdOptions {
36 - position?: BannerPosition;
36 + position?: BannerPosition;
37 }
guest-js/ads/common.ts
+80 -71
@@ -1,83 +1,92 @@
1 -import {invoke} from '@tauri-apps/api/core'
1 +import { invoke } from "@tauri-apps/api/core";
2
3 export async function isPrivacyOptionsRequired(): Promise<boolean> {
4 - return (await invoke<{isPrivacyOptionsRequired: boolean}>('plugin:admob|isPrivacyOptionsRequired')).isPrivacyOptionsRequired
4 + return (
5 + await invoke<{ isPrivacyOptionsRequired: boolean }>(
6 + "plugin:admob|isPrivacyOptionsRequired",
7 + )
8 + ).isPrivacyOptionsRequired;
9 }
10
11 export async function showPrivacyOptionsForm(): Promise<void> {
8 - await invoke('plugin:admob|showPrivacyOptionsForm')
12 + await invoke("plugin:admob|showPrivacyOptionsForm");
13 }
14
15 export class MobileAd<T extends MobileAdOptions = MobileAdOptions> {
12 - private static allAdds: { [s: number]: MobileAd } = {};
13 - private static idCounter = 0;
14 -
15 - public readonly id: number;
16 -
17 - protected readonly opts: T;
18 -
19 - #created = false;
20 - #init: Promise<void> | null = null;
21 -
22 - constructor(opts: T) {
23 - this.opts = opts;
24 -
25 - this.id = MobileAd.nextId();
26 - MobileAd.allAdds[this.id] = this;
27 - }
28 -
29 - private static nextId() {
30 - return MobileAd.idCounter++;
31 - }
32 -
33 - public get adUnitId() {
34 - return this.opts.adUnitId;
35 - }
36 -
37 - protected async isLoaded() {
38 - await this.init();
39 - return await invoke('plugin:admob|adIsLoaded', {
40 - id: this.id
41 - } as unknown as Record<string, unknown>)
42 - }
43 -
44 - protected async load() {
45 - await this.init();
46 - await invoke('plugin:admob|adLoad', {
47 - ...this.opts, id: this.id
48 - } as unknown as Record<string, unknown>)
49 - }
50 -
51 - protected async show() {
52 - await this.init();
53 - await invoke('plugin:admob|adShow', {
54 - id: this.id
55 - })
56 - }
57 -
58 - protected async hide() {
59 - await this.init();
60 - await invoke('plugin:admob|adHide', {
61 - id: this.id
62 - })
63 - }
64 -
65 - protected async init() {
66 - if (this.#created) return;
67 -
68 - if (this.#init === null) {
69 - const cls = (this.constructor as unknown as { cls?: string }).cls ?? this.constructor.name;
70 -
71 - await invoke('plugin:admob|adCreate', {
72 - ...this.opts, id: this.id, cls
73 - } as unknown as Record<string, unknown>);
74 - }
75 -
76 - await this.#init;
77 - this.#created = true;
78 - }
16 + private static allAdds: { [s: number]: MobileAd } = {};
17 + private static idCounter = 0;
18 +
19 + public readonly id: number;
20 +
21 + protected readonly opts: T;
22 +
23 + #created = false;
24 + #init: Promise<void> | null = null;
25 +
26 + constructor(opts: T) {
27 + this.opts = opts;
28 +
29 + this.id = MobileAd.nextId();
30 + MobileAd.allAdds[this.id] = this;
31 + }
32 +
33 + private static nextId() {
34 + return MobileAd.idCounter++;
35 + }
36 +
37 + public get adUnitId() {
38 + return this.opts.adUnitId;
39 + }
40 +
41 + protected async isLoaded() {
42 + await this.init();
43 + return await invoke("plugin:admob|adIsLoaded", {
44 + id: this.id,
45 + } as unknown as Record<string, unknown>);
46 + }
47 +
48 + protected async load() {
49 + await this.init();
50 + await invoke("plugin:admob|adLoad", {
51 + ...this.opts,
52 + id: this.id,
53 + } as unknown as Record<string, unknown>);
54 + }
55 +
56 + protected async show() {
57 + await this.init();
58 + await invoke("plugin:admob|adShow", {
59 + id: this.id,
60 + });
61 + }
62 +
63 + protected async hide() {
64 + await this.init();
65 + await invoke("plugin:admob|adHide", {
66 + id: this.id,
67 + });
68 + }
69 +
70 + protected async init() {
71 + if (this.#created) return;
72 +
73 + if (this.#init === null) {
74 + const cls =
75 + (this.constructor as unknown as { cls?: string }).cls ??
76 + this.constructor.name;
77 +
78 + await invoke("plugin:admob|adCreate", {
79 + ...this.opts,
80 + id: this.id,
81 + cls,
82 + } as unknown as Record<string, unknown>);
83 + }
84 +
85 + await this.#init;
86 + this.#created = true;
87 + }
88 }
89
90 export interface MobileAdOptions {
82 - adUnitId: string;
91 + adUnitId: string;
92 }
guest-js/ads/interstitial.ts
+11 -11
@@ -1,17 +1,17 @@
1 -import {MobileAd} from "./common";
1 +import { MobileAd } from "./common";
2
3 export class InterstitialAd extends MobileAd {
4 - static cls = 'InterstitialAd'
4 + static cls = "InterstitialAd";
5
6 - isLoaded() {
7 - return super.isLoaded()
8 - }
6 + isLoaded() {
7 + return super.isLoaded();
8 + }
9
10 - async load() {
11 - return super.load()
12 - }
10 + async load() {
11 + return super.load();
12 + }
13
14 - async show() {
15 - return super.show()
16 - }
14 + async show() {
15 + return super.show();
16 + }
17 }
guest-js/ads/rewarded.ts
+25 -26
@@ -1,41 +1,40 @@
1 -import {MobileAd, MobileAdOptions} from "./common";
1 +import { MobileAd, type MobileAdOptions } from "./common";
2
3 export class RewardedAd extends MobileAd<RewardedAdOptions> {
4 - static cls = 'RewardedAd'
4 + static cls = "RewardedAd";
5
6 - isLoaded() {
7 - return super.isLoaded()
8 - }
6 + isLoaded() {
7 + return super.isLoaded();
8 + }
9
10 - async load() {
11 - return super.load()
12 - }
10 + async load() {
11 + return super.load();
12 + }
13
14 - async show() {
15 - return super.show()
16 - }
14 + async show() {
15 + return super.show();
16 + }
17 }
18
19 export class RewardedInterstitialAd extends MobileAd<RewardedAdOptions> {
20 - static cls = 'RewardedInterstitialAd'
20 + static cls = "RewardedInterstitialAd";
21
22 - isLoaded() {
23 - return super.isLoaded()
24 - }
22 + isLoaded() {
23 + return super.isLoaded();
24 + }
25
26 - async load() {
27 - return super.load()
28 - }
26 + async load() {
27 + return super.load();
28 + }
29
30 - async show() {
31 - return super.show()
32 - }
30 + async show() {
31 + return super.show();
32 + }
33 }
34
35 -
35 export interface RewardedAdOptions extends MobileAdOptions {
37 - serverSideVerification?: {
38 - userId?: string;
39 - customData?: string;
40 - };
36 + serverSideVerification?: {
37 + userId?: string;
38 + customData?: string;
39 + };
40 }
guest-js/index.ts
+4 -4
@@ -1,4 +1,4 @@
1 -export * from './ads/common';
2 -export * from './ads/banner';
3 -export * from './ads/interstitial';
4 -export * from './ads/rewarded';
1 +export * from "./ads/common";
2 +export * from "./ads/banner";
3 +export * from "./ads/interstitial";
4 +export * from "./ads/rewarded";
package.json
+32 -33
@@ -1,35 +1,34 @@
1 {
2 - "name": "tauri-plugin-admob-api",
3 - "version": "0.0.3",
4 - "author": "You",
5 - "description": "",
6 - "type": "module",
7 - "types": "./dist-js/index.d.ts",
8 - "main": "./dist-js/index.cjs",
9 - "module": "./dist-js/index.js",
10 - "exports": {
11 - "types": "./dist-js/index.d.ts",
12 - "import": "./dist-js/index.js",
13 - "require": "./dist-js/index.cjs"
14 - },
15 - "files": [
16 - "dist-js",
17 - "README.md"
18 - ],
19 - "scripts": {
20 - "build": "rollup -c",
21 - "prepublishOnly": "bun run build",
22 - "pretest": "bun run build",
23 - "tauri": "tauri"
24 - },
25 - "dependencies": {
26 - "@tauri-apps/api": "^2.0.0-beta.15"
27 - },
28 - "devDependencies": {
29 - "@tauri-apps/cli": "next",
30 - "@rollup/plugin-typescript": "^11.1.6",
31 - "rollup": "^4.18.1",
32 - "typescript": "^5.5.3",
33 - "tslib": "^2.6.3"
34 - }
2 + "name": "tauri-plugin-admob-api",
3 + "version": "0.0.3",
4 + "author": "You",
5 + "description": "",
6 + "type": "module",
7 + "types": "./dist-js/index.d.ts",
8 + "main": "./dist-js/index.cjs",
9 + "module": "./dist-js/index.js",
10 + "exports": {
11 + "types": "./dist-js/index.d.ts",
12 + "import": "./dist-js/index.js",
13 + "require": "./dist-js/index.cjs"
14 + },
15 + "files": ["dist-js", "README.md"],
16 + "scripts": {
17 + "build": "rollup -c",
18 + "prepublishOnly": "bun run build",
19 + "pretest": "bun run build",
20 + "tauri": "tauri",
21 + "biome": "biome"
22 + },
23 + "dependencies": {
24 + "@tauri-apps/api": "^2.0.0-beta.15"
25 + },
26 + "devDependencies": {
27 + "@biomejs/biome": "1.9.4",
28 + "@rollup/plugin-typescript": "^11.1.6",
29 + "@tauri-apps/cli": "next",
30 + "rollup": "^4.18.1",
31 + "tslib": "^2.6.3",
32 + "typescript": "^5.5.3"
33 + }
34 }
permissions/schemas/schema.json
+385 -474
@@ -1,475 +1,386 @@
1 {
2 - "$schema": "http://json-schema.org/draft-07/schema#",
3 - "title": "PermissionFile",
4 - "description": "Permission file that can define a default permission, a set of permissions or a list of inlined permissions.",
5 - "type": "object",
6 - "properties": {
7 - "default": {
8 - "description": "The default permission set for the plugin",
9 - "anyOf": [
10 - {
11 - "$ref": "#/definitions/DefaultPermission"
12 - },
13 - {
14 - "type": "null"
15 - }
16 - ]
17 - },
18 - "set": {
19 - "description": "A list of permissions sets defined",
20 - "type": "array",
21 - "items": {
22 - "$ref": "#/definitions/PermissionSet"
23 - }
24 - },
25 - "permission": {
26 - "description": "A list of inlined permissions",
27 - "default": [],
28 - "type": "array",
29 - "items": {
30 - "$ref": "#/definitions/Permission"
31 - }
32 - }
33 - },
34 - "definitions": {
35 - "DefaultPermission": {
36 - "description": "The default permission set of the plugin.\n\nWorks similarly to a permission with the \"default\" identifier.",
37 - "type": "object",
38 - "required": [
39 - "permissions"
40 - ],
41 - "properties": {
42 - "version": {
43 - "description": "The version of the permission.",
44 - "type": [
45 - "integer",
46 - "null"
47 - ],
48 - "format": "uint64",
49 - "minimum": 1.0
50 - },
51 - "description": {
52 - "description": "Human-readable description of what the permission does. Tauri convention is to use <h4> headings in markdown content for Tauri documentation generation purposes.",
53 - "type": [
54 - "string",
55 - "null"
56 - ]
57 - },
58 - "permissions": {
59 - "description": "All permissions this set contains.",
60 - "type": "array",
61 - "items": {
62 - "type": "string"
63 - }
64 - }
65 - }
66 - },
67 - "PermissionSet": {
68 - "description": "A set of direct permissions grouped together under a new name.",
69 - "type": "object",
70 - "required": [
71 - "description",
72 - "identifier",
73 - "permissions"
74 - ],
75 - "properties": {
76 - "identifier": {
77 - "description": "A unique identifier for the permission.",
78 - "type": "string"
79 - },
80 - "description": {
81 - "description": "Human-readable description of what the permission does.",
82 - "type": "string"
83 - },
84 - "permissions": {
85 - "description": "All permissions this set contains.",
86 - "type": "array",
87 - "items": {
88 - "$ref": "#/definitions/PermissionKind"
89 - }
90 - }
91 - }
92 - },
93 - "Permission": {
94 - "description": "Descriptions of explicit privileges of commands.\n\nIt can enable commands to be accessible in the frontend of the application.\n\nIf the scope is defined it can be used to fine grain control the access of individual or multiple commands.",
95 - "type": "object",
96 - "required": [
97 - "identifier"
98 - ],
99 - "properties": {
100 - "version": {
101 - "description": "The version of the permission.",
102 - "type": [
103 - "integer",
104 - "null"
105 - ],
106 - "format": "uint64",
107 - "minimum": 1.0
108 - },
109 - "identifier": {
110 - "description": "A unique identifier for the permission.",
111 - "type": "string"
112 - },
113 - "description": {
114 - "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.",
115 - "type": [
116 - "string",
117 - "null"
118 - ]
119 - },
120 - "commands": {
121 - "description": "Allowed or denied commands when using this permission.",
122 - "default": {
123 - "allow": [],
124 - "deny": []
125 - },
126 - "allOf": [
127 - {
128 - "$ref": "#/definitions/Commands"
129 - }
130 - ]
131 - },
132 - "scope": {
133 - "description": "Allowed or denied scoped when using this permission.",
134 - "allOf": [
135 - {
136 - "$ref": "#/definitions/Scopes"
137 - }
138 - ]
139 - },
140 - "platforms": {
141 - "description": "Target platforms this permission applies. By default all platforms are affected by this permission.",
142 - "type": [
143 - "array",
144 - "null"
145 - ],
146 - "items": {
147 - "$ref": "#/definitions/Target"
148 - }
149 - }
150 - }
151 - },
152 - "Commands": {
153 - "description": "Allowed and denied commands inside a permission.\n\nIf two commands clash inside of `allow` and `deny`, it should be denied by default.",
154 - "type": "object",
155 - "properties": {
156 - "allow": {
157 - "description": "Allowed command.",
158 - "default": [],
159 - "type": "array",
160 - "items": {
161 - "type": "string"
162 - }
163 - },
164 - "deny": {
165 - "description": "Denied command, which takes priority.",
166 - "default": [],
167 - "type": "array",
168 - "items": {
169 - "type": "string"
170 - }
171 - }
172 - }
173 - },
174 - "Scopes": {
175 - "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\" }] } ```",
176 - "type": "object",
177 - "properties": {
178 - "allow": {
179 - "description": "Data that defines what is allowed by the scope.",
180 - "type": [
181 - "array",
182 - "null"
183 - ],
184 - "items": {
185 - "$ref": "#/definitions/Value"
186 - }
187 - },
188 - "deny": {
189 - "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
190 - "type": [
191 - "array",
192 - "null"
193 - ],
194 - "items": {
195 - "$ref": "#/definitions/Value"
196 - }
197 - }
198 - }
199 - },
200 - "Value": {
201 - "description": "All supported ACL values.",
202 - "anyOf": [
203 - {
204 - "description": "Represents a null JSON value.",
205 - "type": "null"
206 - },
207 - {
208 - "description": "Represents a [`bool`].",
209 - "type": "boolean"
210 - },
211 - {
212 - "description": "Represents a valid ACL [`Number`].",
213 - "allOf": [
214 - {
215 - "$ref": "#/definitions/Number"
216 - }
217 - ]
218 - },
219 - {
220 - "description": "Represents a [`String`].",
221 - "type": "string"
222 - },
223 - {
224 - "description": "Represents a list of other [`Value`]s.",
225 - "type": "array",
226 - "items": {
227 - "$ref": "#/definitions/Value"
228 - }
229 - },
230 - {
231 - "description": "Represents a map of [`String`] keys to [`Value`]s.",
232 - "type": "object",
233 - "additionalProperties": {
234 - "$ref": "#/definitions/Value"
235 - }
236 - }
237 - ]
238 - },
239 - "Number": {
240 - "description": "A valid ACL number.",
241 - "anyOf": [
242 - {
243 - "description": "Represents an [`i64`].",
244 - "type": "integer",
245 - "format": "int64"
246 - },
247 - {
248 - "description": "Represents a [`f64`].",
249 - "type": "number",
250 - "format": "double"
251 - }
252 - ]
253 - },
254 - "Target": {
255 - "description": "Platform target.",
256 - "oneOf": [
257 - {
258 - "description": "MacOS.",
259 - "type": "string",
260 - "enum": [
261 - "macOS"
262 - ]
263 - },
264 - {
265 - "description": "Windows.",
266 - "type": "string",
267 - "enum": [
268 - "windows"
269 - ]
270 - },
271 - {
272 - "description": "Linux.",
273 - "type": "string",
274 - "enum": [
275 - "linux"
276 - ]
277 - },
278 - {
279 - "description": "Android.",
280 - "type": "string",
281 - "enum": [
282 - "android"
283 - ]
284 - },
285 - {
286 - "description": "iOS.",
287 - "type": "string",
288 - "enum": [
289 - "iOS"
290 - ]
291 - }
292 - ]
293 - },
294 - "PermissionKind": {
295 - "type": "string",
296 - "oneOf": [
297 - {
298 - "description": "allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
299 - "type": "string",
300 - "enum": [
301 - "allow-adCreate"
302 - ]
303 - },
304 - {
305 - "description": "deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
306 - "type": "string",
307 - "enum": [
308 - "deny-adCreate"
309 - ]
310 - },
311 - {
312 - "description": "allow-adHide -> Enables the adHide command without any pre-configured scope.",
313 - "type": "string",
314 - "enum": [
315 - "allow-adHide"
316 - ]
317 - },
318 - {
319 - "description": "deny-adHide -> Denies the adHide command without any pre-configured scope.",
320 - "type": "string",
321 - "enum": [
322 - "deny-adHide"
323 - ]
324 - },
325 - {
326 - "description": "allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
327 - "type": "string",
328 - "enum": [
329 - "allow-adIsLoaded"
330 - ]
331 - },
332 - {
333 - "description": "deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
334 - "type": "string",
335 - "enum": [
336 - "deny-adIsLoaded"
337 - ]
338 - },
339 - {
340 - "description": "allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
341 - "type": "string",
342 - "enum": [
343 - "allow-adLoad"
344 - ]
345 - },
346 - {
347 - "description": "deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
348 - "type": "string",
349 - "enum": [
350 - "deny-adLoad"
351 - ]
352 - },
353 - {
354 - "description": "allow-adShow -> Enables the adShow command without any pre-configured scope.",
355 - "type": "string",
356 - "enum": [
357 - "allow-adShow"
358 - ]
359 - },
360 - {
361 - "description": "deny-adShow -> Denies the adShow command without any pre-configured scope.",
362 - "type": "string",
363 - "enum": [
364 - "deny-adShow"
365 - ]
366 - },
367 - {
368 - "description": "allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
369 - "type": "string",
370 - "enum": [
371 - "allow-configRequest"
372 - ]
373 - },
374 - {
375 - "description": "deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
376 - "type": "string",
377 - "enum": [
378 - "deny-configRequest"
379 - ]
380 - },
381 - {
382 - "description": "allow-configure -> Enables the configure command without any pre-configured scope.",
383 - "type": "string",
384 - "enum": [
385 - "allow-configure"
386 - ]
387 - },
388 - {
389 - "description": "deny-configure -> Denies the configure command without any pre-configured scope.",
390 - "type": "string",
391 - "enum": [
392 - "deny-configure"
393 - ]
394 - },
395 - {
396 - "description": "allow-isPrivacyOptionsRequired -> Enables the isPrivacyOptionsRequired command without any pre-configured scope.",
397 - "type": "string",
398 - "enum": [
399 - "allow-isPrivacyOptionsRequired"
400 - ]
401 - },
402 - {
403 - "description": "deny-isPrivacyOptionsRequired -> Denies the isPrivacyOptionsRequired command without any pre-configured scope.",
404 - "type": "string",
405 - "enum": [
406 - "deny-isPrivacyOptionsRequired"
407 - ]
408 - },
409 - {
410 - "description": "allow-register-listener -> Enables the register_listener command without any pre-configured scope.",
411 - "type": "string",
412 - "enum": [
413 - "allow-register-listener"
414 - ]
415 - },
416 - {
417 - "description": "deny-register-listener -> Denies the register_listener command without any pre-configured scope.",
418 - "type": "string",
419 - "enum": [
420 - "deny-register-listener"
421 - ]
422 - },
423 - {
424 - "description": "allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
425 - "type": "string",
426 - "enum": [
427 - "allow-requestTrackingAuthorization"
428 - ]
429 - },
430 - {
431 - "description": "deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
432 - "type": "string",
433 - "enum": [
434 - "deny-requestTrackingAuthorization"
435 - ]
436 - },
437 - {
438 - "description": "allow-showPrivacyOptionsForm -> Enables the showPrivacyOptionsForm command without any pre-configured scope.",
439 - "type": "string",
440 - "enum": [
441 - "allow-showPrivacyOptionsForm"
442 - ]
443 - },
444 - {
445 - "description": "deny-showPrivacyOptionsForm -> Denies the showPrivacyOptionsForm command without any pre-configured scope.",
446 - "type": "string",
447 - "enum": [
448 - "deny-showPrivacyOptionsForm"
449 - ]
450 - },
451 - {
452 - "description": "allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
453 - "type": "string",
454 - "enum": [
455 - "allow-trackingAuthorizationStatus"
456 - ]
457 - },
458 - {
459 - "description": "deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
460 - "type": "string",
461 - "enum": [
462 - "deny-trackingAuthorizationStatus"
463 - ]
464 - },
465 - {
466 - "description": "default -> Default permissions for the plugin",
467 - "type": "string",
468 - "enum": [
469 - "default"
470 - ]
471 - }
472 - ]
473 - }
474 - }
475 -}
\ No newline at end of file
2 + "$schema": "http://json-schema.org/draft-07/schema#",
3 + "title": "PermissionFile",
4 + "description": "Permission file that can define a default permission, a set of permissions or a list of inlined permissions.",
5 + "type": "object",
6 + "properties": {
7 + "default": {
8 + "description": "The default permission set for the plugin",
9 + "anyOf": [
10 + {
11 + "$ref": "#/definitions/DefaultPermission"
12 + },
13 + {
14 + "type": "null"
15 + }
16 + ]
17 + },
18 + "set": {
19 + "description": "A list of permissions sets defined",
20 + "type": "array",
21 + "items": {
22 + "$ref": "#/definitions/PermissionSet"
23 + }
24 + },
25 + "permission": {
26 + "description": "A list of inlined permissions",
27 + "default": [],
28 + "type": "array",
29 + "items": {
30 + "$ref": "#/definitions/Permission"
31 + }
32 + }
33 + },
34 + "definitions": {
35 + "DefaultPermission": {
36 + "description": "The default permission set of the plugin.\n\nWorks similarly to a permission with the \"default\" identifier.",
37 + "type": "object",
38 + "required": ["permissions"],
39 + "properties": {
40 + "version": {
41 + "description": "The version of the permission.",
42 + "type": ["integer", "null"],
43 + "format": "uint64",
44 + "minimum": 1.0
45 + },
46 + "description": {
47 + "description": "Human-readable description of what the permission does. Tauri convention is to use <h4> headings in markdown content for Tauri documentation generation purposes.",
48 + "type": ["string", "null"]
49 + },
50 + "permissions": {
51 + "description": "All permissions this set contains.",
52 + "type": "array",
53 + "items": {
54 + "type": "string"
55 + }
56 + }
57 + }
58 + },
59 + "PermissionSet": {
60 + "description": "A set of direct permissions grouped together under a new name.",
61 + "type": "object",
62 + "required": ["description", "identifier", "permissions"],
63 + "properties": {
64 + "identifier": {
65 + "description": "A unique identifier for the permission.",
66 + "type": "string"
67 + },
68 + "description": {
69 + "description": "Human-readable description of what the permission does.",
70 + "type": "string"
71 + },
72 + "permissions": {
73 + "description": "All permissions this set contains.",
74 + "type": "array",
75 + "items": {
76 + "$ref": "#/definitions/PermissionKind"
77 + }
78 + }
79 + }
80 + },
81 + "Permission": {
82 + "description": "Descriptions of explicit privileges of commands.\n\nIt can enable commands to be accessible in the frontend of the application.\n\nIf the scope is defined it can be used to fine grain control the access of individual or multiple commands.",
83 + "type": "object",
84 + "required": ["identifier"],
85 + "properties": {
86 + "version": {
87 + "description": "The version of the permission.",
88 + "type": ["integer", "null"],
89 + "format": "uint64",
90 + "minimum": 1.0
91 + },
92 + "identifier": {
93 + "description": "A unique identifier for the permission.",
94 + "type": "string"
95 + },
96 + "description": {
97 + "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.",
98 + "type": ["string", "null"]
99 + },
100 + "commands": {
101 + "description": "Allowed or denied commands when using this permission.",
102 + "default": {
103 + "allow": [],
104 + "deny": []
105 + },
106 + "allOf": [
107 + {
108 + "$ref": "#/definitions/Commands"
109 + }
110 + ]
111 + },
112 + "scope": {
113 + "description": "Allowed or denied scoped when using this permission.",
114 + "allOf": [
115 + {
116 + "$ref": "#/definitions/Scopes"
117 + }
118 + ]
119 + },
120 + "platforms": {
121 + "description": "Target platforms this permission applies. By default all platforms are affected by this permission.",
122 + "type": ["array", "null"],
123 + "items": {
124 + "$ref": "#/definitions/Target"
125 + }
126 + }
127 + }
128 + },
129 + "Commands": {
130 + "description": "Allowed and denied commands inside a permission.\n\nIf two commands clash inside of `allow` and `deny`, it should be denied by default.",
131 + "type": "object",
132 + "properties": {
133 + "allow": {
134 + "description": "Allowed command.",
135 + "default": [],
136 + "type": "array",
137 + "items": {
138 + "type": "string"
139 + }
140 + },
141 + "deny": {
142 + "description": "Denied command, which takes priority.",
143 + "default": [],
144 + "type": "array",
145 + "items": {
146 + "type": "string"
147 + }
148 + }
149 + }
150 + },
151 + "Scopes": {
152 + "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\" }] } ```",
153 + "type": "object",
154 + "properties": {
155 + "allow": {
156 + "description": "Data that defines what is allowed by the scope.",
157 + "type": ["array", "null"],
158 + "items": {
159 + "$ref": "#/definitions/Value"
160 + }
161 + },
162 + "deny": {
163 + "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
164 + "type": ["array", "null"],
165 + "items": {
166 + "$ref": "#/definitions/Value"
167 + }
168 + }
169 + }
170 + },
171 + "Value": {
172 + "description": "All supported ACL values.",
173 + "anyOf": [
174 + {
175 + "description": "Represents a null JSON value.",
176 + "type": "null"
177 + },
178 + {
179 + "description": "Represents a [`bool`].",
180 + "type": "boolean"
181 + },
182 + {
183 + "description": "Represents a valid ACL [`Number`].",
184 + "allOf": [
185 + {
186 + "$ref": "#/definitions/Number"
187 + }
188 + ]
189 + },
190 + {
191 + "description": "Represents a [`String`].",
192 + "type": "string"
193 + },
194 + {
195 + "description": "Represents a list of other [`Value`]s.",
196 + "type": "array",
197 + "items": {
198 + "$ref": "#/definitions/Value"
199 + }
200 + },
201 + {
202 + "description": "Represents a map of [`String`] keys to [`Value`]s.",
203 + "type": "object",
204 + "additionalProperties": {
205 + "$ref": "#/definitions/Value"
206 + }
207 + }
208 + ]
209 + },
210 + "Number": {
211 + "description": "A valid ACL number.",
212 + "anyOf": [
213 + {
214 + "description": "Represents an [`i64`].",
215 + "type": "integer",
216 + "format": "int64"
217 + },
218 + {
219 + "description": "Represents a [`f64`].",
220 + "type": "number",
221 + "format": "double"
222 + }
223 + ]
224 + },
225 + "Target": {
226 + "description": "Platform target.",
227 + "oneOf": [
228 + {
229 + "description": "MacOS.",
230 + "type": "string",
231 + "enum": ["macOS"]
232 + },
233 + {
234 + "description": "Windows.",
235 + "type": "string",
236 + "enum": ["windows"]
237 + },
238 + {
239 + "description": "Linux.",
240 + "type": "string",
241 + "enum": ["linux"]
242 + },
243 + {
244 + "description": "Android.",
245 + "type": "string",
246 + "enum": ["android"]
247 + },
248 + {
249 + "description": "iOS.",
250 + "type": "string",
251 + "enum": ["iOS"]
252 + }
253 + ]
254 + },
255 + "PermissionKind": {
256 + "type": "string",
257 + "oneOf": [
258 + {
259 + "description": "allow-adCreate -> Enables the adCreate command without any pre-configured scope.",
260 + "type": "string",
261 + "enum": ["allow-adCreate"]
262 + },
263 + {
264 + "description": "deny-adCreate -> Denies the adCreate command without any pre-configured scope.",
265 + "type": "string",
266 + "enum": ["deny-adCreate"]
267 + },
268 + {
269 + "description": "allow-adHide -> Enables the adHide command without any pre-configured scope.",
270 + "type": "string",
271 + "enum": ["allow-adHide"]
272 + },
273 + {
274 + "description": "deny-adHide -> Denies the adHide command without any pre-configured scope.",
275 + "type": "string",
276 + "enum": ["deny-adHide"]
277 + },
278 + {
279 + "description": "allow-adIsLoaded -> Enables the adIsLoaded command without any pre-configured scope.",
280 + "type": "string",
281 + "enum": ["allow-adIsLoaded"]
282 + },
283 + {
284 + "description": "deny-adIsLoaded -> Denies the adIsLoaded command without any pre-configured scope.",
285 + "type": "string",
286 + "enum": ["deny-adIsLoaded"]
287 + },
288 + {
289 + "description": "allow-adLoad -> Enables the adLoad command without any pre-configured scope.",
290 + "type": "string",
291 + "enum": ["allow-adLoad"]
292 + },
293 + {
294 + "description": "deny-adLoad -> Denies the adLoad command without any pre-configured scope.",
295 + "type": "string",
296 + "enum": ["deny-adLoad"]
297 + },
298 + {
299 + "description": "allow-adShow -> Enables the adShow command without any pre-configured scope.",
300 + "type": "string",
301 + "enum": ["allow-adShow"]
302 + },
303 + {
304 + "description": "deny-adShow -> Denies the adShow command without any pre-configured scope.",
305 + "type": "string",
306 + "enum": ["deny-adShow"]
307 + },
308 + {
309 + "description": "allow-configRequest -> Enables the configRequest command without any pre-configured scope.",
310 + "type": "string",
311 + "enum": ["allow-configRequest"]
312 + },
313 + {
314 + "description": "deny-configRequest -> Denies the configRequest command without any pre-configured scope.",
315 + "type": "string",
316 + "enum": ["deny-configRequest"]
317 + },
318 + {
319 + "description": "allow-configure -> Enables the configure command without any pre-configured scope.",
320 + "type": "string",
321 + "enum": ["allow-configure"]
322 + },
323 + {
324 + "description": "deny-configure -> Denies the configure command without any pre-configured scope.",
325 + "type": "string",
326 + "enum": ["deny-configure"]
327 + },
328 + {
329 + "description": "allow-isPrivacyOptionsRequired -> Enables the isPrivacyOptionsRequired command without any pre-configured scope.",
330 + "type": "string",
331 + "enum": ["allow-isPrivacyOptionsRequired"]
332 + },
333 + {
334 + "description": "deny-isPrivacyOptionsRequired -> Denies the isPrivacyOptionsRequired command without any pre-configured scope.",
335 + "type": "string",
336 + "enum": ["deny-isPrivacyOptionsRequired"]
337 + },
338 + {
339 + "description": "allow-register-listener -> Enables the register_listener command without any pre-configured scope.",
340 + "type": "string",
341 + "enum": ["allow-register-listener"]
342 + },
343 + {
344 + "description": "deny-register-listener -> Denies the register_listener command without any pre-configured scope.",
345 + "type": "string",
346 + "enum": ["deny-register-listener"]
347 + },
348 + {
349 + "description": "allow-requestTrackingAuthorization -> Enables the requestTrackingAuthorization command without any pre-configured scope.",
350 + "type": "string",
351 + "enum": ["allow-requestTrackingAuthorization"]
352 + },
353 + {
354 + "description": "deny-requestTrackingAuthorization -> Denies the requestTrackingAuthorization command without any pre-configured scope.",
355 + "type": "string",
356 + "enum": ["deny-requestTrackingAuthorization"]
357 + },
358 + {
359 + "description": "allow-showPrivacyOptionsForm -> Enables the showPrivacyOptionsForm command without any pre-configured scope.",
360 + "type": "string",
361 + "enum": ["allow-showPrivacyOptionsForm"]
362 + },
363 + {
364 + "description": "deny-showPrivacyOptionsForm -> Denies the showPrivacyOptionsForm command without any pre-configured scope.",
365 + "type": "string",
366 + "enum": ["deny-showPrivacyOptionsForm"]
367 + },
368 + {
369 + "description": "allow-trackingAuthorizationStatus -> Enables the trackingAuthorizationStatus command without any pre-configured scope.",
370 + "type": "string",
371 + "enum": ["allow-trackingAuthorizationStatus"]
372 + },
373 + {
374 + "description": "deny-trackingAuthorizationStatus -> Denies the trackingAuthorizationStatus command without any pre-configured scope.",
375 + "type": "string",
376 + "enum": ["deny-trackingAuthorizationStatus"]
377 + },
378 + {
379 + "description": "default -> Default permissions for the plugin",
380 + "type": "string",
381 + "enum": ["default"]
382 + }
383 + ]
384 + }
385 + }
386 +}
rollup.config.js
+28 -28
@@ -1,31 +1,31 @@
1 -import { readFileSync } from 'fs'
2 -import { join } from 'path'
3 -import { cwd } from 'process'
4 -import typescript from '@rollup/plugin-typescript'
1 +import { readFileSync } from "node:fs";
2 +import { join } from "node:path";
3 +import { cwd } from "node:process";
4 +import typescript from "@rollup/plugin-typescript";
5
6 -const pkg = JSON.parse(readFileSync(join(cwd(), 'package.json'), 'utf8'))
6 +const pkg = JSON.parse(readFileSync(join(cwd(), "package.json"), "utf8"));
7
8 export default {
9 - input: 'guest-js/index.ts',
10 - output: [
11 - {
12 - file: pkg.exports.import,
13 - format: 'esm'
14 - },
15 - {
16 - file: pkg.exports.require,
17 - format: 'cjs'
18 - }
19 - ],
20 - plugins: [
21 - typescript({
22 - declaration: true,
23 - declarationDir: `./${pkg.exports.import.split('/')[0]}`
24 - })
25 - ],
26 - external: [
27 - /^@tauri-apps\/api/,
28 - ...Object.keys(pkg.dependencies || {}),
29 - ...Object.keys(pkg.peerDependencies || {})
30 - ]
31 -}
9 + input: "guest-js/index.ts",
10 + output: [
11 + {
12 + file: pkg.exports.import,
13 + format: "esm",
14 + },
15 + {
16 + file: pkg.exports.require,
17 + format: "cjs",
18 + },
19 + ],
20 + plugins: [
21 + typescript({
22 + declaration: true,
23 + declarationDir: `./${pkg.exports.import.split("/")[0]}`,
24 + }),
25 + ],
26 + external: [
27 + /^@tauri-apps\/api/,
28 + ...Object.keys(pkg.dependencies || {}),
29 + ...Object.keys(pkg.peerDependencies || {}),
30 + ],
31 +};
tsconfig.json
+12 -12
@@ -1,14 +1,14 @@
1 {
2 - "compilerOptions": {
3 - "target": "es2021",
4 - "module": "esnext",
5 - "moduleResolution": "bundler",
6 - "skipLibCheck": true,
7 - "strict": true,
8 - "noUnusedLocals": true,
9 - "noImplicitAny": true,
10 - "noEmit": true
11 - },
12 - "include": ["guest-js/*.ts"],
13 - "exclude": ["dist-js", "node_modules"]
2 + "compilerOptions": {
3 + "target": "es2021",
4 + "module": "esnext",
5 + "moduleResolution": "bundler",
6 + "skipLibCheck": true,
7 + "strict": true,
8 + "noUnusedLocals": true,
9 + "noImplicitAny": true,
10 + "noEmit": true
11 + },
12 + "include": ["guest-js/*.ts"],
13 + "exclude": ["dist-js", "node_modules"]
14 }