@timardex/cluemart-shared 1.5.521 → 1.5.523

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.
@@ -3667,11 +3667,14 @@ import { gql as gql35 } from "@apollo/client";
3667
3667
  var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = gql35`
3668
3668
  fragment SchoolRegisteredUsersFields on SchoolRegisteredUserType {
3669
3669
  _id
3670
- avatar
3670
+ avatar {
3671
+ ...ResourceImageFields
3672
+ }
3671
3673
  email
3672
3674
  firstName
3673
3675
  lastName
3674
3676
  }
3677
+ ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
3675
3678
  `;
3676
3679
  var SCHOOL = gql35`
3677
3680
  fragment SchoolFields on SchoolType {
@@ -3830,8 +3833,10 @@ var useGetSchool = (_id) => {
3830
3833
  error,
3831
3834
  loading,
3832
3835
  refetch,
3833
- school: data?.school || null,
3834
- users: data?.users || []
3836
+ school: {
3837
+ mySchool: data?.school || null,
3838
+ users: data?.users || []
3839
+ }
3835
3840
  };
3836
3841
  };
3837
3842
 
@@ -3970,4 +3975,4 @@ export {
3970
3975
  useGetSchools,
3971
3976
  useGetSchool
3972
3977
  };
3973
- //# sourceMappingURL=chunk-7VBSTQWX.mjs.map
3978
+ //# sourceMappingURL=chunk-EXP4MK3S.mjs.map