@timardex/cluemart-server-shared 1.0.120 → 1.0.122

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.
@@ -9818,7 +9818,6 @@ var BASE_GAME_FIELDS_FRAGMENT = gql`
9818
9818
  }
9819
9819
  gameSolution
9820
9820
  gameType
9821
- title
9822
9821
  }
9823
9822
  `;
9824
9823
  var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
@@ -9854,8 +9853,8 @@ var GAME_FIELDS_FRAGMENT = gql`
9854
9853
  ${OWNER_FIELDS_FRAGMENT}
9855
9854
  `;
9856
9855
  var GET_GAMES = gql`
9857
- query getGames($userId: ID) {
9858
- games(userId: $userId) {
9856
+ query getGames {
9857
+ games {
9859
9858
  ...GameFields
9860
9859
  }
9861
9860
  }
@@ -10022,10 +10021,16 @@ var START_GAME_MUTATION = gql`
10022
10021
  `;
10023
10022
  var LEAVE_GAME_MUTATION = gql`
10024
10023
  mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
10025
- leaveGame(_id: $_id, gameType: $gameType) {
10026
- userId
10024
+ leaveGame(_id: $_id, gameType: $gameType)
10025
+ }
10026
+ `;
10027
+ var UPDATE_DAILY_CLUE_MUTATION = gql`
10028
+ mutation updateDailyClueGame($_id: ID!, $foundLetter: String!) {
10029
+ updateDailyClueGame(_id: $_id, foundLetter: $foundLetter) {
10030
+ ...GameFields
10027
10031
  }
10028
10032
  }
10033
+ ${GAME_FIELDS_FRAGMENT}
10029
10034
  `;
10030
10035
  var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
10031
10036
  var nzbnRegex = /^94\d{11}$/;
@@ -11907,8 +11912,7 @@ var schemaBaseGame = new MongooseSchema19(
11907
11912
  enum: Object.values(EnumGameType),
11908
11913
  required: false,
11909
11914
  type: String
11910
- },
11911
- title: { required: false, type: String }
11915
+ }
11912
11916
  },
11913
11917
  { _id: false }
11914
11918
  );
@@ -12010,4 +12014,4 @@ react/cjs/react.development.js:
12010
12014
  * LICENSE file in the root directory of this source tree.
12011
12015
  *)
12012
12016
  */
12013
- //# sourceMappingURL=chunk-Z5U6FXKI.mjs.map
12017
+ //# sourceMappingURL=chunk-LEPTVROU.mjs.map