mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-06 15:57:50 +02:00
chore: update to tauri 3.0.0-alpha.9
autogenerated commands format changed, needed FS plugin small change
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
commands = ["mkdir","create","copy_file","remove","rename","truncate","ftruncate","write","write_text_file","read_dir","read_file","read","open","read_text_file","read_text_file_lines_next","seek","stat","lstat","fstat","exists","watch","unwatch","size","start_accessing_security_scoped_resource","stop_accessing_security_scoped_resource"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-copy-file"
|
||||
description = "Enables the copy_file command without any pre-configured scope."
|
||||
commands.allow = ["copy_file"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-copy-file"
|
||||
description = "Denies the copy_file command without any pre-configured scope."
|
||||
commands.deny = ["copy_file"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-create"
|
||||
description = "Enables the create command without any pre-configured scope."
|
||||
commands.allow = ["create"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-create"
|
||||
description = "Denies the create command without any pre-configured scope."
|
||||
commands.deny = ["create"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-exists"
|
||||
description = "Enables the exists command without any pre-configured scope."
|
||||
commands.allow = ["exists"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-exists"
|
||||
description = "Denies the exists command without any pre-configured scope."
|
||||
commands.deny = ["exists"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-fstat"
|
||||
description = "Enables the fstat command without any pre-configured scope."
|
||||
commands.allow = ["fstat"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-fstat"
|
||||
description = "Denies the fstat command without any pre-configured scope."
|
||||
commands.deny = ["fstat"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-ftruncate"
|
||||
description = "Enables the ftruncate command without any pre-configured scope."
|
||||
commands.allow = ["ftruncate"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-ftruncate"
|
||||
description = "Denies the ftruncate command without any pre-configured scope."
|
||||
commands.deny = ["ftruncate"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-lstat"
|
||||
description = "Enables the lstat command without any pre-configured scope."
|
||||
commands.allow = ["lstat"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-lstat"
|
||||
description = "Denies the lstat command without any pre-configured scope."
|
||||
commands.deny = ["lstat"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-mkdir"
|
||||
description = "Enables the mkdir command without any pre-configured scope."
|
||||
commands.allow = ["mkdir"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-mkdir"
|
||||
description = "Denies the mkdir command without any pre-configured scope."
|
||||
commands.deny = ["mkdir"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-open"
|
||||
description = "Enables the open command without any pre-configured scope."
|
||||
commands.allow = ["open"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-open"
|
||||
description = "Denies the open command without any pre-configured scope."
|
||||
commands.deny = ["open"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-read"
|
||||
description = "Enables the read command without any pre-configured scope."
|
||||
commands.allow = ["read"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-read"
|
||||
description = "Denies the read command without any pre-configured scope."
|
||||
commands.deny = ["read"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-read-dir"
|
||||
description = "Enables the read_dir command without any pre-configured scope."
|
||||
commands.allow = ["read_dir"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-read-dir"
|
||||
description = "Denies the read_dir command without any pre-configured scope."
|
||||
commands.deny = ["read_dir"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-read-file"
|
||||
description = "Enables the read_file command without any pre-configured scope."
|
||||
commands.allow = ["read_file"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-read-file"
|
||||
description = "Denies the read_file command without any pre-configured scope."
|
||||
commands.deny = ["read_file"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-read-text-file"
|
||||
description = "Enables the read_text_file command without any pre-configured scope."
|
||||
commands.allow = ["read_text_file"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-read-text-file"
|
||||
description = "Denies the read_text_file command without any pre-configured scope."
|
||||
commands.deny = ["read_text_file"]
|
||||
@@ -1,22 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-read-text-file-lines"
|
||||
description = "Enables the read_text_file_lines command without any pre-configured scope."
|
||||
|
||||
[permission.commands]
|
||||
allow = [
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
]
|
||||
deny = []
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-read-text-file-lines"
|
||||
description = "Denies the read_text_file_lines command without any pre-configured scope."
|
||||
|
||||
[permission.commands]
|
||||
allow = []
|
||||
deny = ["read_text_file_lines"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-read-text-file-lines-next"
|
||||
description = "Enables the read_text_file_lines_next command without any pre-configured scope."
|
||||
commands.allow = ["read_text_file_lines_next"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-read-text-file-lines-next"
|
||||
description = "Denies the read_text_file_lines_next command without any pre-configured scope."
|
||||
commands.deny = ["read_text_file_lines_next"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-remove"
|
||||
description = "Enables the remove command without any pre-configured scope."
|
||||
commands.allow = ["remove"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-remove"
|
||||
description = "Denies the remove command without any pre-configured scope."
|
||||
commands.deny = ["remove"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-rename"
|
||||
description = "Enables the rename command without any pre-configured scope."
|
||||
commands.allow = ["rename"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-rename"
|
||||
description = "Denies the rename command without any pre-configured scope."
|
||||
commands.deny = ["rename"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-seek"
|
||||
description = "Enables the seek command without any pre-configured scope."
|
||||
commands.allow = ["seek"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-seek"
|
||||
description = "Denies the seek command without any pre-configured scope."
|
||||
commands.deny = ["seek"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-size"
|
||||
description = "Enables the size command without any pre-configured scope."
|
||||
commands.allow = ["size"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-size"
|
||||
description = "Denies the size command without any pre-configured scope."
|
||||
commands.deny = ["size"]
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-start-accessing-security-scoped-resource"
|
||||
description = "Enables the start_accessing_security_scoped_resource command without any pre-configured scope."
|
||||
commands.allow = ["start_accessing_security_scoped_resource"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-start-accessing-security-scoped-resource"
|
||||
description = "Denies the start_accessing_security_scoped_resource command without any pre-configured scope."
|
||||
commands.deny = ["start_accessing_security_scoped_resource"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-stat"
|
||||
description = "Enables the stat command without any pre-configured scope."
|
||||
commands.allow = ["stat"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-stat"
|
||||
description = "Denies the stat command without any pre-configured scope."
|
||||
commands.deny = ["stat"]
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-stop-accessing-security-scoped-resource"
|
||||
description = "Enables the stop_accessing_security_scoped_resource command without any pre-configured scope."
|
||||
commands.allow = ["stop_accessing_security_scoped_resource"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-stop-accessing-security-scoped-resource"
|
||||
description = "Denies the stop_accessing_security_scoped_resource command without any pre-configured scope."
|
||||
commands.deny = ["stop_accessing_security_scoped_resource"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-truncate"
|
||||
description = "Enables the truncate command without any pre-configured scope."
|
||||
commands.allow = ["truncate"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-truncate"
|
||||
description = "Denies the truncate command without any pre-configured scope."
|
||||
commands.deny = ["truncate"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-unwatch"
|
||||
description = "Enables the unwatch command without any pre-configured scope."
|
||||
commands.allow = ["unwatch"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-unwatch"
|
||||
description = "Denies the unwatch command without any pre-configured scope."
|
||||
commands.deny = ["unwatch"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-watch"
|
||||
description = "Enables the watch command without any pre-configured scope."
|
||||
commands.allow = ["watch"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-watch"
|
||||
description = "Denies the watch command without any pre-configured scope."
|
||||
commands.deny = ["watch"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-write"
|
||||
description = "Enables the write command without any pre-configured scope."
|
||||
commands.allow = ["write"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-write"
|
||||
description = "Denies the write command without any pre-configured scope."
|
||||
commands.deny = ["write"]
|
||||
@@ -1,23 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-write-file"
|
||||
description = "Enables the write_file command without any pre-configured scope."
|
||||
|
||||
[permission.commands]
|
||||
allow = [
|
||||
"write_file",
|
||||
"open",
|
||||
"write",
|
||||
]
|
||||
deny = []
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-write-file"
|
||||
description = "Denies the write_file command without any pre-configured scope."
|
||||
|
||||
[permission.commands]
|
||||
allow = []
|
||||
deny = ["write_file"]
|
||||
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-write-text-file"
|
||||
description = "Enables the write_text_file command without any pre-configured scope."
|
||||
commands.allow = ["write_text_file"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-write-text-file"
|
||||
description = "Denies the write_text_file command without any pre-configured scope."
|
||||
commands.deny = ["write_text_file"]
|
||||
@@ -3279,32 +3279,6 @@ Denies the read_text_file command without any pre-configured scope.
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:allow-read-text-file-lines`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the read_text_file_lines command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:deny-read-text-file-lines`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the read_text_file_lines command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:allow-read-text-file-lines-next`
|
||||
|
||||
</td>
|
||||
@@ -3617,32 +3591,6 @@ Denies the write command without any pre-configured scope.
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:allow-write-file`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the write_file command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:deny-write-file`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the write_file command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:allow-write-text-file`
|
||||
|
||||
</td>
|
||||
@@ -3669,6 +3617,58 @@ Denies the write_text_file command without any pre-configured scope.
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:allow-read-text-file-lines`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the read_text_file_lines command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:deny-read-text-file-lines`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the read_text_file_lines command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:allow-write-file`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the write_file command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:deny-write-file`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the write_file command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`fs:create-app-specific-dirs`
|
||||
|
||||
</td>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
"$schema" = "../schemas/schema.json"
|
||||
|
||||
# This command allows nested commands, so its permissions are manually
|
||||
# authored here instead of being autogenerated from the `COMMANDS` list in `build.rs`.
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-read-text-file-lines"
|
||||
description = "Enables the read_text_file_lines command without any pre-configured scope."
|
||||
commands.allow = [
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-read-text-file-lines"
|
||||
description = "Denies the read_text_file_lines command without any pre-configured scope."
|
||||
commands.deny = ["read_text_file_lines"]
|
||||
@@ -0,0 +1,18 @@
|
||||
"$schema" = "../schemas/schema.json"
|
||||
|
||||
# This command allows nested commands, so its permissions are manually
|
||||
# authored here instead of being autogenerated from the `COMMANDS` list in `build.rs`.
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-write-file"
|
||||
description = "Enables the write_file command without any pre-configured scope."
|
||||
commands.allow = [
|
||||
"write_file",
|
||||
"open",
|
||||
"write",
|
||||
]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-write-file"
|
||||
description = "Denies the write_file command without any pre-configured scope."
|
||||
commands.deny = ["write_file"]
|
||||
@@ -29,6 +29,13 @@
|
||||
"$ref": "#/definitions/Permission"
|
||||
},
|
||||
"default": []
|
||||
},
|
||||
"commands": {
|
||||
"description": "A list of command names that get `allow-$command` and `deny-$command` permissions\nautogenerated on demand instead of being stored as explicit permissions.\n\nSee [`Manifest::command_permission`] and the ACL resolver for how these are expanded.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
|
||||
Reference in New Issue
Block a user