Apply formatting and minor style fixes across repo

Normalize code style across multiple packages: whitespace cleanup, consistent commas and trailing commas in arrays/enums/objects, fix table markdown lines in CI comment template, ensure newline at EOF, normalize header/object property quoting and spacing, remove stray blank lines and minor non-functional comment tweaks. These are formatting-only changes and small type/annotation spacing adjustments; no functional behavior changes intended.
This commit is contained in:
手瓜一十雪 committed 2026-03-05 18:45:50 +08:00
1 parent d2d0b258bc
commit 974528fe7e
186 files changed
+1367 -1233

No files matched your search

@@ -17,7 +17,7 @@ export class GetCSRF extends OneBotAction<void, GetCSRFReturnType> {
override actionTags = ['系统接口'];
override payloadExample = {};
override returnExample = {
token: 123456789
token: 123456789,
};
async _handle () {
@@ -23,11 +23,12 @@ export class GetCredentials extends OneBotAction<GetCredentialsPayload, GetCrede
override actionDescription = '获取登录凭证';
override actionTags = ['系统接口'];
override payloadExample = {
domain: 'qun.qq.com'
domain: 'qun.qq.com',
};
override returnExample = {
cookies: 'uin=o123456789; skey=@abc12345;',
token: 123456789
token: 123456789,
};
async _handle (payload: GetCredentialsPayload) {
@@ -21,7 +21,7 @@ export default class GetStatus extends OneBotAction<void, GetStatusReturnType> {
override returnExample = {
online: true,
good: true,
stat: {}
stat: {},
};
async _handle (): Promise<GetStatusReturnType> {
@@ -26,12 +26,13 @@ export class GetGroupSystemMsg extends OneBotAction<GetGroupSystemMsgPayload, Ge
override actionDescription = '获取群系统消息';
override actionTags = ['系统接口'];
override payloadExample = {
count: 50
count: 50,
};
override returnExample = {
invited_requests: [],
InvitedRequest: [],
join_requests: []
join_requests: [],
};
async _handle (params: GetGroupSystemMsgPayload): Promise<GetGroupSystemMsgReturn> {
@@ -21,7 +21,7 @@ export default class GetVersionInfo extends OneBotAction<void, ReturnType> {
override returnExample = {
app_name: 'NapCat.Onebot',
protocol_version: 'v11',
app_version: '1.0.0'
app_version: '1.0.0',
};
async _handle (): Promise<ReturnType> {