@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.
package/dist/index.d.mts CHANGED
@@ -2373,8 +2373,10 @@ declare const useGetSchool: (_id: string) => {
2373
2373
  school: SchoolType | null;
2374
2374
  users: SchoolRegisteredUserType[] | null;
2375
2375
  }>>;
2376
- school: SchoolType | null;
2377
- users: SchoolRegisteredUserType[];
2376
+ school: {
2377
+ mySchool: SchoolType | null;
2378
+ users: SchoolRegisteredUserType[];
2379
+ };
2378
2380
  };
2379
2381
 
2380
2382
  interface PlacePrediction {
package/dist/index.d.ts CHANGED
@@ -2373,8 +2373,10 @@ declare const useGetSchool: (_id: string) => {
2373
2373
  school: SchoolType | null;
2374
2374
  users: SchoolRegisteredUserType[] | null;
2375
2375
  }>>;
2376
- school: SchoolType | null;
2377
- users: SchoolRegisteredUserType[];
2376
+ school: {
2377
+ mySchool: SchoolType | null;
2378
+ users: SchoolRegisteredUserType[];
2379
+ };
2378
2380
  };
2379
2381
 
2380
2382
  interface PlacePrediction {
package/dist/index.mjs CHANGED
@@ -6148,11 +6148,14 @@ import { gql as gql35 } from "@apollo/client";
6148
6148
  var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = gql35`
6149
6149
  fragment SchoolRegisteredUsersFields on SchoolRegisteredUserType {
6150
6150
  _id
6151
- avatar
6151
+ avatar {
6152
+ ...ResourceImageFields
6153
+ }
6152
6154
  email
6153
6155
  firstName
6154
6156
  lastName
6155
6157
  }
6158
+ ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
6156
6159
  `;
6157
6160
  var SCHOOL = gql35`
6158
6161
  fragment SchoolFields on SchoolType {
@@ -6311,8 +6314,10 @@ var useGetSchool = (_id) => {
6311
6314
  error,
6312
6315
  loading,
6313
6316
  refetch,
6314
- school: data?.school || null,
6315
- users: data?.users || []
6317
+ school: {
6318
+ mySchool: data?.school || null,
6319
+ users: data?.users || []
6320
+ }
6316
6321
  };
6317
6322
  };
6318
6323