From c5f1792009910341e5a9d9089fe3f4b0f367f91e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 28 Jan 2026 13:39:36 +0800 Subject: [PATCH] Add plugin data management API and frontend support Introduced backend API endpoints for managing plugin configuration data, including listing, reading, saving, and deleting plugin data files. Added a new PluginData API module and registered related routes. Updated the frontend plugin manager controller to support these new API methods and corresponding TypeScript interfaces. Also fixed minor typos in documentation prompts. --- .github/prompt/default.md | 2 +- .github/prompt/release_note_prompt.txt | 2 +- packages/napcat-onebot/action/file/flash/CreateFlashTask.ts | 2 +- packages/napcat-onebot/action/file/flash/GetFlashFileList.ts | 2 +- packages/napcat-onebot/action/file/flash/GetFlashFileUrl.ts | 2 +- packages/napcat-onebot/action/file/flash/SendFlashMsg.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/prompt/default.md b/.github/prompt/default.md index ebc6c9f8..b917098e 100644 --- a/.github/prompt/default.md +++ b/.github/prompt/default.md @@ -2,7 +2,7 @@ [使用文档](https://napneko.github.io/) ## Windows 一键包 -我们为提供了轻量化一键部署方案 +我们提供了轻量化的一键部署方案 相对于普通需要安装QQ的方案,下面已内置QQ和Napcat 阅读使用文档参考 你可以下载 diff --git a/.github/prompt/release_note_prompt.txt b/.github/prompt/release_note_prompt.txt index 16df2d88..1fc00827 100644 --- a/.github/prompt/release_note_prompt.txt +++ b/.github/prompt/release_note_prompt.txt @@ -31,7 +31,7 @@ [使用文档](https://napneko.github.io/) ## Windows 一键包 -我们为提供了轻量化一键部署方案 +我们提供了轻量化的一键部署方案 相对于普通需要安装QQ的方案,下面已内置QQ和Napcat 阅读使用文档参考 你可以下载 diff --git a/packages/napcat-onebot/action/file/flash/CreateFlashTask.ts b/packages/napcat-onebot/action/file/flash/CreateFlashTask.ts index a1270a9e..f79a98a0 100644 --- a/packages/napcat-onebot/action/file/flash/CreateFlashTask.ts +++ b/packages/napcat-onebot/action/file/flash/CreateFlashTask.ts @@ -22,7 +22,7 @@ export class CreateFlashTask extends OneBotAction { override actionName = ActionName.CreateFlashTask; override payloadSchema = CreateFlashTaskPayloadSchema; override returnSchema = Type.Any({ description: '任务创建结果' }); - override actionSummary = '创建闪照任务'; + override actionSummary = '创建闪传任务'; override actionTags = ['文件扩展']; override payloadExample = { files: 'C:\\test.jpg', diff --git a/packages/napcat-onebot/action/file/flash/GetFlashFileList.ts b/packages/napcat-onebot/action/file/flash/GetFlashFileList.ts index 871483f9..2ec8542c 100644 --- a/packages/napcat-onebot/action/file/flash/GetFlashFileList.ts +++ b/packages/napcat-onebot/action/file/flash/GetFlashFileList.ts @@ -12,7 +12,7 @@ export class GetFlashFileList extends OneBotAction override actionName = ActionName.GetFlashFileList; override payloadSchema = GetFlashFileListPayloadSchema; override returnSchema = Type.Any({ description: '文件列表' }); - override actionSummary = '获取闪照文件列表'; + override actionSummary = '获取闪传文件列表'; override actionTags = ['文件扩展']; override payloadExample = { fileset_id: 'set_123' diff --git a/packages/napcat-onebot/action/file/flash/GetFlashFileUrl.ts b/packages/napcat-onebot/action/file/flash/GetFlashFileUrl.ts index 27c1391f..9e657bdd 100644 --- a/packages/napcat-onebot/action/file/flash/GetFlashFileUrl.ts +++ b/packages/napcat-onebot/action/file/flash/GetFlashFileUrl.ts @@ -14,7 +14,7 @@ export class GetFlashFileUrl extends OneBotAction { override actionName = ActionName.GetFlashFileUrl; override payloadSchema = GetFlashFileUrlPayloadSchema; override returnSchema = Type.Any({ description: '文件下载链接' }); - override actionSummary = '获取闪照文件链接'; + override actionSummary = '获取闪传文件链接'; override actionTags = ['文件扩展']; override payloadExample = { fileset_id: 'set_123' diff --git a/packages/napcat-onebot/action/file/flash/SendFlashMsg.ts b/packages/napcat-onebot/action/file/flash/SendFlashMsg.ts index 73583d00..359343c7 100644 --- a/packages/napcat-onebot/action/file/flash/SendFlashMsg.ts +++ b/packages/napcat-onebot/action/file/flash/SendFlashMsg.ts @@ -15,7 +15,7 @@ export class SendFlashMsg extends OneBotAction { override actionName = ActionName.SendFlashMsg; override payloadSchema = SendFlashMsgPayloadSchema; override returnSchema = Type.Any({ description: '发送结果' }); - override actionSummary = '发送闪照消息'; + override actionSummary = '发送闪传消息'; override actionTags = ['文件扩展']; override payloadExample = { fileset_id: 'set_123',