@timardex/cluemart-shared 1.5.495 → 1.5.496

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.
Files changed (34) hide show
  1. package/dist/{chunk-SKWWATIR.mjs → chunk-KIMDTSLW.mjs} +2 -2
  2. package/dist/{chunk-F4IWHY4O.mjs → chunk-MPIOTUCT.mjs} +2 -2
  3. package/dist/{chunk-QG5DPPZI.mjs → chunk-O4ILKWFI.mjs} +5 -1
  4. package/dist/chunk-O4ILKWFI.mjs.map +1 -0
  5. package/dist/formFields/index.mjs +3 -3
  6. package/dist/{game-lvz2AUuu.d.ts → game-B-YC4Am7.d.ts} +3 -0
  7. package/dist/{game-DTrJRy_s.d.mts → game-C6zLvmHU.d.mts} +3 -0
  8. package/dist/graphql/index.d.mts +2 -2
  9. package/dist/graphql/index.d.ts +2 -2
  10. package/dist/hooks/index.d.mts +2 -2
  11. package/dist/hooks/index.d.ts +2 -2
  12. package/dist/hooks/index.mjs +3 -3
  13. package/dist/index.cjs +4 -0
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.mts +3 -0
  16. package/dist/index.d.ts +3 -0
  17. package/dist/index.mjs +4 -0
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/{post-DXOToXeT.d.ts → post-CNm_rxZm.d.ts} +1 -1
  20. package/dist/{post-wptsHKVN.d.mts → post-DFTmI0uz.d.mts} +1 -1
  21. package/dist/types/index.cjs +4 -0
  22. package/dist/types/index.cjs.map +1 -1
  23. package/dist/types/index.d.mts +2 -2
  24. package/dist/types/index.d.ts +2 -2
  25. package/dist/types/index.mjs +1 -1
  26. package/dist/utils/index.cjs +4 -0
  27. package/dist/utils/index.cjs.map +1 -1
  28. package/dist/utils/index.d.mts +1 -1
  29. package/dist/utils/index.d.ts +1 -1
  30. package/dist/utils/index.mjs +2 -2
  31. package/package.json +1 -1
  32. package/dist/chunk-QG5DPPZI.mjs.map +0 -1
  33. /package/dist/{chunk-SKWWATIR.mjs.map → chunk-KIMDTSLW.mjs.map} +0 -0
  34. /package/dist/{chunk-F4IWHY4O.mjs.map → chunk-MPIOTUCT.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mapArrayToOptions
3
- } from "./chunk-F4IWHY4O.mjs";
3
+ } from "./chunk-MPIOTUCT.mjs";
4
4
  import {
5
5
  EnumFoodFlavor
6
6
  } from "./chunk-534WN2SR.mjs";
@@ -1952,4 +1952,4 @@ export {
1952
1952
  contactUsFields,
1953
1953
  partnerBasicInfoFields
1954
1954
  };
1955
- //# sourceMappingURL=chunk-SKWWATIR.mjs.map
1955
+ //# sourceMappingURL=chunk-KIMDTSLW.mjs.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-534WN2SR.mjs";
6
6
  import {
7
7
  gameScreenIdentifierList
8
- } from "./chunk-QG5DPPZI.mjs";
8
+ } from "./chunk-O4ILKWFI.mjs";
9
9
 
10
10
  // src/utils/dailyClueGame.ts
11
11
  import dayjs from "dayjs";
@@ -256,4 +256,4 @@ export {
256
256
  IOS_URL,
257
257
  ANDROID_URL
258
258
  };
259
- //# sourceMappingURL=chunk-F4IWHY4O.mjs.map
259
+ //# sourceMappingURL=chunk-MPIOTUCT.mjs.map
@@ -28,6 +28,10 @@ var gameScreenIdentifierList = [
28
28
  clue: "What\u2019s happening in a wider area\u2014not just nearby.",
29
29
  id: "events/region"
30
30
  },
