Skip to main content

Namespace: internal

Classes

Type Aliases

AdminCreateUserPayload

Ƭ AdminCreateUserPayload: Omit<AdminCreateUserRequest, "role"> | { role?: CreateUserRoles }

Defined in

medusa-js/src/typings.ts:31


AdminUpdateUserPayload

Ƭ AdminUpdateUserPayload: Omit<AdminUpdateUserRequest, "role"> & { role?: UpdateUserRoles }

Defined in

medusa-js/src/typings.ts:41


AdminUserRes

Ƭ AdminUserRes: Object

Type declaration

NameType
userOmit<User, "password_hash">

Defined in

medusa/dist/api/routes/admin/users/index.d.ts:6


AdminUsersListRes

Ƭ AdminUsersListRes: Object

Type declaration

NameType
usersOmit<User, "password_hash">[]

Defined in

medusa/dist/api/routes/admin/users/index.d.ts:9


CreateUserRoles

Ƭ CreateUserRoles: `${CreateUserRolesEnum}`

Defined in

medusa-js/src/typings.ts:28


CreateUserRolesEnum

Ƭ CreateUserRolesEnum: NoUndefined<AdminCreateUserRequest["role"]>

Defined in

medusa-js/src/typings.ts:25


NoUndefined

Ƭ NoUndefined<T>: T extends undefined ? never : T

Type parameters

Name
T

Defined in

medusa-js/src/typings.ts:23


UpdateUserRoles

Ƭ UpdateUserRoles: `${UpdateUserRolesEnum}`

Defined in

medusa-js/src/typings.ts:39


UpdateUserRolesEnum

Ƭ UpdateUserRolesEnum: NoUndefined<AdminUpdateUserRequest["role"]>

Defined in

medusa-js/src/typings.ts:37