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
Copy file name to clipboardExpand all lines: plugins/opener/permissions/schemas/schema.json
+55-16Lines changed: 55 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -35,17 +35,25 @@
35
35
"DefaultPermission": {
36
36
"description": "The default permission set of the plugin.\n\nWorks similarly to a permission with the \"default\" identifier.",
37
37
"type": "object",
38
-
"required": ["permissions"],
38
+
"required": [
39
+
"permissions"
40
+
],
39
41
"properties": {
40
42
"version": {
41
43
"description": "The version of the permission.",
42
-
"type": ["integer", "null"],
44
+
"type": [
45
+
"integer",
46
+
"null"
47
+
],
43
48
"format": "uint64",
44
49
"minimum": 1.0
45
50
},
46
51
"description": {
47
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.",
48
-
"type": ["string", "null"]
53
+
"type": [
54
+
"string",
55
+
"null"
56
+
]
49
57
},
50
58
"permissions": {
51
59
"description": "All permissions this set contains.",
@@ -59,7 +67,11 @@
59
67
"PermissionSet": {
60
68
"description": "A set of direct permissions grouped together under a new name.",
"description": "A unique identifier for the permission.",
@@ -81,11 +93,16 @@
81
93
"Permission": {
82
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.",
83
95
"type": "object",
84
-
"required": ["identifier"],
96
+
"required": [
97
+
"identifier"
98
+
],
85
99
"properties": {
86
100
"version": {
87
101
"description": "The version of the permission.",
88
-
"type": ["integer", "null"],
102
+
"type": [
103
+
"integer",
104
+
"null"
105
+
],
89
106
"format": "uint64",
90
107
"minimum": 1.0
91
108
},
@@ -95,7 +112,10 @@
95
112
},
96
113
"description": {
97
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.",
98
-
"type": ["string", "null"]
115
+
"type": [
116
+
"string",
117
+
"null"
118
+
]
99
119
},
100
120
"commands": {
101
121
"description": "Allowed or denied commands when using this permission.",
@@ -119,7 +139,10 @@
119
139
},
120
140
"platforms": {
121
141
"description": "Target platforms this permission applies. By default all platforms are affected by this permission.",
122
-
"type": ["array", "null"],
142
+
"type": [
143
+
"array",
144
+
"null"
145
+
],
123
146
"items": {
124
147
"$ref": "#/definitions/Target"
125
148
}
@@ -154,14 +177,20 @@
154
177
"properties": {
155
178
"allow": {
156
179
"description": "Data that defines what is allowed by the scope.",
157
-
"type": ["array", "null"],
180
+
"type": [
181
+
"array",
182
+
"null"
183
+
],
158
184
"items": {
159
185
"$ref": "#/definitions/Value"
160
186
}
161
187
},
162
188
"deny": {
163
189
"description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
0 commit comments