✔️ fix: Resource field TypeError & Missing Role Permission Type (#8606)

* fix: resource parameter undefined TypeError in log

* chore: Add missing FILE_SEARCH permission type to IRole interface

* chore: Bump version of @librechat/data-schemas to 0.0.11

* fix: Ensure resource is defined and handle potential null values in OAuth flow
This commit is contained in:
Danny Avila 2025-07-22 18:22:58 -04:00 committed by GitHub
parent baf3b4ad08
commit 62c3f135e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 12 deletions

View file

@ -35,5 +35,8 @@ export interface IRole extends Document {
[PermissionTypes.WEB_SEARCH]?: {
[Permissions.USE]?: boolean;
};
[PermissionTypes.FILE_SEARCH]?: {
[Permissions.USE]?: boolean;
};
};
}