Refactor bridge modules: imports & cleanup
Standardize and reorganize imports, type usages and minor formatting across the bridge modules. This commit moves protobuf helpers, makeOidbEnvelope/runOidb, OidbBase and logger imports into consistent places, reorders and groups action/contacts exports in Bridge, removes or trims file-level comments, and fixes whitespace/logic ordering in several highway, element-builder and msg-push files. These are refactors and import/type adjustments across many files under packages/core/src (bridge, highway, msg-push, webui, utils, etc.) with no intended behavioral changes.
This commit is contained in:
1 parent
c49ae1c8d9
commit
b56868878c
83 files changed
+356
-919
No files matched your search
@@ -1,12 +1,6 @@
|
||||
// Notice-kind handlers (10 cases). These produce OneBot `notice` events
|
||||
// with no message body / no element conversion — pure field projections
|
||||
// from the bridge event into the OneBot wire shape. None of them call
|
||||
// resolvers except the two recall handlers and group_essence, which
|
||||
// need a message-id resolution.
|
||||
|
||||
import type { QQEventVariant } from '../../bridge/events';
|
||||
import type { JsonObject } from '../types';
|
||||
import { GROUP_MESSAGE_EVENT, PRIVATE_MESSAGE_EVENT } from '../message-id';
|
||||
import type { JsonObject } from '../types';
|
||||
import type { ConverterContext } from './index';
|
||||
import { applyMessageIdResolver, isSameActor } from './utils';
|
||||
|
||||
|
||||
Reference in new issue
Block a user