@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.
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().min(0).nullable().required(),
5927
+ contentType: yup9.mixed().oneOf(Object.values(EnumPostContentType)).nullable().required()
5928
5928
  });
5929
5929
  var postSchema = yup9.object().shape({
5930
5930
  active: yup9.boolean().required(),