mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
- 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.
|
||
|---|---|---|
| .. | ||
| agents | ||
| assistants | ||
| auth | ||
| AuthController.js | ||
| Balance.js | ||
| EditController.js | ||
| EndpointController.js | ||
| ModelController.js | ||
| OverrideController.js | ||
| PermissionsController.js | ||
| PluginController.js | ||
| PluginController.spec.js | ||
| tools.js | ||
| TwoFactorController.js | ||
| UserController.js | ||