Add process bypass option and update bypass fields

Introduce a new 'process' bypass option and remove the old 'maps' key, updating all related schemas, types, defaults and validation. Adjusted napcat.json ordering and NapcatConfig defaults, updated BypassOptions schema and TypeScript interfaces, backend validation keys, loader/default parsing logic, and the web UI form mappings/labels to reflect the new field set and ordering.
This commit is contained in:
手瓜一十雪
2026-02-18 22:14:31 +08:00
parent b9f61cc0ee
commit a3b3836b8a
8 changed files with 51 additions and 55 deletions

View File

@@ -6,11 +6,11 @@ import { LogWrapper } from '../../helper/log';
export interface BypassOptions {
hook?: boolean;
module?: boolean;
window?: boolean;
js?: boolean;
module?: boolean;
process?: boolean;
container?: boolean;
maps?: boolean;
js?: boolean;
}
export interface Napi2NativeExportType {