internal
Type Aliases
AdminCreateUserPayload
AdminCreateUserPayload: Omit
<AdminCreateUserRequest
, "role"
> | { role?
: CreateUserRoles
}
AdminUpdateUserPayload
AdminUpdateUserPayload: Omit
<AdminUpdateUserRequest
, "role"
> & { role?
: UpdateUserRoles
}
CreateUserRoles
CreateUserRoles: `${CreateUserRolesEnum}`
CreateUserRolesEnum
CreateUserRolesEnum: NoUndefined
<AdminCreateUserRequest
["role"
]>
NoUndefined
NoUndefined<T
>: T
extends undefined
? never
: T
Type parameters
T
objectRequiredUpdateUserRoles
UpdateUserRoles: `${UpdateUserRolesEnum}`
UpdateUserRolesEnum
UpdateUserRolesEnum: NoUndefined
<AdminUpdateUserRequest
["role"
]>
Was this section helpful?