8041a39dfd
- Added TourScheduleEngine class for managing user queues in a guild. - Implemented methods for joining, leaving, listing, and clearing queues. - Added functionality to promote users to speaker in a stage channel and send announcements. - Created integration tests for the TourScheduleEngine to verify FIFO behavior and announcement dispatch. test: Add unit tests for ping and sign-up commands - Created tests for ping command to ensure it replies with "Pong!". - Implemented tests for sign-up command to verify queue joining, listing, and permission checks. test: Add integration tests for mileage engine flow - Developed tests to validate mileage awarding, event persistence, and role upgrades based on mileage thresholds. chore: Update TypeScript configuration for ESLint - Added tsconfig.eslint.json for ESLint integration. - Modified tsconfig.json to exclude test files from the main compilation.
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
// Visit https://aka.ms/tsconfig to read more about this file
|
|
"compilerOptions": {
|
|
// File Layout
|
|
"rootDir": "src",
|
|
"outDir": "dist",
|
|
|
|
// Environment Settings
|
|
// See also https://aka.ms/tsconfig/module
|
|
"module": "node16",
|
|
"target": "es2022",
|
|
"types": ["node", "jest"],
|
|
// For nodejs:
|
|
// "lib": ["esnext"],
|
|
// "types": ["node"],
|
|
// and npm install -D @types/node
|
|
|
|
// Other Outputs
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
|
|
// Stricter Typechecking Options
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
|
|
// Style Options
|
|
// "noImplicitReturns": true,
|
|
// "noImplicitOverride": true,
|
|
// "noUnusedLocals": true,
|
|
// "noUnusedParameters": true,
|
|
// "noFallthroughCasesInSwitch": true,
|
|
// "noPropertyAccessFromIndexSignature": true,
|
|
|
|
// Recommended Options
|
|
"strict": true,
|
|
"verbatimModuleSyntax": false,
|
|
"isolatedModules": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"moduleResolution": "node16",
|
|
"moduleDetection": "auto",
|
|
"skipLibCheck": true,
|
|
|
|
"esModuleInterop": true
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"exclude": ["dist", "node_modules"]
|
|
}
|