@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.
@@ -9934,6 +9934,7 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
9934
9934
  `;
9935
9935
  var GAME_HISTORY_FIELDS_FRAGMENT = gql`
9936
9936
  fragment GameHistoryFields on GameHistoryType {
9937
+ createdAt
9937
9938
  gameDate {
9938
9939
  ...GameDateFields
9939
9940
  }
@@ -9953,6 +9954,7 @@ var GAME_DATA_FIELDS_FRAGMENT = gql`
9953
9954
  `;
9954
9955
  var GAME_FIELDS_FRAGMENT = gql`
9955
9956
  fragment GameFields on GameType {
9957
+ _id
9956
9958
  active
9957
9959
  createdAt
9958
9960
  gameData {
@@ -10255,6 +10257,15 @@ var DELETE_SCHOOL_MUTATION = gql`
10255
10257
  deleteSchool(_id: $_id)
10256
10258
  }
10257
10259
  `;
10260
+ var REQUEST_MARKETING_MATERIAL_MUTATION = gql`
10261
+ mutation requestMarketingMaterial(
10262
+ $input: MarketingMaterialRequestInputType!
10263
+ ) {
10264
+ requestMarketingMaterial(input: $input) {
10265
+ message
10266
+ }
10267
+ }
10268
+ `;
10258
10269
  var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
10259
10270
  var nzbnRegex = /^94\d{11}$/;
10260
10271
  var normalizedUrlTransform = () => create$6().trim().transform(
@@ -10877,7 +10888,7 @@ var schoolSchema = create$3().shape({
10877
10888
  name: create$6().trim().required("Name is required"),
10878
10889
  region: create$6().trim().required("Region is required"),
10879
10890
  socialMedia: create$2().of(socialMediaSchema).nullable().default(null),
10880
- 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"))
10891
+ 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"))
10881
10892
  });
10882
10893
  var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
10883
10894
  EnumActivity2["FAVORITE"] = "FAVORITE";
@@ -12181,6 +12192,7 @@ var gameDataDefinition = Object.fromEntries(
12181
12192
  );
12182
12193
  var gameHistorySchema = new MongooseSchema19(
12183
12194
  {
12195
+ createdAt: { required: true, type: Date },
12184
12196
  gameDate: { required: true, type: schemaGameDate },
12185
12197
  gameStatus: {
12186
12198
  enum: Object.values(EnumGameStatus),
@@ -12207,7 +12219,7 @@ var gameTypeSchema = new MongooseSchema19(
12207
12219
  type: String
12208
12220
  }
12209
12221
  },
12210
- { _id: false, timestamps: true }
12222
+ { timestamps: true }
12211
12223
  );
12212
12224
  var schema14 = new MongooseSchema19(
12213
12225
  {