31
+ {
32
+ clue: "Where you go to find something specific.",
33
+ id: "events/search"
34
+ },
31
35
  {
32
36
  clue: "Where fun becomes a challenge.",
33
37
  id: "games"
@@ -93,4 +97,4 @@ export {
93
97
  gameTypeToDisplayName,
94
98
  EnumGameStatus
95
99
  };
96
- //# sourceMappingURL=chunk-QG5DPPZI.mjs.map
100
+ //# sourceMappingURL=chunk-O4ILKWFI.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/types/game.ts"],"sourcesContent":["import { OwnerType } from \"./global\";\n\nexport const gameScreenIdentifierList = [\n {\n clue: \"Where your actions turn into a timeline.\",\n id: \"activities\",\n },\n {\n clue: \"Where conversations happen without speaking.\",\n id: \"chat\",\n },\n {\n clue: \"The place to redefine who you are.\",\n id: \"edit-profile\",\n },\n {\n clue: \"A single moment worth showing up for.\",\n id: \"event\",\n },\n {\n clue: \"What’s happening around you, right now.\",\n id: \"events-near-me\",\n },\n {\n clue: \"A collection of things worth attending.\",\n id: \"events\",\n },\n {\n clue: \"What’s happening in a wider area—not just nearby.\",\n id: \"events/region\",\n },\n {\n clue: \"Where you go to find something specific.\",\n id: \"events/search\",\n },\n {\n clue: \"Where fun becomes a challenge.\",\n id: \"games\",\n },\n {\n clue: \"Your starting point for everything.\",\n id: \"home\",\n },\n {\n clue: \"Where the app taps you on the shoulder.\",\n id: \"notifications\",\n },\n {\n clue: \"Where you fine-tune your experience.\",\n id: \"options\",\n },\n {\n clue: \"A single collaborator in the ecosystem.\",\n id: \"partner\",\n },\n {\n clue: \"The network behind the scenes.\",\n id: \"partners\",\n },\n {\n clue: \"Where you share something with everyone.\",\n id: \"post\",\n },\n {\n clue: \"Your identity, on display.\",\n id: \"profile\",\n },\n {\n clue: \"One provider offering something valuable.\",\n id: \"vendor\",\n },\n {\n clue: \"A marketplace of providers.\",\n id: \"vendors\",\n },\n {\n clue: \"People who stopped by to see you.\",\n id: \"visitors\",\n },\n] as const;\n\nexport type GamePlacement = (typeof gameScreenIdentifierList)[number][\"id\"];\nexport type GamePlacementClue =\n (typeof gameScreenIdentifierList)[number][\"clue\"];\n\nexport enum EnumGameType {\n DAILY_CLUE = \"dailyClue\",\n}\n\nexport const gameTypeToDisplayName: Record<EnumGameType, string> = {\n [EnumGameType.DAILY_CLUE]: \"Daily Clue\",\n};\n\nexport type GameDate = {\n startDate: Date;\n endDate: Date;\n};\n\nexport type BaseGame = {\n gameDate: GameDate;\n gameSolution: string;\n gameType: EnumGameType;\n};\n\nexport type DailyClueGameData = {\n gameFields: BaseGame;\n lastFoundDate: Date | null;\n points: number;\n letterInfo: {\n collected: string[] | null; // The letters the user has found, e.g. [\"C\", \"L\", \"U\"]\n shuffled: string[]; // The letters of the solution, but shuffled, e.g. [\"L\", \"C\", \"U\"]\n todaysLetter: string | null; // The letter the user has to find today, e.g. \"C\"\n todaysClue: GamePlacementClue | null; // The clue for user to find the letter, e.g. related to {todaysPlacement}\n todaysPlacement: GamePlacement | null; // The screen where the user has to find the clue, e.g. \"HomeScreen\"\n };\n // User has found the clue 3 days in a row, this is incrementing if the user finds the clue and decrements if user misses a day\n streak: number;\n};\n\ntype GameDataMap = {\n [EnumGameType.DAILY_CLUE]: DailyClueGameData;\n};\nexport type GameData = {\n [K in keyof GameDataMap]?: GameDataMap[K] | null;\n};\n\nexport enum EnumGameStatus {\n GAME_COMPLETED = \"GAME_COMPLETED\",\n GAME_LEFT = \"GAME_LEFT\",\n GAME_IN_PROGRESS = \"GAME_IN_PROGRESS\",\n}\n\nexport type GameHistory = {\n gameDate: GameDate;\n gameStatus: EnumGameStatus;\n gameType: EnumGameType;\n pointsEarned: number;\n};\n\nexport type GameType = {\n _id: string;\n active: boolean;\n createdAt: Date;\n deletedAt: Date | null;\n gameData: GameData | null;\n gameHistory: GameHistory[] | null;\n owner: OwnerType;\n points: number;\n updatedAt: Date | null;\n};\n\nexport type GameLeaderboard = {\n gameHistory: GameHistory[] | null;\n overallPoints: number;\n owner: OwnerType;\n};\n"],"mappings":";AAEO,IAAM,2BAA2B;AAAA,EACtC;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,EACN;AACF;AAMO,IAAK,eAAL,kBAAKA,kBAAL;AACL,EAAAA,cAAA,gBAAa;AADH,SAAAA;AAAA,GAAA;AAIL,IAAM,wBAAsD;AAAA,EACjE,CAAC,4BAAuB,GAAG;AAC7B;AAmCO,IAAK,iBAAL,kBAAKC,oBAAL;AACL,EAAAA,gBAAA,oBAAiB;AACjB,EAAAA,gBAAA,eAAY;AACZ,EAAAA,gBAAA,sBAAmB;AAHT,SAAAA;AAAA,GAAA;","names":["EnumGameType","EnumGameStatus"]}
@@ -43,10 +43,10 @@ import {
43
43
  vendorStallSize,
44
44
  vendorStartDateFields,
45
45
  vendorTable
46
- } from "../chunk-SKWWATIR.mjs";
47
- import "../chunk-F4IWHY4O.mjs";
46
+ } from "../chunk-KIMDTSLW.mjs";
47
+ import "../chunk-MPIOTUCT.mjs";
48
48
  import "../chunk-534WN2SR.mjs";
