@infrab4a/connect 4.9.7-beta.14 → 4.9.7-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +4 -3
- package/index.esm.js +4 -3
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -5916,10 +5916,11 @@ class ProductStockNotificationHasuraGraphQLRepository extends withCrudHasuraGrap
|
|
|
5916
5916
|
required: true,
|
|
5917
5917
|
},
|
|
5918
5918
|
});
|
|
5919
|
+
const data = (pagination === null || pagination === void 0 ? void 0 : pagination.limit)
|
|
5920
|
+
? report_stock_notification.slice(pagination === null || pagination === void 0 ? void 0 : pagination.offset, (pagination === null || pagination === void 0 ? void 0 : pagination.offset) + (pagination === null || pagination === void 0 ? void 0 : pagination.limit))
|
|
5921
|
+
: report_stock_notification;
|
|
5919
5922
|
return {
|
|
5920
|
-
data
|
|
5921
|
-
? report_stock_notification.slice(pagination === null || pagination === void 0 ? void 0 : pagination.offset, pagination === null || pagination === void 0 ? void 0 : pagination.limit)
|
|
5922
|
-
: report_stock_notification,
|
|
5923
|
+
data,
|
|
5923
5924
|
count: report_stock_notification.length,
|
|
5924
5925
|
};
|
|
5925
5926
|
}
|
package/index.esm.js
CHANGED
|
@@ -5910,10 +5910,11 @@ class ProductStockNotificationHasuraGraphQLRepository extends withCrudHasuraGrap
|
|
|
5910
5910
|
required: true,
|
|
5911
5911
|
},
|
|
5912
5912
|
});
|
|
5913
|
+
const data = (pagination === null || pagination === void 0 ? void 0 : pagination.limit)
|
|
5914
|
+
? report_stock_notification.slice(pagination === null || pagination === void 0 ? void 0 : pagination.offset, (pagination === null || pagination === void 0 ? void 0 : pagination.offset) + (pagination === null || pagination === void 0 ? void 0 : pagination.limit))
|
|
5915
|
+
: report_stock_notification;
|
|
5913
5916
|
return {
|
|
5914
|
-
data
|
|
5915
|
-
? report_stock_notification.slice(pagination === null || pagination === void 0 ? void 0 : pagination.offset, pagination === null || pagination === void 0 ? void 0 : pagination.limit)
|
|
5916
|
-
: report_stock_notification,
|
|
5917
|
+
data,
|
|
5917
5918
|
count: report_stock_notification.length,
|
|
5918
5919
|
};
|
|
5919
5920
|
}
|