@embeddable.com/sdk-core 2.4.2 → 2.4.4

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/lib/index.esm.js CHANGED
@@ -4528,7 +4528,8 @@ const cubeModelSchema = z
4528
4528
  .array()
4529
4529
  .optional(),
4530
4530
  })
4531
- .array(),
4531
+ .array()
4532
+ .min(1),
4532
4533
  })
4533
4534
  .refine((data) => data.cubes.every((cube) => { var _a, _b; return ((_a = cube.dimensions) === null || _a === void 0 ? void 0 : _a.length) || ((_b = cube.measures) === null || _b === void 0 ? void 0 : _b.length); }), {
4534
4535
  message: "At least one measure or dimension must be defined",