@timardex/cluemart-shared 1.3.24 → 1.3.26

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
@@ -963,12 +963,11 @@ interface PostFormData {
963
963
  }
964
964
  type CreatePostFormData = CreateFormData<PostFormData>;
965
965
  type PostContentType = Omit<PostContentFormData, "contentData"> & {
966
- _id: string;
967
966
  contentData: Omit<PostContentData, "imagesUpload" | "coverUpload">;
968
967
  };
969
968
  type PostType = Omit<PostFormData, "content"> & {
970
969
  _id: string;
971
- content: PostContentType;
970
+ content: PostContentType[];
972
971
  createdAt: Date;
973
972
  deletedAt: Date | null;
974
973
  updatedAt: Date | null;
package/dist/index.d.ts CHANGED
@@ -963,12 +963,11 @@ interface PostFormData {
963
963
  }
964
964
  type CreatePostFormData = CreateFormData<PostFormData>;
965
965
  type PostContentType = Omit<PostContentFormData, "contentData"> & {
966
- _id: string;
967
966
  contentData: Omit<PostContentData, "imagesUpload" | "coverUpload">;
968
967
  };
969
968
  type PostType = Omit<PostFormData, "content"> & {
970
969
  _id: string;
971
- content: PostContentType;
970
+ content: PostContentType[];
972
971
  createdAt: Date;
973
972
  deletedAt: Date | null;
974
973
  updatedAt: Date | null;
package/dist/index.mjs CHANGED
@@ -426,6 +426,9 @@ var removeTypename = (obj) => {
426
426
  if (obj instanceof Date) {
427
427
  return obj;
428
428
  }
429
+ if (obj instanceof File) {
430
+ return obj;
431
+ }
429
432
  if (isIsoDateString(obj)) {
430
433
  return obj;
431
434
  }