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 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
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 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
balanceMethods.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
Banner.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
Categories.js 📦 refactor: Move DB Models to @librechat/data-schemas (#6210) 2025-03-07 11:55:44 -05:00
Conversation.js 🐛 fix: Temporary Chats Still Visible in Sidebar (#8688) 2025-07-27 11:42:35 -04:00
Conversation.spec.js 🐛 fix: Temporary Chats Still Visible in Sidebar (#8688) 2025-07-27 11:42:35 -04:00
ConversationTag.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
convoStructure.spec.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
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 🪐 feat: MCP OAuth 2.0 Discovery Support (#7924) 2025-06-17 13:50:33 -04:00
Message.js 🐛 fix: Temporary Chats Still Visible in Sidebar (#8688) 2025-07-27 11:42:35 -04:00
Message.spec.js 🐛 fix: Temporary Chats Still Visible in Sidebar (#8688) 2025-07-27 11:42:35 -04:00
Preset.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
Project.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
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 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
spendTokens.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
spendTokens.spec.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
ToolCall.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
Transaction.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
Transaction.spec.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
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 📧 feat: Mailgun API Email Configuration (#7742) 2025-06-04 13:12:37 -04:00