@supernova-studio/model 0.58.15 → 0.58.17

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/dist/index.mjs CHANGED
@@ -844,6 +844,13 @@ function isNotNullish(value) {
844
844
  function isNullish(value) {
845
845
  return value === null || value === void 0;
846
846
  }
847
+ function chunkedArray(array, chunkSize) {
848
+ const result = [];
849
+ for (let i = 0; i < array.length; i += chunkSize) {
850
+ result.push(array.slice(i, i + chunkSize));
851
+ }
852
+ return result;
853
+ }
847
854
 
848
855
  // src/utils/content-loader-instruction.ts
849
856
  import { z as z34 } from "zod";
@@ -6070,6 +6077,7 @@ export {
6070
6077
  areShallowObjectsEqual,
6071
6078
  areTokenTypesCompatible,
6072
6079
  buildConstantEnum,
6080
+ chunkedArray,
6073
6081
  convertTokenTypedData,
6074
6082
  defaultDocumentationItemConfigurationV1,
6075
6083
  defaultDocumentationItemConfigurationV2,