LibreChat/api/server/controllers
Danny Avila 49d1cefe71
🔧 refactor: Add and use PrincipalType Enum
- Replaced string literals for principal types ('user', 'group', 'public') with the new PrincipalType enum across various models, services, and tests for improved type safety and consistency.
- Updated permission handling in multiple files to utilize the PrincipalType enum, enhancing maintainability and reducing potential errors.
- Ensured all relevant tests reflect these changes to maintain coverage and functionality.
2025-08-13 16:24:22 -04:00
..
agents 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
assistants
auth
AuthController.js 📁 feat: Integrate SharePoint File Picker and Download Workflow (#8651) 2025-08-13 16:24:16 -04:00
Balance.js
EditController.js
EndpointController.js
ModelController.js 🧑‍💼 feat: Add Agent Model Validation (#8995) 2025-08-11 14:26:28 -04:00
OverrideController.js
PermissionsController.js 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
PluginController.js 🚌 fix: MCP Runtime Errors while Initializing (#9046) 2025-08-13 14:41:38 -04:00
PluginController.spec.js
tools.js
TwoFactorController.js
UserController.js