feat: implement configuration management system

- Add comprehensive TypeScript interfaces for all config types
- Implement ConfigManager singleton class with layered loading
- Support for default, environment-specific, and environment variable configs
- Add example .env file for sensitive configuration

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Misaka
2026-02-28 22:10:41 +08:00
parent ae60273782
commit 319b5ec03b
2 changed files with 101 additions and 46 deletions

View File

@@ -8,8 +8,8 @@
"timeout": 30000
},
"erp": {
"baseUrl": "https://68.11.34.30:8082",
"ignoreHttpsErrors": true
"baseUrl": "",
"ignoreHttpsErrors": false
},
"paths": {
"tempDir": "./data/temp",