chore(types,utils): add featureFlag and version tags (#12464)

This commit is contained in:
Shahed Nasser
2025-05-13 19:12:19 +03:00
committed by GitHub
parent c6c660c4d3
commit 851c81fd4b
3 changed files with 10 additions and 1 deletions

View File

@@ -39,7 +39,10 @@ export type PaginatedResponse<T> = {
*/
count: number
/**
* The estimated number of items.
* The estimated count retrieved from the PostgreSQL query planner, which may be inaccurate.
*
* @featureFlag index_engine
* @version 2.8.0
*/
estimate_count?: number
} & T

View File

@@ -69,6 +69,10 @@ export type IndexQueryConfig<TEntry extends string> = {
export type QueryFunctionReturnPagination = {
skip: number
take: number
/**
* @featureFlag index_engine
* @version 2.8.0
*/
estimate_count: number
}

View File

@@ -51,6 +51,8 @@ export const CartWorkflowEvents = {
/**
* Emitted when the customer in the cart is transferred.
*
* @version 2.8.0
*
* @eventPayload
* ```ts