fix(medusa): Apply middleware to GET customers/:id/addresses/:address_id (#11788)
This commit is contained in:
@@ -90,6 +90,8 @@ export const AdminCreateCustomerAddress = WithAdditionalData(
|
||||
|
||||
export const AdminUpdateCustomerAddress = AdminCreateCustomerAddress
|
||||
|
||||
export const AdminCustomerAddressParams = createSelectParams()
|
||||
|
||||
export const AdminCustomerAddressesParams = createFindParams({
|
||||
offset: 0,
|
||||
limit: 50,
|
||||
@@ -108,6 +110,9 @@ export type AdminCustomerParamsType = z.infer<typeof AdminCustomerParams>
|
||||
export type AdminCustomersParamsType = z.infer<typeof AdminCustomersParams>
|
||||
export type AdminCreateCustomerType = z.infer<typeof CreateCustomer>
|
||||
export type AdminUpdateCustomerType = z.infer<typeof UpdateCustomer>
|
||||
export type AdminCustomerAddressParamsType = z.infer<
|
||||
typeof AdminCustomerAddressParams
|
||||
>
|
||||
export type AdminCreateCustomerAddressType = z.infer<
|
||||
typeof CreateCustomerAddress
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user