LibreChat/api/models
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
..
Action.js
Agent.js 🔧 refactor: Organize Sharing/Agent Components and Improve Type Safety 2025-08-13 16:24:20 -04:00
Agent.spec.js 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
Assistant.js
balanceMethods.js
Banner.js
Categories.js
Conversation.js
Conversation.spec.js
ConversationTag.js
convoStructure.spec.js
File.js 🏪 feat: Agent Marketplace 2025-08-13 16:24:18 -04:00
File.spec.js 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
index.js 📚 feat: Add Source Citations for File Search in Agents (#8652) 2025-08-13 16:24:16 -04:00
inviteUser.js
Message.js
Message.spec.js
Preset.js
Project.js
Prompt.js 🔧 refactor: Organize Sharing/Agent Components and Improve Type Safety 2025-08-13 16:24:20 -04:00
Prompt.spec.js 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
PromptGroupMigration.spec.js 🔧 refactor: Add and use PrincipalType Enum 2025-08-13 16:24:22 -04:00
Role.js 🏪 feat: Agent Marketplace 2025-08-13 16:24:18 -04:00
Role.spec.js
spendTokens.js
spendTokens.spec.js
ToolCall.js
Transaction.js
Transaction.spec.js
tx.js feat: GPT-5 Token Limits, Rates, Icon, Reasoning Support 2025-08-07 16:23:11 -04:00
tx.spec.js feat: GPT-5 Token Limits, Rates, Icon, Reasoning Support 2025-08-07 16:23:11 -04:00
userMethods.js