Merge pull request #13211 from Budibase/correct-role-type

Make user role type more representative of reality.
This commit is contained in:
Sam Rose 2024-03-07 09:40:10 +00:00 committed by GitHub
commit b54302caf6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ export interface GroupUser {
}
export interface UserGroupRoles {
[key: string]: string
[key: string]: string | undefined
}
export interface SearchGroupRequest {}

View File

@ -48,7 +48,7 @@ export interface GroupAddedOnboardingEvent extends BaseEvent {
}
export interface GroupPermissionsEditedEvent extends BaseEvent {
permissions: Record<string, string>
permissions: Record<string, string | undefined>
groupId: string
audited: {
name: string