fix(medusa): Support q search in currencies (#6201)

Closes #6175
This commit is contained in:
Oli Juhl
2024-01-24 12:31:17 +00:00
committed by GitHub
parent 8ad7539ebc
commit 489b7effb0
5 changed files with 74 additions and 2 deletions
@@ -21,6 +21,7 @@ import { FeatureFlagDecorators } from "../../../../utils/feature-flag-decorators
* type: boolean
* x-featureFlag: "tax_inclusive_pricing"
* - (query) order {string} A field to sort order the retrieved currencies by.
* - (query) q {string} Term used to search currencies' name and code.
* - (query) offset=0 {number} The number of currencies to skip when retrieving the currencies.
* - (query) limit=20 {number} The number of currencies to return.
* x-codegen:
@@ -128,6 +129,13 @@ export class AdminGetCurrenciesParams extends FindPaginationParams {
@IsOptional()
code?: string
/**
* Search parameter for currencies.
*/
@IsString()
@IsOptional()
q?: string
/**
* Filter currencies by whether they include tax.
*