"description":"a grouping and boundary mechanism developers can use to separate windows or plugins functionality from each other at runtime.\n\nIf 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 trust groups and reduce impact of vulnerabilities in certain plugins or windows. Windows can be added to a capability by exact name or glob patterns like *, admin-* or main-window.",
"description":"Configure remote URLs that can use the capability permissions.",
"anyOf":[
{
"$ref":"#/definitions/CapabilityRemote"
},
{
"type":"null"
}
]
},
"local":{
"description":"Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
"default":true,
"type":"boolean"
},
"windows":{
"description":"List of windows that uses this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.",
"type":"array",
"items":{
"type":"string"
}
},
"webviews":{
"description":"List of webviews that uses 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.",
"type":"array",
"items":{
"type":"string"
}
},
"permissions":{
"description":"List of permissions attached to this capability. Must include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`.",
"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",
"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.",
"anyOf":[
{
"description":"Reference a permission or permission set by identifier.",
"allOf":[
{
"$ref":"#/definitions/Identifier"
}
]
},
{
"description":"Reference a permission or permission set by identifier and extends its scope.",
"description":"The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type":"string"
},
"name":{
"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.",
"type":"string"
},
"sidecar":{
"description":"If this command is a sidecar command.",
"type":"boolean"
}
}
}
},
"deny":{
"items":{
"title":"Entry",
"description":"A command allowed to be executed by the webview API.",
"description":"The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type":"string"
},
"name":{
"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.",
"type":"string"
},
"sidecar":{
"description":"If this command is a sidecar command.",
"type":"boolean"
}
}
}
}
}
}
]
}
]
},
"Identifier":{
"oneOf":[
{
"description":"app:default -> Default permissions for the plugin.",
"type":"string",
"enum":[
"app:default"
]
},
{
"description":"app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",
"type":"string",
"enum":[
"app:allow-app-hide"
]
},
{
"description":"app:allow-app-show -> Enables the app_show command without any pre-configured scope.",
"type":"string",
"enum":[
"app:allow-app-show"
]
},
{
"description":"app:allow-name -> Enables the name command without any pre-configured scope.",
"type":"string",
"enum":[
"app:allow-name"
]
},
{
"description":"app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",
"type":"string",
"enum":[
"app:allow-tauri-version"
]
},
{
"description":"app:allow-version -> Enables the version command without any pre-configured scope.",
"type":"string",
"enum":[
"app:allow-version"
]
},
{
"description":"app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",
"type":"string",
"enum":[
"app:deny-app-hide"
]
},
{
"description":"app:deny-app-show -> Denies the app_show command without any pre-configured scope.",
"type":"string",
"enum":[
"app:deny-app-show"
]
},
{
"description":"app:deny-name -> Denies the name command without any pre-configured scope.",
"type":"string",
"enum":[
"app:deny-name"
]
},
{
"description":"app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",
"type":"string",
"enum":[
"app:deny-tauri-version"
]
},
{
"description":"app:deny-version -> Denies the version command without any pre-configured scope.",
"type":"string",
"enum":[
"app:deny-version"
]
},
{
"description":"event:default -> Default permissions for the plugin.",
"type":"string",
"enum":[
"event:default"
]
},
{
"description":"event:allow-emit -> Enables the emit command without any pre-configured scope.",
"type":"string",
"enum":[
"event:allow-emit"
]
},
{
"description":"event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",
"type":"string",
"enum":[
"event:allow-emit-to"
]
},
{
"description":"event:allow-listen -> Enables the listen command without any pre-configured scope.",
"type":"string",
"enum":[
"event:allow-listen"
]
},
{
"description":"event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",
"type":"string",
"enum":[
"event:allow-unlisten"
]
},
{
"description":"event:deny-emit -> Denies the emit command without any pre-configured scope.",
"type":"string",
"enum":[
"event:deny-emit"
]
},
{
"description":"event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",
"type":"string",
"enum":[
"event:deny-emit-to"
]
},
{
"description":"event:deny-listen -> Denies the listen command without any pre-configured scope.",
"type":"string",
"enum":[
"event:deny-listen"
]
},
{
"description":"event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",
"description":"tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
"type":"string",
"enum":[
"tray:deny-set-icon"
]
},
{
"description":"tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",
"type":"string",
"enum":[
"tray:deny-set-icon-as-template"
]
},
{
"description":"tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",
"type":"string",
"enum":[
"tray:deny-set-menu"
]
},
{
"description":"tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",
"type":"string",
"enum":[
"tray:deny-set-show-menu-on-left-click"
]
},
{
"description":"tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",
"type":"string",
"enum":[
"tray:deny-set-temp-dir-path"
]
},
{
"description":"tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",
"type":"string",
"enum":[
"tray:deny-set-title"
]
},
{
"description":"tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",
"type":"string",
"enum":[
"tray:deny-set-tooltip"
]
},
{
"description":"tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",
"type":"string",
"enum":[
"tray:deny-set-visible"
]
},
{
"description":"webview:default -> Default permissions for the plugin.",
"type":"string",
"enum":[
"webview:default"
]
},
{
"description":"webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-create-webview"
]
},
{
"description":"webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-create-webview-window"
]
},
{
"description":"webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-internal-toggle-devtools"
]
},
{
"description":"webview:allow-print -> Enables the print command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-print"
]
},
{
"description":"webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-reparent"
]
},
{
"description":"webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-set-webview-focus"
]
},
{
"description":"webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-set-webview-position"
]
},
{
"description":"webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-set-webview-size"
]
},
{
"description":"webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-webview-close"
]
},
{
"description":"webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-webview-position"
]
},
{
"description":"webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:allow-webview-size"
]
},
{
"description":"webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-create-webview"
]
},
{
"description":"webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-create-webview-window"
]
},
{
"description":"webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-internal-toggle-devtools"
]
},
{
"description":"webview:deny-print -> Denies the print command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-print"
]
},
{
"description":"webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-reparent"
]
},
{
"description":"webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-set-webview-focus"
]
},
{
"description":"webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-set-webview-position"
]
},
{
"description":"webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-set-webview-size"
]
},
{
"description":"webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-webview-close"
]
},
{
"description":"webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-webview-position"
]
},
{
"description":"webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",
"type":"string",
"enum":[
"webview:deny-webview-size"
]
},
{
"description":"window:default -> Default permissions for the plugin.",
"type":"string",
"enum":[
"window:default"
]
},
{
"description":"window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-available-monitors"
]
},
{
"description":"window:allow-center -> Enables the center command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-center"
]
},
{
"description":"window:allow-close -> Enables the close command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-close"
]
},
{
"description":"window:allow-create -> Enables the create command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-create"
]
},
{
"description":"window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-current-monitor"
]
},
{
"description":"window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-destroy"
]
},
{
"description":"window:allow-hide -> Enables the hide command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-hide"
]
},
{
"description":"window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-inner-position"
]
},
{
"description":"window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-inner-size"
]
},
{
"description":"window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-internal-toggle-maximize"
]
},
{
"description":"window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-closable"
]
},
{
"description":"window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-decorated"
]
},
{
"description":"window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-focused"
]
},
{
"description":"window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-fullscreen"
]
},
{
"description":"window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-maximizable"
]
},
{
"description":"window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-maximized"
]
},
{
"description":"window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-minimizable"
]
},
{
"description":"window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-minimized"
]
},
{
"description":"window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-resizable"
]
},
{
"description":"window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-is-visible"
]
},
{
"description":"window:allow-maximize -> Enables the maximize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-maximize"
]
},
{
"description":"window:allow-minimize -> Enables the minimize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-minimize"
]
},
{
"description":"window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-outer-position"
]
},
{
"description":"window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-outer-size"
]
},
{
"description":"window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-primary-monitor"
]
},
{
"description":"window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-request-user-attention"
]
},
{
"description":"window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-scale-factor"
]
},
{
"description":"window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-always-on-bottom"
]
},
{
"description":"window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-always-on-top"
]
},
{
"description":"window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-closable"
]
},
{
"description":"window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-content-protected"
]
},
{
"description":"window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-cursor-grab"
]
},
{
"description":"window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-cursor-icon"
]
},
{
"description":"window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-cursor-position"
]
},
{
"description":"window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-cursor-visible"
]
},
{
"description":"window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-decorations"
]
},
{
"description":"window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-effects"
]
},
{
"description":"window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-focus"
]
},
{
"description":"window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-fullscreen"
]
},
{
"description":"window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-icon"
]
},
{
"description":"window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-ignore-cursor-events"
]
},
{
"description":"window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-max-size"
]
},
{
"description":"window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-maximizable"
]
},
{
"description":"window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-min-size"
]
},
{
"description":"window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-minimizable"
]
},
{
"description":"window:allow-set-position -> Enables the set_position command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-position"
]
},
{
"description":"window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-progress-bar"
]
},
{
"description":"window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-resizable"
]
},
{
"description":"window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-shadow"
]
},
{
"description":"window:allow-set-size -> Enables the set_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-size"
]
},
{
"description":"window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-skip-taskbar"
]
},
{
"description":"window:allow-set-title -> Enables the set_title command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-title"
]
},
{
"description":"window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-set-visible-on-all-workspaces"
]
},
{
"description":"window:allow-show -> Enables the show command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-show"
]
},
{
"description":"window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-start-dragging"
]
},
{
"description":"window:allow-theme -> Enables the theme command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-theme"
]
},
{
"description":"window:allow-title -> Enables the title command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-title"
]
},
{
"description":"window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-toggle-maximize"
]
},
{
"description":"window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-unmaximize"
]
},
{
"description":"window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:allow-unminimize"
]
},
{
"description":"window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-available-monitors"
]
},
{
"description":"window:deny-center -> Denies the center command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-center"
]
},
{
"description":"window:deny-close -> Denies the close command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-close"
]
},
{
"description":"window:deny-create -> Denies the create command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-create"
]
},
{
"description":"window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-current-monitor"
]
},
{
"description":"window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-destroy"
]
},
{
"description":"window:deny-hide -> Denies the hide command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-hide"
]
},
{
"description":"window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-inner-position"
]
},
{
"description":"window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-inner-size"
]
},
{
"description":"window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-internal-toggle-maximize"
]
},
{
"description":"window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-closable"
]
},
{
"description":"window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-decorated"
]
},
{
"description":"window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-focused"
]
},
{
"description":"window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-fullscreen"
]
},
{
"description":"window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-maximizable"
]
},
{
"description":"window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-maximized"
]
},
{
"description":"window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-minimizable"
]
},
{
"description":"window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-minimized"
]
},
{
"description":"window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-resizable"
]
},
{
"description":"window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-is-visible"
]
},
{
"description":"window:deny-maximize -> Denies the maximize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-maximize"
]
},
{
"description":"window:deny-minimize -> Denies the minimize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-minimize"
]
},
{
"description":"window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-outer-position"
]
},
{
"description":"window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-outer-size"
]
},
{
"description":"window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-primary-monitor"
]
},
{
"description":"window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-request-user-attention"
]
},
{
"description":"window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-scale-factor"
]
},
{
"description":"window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-always-on-bottom"
]
},
{
"description":"window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-always-on-top"
]
},
{
"description":"window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-closable"
]
},
{
"description":"window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-content-protected"
]
},
{
"description":"window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-cursor-grab"
]
},
{
"description":"window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-cursor-icon"
]
},
{
"description":"window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-cursor-position"
]
},
{
"description":"window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-cursor-visible"
]
},
{
"description":"window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-decorations"
]
},
{
"description":"window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-effects"
]
},
{
"description":"window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-focus"
]
},
{
"description":"window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-fullscreen"
]
},
{
"description":"window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-icon"
]
},
{
"description":"window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-ignore-cursor-events"
]
},
{
"description":"window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-max-size"
]
},
{
"description":"window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-maximizable"
]
},
{
"description":"window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-min-size"
]
},
{
"description":"window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-minimizable"
]
},
{
"description":"window:deny-set-position -> Denies the set_position command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-position"
]
},
{
"description":"window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-progress-bar"
]
},
{
"description":"window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-resizable"
]
},
{
"description":"window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-shadow"
]
},
{
"description":"window:deny-set-size -> Denies the set_size command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-size"
]
},
{
"description":"window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-skip-taskbar"
]
},
{
"description":"window:deny-set-title -> Denies the set_title command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-title"
]
},
{
"description":"window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-set-visible-on-all-workspaces"
]
},
{
"description":"window:deny-show -> Denies the show command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-show"
]
},
{
"description":"window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-start-dragging"
]
},
{
"description":"window:deny-theme -> Denies the theme command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-theme"
]
},
{
"description":"window:deny-title -> Denies the title command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-title"
]
},
{
"description":"window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-toggle-maximize"
]
},
{
"description":"window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-unmaximize"
]
},
{
"description":"window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",
"type":"string",
"enum":[
"window:deny-unminimize"
]
}
]
},
"Value":{
"description":"All supported ACL values.",
"anyOf":[
{
"description":"Represents a null JSON value.",
"type":"null"
},
{
"description":"Represents a [`bool`].",
"type":"boolean"
},
{
"description":"Represents a valid ACL [`Number`].",
"allOf":[
{
"$ref":"#/definitions/Number"
}
]
},
{
"description":"Represents a [`String`].",
"type":"string"
},
{
"description":"Represents a list of other [`Value`]s.",
"type":"array",
"items":{
"$ref":"#/definitions/Value"
}
},
{
"description":"Represents a map of [`String`] keys to [`Value`]s.",
"type":"object",
"additionalProperties":{
"$ref":"#/definitions/Value"
}
}
]
},
"Number":{
"description":"A valid ACL number.",
"anyOf":[
{
"description":"Represents an [`i64`].",
"type":"integer",
"format":"int64"
},
{
"description":"Represents a [`f64`].",
"type":"number",
"format":"double"
}
]
},
"Target":{
"description":"Platform target.",
"oneOf":[
{
"description":"MacOS.",
"type":"string",
"enum":[
"macOS"
]
},
{
"description":"Windows.",
"type":"string",
"enum":[
"windows"
]
},
{
"description":"Linux.",
"type":"string",
"enum":[
"linux"
]
},
{
"description":"Android.",
"type":"string",
"enum":[
"android"
]
},
{
"description":"iOS.",
"type":"string",
"enum":[
"iOS"
]
}
]
},
"ShellAllowedArg":{
"description":"A command argument allowed to be executed by the webview API.",
"anyOf":[
{
"description":"A non-configurable argument that is passed to the command in the order it was specified.",
"type":"string"
},
{
"description":"A variable that is set while calling the command from the webview API.",
"type":"object",
"required":[
"validator"
],
"properties":{
"validator":{
"description":"[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\n[regex]: https://docs.rs/regex/latest/regex/#syntax",
"type":"string"
}
},
"additionalProperties":false
}
]
},
"ShellAllowedArgs":{
"description":"A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration.",
"anyOf":[
{
"description":"Use a simple boolean to allow all or disable all arguments to this command configuration.",
"type":"boolean"
},
{
"description":"A specific set of [`ShellAllowedArg`] that are valid to call for the command configuration.",