@timardex/cluemart-shared 1.3.17 → 1.3.19

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
@@ -947,8 +947,8 @@ type PostContentList = {
947
947
  type PostContentData = PostContentCover | PostContentTextarea | PostContentImage | PostContentVideo | PostContentList;
948
948
  type PostContentFormData = {
949
949
  contentData?: PostContentData | null;
950
- contentOrder: number;
951
- contentType: EnumPostContentType;
950
+ contentOrder?: number | null;
951
+ contentType?: EnumPostContentType | null;
952
952
  };
953
953
  interface PostFormData {
954
954
  active: boolean;
package/dist/index.d.ts CHANGED
@@ -947,8 +947,8 @@ type PostContentList = {
947
947
  type PostContentData = PostContentCover | PostContentTextarea | PostContentImage | PostContentVideo | PostContentList;
948
948
  type PostContentFormData = {
949
949
  contentData?: PostContentData | null;
950
- contentOrder: number;
951
- contentType: EnumPostContentType;
950
+ contentOrder?: number | null;
951
+ contentType?: EnumPostContentType | null;
952
952
  };
953
953
  interface PostFormData {
954
954
  active: boolean;
package/dist/index.mjs CHANGED
@@ -5923,8 +5923,8 @@ var contentDataSchema = yup9.mixed().required("Content data is required").test(
5923
5923
  );
5924
5924
  var postContentSchema = yup9.object().shape({
5925
5925
  contentData: contentDataSchema.optional().nullable(),
5926
- contentOrder: yup9.number().min(0).required(),
5927
- contentType: yup9.mixed().oneOf(Object.values(EnumPostContentType)).required()
5926
+ contentOrder: yup9.number().nullable(),
5927
+ contentType: yup9.mixed().oneOf(Object.values(EnumPostContentType)).nullable()
5928
5928
  });
5929
5929
  var postSchema = yup9.object().shape({
5930
5930
  active: yup9.boolean().required(),