@timardex/cluemart-server-shared 1.0.118 → 1.0.119
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/{chunk-AJH6Q7XE.mjs → chunk-ZO6CUK7N.mjs} +18 -13
- package/dist/chunk-ZO6CUK7N.mjs.map +1 -0
- package/dist/index.cjs +17 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +17 -12
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +17 -12
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +17 -12
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-AJH6Q7XE.mjs.map +0 -1
package/dist/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -9888,7 +9888,9 @@ var BASE_GAME_FIELDS_FRAGMENT = gql`
|
|
|
9888
9888
|
`;
|
|
9889
9889
|
var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
|
|
9890
9890
|
fragment DailyClueGameDataFields on DailyClueGameDataType {
|
|
9891
|
-
|
|
9891
|
+
gameFields {
|
|
9892
|
+
...BaseGameFields
|
|
9893
|
+
}
|
|
9892
9894
|
collectedLetters
|
|
9893
9895
|
lastFoundDate
|
|
9894
9896
|
points
|
|
@@ -10076,7 +10078,7 @@ var GET_APP_SETTINGS = gql`
|
|
|
10076
10078
|
${APP_SETTINGS_FIELDS_FRAGMENT}
|
|
10077
10079
|
`;
|
|
10078
10080
|
var START_GAME_MUTATION = gql`
|
|
10079
|
-
mutation startGame($input:
|
|
10081
|
+
mutation startGame($input: BaseGameInputType!) {
|
|
10080
10082
|
startGame(input: $input) {
|
|
10081
10083
|
...GameFields
|
|
10082
10084
|
}
|
|
@@ -12096,20 +12098,23 @@ var schemaGameDate = new MongooseSchema19(
|
|
|
12096
12098
|
},
|
|
12097
12099
|
{ _id: false }
|
|
12098
12100
|
);
|
|
12099
|
-
var
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12101
|
+
var schemaBaseGame = new MongooseSchema19(
|
|
12102
|
+
{
|
|
12103
|
+
gameDate: { required: true, type: schemaGameDate },
|
|
12104
|
+
gameSolution: { required: true, type: String },
|
|
12105
|
+
gameType: {
|
|
12106
|
+
enum: Object.values(EnumGameType),
|
|
12107
|
+
required: false,
|
|
12108
|
+
type: String
|
|
12109
|
+
},
|
|
12110
|
+
title: { required: false, type: String }
|
|
12106
12111
|
},
|
|
12107
|
-
|
|
12108
|
-
|
|
12112
|
+
{ _id: false }
|
|
12113
|
+
);
|
|
12109
12114
|
var schemaDailyClue = new MongooseSchema19(
|
|
12110
12115
|
{
|
|
12111
|
-
...baseGameDefinition,
|
|
12112
12116
|
collectedLetters: { default: null, required: false, type: [String] },
|
|
12117
|
+
gameFields: { required: true, type: schemaBaseGame },
|
|
12113
12118
|
lastFoundDate: { default: null, required: false, type: Date },
|
|
12114
12119
|
points: { default: 0, required: true, type: Number },
|
|
12115
12120
|
streak: { default: 0, required: true, type: Number }
|