Namespace: internal
Classes
Type Aliases
AdminCreateUserPayload
Ƭ AdminCreateUserPayload: Omit
<AdminCreateUserRequest
, "role"
> | { role?
: CreateUserRoles
}
Defined in
AdminUpdateUserPayload
Ƭ AdminUpdateUserPayload: Omit
<AdminUpdateUserRequest
, "role"
> & { role?
: UpdateUserRoles
}
Defined in
AdminUserRes
Ƭ AdminUserRes: Object
Type declaration
Name | Type |
---|---|
user | Omit <User , "password_hash" > |
Defined in
medusa/dist/api/routes/admin/users/index.d.ts:6
AdminUsersListRes
Ƭ AdminUsersListRes: Object
Type declaration
Name | Type |
---|---|
users | Omit <User , "password_hash" >[] |
Defined in
medusa/dist/api/routes/admin/users/index.d.ts:9
CreateUserRoles
Ƭ CreateUserRoles: `${CreateUserRolesEnum}`
Defined in
CreateUserRolesEnum
Ƭ CreateUserRolesEnum: NoUndefined
<AdminCreateUserRequest
["role"
]>
Defined in
NoUndefined
Ƭ NoUndefined<T
>: T
extends undefined
? never
: T
Type parameters
Name |
---|
T |
Defined in
UpdateUserRoles
Ƭ UpdateUserRoles: `${UpdateUserRolesEnum}`
Defined in
UpdateUserRolesEnum
Ƭ UpdateUserRolesEnum: NoUndefined
<AdminUpdateUserRequest
["role"
]>