@timardex/cluemart-shared 1.5.524 → 1.5.526
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/{chunk-2ODCGKDX.mjs → chunk-4TFXXGPQ.mjs} +4 -3
- package/dist/{chunk-2ODCGKDX.mjs.map → chunk-4TFXXGPQ.mjs.map} +1 -1
- package/dist/graphql/index.cjs +3 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +1 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DTDm8Tkx.d.mts → post-BRychs8s.d.mts} +1 -0
- package/dist/{post-BFZegwh9.d.ts → post-DZ_wwOQN.d.ts} +1 -0
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1236,6 +1236,7 @@ type SchoolType = Omit<SchoolFormData, "logoUpload"> & {
|
|
|
1236
1236
|
deletedAt: Date | null;
|
|
1237
1237
|
overallPoints: number | null;
|
|
1238
1238
|
owner: OwnerType | null;
|
|
1239
|
+
ranking: number | null;
|
|
1239
1240
|
schoolCode: string;
|
|
1240
1241
|
updatedAt: Date | null;
|
|
1241
1242
|
};
|
|
@@ -2324,7 +2325,7 @@ declare const useGetGames: () => {
|
|
|
2324
2325
|
games: GameDocType[];
|
|
2325
2326
|
}>>;
|
|
2326
2327
|
};
|
|
2327
|
-
declare const useGetGame: (_id
|
|
2328
|
+
declare const useGetGame: (_id?: string) => {
|
|
2328
2329
|
error: _apollo_client.ApolloError | undefined;
|
|
2329
2330
|
game: GameDocType | null;
|
|
2330
2331
|
loading: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1236,6 +1236,7 @@ type SchoolType = Omit<SchoolFormData, "logoUpload"> & {
|
|
|
1236
1236
|
deletedAt: Date | null;
|
|
1237
1237
|
overallPoints: number | null;
|
|
1238
1238
|
owner: OwnerType | null;
|
|
1239
|
+
ranking: number | null;
|
|
1239
1240
|
schoolCode: string;
|
|
1240
1241
|
updatedAt: Date | null;
|
|
1241
1242
|
};
|
|
@@ -2324,7 +2325,7 @@ declare const useGetGames: () => {
|
|
|
2324
2325
|
games: GameDocType[];
|
|
2325
2326
|
}>>;
|
|
2326
2327
|
};
|
|
2327
|
-
declare const useGetGame: (_id
|
|
2328
|
+
declare const useGetGame: (_id?: string) => {
|
|
2328
2329
|
error: _apollo_client.ApolloError | undefined;
|
|
2329
2330
|
game: GameDocType | null;
|
|
2330
2331
|
loading: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -6123,8 +6123,8 @@ var useGetGames = () => {
|
|
|
6123
6123
|
var useGetGame = (_id) => {
|
|
6124
6124
|
const { loading, error, data, refetch } = useQuery13(GET_GAME, {
|
|
6125
6125
|
fetchPolicy: "network-only",
|
|
6126
|
-
skip: !_id
|
|
6127
|
-
variables: { _id }
|
|
6126
|
+
skip: !_id,
|
|
6127
|
+
variables: _id ? { _id } : void 0
|
|
6128
6128
|
});
|
|
6129
6129
|
const game = data?.game || null;
|
|
6130
6130
|
return { error, game, loading, refetch };
|
|
@@ -6177,6 +6177,7 @@ var SCHOOL = gql35`
|
|
|
6177
6177
|
...OwnerFields
|
|
6178
6178
|
}
|
|
6179
6179
|
overallPoints
|
|
6180
|
+
ranking
|
|
6180
6181
|
region
|
|
6181
6182
|
studentCount
|
|
6182
6183
|
schoolCode
|