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