@embeddable.com/sdk-core 2.4.2 → 2.4.3

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.js CHANGED
@@ -4553,7 +4553,8 @@ const cubeModelSchema = z
4553
4553
  .array()
4554
4554
  .optional(),
4555
4555
  })
4556
- .array(),
4556
+ .array()
4557
+ .min(1),
4557
4558
  })
4558
4559
  .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); }), {
4559
4560
  message: "At least one measure or dimension must be defined",