@timardex/cluemart-server-shared 1.0.127 → 1.0.128
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-C7VXPMJJ.mjs → chunk-BBLLCZKM.mjs} +30 -3
- package/dist/chunk-BBLLCZKM.mjs.map +1 -0
- package/dist/index.cjs +29 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +29 -2
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +29 -2
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +29 -2
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-C7VXPMJJ.mjs.map +0 -1
|
@@ -9810,15 +9810,21 @@ var DELETE_PARTNER_MUTATION = gql`
|
|
|
9810
9810
|
deletePartner(_id: $_id)
|
|
9811
9811
|
}
|
|
9812
9812
|
`;
|
|
9813
|
+
var GAME_DATE_FIELDS_FRAGMENT = gql`
|
|
9814
|
+
fragment GameDateFields on GameDateType {
|
|
9815
|
+
startDate
|
|
9816
|
+
endDate
|
|
9817
|
+
}
|
|
9818
|
+
`;
|
|
9813
9819
|
var BASE_GAME_FIELDS_FRAGMENT = gql`
|
|
9814
9820
|
fragment BaseGameFields on BaseGameType {
|
|
9815
9821
|
gameDate {
|
|
9816
|
-
|
|
9817
|
-
endDate
|
|
9822
|
+
...GameDateFields
|
|
9818
9823
|
}
|
|
9819
9824
|
gameSolution
|
|
9820
9825
|
gameType
|
|
9821
9826
|
}
|
|
9827
|
+
${GAME_DATE_FIELDS_FRAGMENT}
|
|
9822
9828
|
`;
|
|
9823
9829
|
var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
|
|
9824
9830
|
fragment DailyClueGameDataFields on DailyClueGameDataType {
|
|
@@ -9848,6 +9854,13 @@ var GAME_FIELDS_FRAGMENT = gql`
|
|
|
9848
9854
|
...DailyClueGameDataFields
|
|
9849
9855
|
}
|
|
9850
9856
|
}
|
|
9857
|
+
gameHistory {
|
|
9858
|
+
gameDate {
|
|
9859
|
+
...GameDateFields
|
|
9860
|
+
}
|
|
9861
|
+
gameType
|
|
9862
|
+
pointsEarned
|
|
9863
|
+
}
|
|
9851
9864
|
updatedAt
|
|
9852
9865
|
owner {
|
|
9853
9866
|
...OwnerFields
|
|
@@ -9856,6 +9869,7 @@ var GAME_FIELDS_FRAGMENT = gql`
|
|
|
9856
9869
|
}
|
|
9857
9870
|
${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
|
|
9858
9871
|
${OWNER_FIELDS_FRAGMENT}
|
|
9872
|
+
${GAME_DATE_FIELDS_FRAGMENT}
|
|
9859
9873
|
`;
|
|
9860
9874
|
var GET_GAMES = gql`
|
|
9861
9875
|
query getGames {
|
|
@@ -11951,11 +11965,24 @@ var gameDataDefinition = Object.fromEntries(
|
|
|
11951
11965
|
{ default: null, required: false, type: schema15 }
|
|
11952
11966
|
])
|
|
11953
11967
|
);
|
|
11968
|
+
var gameHistorySchema = new MongooseSchema19(
|
|
11969
|
+
{
|
|
11970
|
+
gameDate: { required: true, type: schemaGameDate },
|
|
11971
|
+
gameType: {
|
|
11972
|
+
enum: Object.values(EnumGameType),
|
|
11973
|
+
required: true,
|
|
11974
|
+
type: String
|
|
11975
|
+
},
|
|
11976
|
+
pointsEarned: { default: 0, required: true, type: Number }
|
|
11977
|
+
},
|
|
11978
|
+
{ _id: false }
|
|
11979
|
+
);
|
|
11954
11980
|
var schema14 = new MongooseSchema19(
|
|
11955
11981
|
{
|
|
11956
11982
|
active: { default: false, required: true, type: Boolean },
|
|
11957
11983
|
deletedAt: { default: null, required: false, type: Date },
|
|
11958
11984
|
gameData: gameDataDefinition,
|
|
11985
|
+
gameHistory: { default: [], required: true, type: [gameHistorySchema] },
|
|
11959
11986
|
owner: {
|
|
11960
11987
|
required: true,
|
|
11961
11988
|
type: OwnerTypeSchema
|
|
@@ -12030,4 +12057,4 @@ react/cjs/react.development.js:
|
|
|
12030
12057
|
* LICENSE file in the root directory of this source tree.
|
|
12031
12058
|
*)
|
|
12032
12059
|
*/
|
|
12033
|
-
//# sourceMappingURL=chunk-
|
|
12060
|
+
//# sourceMappingURL=chunk-BBLLCZKM.mjs.map
|