mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
Refactor extends actions to use new examples module
Replaced imports of ActionExamples with ExtendsActionsExamples in all extends actions. Updated action summary, description, tags, and example references for consistency and clarity across actions. This improves maintainability and aligns with the new examples structure.
This commit is contained in:
@@ -70,6 +70,9 @@ export class UploadFileStream extends OneBotAction<UploadFileStreamPayload, Stre
|
||||
override actionName = ActionName.UploadFileStream;
|
||||
override payloadSchema = UploadFileStreamPayloadSchema;
|
||||
override returnSchema = Type.Any({ description: '上传结果 (流式)' });
|
||||
override actionSummary = '上传文件流';
|
||||
override actionDescription = '以流式方式上传文件数据到机器人';
|
||||
override actionTags = ['流式接口'];
|
||||
override useStream = true;
|
||||
|
||||
private static streams = new Map<string, StreamState>();
|
||||
|
||||
Reference in New Issue
Block a user