读剪贴板支持图片、html、rtf,新增用户数据分类

This commit is contained in:
fofolee
2025-01-08 22:41:11 +08:00
parent cdd7b89e72
commit d2c3b7999c
8 changed files with 203 additions and 35 deletions

View File

@@ -0,0 +1,61 @@
export const userdataCommands = {
label: "用户数据",
icon: "folder_shared",
defaultOpened: false,
commands: [
{
value: "quickcommand.userData.get",
label: "获取用户数据",
icon: "database",
config: [
{
label: "数据标识",
type: "input",
},
],
outputVariable: "userData",
saveOutput: true,
},
{
value: "quickcommand.userData.all",
label: "获取所有用户数据",
icon: "database",
outputVariable: "userDatas",
saveOutput: true,
},
{
value: "quickcommand.userData.put",
label: "设置用户数据",
icon: "database",
config: [
{
label: "数据",
type: "varInput",
width: 7,
},
{
label: "数据标识",
type: "input",
width: 3,
},
{
label: "不同步",
type: "checkbox",
defaultValue: true,
width: 2,
},
],
},
{
value: "quickcommand.userData.del",
label: "删除用户数据",
icon: "database",
config: [
{
label: "数据标识",
type: "input",
},
],
},
],
};