You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: update biome configuration and enhance desktop application functionality
- Refined biome.json to improve exclusion patterns for build artifacts and added support for global CSS.
- Enhanced linter rules for better code quality and accessibility checks.
- Updated useCurrentlyPlaying hook to improve playback state management and error handling.
- Refactored aiQueueService for better track management and playback logic.
- Improved theme loading and component imports for better performance and maintainability.
- Cleaned up code formatting and organization across various components for consistency.
{"default":{"identifier":"default","description":"Capability for the main window","local":true,"windows":["main"],"permissions":["core:default","opener:default","fs:default","core:window:allow-start-dragging"]}}
Copy file name to clipboardExpand all lines: apps/desktop/src-tauri/gen/schemas/desktop-schema.json
+19-59Lines changed: 19 additions & 59 deletions
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,7 @@
21
21
{
22
22
"description": "A list of capabilities.",
23
23
"type": "object",
24
-
"required": [
25
-
"capabilities"
26
-
],
24
+
"required": ["capabilities"],
27
25
"properties": {
28
26
"capabilities": {
29
27
"description": "The list of capabilities.",
@@ -39,10 +37,7 @@
39
37
"Capability": {
40
38
"description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows' and webviews' fine grained access to the Tauri core, application, or plugin commands. If a webview or its 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 programmatic 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
39
"type": "object",
42
-
"required": [
43
-
"identifier",
44
-
"permissions"
45
-
],
40
+
"required": ["identifier", "permissions"],
46
41
"properties": {
47
42
"identifier": {
48
43
"description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
@@ -93,10 +88,7 @@
93
88
},
94
89
"platforms": {
95
90
"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
-
],
91
+
"type": ["array", "null"],
100
92
"items": {
101
93
"$ref": "#/definitions/Target"
102
94
}
@@ -106,9 +98,7 @@
106
98
"CapabilityRemote": {
107
99
"description": "Configuration for remote URLs that are associated with the capability.",
108
100
"type": "object",
109
-
"required": [
110
-
"urls"
111
-
],
101
+
"required": ["urls"],
112
102
"properties": {
113
103
"urls": {
114
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",
@@ -1884,9 +1874,7 @@
1884
1874
},
1885
1875
{
1886
1876
"type": "object",
1887
-
"required": [
1888
-
"path"
1889
-
],
1877
+
"required": ["path"],
1890
1878
"properties": {
1891
1879
"path": {
1892
1880
"description": "A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern 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`.",
@@ -1908,9 +1896,7 @@
1908
1896
},
1909
1897
{
1910
1898
"type": "object",
1911
-
"required": [
1912
-
"path"
1913
-
],
1899
+
"required": ["path"],
1914
1900
"properties": {
1915
1901
"path": {
1916
1902
"description": "A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern 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`.",
@@ -2000,9 +1986,7 @@
2000
1986
"anyOf": [
2001
1987
{
2002
1988
"type": "object",
2003
-
"required": [
2004
-
"url"
2005
-
],
1989
+
"required": ["url"],
2006
1990
"properties": {
2007
1991
"app": {
2008
1992
"description": "An application to open this url with, for example: firefox.",
@@ -2020,9 +2004,7 @@
2020
2004
},
2021
2005
{
2022
2006
"type": "object",
2023
-
"required": [
2024
-
"path"
2025
-
],
2007
+
"required": ["path"],
2026
2008
"properties": {
2027
2009
"app": {
2028
2010
"description": "An application to open this path with, for example: xdg-open.",
@@ -2048,9 +2030,7 @@
2048
2030
"anyOf": [
2049
2031
{
2050
2032
"type": "object",
2051
-
"required": [
2052
-
"url"
2053
-
],
2033
+
"required": ["url"],
2054
2034
"properties": {
2055
2035
"app": {
2056
2036
"description": "An application to open this url with, for example: firefox.",
@@ -2068,9 +2048,7 @@
2068
2048
},
2069
2049
{
2070
2050
"type": "object",
2071
-
"required": [
2072
-
"path"
2073
-
],
2051
+
"required": ["path"],
2074
2052
"properties": {
2075
2053
"app": {
2076
2054
"description": "An application to open this path with, for example: xdg-open.",
@@ -2114,30 +2092,22 @@
2114
2092
},
2115
2093
"allow": {
2116
2094
"description": "Data that defines what is allowed by the scope.",
2117
-
"type": [
2118
-
"array",
2119
-
"null"
2120
-
],
2095
+
"type": ["array", "null"],
2121
2096
"items": {
2122
2097
"$ref": "#/definitions/Value"
2123
2098
}
2124
2099
},
2125
2100
"deny": {
2126
2101
"description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
0 commit comments