@timardex/cluemart-server-shared 1.0.167 → 1.0.169

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.
@@ -8559,7 +8559,6 @@ var EVENT = gql`
8559
8559
  rating
8560
8560
  reviewCount
8561
8561
  rainOrShine
8562
- unregisteredVendorIds
8563
8562
  socialMedia {
8564
8563
  ...SocialMediaFields
8565
8564
  }
@@ -8807,7 +8806,6 @@ var UNREGISTERED_VENDOR = gql`
8807
8806
  claimed
8808
8807
  createdAt
8809
8808
  deletedAt
8810
- email
8811
8809
  invitations {
8812
8810
  ...UnregisteredVendorInvitationFields
8813
8811
  }
@@ -10672,7 +10670,6 @@ var vendorSchema = globalResourceSchema.shape({
10672
10670
  var unregisteredVendorSchema = create$3().shape({
10673
10671
  categoryIds: create$2().of(create$6().defined()).min(1, "Category list must contain at least one item").required("Categories are required"),
10674
10672
  dateTime: create$2().of(dateTimeSchema).min(1, "DateTime list must contain at least one item").required("DateTime is required"),
10675
- email: emailOptionalSchema,
10676
10673
  inviterId: create$6().required("Inviter ID is required"),
10677
10674
  name: create$6().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required")
10678
10675
  });
@@ -12210,7 +12207,7 @@ var invitationSchema = new MongooseSchema15(
12210
12207
  inviterId: {
12211
12208
  ref: "Event",
12212
12209
  required: true,
12213
- type: String
12210
+ type: mongoose15.Schema.Types.ObjectId
12214
12211
  }
12215
12212
  },
12216
12213
  { _id: false }
@@ -12220,13 +12217,11 @@ var schema11 = new MongooseSchema15(
12220
12217
  categoryIds: { required: true, type: [String] },
12221
12218
  claimed: { default: false, required: true, type: Boolean },
12222
12219
  deletedAt: { default: null, required: false, type: Date },
12223
- email: { required: true, type: String },
12224
12220
  invitations: { required: true, type: [invitationSchema] },
12225
12221
  name: { required: true, type: String }
12226
12222
  },
12227
12223
  { timestamps: true }
12228
12224
  );
12229
- schema11.index({ email: 1 }, { unique: true });
12230
12225
  schema11.index({ name: 1 });
12231
12226
  var UnregisteredVendorModel = mongoose15.models.UnregisteredVendor || mongoose15.model("UnregisteredVendor", schema11);
12232
12227
 
@@ -12266,8 +12261,7 @@ var schema12 = new MongooseSchema16(
12266
12261
  required: false,
12267
12262
  type: [resourceRelationsSchema]
12268
12263
  },
12269
- tags: { required: true, type: [String] },
12270
- unregisteredVendorIds: { default: [], required: false, type: [String] }
12264
+ tags: { required: true, type: [String] }
12271
12265
  },
12272
12266
  { timestamps: true }
12273
12267
  );
@@ -12653,4 +12647,4 @@ react/cjs/react.development.js:
12653
12647
  * LICENSE file in the root directory of this source tree.
12654
12648
  *)
12655
12649
  */
12656
- //# sourceMappingURL=chunk-PJ4BVYZM.mjs.map
12650
+ //# sourceMappingURL=chunk-65P75J6Q.mjs.map