mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00: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.
|
||
|---|---|---|
| .. | ||
| Action.js | ||
| Agent.js | ||
| Agent.spec.js | ||
| Assistant.js | ||
| balanceMethods.js | ||
| Banner.js | ||
| Categories.js | ||
| Conversation.js | ||
| Conversation.spec.js | ||
| ConversationTag.js | ||
| convoStructure.spec.js | ||
| File.js | ||
| File.spec.js | ||
| index.js | ||
| inviteUser.js | ||
| Message.js | ||
| Message.spec.js | ||
| Preset.js | ||
| Project.js | ||
| Prompt.js | ||
| Prompt.spec.js | ||
| PromptGroupMigration.spec.js | ||
| Role.js | ||
| Role.spec.js | ||
| spendTokens.js | ||
| spendTokens.spec.js | ||
| ToolCall.js | ||
| Transaction.js | ||
| Transaction.spec.js | ||
| tx.js | ||
| tx.spec.js | ||
| userMethods.js | ||