@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.
@@ -3825,11 +3825,14 @@ var import_client67 = require("@apollo/client");
3825
3825
  var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client67.gql`
3826
3826
  fragment SchoolRegisteredUsersFields on SchoolRegisteredUserType {
3827
3827
  _id
3828
- avatar
3828
+ avatar {
3829
+ ...ResourceImageFields
3830
+ }
3829
3831
  email
3830
3832
  firstName
3831
3833
  lastName
3832
3834
  }
3835
+ ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
3833
3836
  `;
3834
3837
  var SCHOOL = import_client67.gql`
3835
3838
  fragment SchoolFields on SchoolType {
@@ -3988,8 +3991,10 @@ var useGetSchool = (_id) => {
3988
3991
  error,
3989
3992
  loading,
3990
3993
  refetch,
3991
- school: data?.school || null,
3992
- users: data?.users || []
3994
+ school: {
3995
+ mySchool: data?.school || null,
3996
+ users: data?.users || []
3997
+ }
3993
3998
  };
3994
3999
  };
3995
4000
  // Annotate the CommonJS export names for ESM import in node: