@timardex/cluemart-shared 1.4.95 → 1.4.97
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-AO6V6GMT.mjs → chunk-4VZXLFSL.mjs} +12 -21
- package/dist/chunk-4VZXLFSL.mjs.map +1 -0
- package/dist/graphql/index.cjs +11 -20
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -11
- package/dist/graphql/index.d.ts +3 -11
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +4 -6
- 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 +11 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -11
- package/dist/index.d.ts +3 -11
- package/dist/index.mjs +11 -20
- package/dist/index.mjs.map +1 -1
- package/dist/{post-D_AB5f0f.d.ts → post-DdQKmJ86.d.ts} +1 -1
- package/dist/{post-BAUVZFAG.d.mts → post-XlgaT3Yb.d.mts} +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-AO6V6GMT.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _apollo_client from '@apollo/client';
|
|
|
2
2
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
3
3
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CqrscA5x.mjs';
|
|
4
4
|
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-MMBYi34A.mjs';
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameType } from '../post-
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameType } from '../post-XlgaT3Yb.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -1000,19 +1000,11 @@ declare const useStartGame: () => {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
declare const useLeaveGame: () => {
|
|
1002
1002
|
error: _apollo_client.ApolloError | undefined;
|
|
1003
|
-
leaveGame: (options?: _apollo_client.MutationFunctionOptions<
|
|
1004
|
-
leaveGame: {
|
|
1005
|
-
userId: string;
|
|
1006
|
-
};
|
|
1007
|
-
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1008
|
-
leaveGame: {
|
|
1009
|
-
userId: string;
|
|
1010
|
-
};
|
|
1011
|
-
}>>;
|
|
1003
|
+
leaveGame: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1012
1004
|
loading: boolean;
|
|
1013
1005
|
};
|
|
1014
1006
|
|
|
1015
|
-
declare const useGetGames: (
|
|
1007
|
+
declare const useGetGames: () => {
|
|
1016
1008
|
error: _apollo_client.ApolloError | undefined;
|
|
1017
1009
|
games: GameType[];
|
|
1018
1010
|
loading: boolean;
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _apollo_client from '@apollo/client';
|
|
|
2
2
|
import { EnumResourceType } from '../enums/index.js';
|
|
3
3
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-2FaGRW-i.js';
|
|
4
4
|
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-B0WdAD-8.js';
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameType } from '../post-
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameType } from '../post-DdQKmJ86.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -1000,19 +1000,11 @@ declare const useStartGame: () => {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
declare const useLeaveGame: () => {
|
|
1002
1002
|
error: _apollo_client.ApolloError | undefined;
|
|
1003
|
-
leaveGame: (options?: _apollo_client.MutationFunctionOptions<
|
|
1004
|
-
leaveGame: {
|
|
1005
|
-
userId: string;
|
|
1006
|
-
};
|
|
1007
|
-
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1008
|
-
leaveGame: {
|
|
1009
|
-
userId: string;
|
|
1010
|
-
};
|
|
1011
|
-
}>>;
|
|
1003
|
+
leaveGame: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1012
1004
|
loading: boolean;
|
|
1013
1005
|
};
|
|
1014
1006
|
|
|
1015
|
-
declare const useGetGames: (
|
|
1007
|
+
declare const useGetGames: () => {
|
|
1016
1008
|
error: _apollo_client.ApolloError | undefined;
|
|
1017
1009
|
games: GameType[];
|
|
1018
1010
|
loading: boolean;
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -2306,7 +2306,7 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2306
2306
|
email
|
|
2307
2307
|
events
|
|
2308
2308
|
firstName
|
|
2309
|
-
|
|
2309
|
+
game
|
|
2310
2310
|
isTester
|
|
2311
2311
|
lastName
|
|
2312
2312
|
licences {
|
|
@@ -4093,8 +4093,8 @@ var GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4093
4093
|
${OWNER_FIELDS_FRAGMENT}
|
|
4094
4094
|
`;
|
|
4095
4095
|
var GET_GAMES = import_client55.gql`
|
|
4096
|
-
query getGames
|
|
4097
|
-
games
|
|
4096
|
+
query getGames {
|
|
4097
|
+
games {
|
|
4098
4098
|
...GameFields
|
|
4099
4099
|
}
|
|
4100
4100
|
}
|
|
@@ -4286,9 +4286,7 @@ var START_GAME_MUTATION = import_client64.gql`
|
|
|
4286
4286
|
`;
|
|
4287
4287
|
var LEAVE_GAME_MUTATION = import_client64.gql`
|
|
4288
4288
|
mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
|
|
4289
|
-
leaveGame(_id: $_id, gameType: $gameType)
|
|
4290
|
-
userId
|
|
4291
|
-
}
|
|
4289
|
+
leaveGame(_id: $_id, gameType: $gameType)
|
|
4292
4290
|
}
|
|
4293
4291
|
`;
|
|
4294
4292
|
|