@timardex/cluemart-shared 1.5.511 → 1.5.512
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-LJJCZVW4.mjs → chunk-TZBKOYFM.mjs} +1 -1
- package/dist/{chunk-LJJCZVW4.mjs.map → chunk-TZBKOYFM.mjs.map} +1 -1
- package/dist/{chunk-FTEZFZZW.mjs → chunk-U3RFZUPB.mjs} +2 -2
- package/dist/{chunk-2GSMGPKT.mjs → chunk-YHE6M5DD.mjs} +24 -18
- package/dist/{chunk-2GSMGPKT.mjs.map → chunk-YHE6M5DD.mjs.map} +1 -1
- package/dist/{chunk-OMXMDHJ3.mjs → chunk-Z6YIR3MO.mjs} +2 -2
- package/dist/formFields/index.mjs +3 -3
- package/dist/{game-PMt_jT_7.d.ts → game-BkJDVMMI.d.ts} +6 -6
- package/dist/{game-65XFYqKi.d.mts → game-BunlgBR3.d.mts} +6 -6
- package/dist/graphql/index.cjs +23 -17
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +10 -10
- package/dist/graphql/index.d.ts +10 -10
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +23 -17
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.mjs +4 -4
- package/dist/index.cjs +23 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.mjs +23 -17
- package/dist/index.mjs.map +1 -1
- package/dist/{post-fnGzMU9c.d.ts → post-CdBp2FwH.d.ts} +1 -1
- package/dist/{post-BJHPePwy.d.mts → post-DHlHtpG9.d.mts} +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-FTEZFZZW.mjs.map → chunk-U3RFZUPB.mjs.map} +0 -0
- /package/dist/{chunk-OMXMDHJ3.mjs.map → chunk-Z6YIR3MO.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ 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 } from '../post-
|
|
6
|
-
import { G as
|
|
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 } from '../post-DHlHtpG9.mjs';
|
|
6
|
+
import { G as GameDocType, a as GameLeaderboard } from '../game-BunlgBR3.mjs';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -990,9 +990,9 @@ declare const useStartGame: () => {
|
|
|
990
990
|
error: _apollo_client.ApolloError | undefined;
|
|
991
991
|
loading: boolean;
|
|
992
992
|
startGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
993
|
-
startGame:
|
|
993
|
+
startGame: GameDocType;
|
|
994
994
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
995
|
-
startGame:
|
|
995
|
+
startGame: GameDocType;
|
|
996
996
|
}>>;
|
|
997
997
|
};
|
|
998
998
|
declare const useLeaveGame: () => {
|
|
@@ -1004,26 +1004,26 @@ declare const useUpdateDailyClueGame: () => {
|
|
|
1004
1004
|
error: _apollo_client.ApolloError | undefined;
|
|
1005
1005
|
loading: boolean;
|
|
1006
1006
|
updateDailyClueGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1007
|
-
updateDailyClueGame:
|
|
1007
|
+
updateDailyClueGame: GameDocType;
|
|
1008
1008
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1009
|
-
updateDailyClueGame:
|
|
1009
|
+
updateDailyClueGame: GameDocType;
|
|
1010
1010
|
}>>;
|
|
1011
1011
|
};
|
|
1012
1012
|
|
|
1013
1013
|
declare const useGetGames: () => {
|
|
1014
1014
|
error: _apollo_client.ApolloError | undefined;
|
|
1015
|
-
games:
|
|
1015
|
+
games: GameDocType[];
|
|
1016
1016
|
loading: boolean;
|
|
1017
1017
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1018
|
-
games:
|
|
1018
|
+
games: GameDocType[];
|
|
1019
1019
|
}>>;
|
|
1020
1020
|
};
|
|
1021
1021
|
declare const useGetGame: (_id: string) => {
|
|
1022
1022
|
error: _apollo_client.ApolloError | undefined;
|
|
1023
|
-
game:
|
|
1023
|
+
game: GameDocType | null;
|
|
1024
1024
|
loading: boolean;
|
|
1025
1025
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1026
|
-
game:
|
|
1026
|
+
game: GameDocType | null;
|
|
1027
1027
|
}>>;
|
|
1028
1028
|
};
|
|
1029
1029
|
declare const useGetGameLeaderboard: () => {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ 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 } from '../post-
|
|
6
|
-
import { G as
|
|
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 } from '../post-CdBp2FwH.js';
|
|
6
|
+
import { G as GameDocType, a as GameLeaderboard } from '../game-BkJDVMMI.js';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -990,9 +990,9 @@ declare const useStartGame: () => {
|
|
|
990
990
|
error: _apollo_client.ApolloError | undefined;
|
|
991
991
|
loading: boolean;
|
|
992
992
|
startGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
993
|
-
startGame:
|
|
993
|
+
startGame: GameDocType;
|
|
994
994
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
995
|
-
startGame:
|
|
995
|
+
startGame: GameDocType;
|
|
996
996
|
}>>;
|
|
997
997
|
};
|
|
998
998
|
declare const useLeaveGame: () => {
|
|
@@ -1004,26 +1004,26 @@ declare const useUpdateDailyClueGame: () => {
|
|
|
1004
1004
|
error: _apollo_client.ApolloError | undefined;
|
|
1005
1005
|
loading: boolean;
|
|
1006
1006
|
updateDailyClueGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1007
|
-
updateDailyClueGame:
|
|
1007
|
+
updateDailyClueGame: GameDocType;
|
|
1008
1008
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1009
|
-
updateDailyClueGame:
|
|
1009
|
+
updateDailyClueGame: GameDocType;
|
|
1010
1010
|
}>>;
|
|
1011
1011
|
};
|
|
1012
1012
|
|
|
1013
1013
|
declare const useGetGames: () => {
|
|
1014
1014
|
error: _apollo_client.ApolloError | undefined;
|
|
1015
|
-
games:
|
|
1015
|
+
games: GameDocType[];
|
|
1016
1016
|
loading: boolean;
|
|
1017
1017
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1018
|
-
games:
|
|
1018
|
+
games: GameDocType[];
|
|
1019
1019
|
}>>;
|
|
1020
1020
|
};
|
|
1021
1021
|
declare const useGetGame: (_id: string) => {
|
|
1022
1022
|
error: _apollo_client.ApolloError | undefined;
|
|
1023
|
-
game:
|
|
1023
|
+
game: GameDocType | null;
|
|
1024
1024
|
loading: boolean;
|
|
1025
1025
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1026
|
-
game:
|
|
1026
|
+
game: GameDocType | null;
|
|
1027
1027
|
}>>;
|
|
1028
1028
|
};
|
|
1029
1029
|
declare const useGetGameLeaderboard: () => {
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -4098,12 +4098,18 @@ var GAME_HISTORY_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4098
4098
|
`;
|
|
4099
4099
|
var GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
4100
4100
|
fragment GameDataFields on GameDataType {
|
|
4101
|
+
dailyClue {
|
|
4102
|
+
...DailyClueGameDataFields
|
|
4103
|
+
}
|
|
4104
|
+
}
|
|
4105
|
+
${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
|
|
4106
|
+
`;
|
|
4107
|
+
var GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
4108
|
+
fragment GameFields on GameType {
|
|
4101
4109
|
active
|
|
4102
4110
|
createdAt
|
|
4103
4111
|
gameData {
|
|
4104
|
-
|
|
4105
|
-
...DailyClueGameDataFields
|
|
4106
|
-
}
|
|
4112
|
+
...GameDataFields
|
|
4107
4113
|
}
|
|
4108
4114
|
gameHistory {
|
|
4109
4115
|
...GameHistoryFields
|
|
@@ -4111,17 +4117,17 @@ var GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4111
4117
|
gameType
|
|
4112
4118
|
updatedAt
|
|
4113
4119
|
}
|
|
4114
|
-
${
|
|
4120
|
+
${GAME_DATA_FIELDS_FRAGMENT}
|
|
4115
4121
|
${GAME_HISTORY_FIELDS_FRAGMENT}
|
|
4116
4122
|
`;
|
|
4117
|
-
var
|
|
4118
|
-
fragment
|
|
4123
|
+
var GAME_DOC_FIELDS_FRAGMENT = import_client55.gql`
|
|
4124
|
+
fragment GameDocFields on GameDocType {
|
|
4119
4125
|
_id
|
|
4120
4126
|
active
|
|
4121
4127
|
createdAt
|
|
4122
4128
|
deletedAt
|
|
4123
|
-
|
|
4124
|
-
...
|
|
4129
|
+
games {
|
|
4130
|
+
...GameFields
|
|
4125
4131
|
}
|
|
4126
4132
|
owner {
|
|
4127
4133
|
...OwnerFields
|
|
@@ -4130,23 +4136,23 @@ var GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4130
4136
|
updatedAt
|
|
4131
4137
|
}
|
|
4132
4138
|
${OWNER_FIELDS_FRAGMENT}
|
|
4133
|
-
${
|
|
4139
|
+
${GAME_FIELDS_FRAGMENT}
|
|
4134
4140
|
`;
|
|
4135
4141
|
var GET_GAMES = import_client55.gql`
|
|
4136
4142
|
query getGames {
|
|
4137
4143
|
games {
|
|
4138
|
-
...
|
|
4144
|
+
...GameDocFields
|
|
4139
4145
|
}
|
|
4140
4146
|
}
|
|
4141
|
-
${
|
|
4147
|
+
${GAME_DOC_FIELDS_FRAGMENT}
|
|
4142
4148
|
`;
|
|
4143
4149
|
var GET_GAME = import_client55.gql`
|
|
4144
4150
|
query getGame($_id: ID!) {
|
|
4145
4151
|
game(_id: $_id) {
|
|
4146
|
-
...
|
|
4152
|
+
...GameDocFields
|
|
4147
4153
|
}
|
|
4148
4154
|
}
|
|
4149
|
-
${
|
|
4155
|
+
${GAME_DOC_FIELDS_FRAGMENT}
|
|
4150
4156
|
`;
|
|
4151
4157
|
var GET_GAME_LEADERBOARD = import_client55.gql`
|
|
4152
4158
|
query getGameLeaderboard {
|
|
@@ -4334,10 +4340,10 @@ var import_client64 = require("@apollo/client");
|
|
|
4334
4340
|
var START_GAME_MUTATION = import_client64.gql`
|
|
4335
4341
|
mutation startGame($input: BaseGameInputType!) {
|
|
4336
4342
|
startGame(input: $input) {
|
|
4337
|
-
...
|
|
4343
|
+
...GameDocFields
|
|
4338
4344
|
}
|
|
4339
4345
|
}
|
|
4340
|
-
${
|
|
4346
|
+
${GAME_DOC_FIELDS_FRAGMENT}
|
|
4341
4347
|
`;
|
|
4342
4348
|
var LEAVE_GAME_MUTATION = import_client64.gql`
|
|
4343
4349
|
mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
|
|
@@ -4347,10 +4353,10 @@ var LEAVE_GAME_MUTATION = import_client64.gql`
|
|
|
4347
4353
|
var UPDATE_DAILY_CLUE_MUTATION = import_client64.gql`
|
|
4348
4354
|
mutation updateDailyClueGame($_id: ID!, $foundLetter: String!) {
|
|
4349
4355
|
updateDailyClueGame(_id: $_id, foundLetter: $foundLetter) {
|
|
4350
|
-
...
|
|
4356
|
+
...GameDocFields
|
|
4351
4357
|
}
|
|
4352
4358
|
}
|
|
4353
|
-
${
|
|
4359
|
+
${GAME_DOC_FIELDS_FRAGMENT}
|
|
4354
4360
|
`;
|
|
4355
4361
|
|
|
4356
4362
|
// src/graphql/hooks/game/hooksQuery.ts
|