@timardex/cluemart-shared 1.4.86 → 1.4.88

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
@@ -846,7 +846,7 @@ interface UserType {
846
846
  licences: UserLicenceType[] | null;
847
847
  partner: string | null;
848
848
  password: string;
849
- points: number | null;
849
+ overallPoints: number | null;
850
850
  platform: EnumOSPlatform | null;
851
851
  preferredRegion: string;
852
852
  promoCodes?: string[] | null;
@@ -985,8 +985,9 @@ type GameType = {
985
985
  createdAt: Date;
986
986
  deletedAt: Date | null;
987
987
  gameData: GameData | null;
988
- updatedAt: Date | null;
989
988
  owner: OwnerType;
989
+ points: number;
990
+ updatedAt: Date | null;
990
991
  };
991
992
 
992
993
  declare enum EnumPostType {
package/dist/index.d.ts CHANGED
@@ -846,7 +846,7 @@ interface UserType {
846
846
  licences: UserLicenceType[] | null;
847
847
  partner: string | null;
848
848
  password: string;
849
- points: number | null;
849
+ overallPoints: number | null;
850
850
  platform: EnumOSPlatform | null;
851
851
  preferredRegion: string;
852
852
  promoCodes?: string[] | null;
@@ -985,8 +985,9 @@ type GameType = {
985
985
  createdAt: Date;
986
986
  deletedAt: Date | null;
987
987
  gameData: GameData | null;
988
- updatedAt: Date | null;
989
988
  owner: OwnerType;
989
+ points: number;
990
+ updatedAt: Date | null;
990
991
  };
991
992
 
992
993
  declare enum EnumPostType {
package/dist/index.mjs CHANGED
@@ -2451,7 +2451,7 @@ var USER_FIELDS_FRAGMENT = gql2`
2451
2451
  ...LicenceFields
2452
2452
  }
2453
2453
  partner
2454
- points
2454
+ overallPoints
2455
2455
  platform
2456
2456
  preferredRegion
2457
2457
  promoCodes
@@ -5471,13 +5471,13 @@ import { gql as gql29 } from "@apollo/client";
5471
5471
  var BASE_GAME_FIELDS_FRAGMENT = gql29`
5472
5472
  fragment BaseGameFields on BaseGameType {
5473
5473
  gameDate {
5474
- ...DateTimeFields
5474
+ startDate
5475
+ endDate
5475
5476
  }
5476
5477
  gameSolution
5477
5478
  gameType
5478
5479
  title
5479
5480
  }
5480
- ${DATETIME_FIELDS_FRAGMENT}
5481
5481
  `;
5482
5482
  var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql29`
5483
5483
  fragment DailyClueGameDataFields on DailyClueGameDataType {
@@ -5504,6 +5504,7 @@ var GAME_FIELDS_FRAGMENT = gql29`
5504
5504
  owner {
5505
5505
  ...OwnerFields
5506
5506
  }
5507
+ points
5507
5508
  }
5508
5509
  ${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
5509
5510
  ${OWNER_FIELDS_FRAGMENT}
@@ -5773,8 +5774,8 @@ var START_GAME_MUTATION = gql34`
5773
5774
  ${GAME_FIELDS_FRAGMENT}
5774
5775
  `;
5775
5776
  var LEAVE_GAME_MUTATION = gql34`
5776
- mutation leaveGame($_id: ID!) {
5777
- leaveGame(_id: $_id) {
5777
+ mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
5778
+ leaveGame(_id: $_id, gameType: $gameType) {
5778
5779
  userId
5779
5780
  }
5780
5781
  }