[feat] fix list update + add dark mode and switch

This commit is contained in:
Purp1e
2025-03-12 13:07:16 +08:00
parent 9103150562
commit 0c102dfd63
10 changed files with 240 additions and 18 deletions

View File

@@ -84,7 +84,7 @@
}
},
"permissions": {
"description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",
"description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ] ```",
"type": "array",
"items": {
"$ref": "#/definitions/PermissionEntry"
@@ -5598,6 +5598,211 @@
"description": "Denies the values command without any pre-configured scope.",
"type": "string",
"const": "store:deny-values"
},
{
"description": "Default permissions for tauri-plugin-valtio.",
"type": "string",
"const": "valtio:default"
},
{
"description": "Enables the clear_autosave command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-clear-autosave"
},
{
"description": "Enables the get_default_save_strategy command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-get-default-save-strategy"
},
{
"description": "Enables the get_save_strategy command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-get-save-strategy"
},
{
"description": "Enables the get_store_ids command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-get-store-ids"
},
{
"description": "Enables the get_store_path command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-get-store-path"
},
{
"description": "Enables the get_store_state command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-get-store-state"
},
{
"description": "Enables the get_valtio_path command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-get-valtio-path"
},
{
"description": "Enables the load command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-load"
},
{
"description": "Enables the patch command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-patch"
},
{
"description": "Enables the save command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-save"
},
{
"description": "Enables the save_all command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-save-all"
},
{
"description": "Enables the save_all_now command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-save-all-now"
},
{
"description": "Enables the save_now command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-save-now"
},
{
"description": "Enables the save_some command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-save-some"
},
{
"description": "Enables the save_some_now command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-save-some-now"
},
{
"description": "Enables the set_autosave command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-set-autosave"
},
{
"description": "Enables the set_save_strategy command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-set-save-strategy"
},
{
"description": "Enables the set_store_options command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-set-store-options"
},
{
"description": "Enables the set_valtio_path command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-set-valtio-path"
},
{
"description": "Enables the unload command without any pre-configured scope.",
"type": "string",
"const": "valtio:allow-unload"
},
{
"description": "Denies the clear_autosave command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-clear-autosave"
},
{
"description": "Denies the get_default_save_strategy command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-get-default-save-strategy"
},
{
"description": "Denies the get_save_strategy command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-get-save-strategy"
},
{
"description": "Denies the get_store_ids command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-get-store-ids"
},
{
"description": "Denies the get_store_path command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-get-store-path"
},
{
"description": "Denies the get_store_state command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-get-store-state"
},
{
"description": "Denies the get_valtio_path command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-get-valtio-path"
},
{
"description": "Denies the load command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-load"
},
{
"description": "Denies the patch command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-patch"
},
{
"description": "Denies the save command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-save"
},
{
"description": "Denies the save_all command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-save-all"
},
{
"description": "Denies the save_all_now command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-save-all-now"
},
{
"description": "Denies the save_now command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-save-now"
},
{
"description": "Denies the save_some command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-save-some"
},
{
"description": "Denies the save_some_now command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-save-some-now"
},
{
"description": "Denies the set_autosave command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-set-autosave"
},
{
"description": "Denies the set_save_strategy command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-set-save-strategy"
},
{
"description": "Denies the set_store_options command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-set-store-options"
},
{
"description": "Denies the set_valtio_path command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-set-valtio-path"
},
{
"description": "Denies the unload command without any pre-configured scope.",
"type": "string",
"const": "valtio:deny-unload"
}
]
},