@supernova-studio/model 1.6.7 → 1.6.9

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
@@ -816,7 +816,8 @@ var SupernovaException = class _SupernovaException extends Error {
816
816
  // Properties
817
817
  //
818
818
  constructor(type, message) {
819
- super(`${type}: ${message}`);
819
+ const fullMessage = message || `${type}: something went wrong`;
820
+ super(fullMessage);
820
821
  this.type = type;
821
822
  }
822
823
  static wrongFormat(message) {
@@ -5118,8 +5119,9 @@ var StorybookEntryOrigin = z154.object({
5118
5119
  id: z154.string(),
5119
5120
  type: z154.enum(["story", "docs"]),
5120
5121
  name: z154.string(),
5121
- title: z154.string()
5122
+ title: z154.string(),
5122
5123
  // Same as 'kind' for v3
5124
+ index: z154.number().optional()
5123
5125
  });
5124
5126
  var StorybookEntry = z154.object({
5125
5127
  id: z154.string(),