@timardex/cluemart-server-shared 1.0.147 → 1.0.149

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.d.mts CHANGED
@@ -27,7 +27,7 @@ declare const NotificationModel: mongoose.Model<SchemaNotificationType, {}, {},
27
27
  __v: number;
28
28
  }, any>;
29
29
 
30
- type ObjectId = mongoose.Schema.Types.ObjectId;
30
+ type ObjectId = mongoose.Types.ObjectId;
31
31
  declare enum EnumPubSubEvents {
32
32
  GET_CHAT_MESSAGE = "GET_CHAT_MESSAGE",
33
33
  GET_NOTIFICATIONS = "GET_NOTIFICATIONS",
@@ -540,7 +540,7 @@ declare const UserModel: mongoose.Model<SchemaUserType, {}, {}, {}, mongoose.Doc
540
540
  };
541
541
  };
542
542
  } & Required<{
543
- _id: mongoose.Schema.Types.ObjectId;
543
+ _id: mongoose.Types.ObjectId;
544
544
  }> & {
545
545
  __v: number;
546
546
  }, any>;
package/dist/index.d.ts CHANGED
@@ -27,7 +27,7 @@ declare const NotificationModel: mongoose.Model<SchemaNotificationType, {}, {},
27
27
  __v: number;
28
28
  }, any>;
29
29
 
30
- type ObjectId = mongoose.Schema.Types.ObjectId;
30
+ type ObjectId = mongoose.Types.ObjectId;
31
31
  declare enum EnumPubSubEvents {
32
32
  GET_CHAT_MESSAGE = "GET_CHAT_MESSAGE",
33
33
  GET_NOTIFICATIONS = "GET_NOTIFICATIONS",
@@ -540,7 +540,7 @@ declare const UserModel: mongoose.Model<SchemaUserType, {}, {}, {}, mongoose.Doc
540
540
  };
541
541
  };
542
542
  } & Required<{
543
- _id: mongoose.Schema.Types.ObjectId;
543
+ _id: mongoose.Types.ObjectId;
544
544
  }> & {
545
545
  __v: number;
546
546
  }, any>;
package/dist/index.mjs CHANGED
@@ -6848,10 +6848,6 @@ var EnumSubscriptionStatus = /* @__PURE__ */ ((EnumSubscriptionStatus22) => {
6848
6848
  EnumSubscriptionStatus22["TRIALING"] = "trialing";
6849
6849
  return EnumSubscriptionStatus22;
6850
6850
  })(EnumSubscriptionStatus || {});
6851
- var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
6852
- EnumGameType2["DAILY_CLUE"] = "dailyClue";
6853
- return EnumGameType2;
6854
- })(EnumGameType || {});
6855
6851
  var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
6856
6852
  var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
6857
6853
  var gameScreenIdentifierList = [
@@ -9950,7 +9946,6 @@ var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = gql`
9950
9946
  ...GameDateFields
9951
9947
  }
9952
9948
  gameSolution
9953
- gameType
9954
9949
  }
9955
9950
  ${GAME_DATE_FIELDS_FRAGMENT}
9956
9951
  `;
@@ -10060,6 +10055,7 @@ var GET_GAME_LEADERBOARD = gql`
10060
10055
  `;
10061
10056
  var BASE_GAME_FIELDS_FRAGMENT = gql`
10062
10057
  fragment BaseGameFields on BaseGameType {
10058
+ gameType
10063
10059
  dailyClue {
10064
10060
  ...DailyClueBaseGameFields
10065
10061
  }
@@ -11059,6 +11055,10 @@ var EnumGameStatus = /* @__PURE__ */ ((EnumGameStatus2) => {
11059
11055
  EnumGameStatus2["GAME_STARTED"] = "GAME_STARTED";
11060
11056
  return EnumGameStatus2;
11061
11057
  })(EnumGameStatus || {});
11058
+ var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
11059
+ EnumGameType2["DAILY_CLUE"] = "dailyClue";
11060
+ return EnumGameType2;
11061
+ })(EnumGameType || {});
11062
11062
 
11063
11063
  // src/mongoose/Ad.ts
11064
11064
  import mongoose from "mongoose";
@@ -12324,12 +12324,7 @@ var schemaLetters = new MongooseSchema19(
12324
12324
  var schemaDailyClueBaseGame = new MongooseSchema19(
12325
12325
  {
12326
12326
  gameDate: { required: true, type: schemaGameDate },
12327
- gameSolution: { required: true, type: String },
12328
- gameType: {
12329
- enum: Object.values(EnumGameType),
12330
- required: false,
12331
- type: String
12332
- }
12327
+ gameSolution: { required: true, type: String }
12333
12328
  },
12334
12329
  { _id: false }
12335
12330
  );