mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-14 22:48:52 +01:00
- Replaced string literals for principal models ('User', 'Group') with the new PrincipalModel enum across various models, services, and tests to enhance type safety and consistency.
- Updated permission handling in multiple files to utilize the PrincipalModel enum, improving maintainability and reducing potential errors.
- Ensured all relevant tests reflect these changes to maintain coverage and functionality.
|
||
|---|---|---|
| .. | ||
| accessRole.spec.ts | ||
| accessRole.ts | ||
| aclEntry.spec.ts | ||
| aclEntry.ts | ||
| agentCategory.ts | ||
| group.spec.ts | ||
| group.ts | ||
| index.ts | ||
| memory.ts | ||
| pluginAuth.ts | ||
| role.ts | ||
| session.ts | ||
| share.test.ts | ||
| share.ts | ||
| token.ts | ||
| user.test.ts | ||
| user.ts | ||
| userGroup.spec.ts | ||
| userGroup.ts | ||