LibreChat/packages/api/src/middleware
Danny Avila 838fb53208
🔃 refactor: Decouple Effects from AppService, move to data-schemas (#9974)
* chore: linting for `loadCustomConfig`

* refactor: decouple CDN init and variable/health checks from AppService

* refactor: move AppService to packages/data-schemas

* chore: update AppConfig import path to use data-schemas

* chore: update JsonSchemaType import path to use data-schemas

* refactor: update UserController to import webSearchKeys and redefine FunctionTool typedef

* chore: remove AppService.js

* refactor: update AppConfig interface to use Partial<TCustomConfig> and make paths and fileStrategies optional

* refactor: update checkConfig function to accept Partial<TCustomConfig>

* chore: fix types

* refactor: move handleRateLimits to startup checks as is an effect

* test: remove outdated rate limit tests from AppService.spec and add new handleRateLimits tests in checks.spec
2025-10-05 06:37:57 -04:00
..
access.spec.ts 🔧 refactor: Change Permissions Check from some to every for Stricter Access Validation (#8270) 2025-07-05 15:53:08 -04:00
access.ts 🏪 feat: Agent Marketplace 2025-08-13 16:24:18 -04:00
balance.spec.ts 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
balance.ts 🔃 refactor: Decouple Effects from AppService, move to data-schemas (#9974) 2025-10-05 06:37:57 -04:00
error.spec.ts 🔎 feat: Add Prompt and Agent Permissions Migration Checks (#9063) 2025-08-14 17:20:00 -04:00
error.ts 🔒 fix: Provider Validation for Social, OpenID, SAML, and LDAP Logins (#8999) 2025-08-11 18:51:46 -04:00
index.ts 🔄 fix: Ensure lastRefill Date for Existing Users & Refactor Balance Middleware (#9086) 2025-08-15 17:02:49 -04:00