Normalize imports, typings and formatting

Reorder and normalize imports, add missing type imports, and fix whitespace/formatting across multiple files. Notable updates: eslint.config.ts import ordering; core bridge APIs (group-album, misc, web) now import Json types; tests/highway pipeline import ordering and added type imports; protocol changes (element-builder, highway client/pipeline) reorganized imports and added proto type imports; many oidb service modules moved protobuf encode/decode imports for consistency; web group modules (album, essence, honor, notice, request-util) reordered imports, adjusted typings/indentation, and small whitespace fixes. These edits are stylistic and typing improvements and should not change runtime behavior.
This commit is contained in:
手瓜一十雪 committed 2026-05-24 13:39:35 +08:00
1 parent 80ee12ecc2
commit 456086599c
23 files changed
+83 -83

No files matched your search

+7 -7
View File
@@ -1,5 +1,5 @@
import { RequestUtil, cookieToString } from './request-util';
import { createLogger } from '@snowluma/common/logger';
import { RequestUtil, cookieToString } from './request-util';
const log = createLogger('Bridge.Web');
@@ -24,11 +24,11 @@ interface HonorInitialState {
}
export enum WebHonorType {
TALKATIVE = 'talkative',
PERFORMER = 'performer',
LEGEND = 'legend',
EMOTION = 'emotion',
ALL = 'all',
TALKATIVE = 'talkative',
PERFORMER = 'performer',
LEGEND = 'legend',
EMOTION = 'emotion',
ALL = 'all',
}
@@ -70,4 +70,4 @@ export async function getHonorListWebAPI(cookieObject: Record<string, string>, g
groupCode, type, e instanceof Error ? (e.stack ?? e.message) : String(e));
return [];
}
}
}