@timardex/cluemart-server-shared 1.0.122 → 1.0.123

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.
@@ -35,7 +35,7 @@ import {
35
35
  resourceRelationsSchema,
36
36
  termsAgreementSchema,
37
37
  userLicenseSchema
38
- } from "../chunk-LEPTVROU.mjs";
38
+ } from "../chunk-AKL3YZFE.mjs";
39
39
  import "../chunk-3QS3WKRC.mjs";
40
40
  export {
41
41
  APP_SETTINGS_ID,
@@ -9890,9 +9890,13 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
9890
9890
  gameFields {
9891
9891
  ...BaseGameFields
9892
9892
  }
9893
- collectedLetters
9894
9893
  lastFoundDate
9895
9894
  points
9895
+ letters {
9896
+ collected
9897
+ shuffled
9898
+ todaysLetter
9899
+ }
9896
9900
  streak
9897
9901
  }
9898
9902
  ${BASE_GAME_FIELDS_FRAGMENT}
@@ -12115,11 +12119,22 @@ var schemaBaseGame = new MongooseSchema19(
12115
12119
  },
12116
12120
  { _id: false }
12117
12121
  );
12122
+ var schemaLetters = new MongooseSchema19(
12123
+ {
12124
+ collected: { required: false, type: [String] },
12125
+ shuffled: { required: true, type: [String] },
12126
+ todaysLetter: { required: true, type: String }
12127
+ },
12128
+ { _id: false }
12129
+ );
12118
12130
  var schemaDailyClue = new MongooseSchema19(
12119
12131
  {
12120
- collectedLetters: { default: null, required: false, type: [String] },
12121
12132
  gameFields: { required: true, type: schemaBaseGame },
12122
12133
  lastFoundDate: { default: null, required: false, type: Date },
12134
+ letters: {
12135
+ required: true,
12136
+ type: schemaLetters
12137
+ },
12123
12138
  points: { default: 0, required: true, type: Number },
12124
12139
  streak: { default: 0, required: true, type: Number }
12125
12140
  },