Skip to content

Commit 7232d85

Browse files
committed
style: fmt the code.
1 parent b122618 commit 7232d85

7 files changed

Lines changed: 178 additions & 109 deletions

File tree

Cargo.lock

Lines changed: 20 additions & 108 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/recent-doc/build.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
// SPDX-License-Identifier: Apache-2.0
33
// SPDX-License-Identifier: MIT
44

5-
const COMMANDS: &[&str] = &["add_recent_document", "get_recent_documents", "clear_recent_documents"];
5+
const COMMANDS: &[&str] = &[
6+
"add_recent_document",
7+
"get_recent_documents",
8+
"clear_recent_documents",
9+
];
610

711
fn main() {
812
let result = tauri_plugin::Builder::new(COMMANDS)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Automatically generated - DO NOT EDIT!
2+
3+
"$schema" = "../../schemas/schema.json"
4+
5+
[[permission]]
6+
identifier = "allow-add-recent-document"
7+
description = "Enables the add_recent_document command without any pre-configured scope."
8+
commands.allow = ["add_recent_document"]
9+
10+
[[permission]]
11+
identifier = "deny-add-recent-document"
12+
description = "Denies the add_recent_document command without any pre-configured scope."
13+
commands.deny = ["add_recent_document"]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Automatically generated - DO NOT EDIT!
2+
3+
"$schema" = "../../schemas/schema.json"
4+
5+
[[permission]]
6+
identifier = "allow-clear-recent-documents"
7+
description = "Enables the clear_recent_documents command without any pre-configured scope."
8+
commands.allow = ["clear_recent_documents"]
9+
10+
[[permission]]
11+
identifier = "deny-clear-recent-documents"
12+
description = "Denies the clear_recent_documents command without any pre-configured scope."
13+
commands.deny = ["clear_recent_documents"]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Automatically generated - DO NOT EDIT!
2+
3+
"$schema" = "../../schemas/schema.json"
4+
5+
[[permission]]
6+
identifier = "allow-get-recent-documents"
7+
description = "Enables the get_recent_documents command without any pre-configured scope."
8+
commands.allow = ["get_recent_documents"]
9+
10+
[[permission]]
11+
identifier = "deny-get-recent-documents"
12+
description = "Denies the get_recent_documents command without any pre-configured scope."
13+
commands.deny = ["get_recent_documents"]

plugins/recent-doc/permissions/autogenerated/reference.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,58 @@
77
</tr>
88

99

10+
<tr>
11+
<td>
12+
13+
`recent-doc:allow-add-recent-document`
14+
15+
</td>
16+
<td>
17+
18+
Enables the add_recent_document command without any pre-configured scope.
19+
20+
</td>
21+
</tr>
22+
23+
<tr>
24+
<td>
25+
26+
`recent-doc:deny-add-recent-document`
27+
28+
</td>
29+
<td>
30+
31+
Denies the add_recent_document command without any pre-configured scope.
32+
33+
</td>
34+
</tr>
35+
36+
<tr>
37+
<td>
38+
39+
`recent-doc:allow-clear-recent-documents`
40+
41+
</td>
42+
<td>
43+
44+
Enables the clear_recent_documents command without any pre-configured scope.
45+
46+
</td>
47+
</tr>
48+
49+
<tr>
50+
<td>
51+
52+
`recent-doc:deny-clear-recent-documents`
53+
54+
</td>
55+
<td>
56+
57+
Denies the clear_recent_documents command without any pre-configured scope.
58+
59+
</td>
60+
</tr>
61+
1062
<tr>
1163
<td>
1264

@@ -30,6 +82,32 @@ Enables the execute command without any pre-configured scope.
3082

3183
Denies the execute command without any pre-configured scope.
3284

85+
</td>
86+
</tr>
87+
88+
<tr>
89+
<td>
90+
91+
`recent-doc:allow-get-recent-documents`
92+
93+
</td>
94+
<td>
95+
96+
Enables the get_recent_documents command without any pre-configured scope.
97+
98+
</td>
99+
</tr>
100+
101+
<tr>
102+
<td>
103+
104+
`recent-doc:deny-get-recent-documents`
105+
106+
</td>
107+
<td>
108+
109+
Denies the get_recent_documents command without any pre-configured scope.
110+
33111
</td>
34112
</tr>
35113
</table>

0 commit comments

Comments
 (0)