From 9856572ea93115d2acd5227bdd0d0e8da6401474 Mon Sep 17 00:00:00 2001 From: Hadas Hirt Date: Sun, 25 Jan 2026 13:35:59 +0200 Subject: [PATCH] limit-filter --- src/modules/entities.types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/entities.types.ts b/src/modules/entities.types.ts index 58c03c7..8666db0 100644 --- a/src/modules/entities.types.ts +++ b/src/modules/entities.types.ts @@ -34,6 +34,8 @@ export interface EntityHandler { * Retrieves all records of this type with support for sorting, * pagination, and field selection. * + * **Note:** The maximum limit is 5,000 items per request. + * * @param sort - Sort parameter, such as `'-created_date'` for descending. Defaults to `'-created_date'`. * @param limit - Maximum number of results to return. Defaults to `50`. * @param skip - Number of results to skip for pagination. Defaults to `0`. @@ -78,6 +80,8 @@ export interface EntityHandler { * Retrieves records that match specific criteria with support for * sorting, pagination, and field selection. * + * **Note:** The maximum limit is 5,000 items per request. + * * @param query - Query object with field-value pairs. Each key should be a field name * from your entity schema, and each value is the criteria to match. Records matching all * specified criteria are returned. Field names are case-sensitive.