@timardex/cluemart-server-shared 1.0.121 → 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.
package/dist/index.cjs CHANGED
@@ -9897,7 +9897,6 @@ var BASE_GAME_FIELDS_FRAGMENT = gql`
9897
9897
  }
9898
9898
  gameSolution
9899
9899
  gameType
9900
- title
9901
9900
  }
9902
9901
  `;
9903
9902
  var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
@@ -9933,8 +9932,8 @@ var GAME_FIELDS_FRAGMENT = gql`
9933
9932
  ${OWNER_FIELDS_FRAGMENT}
9934
9933
  `;
9935
9934
  var GET_GAMES = gql`
9936
- query getGames($userId: ID) {
9937
- games(userId: $userId) {
9935
+ query getGames {
9936
+ games {
9938
9937
  ...GameFields
9939
9938
  }
9940
9939
  }
@@ -10101,10 +10100,16 @@ var START_GAME_MUTATION = gql`
10101
10100
  `;
10102
10101
  var LEAVE_GAME_MUTATION = gql`
10103
10102
  mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
10104
- leaveGame(_id: $_id, gameType: $gameType) {
10105
- userId
10103
+ leaveGame(_id: $_id, gameType: $gameType)
10104
+ }
10105
+ `;
10106
+ var UPDATE_DAILY_CLUE_MUTATION = gql`
10107
+ mutation updateDailyClueGame($_id: ID!, $foundLetter: String!) {
10108
+ updateDailyClueGame(_id: $_id, foundLetter: $foundLetter) {
10109
+ ...GameFields
10106
10110
  }
10107
10111
  }
10112
+ ${GAME_FIELDS_FRAGMENT}
10108
10113
  `;
10109
10114
  var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
10110
10115
  var nzbnRegex = /^94\d{11}$/;
@@ -11986,8 +11991,7 @@ var schemaBaseGame = new MongooseSchema19(
11986
11991
  enum: Object.values(EnumGameType),
11987
11992
  required: false,
11988
11993
  type: String
11989
- },
11990
- title: { required: false, type: String }
11994
+ }
11991
11995
  },
11992
11996
  { _id: false }
11993
11997
  );