@timardex/cluemart-shared 1.3.17 → 1.3.18

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.
@@ -943,8 +943,8 @@ var contentDataSchema = yup9.mixed().required("Content data is required").test(
943
943
  );
944
944
  var postContentSchema = yup9.object().shape({
945
945
  contentData: contentDataSchema.optional().nullable(),
946
- contentOrder: yup9.number().min(0).required(),
947
- contentType: yup9.mixed().oneOf(Object.values(EnumPostContentType)).required()
946
+ contentOrder: yup9.number().min(0).nullable().required(),
947
+ contentType: yup9.mixed().oneOf(Object.values(EnumPostContentType)).nullable().required()
948
948
  });
949
949
  var postSchema = yup9.object().shape({
950
950
  active: yup9.boolean().required(),