feat(products,types,pricing): allow scoping products by collection_id + pricing by currency_code (#4965)
* chore: allow scoping products by collection_id * chore: scope money amounts by currency code + change category_ids to category_id * chore: add an extra product to test without collection --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
Oli Juhl
parent
b71776738c
commit
66bd9a835c
@@ -30,4 +30,5 @@ export interface UpdateMoneyAmountDTO {
|
||||
export interface FilterableMoneyAmountProps
|
||||
extends BaseFilterable<FilterableMoneyAmountProps> {
|
||||
id?: string[]
|
||||
currency_code?: string | string[]
|
||||
}
|
||||
|
||||
@@ -164,7 +164,8 @@ export interface FilterableProductProps
|
||||
categories?: {
|
||||
id?: string | string[] | OperatorMap<string>
|
||||
}
|
||||
category_ids?: string | string[] | OperatorMap<string>
|
||||
category_id?: string | string[] | OperatorMap<string>
|
||||
collection_id?: string | string[] | OperatorMap<string>
|
||||
}
|
||||
|
||||
export interface FilterableProductTagProps
|
||||
|
||||
Reference in New Issue
Block a user