@timardex/cluemart-shared 1.4.94 → 1.4.96

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/index.d.mts CHANGED
@@ -840,7 +840,7 @@ interface UserType {
840
840
  email: string;
841
841
  events: string[] | null;
842
842
  firstName: string;
843
- games: string[] | null;
843
+ game: string | null;
844
844
  isTester: boolean;
845
845
  lastName: string;
846
846
  licences: UserLicenceType[] | null;
@@ -967,8 +967,9 @@ type BaseGame = {
967
967
  gameType: EnumGameType;
968
968
  title: string;
969
969
  };
970
- type DailyClueGameData = BaseGame & {
970
+ type DailyClueGameData = {
971
971
  collectedLetters: string[] | null;
972
+ gameFields: BaseGame;
972
973
  lastFoundDate: Date | null;
973
974
  points: number;
974
975
  streak: number;
package/dist/index.d.ts CHANGED
@@ -840,7 +840,7 @@ interface UserType {
840
840
  email: string;
841
841
  events: string[] | null;
842
842
  firstName: string;
843
- games: string[] | null;
843
+ game: string | null;
844
844
  isTester: boolean;
845
845
  lastName: string;
846
846
  licences: UserLicenceType[] | null;
@@ -967,8 +967,9 @@ type BaseGame = {
967
967
  gameType: EnumGameType;
968
968
  title: string;
969
969
  };
970
- type DailyClueGameData = BaseGame & {
970
+ type DailyClueGameData = {
971
971
  collectedLetters: string[] | null;
972
+ gameFields: BaseGame;
972
973
  lastFoundDate: Date | null;
973
974
  points: number;
974
975
  streak: number;
package/dist/index.mjs CHANGED
@@ -2444,7 +2444,7 @@ var USER_FIELDS_FRAGMENT = gql2`
2444
2444
  email
2445
2445
  events
2446
2446
  firstName
2447
- games
2447
+ game
2448
2448
  isTester
2449
2449
  lastName
2450
2450
  licences {
@@ -5485,7 +5485,9 @@ var BASE_GAME_FIELDS_FRAGMENT = gql29`
5485
5485
  `;
5486
5486
  var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql29`
5487
5487
  fragment DailyClueGameDataFields on DailyClueGameDataType {
5488
- ...BaseGameFields
5488
+ gameFields {
5489
+ ...BaseGameFields
5490
+ }
5489
5491
  collectedLetters
5490
5492
  lastFoundDate
5491
5493
  points
@@ -5770,7 +5772,7 @@ import { useMutation as useMutation18 } from "@apollo/client";
5770
5772
  // src/graphql/mutations/game.ts
5771
5773
  import { gql as gql34 } from "@apollo/client";
5772
5774
  var START_GAME_MUTATION = gql34`
5773
- mutation startGame($input: GameInputType!) {
5775
+ mutation startGame($input: BaseGameInputType!) {
5774
5776
  startGame(input: $input) {
5775
5777
  ...GameFields
5776
5778
  }