@timardex/cluemart-shared 1.5.550 → 1.5.551
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-LOABFNIJ.mjs → chunk-5LODYRBR.mjs} +10 -16
- package/dist/chunk-5LODYRBR.mjs.map +1 -0
- package/dist/{chunk-CPT4WZKU.mjs → chunk-DYUATO2Z.mjs} +5 -5
- package/dist/chunk-DYUATO2Z.mjs.map +1 -0
- package/dist/{chunk-CRZP6KYI.mjs → chunk-OVEYADVZ.mjs} +2 -2
- package/dist/{chunk-UBAAAYJY.mjs → chunk-SUCEE4LU.mjs} +15 -7
- package/dist/{chunk-UBAAAYJY.mjs.map → chunk-SUCEE4LU.mjs.map} +1 -1
- package/dist/{chunk-FICQ3PR5.mjs → chunk-ZOPHRV6M.mjs} +12 -2
- package/dist/chunk-ZOPHRV6M.mjs.map +1 -0
- package/dist/{game-1CSiEjlf.d.ts → dailyClue-CvOPk6am.d.mts} +12 -56
- package/dist/{game-BPtE3yaQ.d.mts → dailyClue-CvOPk6am.d.ts} +12 -56
- package/dist/formFields/index.cjs +4 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.cjs +14 -6
- 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 +18 -7
- 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 +5 -5
- package/dist/index.cjs +33 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +21 -13
- package/dist/index.d.ts +21 -13
- package/dist/index.mjs +33 -21
- package/dist/index.mjs.map +1 -1
- package/dist/{post-Lc5PrxY6.d.ts → post-B941IgWP.d.ts} +54 -4
- package/dist/{post-CY53UsA7.d.mts → post-C3L-bejc.d.mts} +54 -4
- package/dist/types/index.cjs +16 -12
- 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 +3 -3
- package/dist/utils/index.cjs +7 -4
- 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-CPT4WZKU.mjs.map +0 -1
- package/dist/chunk-FICQ3PR5.mjs.map +0 -1
- package/dist/chunk-LOABFNIJ.mjs.map +0 -1
- /package/dist/{chunk-CRZP6KYI.mjs.map → chunk-OVEYADVZ.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -2,10 +2,10 @@ 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-B8dshdq5.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-ClbRuePq.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, e as
|
|
6
|
-
import { G as GameDocType, a as GameLeaderboard } from '../game-BPtE3yaQ.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 GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-C3L-bejc.mjs';
|
|
7
6
|
import 'react-hook-form';
|
|
8
7
|
import '../images/index.mjs';
|
|
8
|
+
import '../dailyClue-CvOPk6am.mjs';
|
|
9
9
|
|
|
10
10
|
declare const useAdminUpdateResourceType: () => {
|
|
11
11
|
adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ 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-BXsZrzFC.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-CDqmjLH1.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, e as
|
|
6
|
-
import { G as GameDocType, a as GameLeaderboard } from '../game-1CSiEjlf.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 GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-B941IgWP.js';
|
|
7
6
|
import 'react-hook-form';
|
|
8
7
|
import '../images/index.js';
|
|
8
|
+
import '../dailyClue-CvOPk6am.js';
|
|
9
9
|
|
|
10
10
|
declare const useAdminUpdateResourceType: () => {
|
|
11
11
|
adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -278,7 +278,7 @@ var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus2) => {
|
|
|
278
278
|
return EnumEventDateStatus2;
|
|
279
279
|
})(EnumEventDateStatus || {});
|
|
280
280
|
|
|
281
|
-
// src/types/game.ts
|
|
281
|
+
// src/types/game/dailyClue.ts
|
|
282
282
|
var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
|
|
283
283
|
var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
|
|
284
284
|
var gameScreenIdentifierList = [
|
|
@@ -373,6 +373,9 @@ var gameScreenIdentifierList = [
|
|
|
373
373
|
match: "/visitors"
|
|
374
374
|
}
|
|
375
375
|
];
|
|
376
|
+
var gameTypeToDisplayName = {
|
|
377
|
+
["dailyClue" /* DAILY_CLUE */]: "Daily Clue"
|
|
378
|
+
};
|
|
376
379
|
|
|
377
380
|
// src/utils/date.ts
|
|
378
381
|
var import_dayjs = __toESM(require("dayjs"));
|
|
@@ -4159,8 +4162,8 @@ var GAME_DATE_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4159
4162
|
endDate
|
|
4160
4163
|
}
|
|
4161
4164
|
`;
|
|
4162
|
-
var
|
|
4163
|
-
fragment
|
|
4165
|
+
var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
4166
|
+
fragment DailyClueBaseGameFields on DailyClueBaseGameType {
|
|
4164
4167
|
gameDate {
|
|
4165
4168
|
...GameDateFields
|
|
4166
4169
|
}
|
|
@@ -4172,20 +4175,20 @@ var BASE_GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
4172
4175
|
var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
4173
4176
|
fragment DailyClueGameDataFields on DailyClueGameDataType {
|
|
4174
4177
|
gameFields {
|
|
4175
|
-
...
|
|
4178
|
+
...DailyClueBaseGameFields
|
|
4176
4179
|
}
|
|
4177
4180
|
lastFoundDate
|
|
4178
4181
|
points
|
|
4179
4182
|
letterInfo {
|
|
4180
4183
|
collected
|
|
4181
|
-
|
|
4182
|
-
todaysLetter
|
|
4184
|
+
solutionShuffled
|
|
4183
4185
|
todaysClue
|
|
4186
|
+
todaysLetter
|
|
4184
4187
|
todaysPlacement
|
|
4185
4188
|
}
|
|
4186
4189
|
streak
|
|
4187
4190
|
}
|
|
4188
|
-
${
|
|
4191
|
+
${DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT}
|
|
4189
4192
|
`;
|
|
4190
4193
|
var GAME_HISTORY_FIELDS_FRAGMENT = import_client55.gql`
|
|
4191
4194
|
fragment GameHistoryFields on GameHistoryType {
|
|
@@ -4275,6 +4278,14 @@ var GET_GAME_LEADERBOARD = import_client55.gql`
|
|
|
4275
4278
|
`;
|
|
4276
4279
|
|
|
4277
4280
|
// src/graphql/queries/post.ts
|
|
4281
|
+
var BASE_GAME_FIELDS_FRAGMENT = import_client56.gql`
|
|
4282
|
+
fragment BaseGameFields on BaseGameType {
|
|
4283
|
+
dailyClue {
|
|
4284
|
+
...DailyClueBaseGameFields
|
|
4285
|
+
}
|
|
4286
|
+
}
|
|
4287
|
+
${DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT}
|
|
4288
|
+
`;
|
|
4278
4289
|
var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client56.gql`
|
|
4279
4290
|
fragment PostContentDataFields on PostContentData {
|
|
4280
4291
|
game {
|