Skip to content

Commit b04615e

Browse files
feat(specs): add CT Query predicate property (generated)
algolia/api-clients-automation#4654 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Morgan Leroi <[email protected]>
1 parent c72199f commit b04615e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/ingestion/model/sourceCommercetools.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,10 @@ export type SourceCommercetools = {
1919
*/
2020
fallbackIsInStockValue?: boolean;
2121

22+
/**
23+
* Predicate to filter out specific products when indexing. For more information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
24+
*/
25+
productQueryPredicate?: string;
26+
2227
customFields?: CommercetoolsCustomFields;
2328
};

packages/ingestion/model/sourceUpdateCommercetools.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,10 @@ export type SourceUpdateCommercetools = {
1717
*/
1818
fallbackIsInStockValue?: boolean;
1919

20+
/**
21+
* Predicate to filter out specific products when indexing. For more information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
22+
*/
23+
productQueryPredicate?: string;
24+
2025
customFields?: CommercetoolsCustomFields;
2126
};

0 commit comments

Comments
 (0)