@timardex/cluemart-shared 1.5.551 → 1.5.552

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 (46) hide show
  1. package/dist/{chunk-OVEYADVZ.mjs → chunk-IMTMBZI7.mjs} +2 -2
  2. package/dist/{chunk-DYUATO2Z.mjs → chunk-L74HNX7U.mjs} +2 -2
  3. package/dist/{chunk-5LODYRBR.mjs → chunk-SBY5HTAP.mjs} +2 -13
  4. package/dist/chunk-SBY5HTAP.mjs.map +1 -0
  5. package/dist/{chunk-ZOPHRV6M.mjs → chunk-UNLBGUZ6.mjs} +14 -2
  6. package/dist/chunk-UNLBGUZ6.mjs.map +1 -0
  7. package/dist/{chunk-SUCEE4LU.mjs → chunk-VG2GTCY7.mjs} +2 -2
  8. package/dist/{chunk-SUCEE4LU.mjs.map → chunk-VG2GTCY7.mjs.map} +1 -1
  9. package/dist/{dailyClue-CvOPk6am.d.mts → dailyClue-BFo8YN7B.d.mts} +7 -6
  10. package/dist/{dailyClue-CvOPk6am.d.ts → dailyClue-BFo8YN7B.d.ts} +7 -6
  11. package/dist/formFields/index.cjs +0 -3
  12. package/dist/formFields/index.cjs.map +1 -1
  13. package/dist/formFields/index.mjs +3 -3
  14. package/dist/graphql/index.cjs +1 -1
  15. package/dist/graphql/index.cjs.map +1 -1
  16. package/dist/graphql/index.d.mts +2 -2
  17. package/dist/graphql/index.d.ts +2 -2
  18. package/dist/graphql/index.mjs +1 -1
  19. package/dist/hooks/index.cjs +1 -4
  20. package/dist/hooks/index.cjs.map +1 -1
  21. package/dist/hooks/index.d.mts +2 -2
  22. package/dist/hooks/index.d.ts +2 -2
  23. package/dist/hooks/index.mjs +5 -5
  24. package/dist/index.cjs +11 -10
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.mts +9 -7
  27. package/dist/index.d.ts +9 -7
  28. package/dist/index.mjs +11 -10
  29. package/dist/index.mjs.map +1 -1
  30. package/dist/{post-B941IgWP.d.ts → post-DWRt-yGc.d.ts} +3 -2
  31. package/dist/{post-C3L-bejc.d.mts → post-DsOgFGgJ.d.mts} +3 -2
  32. package/dist/types/index.cjs +7 -6
  33. package/dist/types/index.cjs.map +1 -1
  34. package/dist/types/index.d.mts +2 -2
  35. package/dist/types/index.d.ts +2 -2
  36. package/dist/types/index.mjs +6 -6
  37. package/dist/utils/index.cjs +0 -3
  38. package/dist/utils/index.cjs.map +1 -1
  39. package/dist/utils/index.d.mts +1 -1
  40. package/dist/utils/index.d.ts +1 -1
  41. package/dist/utils/index.mjs +2 -2
  42. package/package.json +1 -1
  43. package/dist/chunk-5LODYRBR.mjs.map +0 -1
  44. package/dist/chunk-ZOPHRV6M.mjs.map +0 -1
  45. /package/dist/{chunk-OVEYADVZ.mjs.map → chunk-IMTMBZI7.mjs.map} +0 -0
  46. /package/dist/{chunk-DYUATO2Z.mjs.map → chunk-L74HNX7U.mjs.map} +0 -0
@@ -5,6 +5,11 @@ type GameDate = {
5
5
  startDate: Date;
6
6
  endDate: Date;
7
7
  };
8
+ declare const gameTypeToDisplayName: Record<EnumGameType, string>;
9
+ type GlobalGameData = {
10
+ points: number;
11
+ streak: number;
12
+ };
8
13
 
