@timardex/cluemart-server-shared 1.0.136 → 1.0.138

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.
@@ -9863,6 +9863,7 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
9863
9863
  `;
9864
9864
  var GAME_HISTORY_FIELDS_FRAGMENT = gql`
9865
9865
  fragment GameHistoryFields on GameHistoryType {
9866
+ createdAt
9866
9867
  gameDate {
9867
9868
  ...GameDateFields
9868
9869
  }
@@ -9882,6 +9883,7 @@ var GAME_DATA_FIELDS_FRAGMENT = gql`
9882
9883
  `;
9883
9884
  var GAME_FIELDS_FRAGMENT = gql`
9884
9885
  fragment GameFields on GameType {
9886
+ _id
9885
9887
  active
9886
9888
  createdAt
9887
9889
  gameData {
@@ -10184,6 +10186,15 @@ var DELETE_SCHOOL_MUTATION = gql`
10184
10186
  deleteSchool(_id: $_id)
10185
10187
  }
10186
10188
  `;
10189
+ var REQUEST_MARKETING_MATERIAL_MUTATION = gql`
10190
+ mutation requestMarketingMaterial(
10191
+ $input: MarketingMaterialRequestInputType!
10192
+ ) {
10193
+ requestMarketingMaterial(input: $input) {
10194
+ message
10195
+ }
10196
+ }
10197
+ `;
10187
10198
  var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
10188
10199
  var nzbnRegex = /^94\d{11}$/;
10189
10200
  var normalizedUrlTransform = () => create$6().trim().transform(
@@ -10806,7 +10817,7 @@ var schoolSchema = create$3().shape({
10806
10817
  name: create$6().trim().required("Name is required"),
10807
10818
  region: create$6().trim().required("Region is required"),
10808
10819
  socialMedia: create$2().of(socialMediaSchema).nullable().default(null),
10809
- studentCount: create$5().label("Student Count").min(0, "Student count cannot be negative").required("Student count is required").test("no-leading-zeros", "", noLeadingZeros("Student Count"))
10820
+ studentCount: create$5().label("Student Count").nullable().transform((value, originalValue) => originalValue === "" ? null : value).typeError("Student count must be a number").min(350, "Student count must be at least 350").required("Student count is required").test("no-leading-zeros", "", noLeadingZeros("Student Count"))
10810
10821
  });
10811
10822
  var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
10812
10823
  EnumActivity2["FAVORITE"] = "FAVORITE";
@@ -12110,6 +12121,7 @@ var gameDataDefinition = Object.fromEntries(
12110
12121
  );
12111
12122
  var gameHistorySchema = new MongooseSchema19(
12112
12123
  {
12124
+ createdAt: { required: true, type: Date },
12113
12125
  gameDate: { required: true, type: schemaGameDate },
12114
12126
  gameStatus: {
12115
12127
  enum: Object.values(EnumGameStatus),
@@ -12136,7 +12148,7 @@ var gameTypeSchema = new MongooseSchema19(
12136
12148
  type: String
12137
12149
  }
12138
12150
  },
12139
- { _id: false, timestamps: true }
12151
+ { timestamps: true }
12140
12152
  );
12141
12153
  var schema14 = new MongooseSchema19(
12142
12154
  {
@@ -12248,4 +12260,4 @@ react/cjs/react.development.js:
12248
12260
  * LICENSE file in the root directory of this source tree.
12249
12261
  *)
12250
12262
  */
12251
- //# sourceMappingURL=chunk-WNT6FOX6.mjs.map
12263
+ //# sourceMappingURL=chunk-OOUMYJJO.mjs.map