onebot: clean up comments, imports and whitespace
Remove extraneous comments, redundant explanatory notes and extra blank lines across onebot packages; reorder and normalize import lists in group-admin and group-album; remove unused comment blocks in event-converter. These are non-functional cleanup changes in packages/onebot/src/actions/extended.ts, packages/onebot/src/actions/group-admin.ts, packages/onebot/src/actions/group-album.ts and packages/onebot/src/event-converter/index.ts to improve readability and maintain consistent style.
This commit is contained in:
1 parent
245405d294
commit
a52a9724cb
33 files changed
+213
-705
No files matched your search
Vendored
-6
@@ -1,8 +1,2 @@
|
||||
// Globals injected by Vite at build time (see `packages/core/vite.config.ts`).
|
||||
// `__APP_VERSION__` reads from the monorepo root `package.json::version`;
|
||||
// `__BUILD_WEBUI__` flips on when `BUILD_WEBUI=true` is set so the runner
|
||||
// stitches the SPA assets in. Both are typed as `unknown` outside vite
|
||||
// (e.g. when running tests via vitest where the plugin isn't applied) —
|
||||
// callers guard with `typeof __APP_VERSION__ !== 'undefined'`.
|
||||
declare const __BUILD_WEBUI__: boolean;
|
||||
declare const __APP_VERSION__: string;
|
||||
Reference in new issue
Block a user