Fix TS errors

This commit is contained in:
Andrew Kingston 2024-12-04 11:57:23 +00:00
parent f57dbfa1b8
commit a85a7a6483
No known key found for this signature in database
1 changed files with 5 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export interface UserEndpoints {
userId: string
email: string
}>
) => Promise<BulkUserDeleted | null>
) => Promise<BulkUserDeleted | undefined>
onboardUsers: (data: InviteUsersRequest) => Promise<InviteUsersResponse>
getUserInvite: (code: string) => Promise<{ email: string }>
getUserInvites: () => Promise<any[]>
@ -53,7 +53,10 @@ export interface UserEndpoints {
// Missing request or response types
searchUsers: (data: SearchUsersRequest) => Promise<any>
createUsers: (users: User[], groups: any[]) => Promise<BulkUserCreated | null>
createUsers: (
users: User[],
groups: any[]
) => Promise<BulkUserCreated | undefined>
updateUserInvite: (data: any) => Promise<any>
}