9
14
  declare const gameScreenIdentifierList: readonly [{
10
15
  readonly clue: "Where your actions turn into a timeline.";
@@ -81,16 +86,13 @@ declare const gameScreenIdentifierList: readonly [{
81
86
  }];
82
87
  type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
83
88
  type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
84
- declare const gameTypeToDisplayName: Record<EnumGameType, string>;
85
89
  type DailyClueBaseGame = {
86
90
  gameDate: GameDate;
87
91
  gameSolution: string;
88
- gameType: EnumGameType;
89
92
  };
90
- type DailyClueGameData = {
93
+ type DailyClueGameData = GlobalGameData & {
91
94
  gameFields: DailyClueBaseGame;
92
95
  lastFoundDate: Date | null;
93
- points: number;
94
96
  letterInfo: {
95
97
  collected: string[] | null;
96
98
  solutionShuffled: string[];
@@ -98,7 +100,6 @@ type DailyClueGameData = {
98
100
  todaysLetter: string | null;
99
101
  todaysPlacement: GamePlacement | null;
100
102
  };
101
- streak: number;
102
103
  };
103
104
 
104
- export { type DailyClueBaseGame as D, EnumGameType as E, type GameDate as G, type DailyClueGameData as a, type GamePlacement as b, type GamePlacementClue as c, gameTypeToDisplayName as d, gameScreenIdentifierList as g };
105
+ export { type DailyClueBaseGame as D, EnumGameType as E, type GameDate as G, type DailyClueGameData as a, type GamePlacement as b, type GamePlacementClue as c, type GlobalGameData as d, gameTypeToDisplayName as e, gameScreenIdentifierList as g };
@@ -5,6 +5,11 @@ type GameDate = {
5
5
  startDate: Date;
6
6
  endDate: Date;
7
7
  };
8
+ declare const gameTypeToDisplayName: Record<EnumGameType, string>;
9
+ type GlobalGameData = {
10
+ points: number;
11
+ streak: number;
12
+ };
8
13
 
9
14
  declare const gameScreenIdentifierList: readonly [{
10
15
  readonly clue: "Where your actions turn into a timeline.";
@@ -81,16 +86,13 @@ declare const gameScreenIdentifierList: readonly [{
81
86
  }];
82
87
  type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
83
88
  type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
84
- declare const gameTypeToDisplayName: Record<EnumGameType, string>;
85
89
  type DailyClueBaseGame = {
86
90
  gameDate: GameDate;
87
91
  gameSolution: string;
88
- gameType: EnumGameType;
89
92
  };
90
- type DailyClueGameData = {
93
+ type DailyClueGameData = GlobalGameData & {
91
94
  gameFields: DailyClueBaseGame;
92
95
  lastFoundDate: Date | null;
93
- points: number;
94
96
  letterInfo: {
95
97
  collected: string[] | null;
96
98
  solutionShuffled: string[];
@@ -98,7 +100,6 @@ type DailyClueGameData = {
98
100
  todaysLetter: string | null;
99
101
  todaysPlacement: GamePlacement | null;
100
102
  };
101
- streak: number;
102
103
  };
103
104
 
104
- export { type DailyClueBaseGame as D, EnumGameType as E, type GameDate as G, type DailyClueGameData as a, type GamePlacement as b, type GamePlacementClue as c, gameTypeToDisplayName as d, gameScreenIdentifierList as g };
105
+ export { type DailyClueBaseGame as D, EnumGameType as E, type GameDate as G, type DailyClueGameData as a, type GamePlacement as b, type GamePlacementClue as c, type GlobalGameData as d, gameTypeToDisplayName as e, gameScreenIdentifierList as g };
@@ -419,9 +419,6 @@ var gameScreenIdentifierList = [
419
419
  match: "/visitors"
420
420
  }
421
421
  ];
422
- var gameTypeToDisplayName = {
423
- ["dailyClue" /* DAILY_CLUE */]: "Daily Clue"
424
- };
425
422
 
426
423
  // src/utils/date.ts
427
424
  var import_dayjs = __toESM(require("dayjs"));