@timardex/cluemart-server-shared 1.0.116 → 1.0.117

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.mjs CHANGED
@@ -8269,7 +8269,7 @@ var USER_FIELDS_FRAGMENT = gql`
8269
8269
  ...LicenceFields
8270
8270
  }
8271
8271
  partner
8272
- points
8272
+ overallPoints
8273
8273
  platform
8274
8274
  preferredRegion
8275
8275
  promoCodes
@@ -9834,13 +9834,13 @@ var DELETE_PARTNER_MUTATION = gql`
9834
9834
  var BASE_GAME_FIELDS_FRAGMENT = gql`
9835
9835
  fragment BaseGameFields on BaseGameType {
9836
9836
  gameDate {
9837
- ...DateTimeFields
9837
+ startDate
9838
+ endDate
9838
9839
  }
9839
9840
  gameSolution
9840
9841
  gameType
9841
9842
  title
9842
9843
  }
9843
- ${DATETIME_FIELDS_FRAGMENT}
9844
9844
  `;
9845
9845
  var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
9846
9846
  fragment DailyClueGameDataFields on DailyClueGameDataType {
@@ -9867,6 +9867,7 @@ var GAME_FIELDS_FRAGMENT = gql`
9867
9867
  owner {
9868
9868
  ...OwnerFields
9869
9869
  }
9870
+ points
9870
9871
  }
9871
9872
  ${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
9872
9873
  ${OWNER_FIELDS_FRAGMENT}
@@ -10039,8 +10040,8 @@ var START_GAME_MUTATION = gql`
10039
10040
  ${GAME_FIELDS_FRAGMENT}
10040
10041
  `;
10041
10042
  var LEAVE_GAME_MUTATION = gql`
10042
- mutation leaveGame($_id: ID!) {
10043
- leaveGame(_id: $_id) {
10043
+ mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
10044
+ leaveGame(_id: $_id, gameType: $gameType) {
10044
10045
  userId
10045
10046
  }
10046
10047
  }
@@ -11534,6 +11535,7 @@ var schema7 = new MongooseSchema11(
11534
11535
  required: false,
11535
11536
  type: [userLicenseSchema]
11536
11537
  },
11538
+ overallPoints: { default: 0, required: false, type: Number },
11537
11539
  partner: {
11538
11540
  ref: "Partner",
11539
11541
  required: false,
@@ -11545,7 +11547,6 @@ var schema7 = new MongooseSchema11(
11545
11547
  required: false,
11546
11548
  type: String
11547
11549
  },
11548
- points: { default: 0, required: false, type: Number },
11549
11550
  preferredRegion: {
11550
11551
  required: true,
11551
11552
  type: String
@@ -11954,7 +11955,8 @@ var schema14 = new MongooseSchema19(
11954
11955
  owner: {
11955
11956
  required: true,
11956
11957
  type: OwnerTypeSchema
11957
- }
11958
+ },
11959
+ points: { default: 0, required: true, type: Number }
11958
11960
  },
11959
11961
  { timestamps: true }
11960
11962
  );