@timardex/cluemart-shared 1.5.516 → 1.5.518

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
@@ -1215,6 +1215,7 @@ interface GoogleImportedMarket extends EventListItemType {
1215
1215
  }
1216
1216
 
1217
1217
  interface SchoolFormData {
1218
+ _id?: string;
1218
1219
  active: boolean;
1219
1220
  contactDetails: ResourceContactDetailsType | null;
1220
1221
  location: LocationType;
package/dist/index.d.ts CHANGED
@@ -1215,6 +1215,7 @@ interface GoogleImportedMarket extends EventListItemType {
1215
1215
  }
1216
1216
 
1217
1217
  interface SchoolFormData {
1218
+ _id?: string;
1218
1219
  active: boolean;
1219
1220
  contactDetails: ResourceContactDetailsType | null;
1220
1221
  location: LocationType;
package/dist/index.mjs CHANGED
@@ -8086,6 +8086,7 @@ function useSchoolForm(data) {
8086
8086
  useEffect7(() => {
8087
8087
  if (data) {
8088
8088
  reset({
8089
+ _id: data._id,
8089
8090
  active: data.active,
8090
8091
  contactDetails: data.contactDetails,
8091
8092
  location: data.location,
@@ -8102,6 +8103,7 @@ function useSchoolForm(data) {
8102
8103
  }
8103
8104
  }, [data]);
8104
8105
  const {
8106
+ _id,
8105
8107
  socialMedia: socialMedia2,
8106
8108
  active,
8107
8109
  contactDetails,
@@ -8116,6 +8118,7 @@ function useSchoolForm(data) {
8116
8118
  return {
8117
8119
  control,
8118
8120
  fields: {
8121
+ _id,
8119
8122
  active,
8120
8123
  contactDetails,
8121
8124
  location,