Skip to content

Commit 3dedfcd

Browse files
committed
feature: reveal multiple items in dir
1 parent eabcdd7 commit 3dedfcd

File tree

2 files changed

+16
-56
lines changed

2 files changed

+16
-56
lines changed

plugins/opener/permissions/autogenerated/reference.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ as well as reveal file in directories using default file explorer
1818
<th>Description</th>
1919
</tr>
2020

21-
2221
<tr>
2322
<td>
2423

plugins/opener/permissions/schemas/schema.json

Lines changed: 16 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,17 @@
3535
"DefaultPermission": {
3636
"description": "The default permission set of the plugin.\n\nWorks similarly to a permission with the \"default\" identifier.",
3737
"type": "object",
38-
"required": [
39-
"permissions"
40-
],
38+
"required": ["permissions"],
4139
"properties": {
4240
"version": {
4341
"description": "The version of the permission.",
44-
"type": [
45-
"integer",
46-
"null"
47-
],
42+
"type": ["integer", "null"],
4843
"format": "uint64",
4944
"minimum": 1.0
5045
},
5146
"description": {
5247
"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-
]
48+
"type": ["string", "null"]
5749
},
5850
"permissions": {
5951
"description": "All permissions this set contains.",
@@ -67,11 +59,7 @@
6759
"PermissionSet": {
6860
"description": "A set of direct permissions grouped together under a new name.",
6961
"type": "object",
70-
"required": [
71-
"description",
72-
"identifier",
73-
"permissions"
74-
],
62+
"required": ["description", "identifier", "permissions"],
7563
"properties": {
7664
"identifier": {
7765
"description": "A unique identifier for the permission.",
@@ -93,16 +81,11 @@
9381
"Permission": {
9482
"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.",
9583
"type": "object",
96-
"required": [
97-
"identifier"
98-
],
84+
"required": ["identifier"],
9985
"properties": {
10086
"version": {
10187
"description": "The version of the permission.",
102-
"type": [
103-
"integer",
104-
"null"
105-
],
88+
"type": ["integer", "null"],
10689
"format": "uint64",
10790
"minimum": 1.0
10891
},
@@ -112,10 +95,7 @@
11295
},
11396
"description": {
11497
"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-
]
98+
"type": ["string", "null"]
11999
},
120100
"commands": {
121101
"description": "Allowed or denied commands when using this permission.",
@@ -139,10 +119,7 @@
139119
},
140120
"platforms": {
141121
"description": "Target platforms this permission applies. By default all platforms are affected by this permission.",
142-
"type": [
143-
"array",
144-
"null"
145-
],
122+
"type": ["array", "null"],
146123
"items": {
147124
"$ref": "#/definitions/Target"
148125
}
@@ -177,20 +154,14 @@
177154
"properties": {
178155
"allow": {
179156
"description": "Data that defines what is allowed by the scope.",
180-
"type": [
181-
"array",
182-
"null"
183-
],
157+
"type": ["array", "null"],
184158
"items": {
185159
"$ref": "#/definitions/Value"
186160
}
187161
},
188162
"deny": {
189163
"description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
190-
"type": [
191-
"array",
192-
"null"
193-
],
164+
"type": ["array", "null"],
194165
"items": {
195166
"$ref": "#/definitions/Value"
196167
}
@@ -257,37 +228,27 @@
257228
{
258229
"description": "MacOS.",
259230
"type": "string",
260-
"enum": [
261-
"macOS"
262-
]
231+
"enum": ["macOS"]
263232
},
264233
{
265234
"description": "Windows.",
266235
"type": "string",
267-
"enum": [
268-
"windows"
269-
]
236+
"enum": ["windows"]
270237
},
271238
{
272239
"description": "Linux.",
273240
"type": "string",
274-
"enum": [
275-
"linux"
276-
]
241+
"enum": ["linux"]
277242
},
278243
{
279244
"description": "Android.",
280245
"type": "string",
281-
"enum": [
282-
"android"
283-
]
246+
"enum": ["android"]
284247
},
285248
{
286249
"description": "iOS.",
287250
"type": "string",
288-
"enum": [
289-
"iOS"
290-
]
251+
"enum": ["iOS"]
291252
}
292253
]
293254
},
@@ -357,4 +318,4 @@
357318
]
358319
}
359320
}
360-
}
321+
}

0 commit comments

Comments
 (0)