Skip to main content
Skip to main content

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

TobjectRequired

UpdateUserRoles

UpdateUserRoles: `${UpdateUserRolesEnum}`


UpdateUserRolesEnum

UpdateUserRolesEnum: NoUndefined<AdminUpdateUserRequest["role"]>

Was this section helpful?