@timardex/cluemart-shared 1.3.16 → 1.3.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.d.mts CHANGED
@@ -946,7 +946,7 @@ type PostContentList = {
946
946
  };
947
947
  type PostContentData = PostContentCover | PostContentTextarea | PostContentImage | PostContentVideo | PostContentList;
948
948
  type PostContentFormData = {
949
- contentData: PostContentData;
949
+ contentData?: PostContentData | null;
950
950
  contentOrder: number;
951
951
  contentType: EnumPostContentType;
952
952
  };
package/dist/index.d.ts CHANGED
@@ -946,7 +946,7 @@ type PostContentList = {
946
946
  };
947
947
  type PostContentData = PostContentCover | PostContentTextarea | PostContentImage | PostContentVideo | PostContentList;
948
948
  type PostContentFormData = {
949
- contentData: PostContentData;
949
+ contentData?: PostContentData | null;
950
950
  contentOrder: number;
951
951
  contentType: EnumPostContentType;
952
952
  };
package/dist/index.mjs CHANGED
@@ -5922,7 +5922,7 @@ var contentDataSchema = yup9.mixed().required("Content data is required").test(
5922
5922
  }
5923
5923
  );
5924
5924
  var postContentSchema = yup9.object().shape({
5925
- contentData: contentDataSchema,
5925
+ contentData: contentDataSchema.optional().nullable(),
5926
5926
  contentOrder: yup9.number().min(0).required(),
5927
5927
  contentType: yup9.mixed().oneOf(Object.values(EnumPostContentType)).required()
5928
5928
  });