49
- import "../chunk-QG5DPPZI.mjs";
49
+ import "../chunk-O4ILKWFI.mjs";
50
50
  export {
51
51
  availableCategories,
52
52
  availableTagTypes,
@@ -21,6 +21,9 @@ declare const gameScreenIdentifierList: readonly [{
21
21
  }, {
22
22
  readonly clue: "What’s happening in a wider area—not just nearby.";
23
23
  readonly id: "events/region";
24
+ }, {
25
+ readonly clue: "Where you go to find something specific.";
26
+ readonly id: "events/search";
24
27
  }, {
25
28
  readonly clue: "Where fun becomes a challenge.";
26
29
  readonly id: "games";
@@ -21,6 +21,9 @@ declare const gameScreenIdentifierList: readonly [{
21
21
  }, {
22
22
  readonly clue: "What’s happening in a wider area—not just nearby.";
23
23
  readonly id: "events/region";
24
+ }, {
25
+ readonly clue: "Where you go to find something specific.";
26
+ readonly id: "events/search";
24
27
  }, {
25
28
  readonly clue: "Where fun becomes a challenge.";
26
29
  readonly id: "games";
@@ -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-wptsHKVN.mjs';
6
- import { G as GameType, a as GameLeaderboard } from '../game-DTrJRy_s.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-DFTmI0uz.mjs';
6
+ import { G as GameType, a as GameLeaderboard } from '../game-C6zLvmHU.mjs';
7
7
  import 'react-hook-form';
8
8
 
9
9
  declare const useAdminUpdateResourceType: () => {
@@ -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-DXOToXeT.js';
6
- import { G as GameType, a as GameLeaderboard } from '../game-lvz2AUuu.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-CNm_rxZm.js';
6
+ import { G as GameType, a as GameLeaderboard } from '../game-B-YC4Am7.js';
7
7
  import 'react-hook-form';
8
8
 
9
9
  declare const useAdminUpdateResourceType: () => {
@@ -1,9 +1,9 @@
1
1
  import { L as LocationType, i as VendorFormData, j as CreateVendorFormData, k as VendorInfoFormData, l as CreateVendorInfoFormData, m as EventFormData, n as CreateEventFormData, o as EventInfoFormData, p as CreateEventInfoFormData, q as UnregisteredVendorFormData, B as BaseResourceTypeFormData } from '../global-MMBYi34A.mjs';
2
- import { e as UserFormData, C as CreateUserFormData, f as PartnerFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData } from '../post-wptsHKVN.mjs';
2
+ import { e as UserFormData, C as CreateUserFormData, f as PartnerFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData } from '../post-DFTmI0uz.mjs';
3
3
  import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-DtPfNKc4.mjs';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.mjs';
6
- import '../game-DTrJRy_s.mjs';
6
+ import '../game-C6zLvmHU.mjs';
7
7
 
8
8
  interface PlacePrediction {
9
9
  place_id: string;
@@ -1,9 +1,9 @@
1
1
  import { L as LocationType, i as VendorFormData, j as CreateVendorFormData, k as VendorInfoFormData, l as CreateVendorInfoFormData, m as EventFormData, n as CreateEventFormData, o as EventInfoFormData, p as CreateEventInfoFormData, q as UnregisteredVendorFormData, B as BaseResourceTypeFormData } from '../global-B0WdAD-8.js';
2
- import { e as UserFormData, C as CreateUserFormData, f as PartnerFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData } from '../post-DXOToXeT.js';
2
+ import { e as UserFormData, C as CreateUserFormData, f as PartnerFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData } from '../post-CNm_rxZm.js';
3
3
  import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-B5tprOIL.js';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.js';
6
- import '../game-lvz2AUuu.js';
6
+ import '../game-B-YC4Am7.js';
7
7
 
8
8
  interface PlacePrediction {
9
9
  place_id: string;
@@ -1,4 +1,4 @@
1
- import "../chunk-SKWWATIR.mjs";
1
+ import "../chunk-KIMDTSLW.mjs";
2
2
  import "../chunk-RQDZX76B.mjs";
3
3
  import "../chunk-DWO35OY4.mjs";
4
4
  import "../chunk-I7WE3EBR.mjs";
@@ -14,7 +14,7 @@ import {
14
14
  dateFormat,
15
15
  normalizeUrl,
16
16
  timeFormat
17
- } from "../chunk-F4IWHY4O.mjs";
17
+ } from "../chunk-MPIOTUCT.mjs";
18
18
  import {
19
19
  EnumEventDateStatus,
20
20
  EnumEventType,
@@ -27,7 +27,7 @@ import {
27
27
  EnumUserRole,
28
28
  EnumVendorType
29
29
  } from "../chunk-534WN2SR.mjs";
30
- import "../chunk-QG5DPPZI.mjs";
30
+ import "../chunk-O4ILKWFI.mjs";
31
31
 
32
32
  // src/hooks/useLocationSearch.ts
33
33
  var handleApiError = (error, message) => {
package/dist/index.cjs CHANGED
@@ -762,6 +762,10 @@ var gameScreenIdentifierList = [
762
762
  clue: "What\u2019s happening in a wider area\u2014not just nearby.",
763
763
  id: "events/region"
764
764
  },
765
+ {
766
+ clue: "Where you go to find something specific.",
767
+ id: "events/search"
768
+ },
765
769
  {
766
770
  clue: "Where fun becomes a challenge.",
767
771
  id: "games"