mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Refactored all Satori action classes to use TypeBox schemas for payload validation and unified action naming via a new router. Added schema-based parameter checking to the SatoriAction base class. Introduced new actions for guild and member approval, and login retrieval. Centralized action name constants and types in a new router module. Enhanced event and message APIs with more structured event types and parsing logic. Added helper utilities for XML parsing. Updated exports and registration logic to support the new structure.
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2021",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Node",
|
|
"lib": [
|
|
"ES2021"
|
|
],
|
|
"typeRoots": [
|
|
"./node_modules/@types"
|
|
],
|
|
"esModuleInterop": true,
|
|
"outDir": "dist",
|
|
"noEmit": false,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"noImplicitAny": false,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"alwaysStrict": true,
|
|
"noImplicitThis": true,
|
|
"noImplicitReturns": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"noImplicitOverride": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"useDefineForClassFields": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": [
|
|
"packages/*"
|
|
]
|
|
},
|
|
"skipLibCheck": true,
|
|
"skipDefaultLibCheck": true
|
|
}
|
|
} |