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
@@ -39,7 +39,10 @@ export type PaginatedResponse<T> = {
*/ */
count: number 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 estimate_count?: number
} & T } & T
@@ -69,6 +69,10 @@ export type IndexQueryConfig<TEntry extends string> = {
export type QueryFunctionReturnPagination = { export type QueryFunctionReturnPagination = {
skip: number skip: number
take: number take: number
/**
* @featureFlag index_engine
* @version 2.8.0
*/
estimate_count: number estimate_count: number
} }
@@ -52,6 +52,8 @@ export const CartWorkflowEvents = {
/** /**
* Emitted when the customer in the cart is transferred. * Emitted when the customer in the cart is transferred.
* *
* @version 2.8.0
*
* @eventPayload * @eventPayload
* ```ts * ```ts
* { * {