@timardex/cluemart-server-shared 1.0.106 → 1.0.109

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.
@@ -6720,7 +6720,6 @@ var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus22) => {
6720
6720
  EnumInviteStatus22["PENDING"] = "Pending";
6721
6721
  EnumInviteStatus22["REJECTED"] = "Rejected";
6722
6722
  EnumInviteStatus22["UNAVAILABLE"] = "Unavailable";
6723
- EnumInviteStatus22["WAITING"] = "Waiting";
6724
6723
  return EnumInviteStatus22;
6725
6724
  })(EnumInviteStatus || {});
6726
6725
  var EnumChatReportReason = /* @__PURE__ */ ((EnumChatReportReason22) => {
@@ -6985,10 +6984,6 @@ var stallTypes = [
6985
6984
  "Workshop/seating area"
6986
6985
  ];
6987
6986
  var stallTypeOptions = stallTypes.map((type) => ({
6988
- electricity: {
6989
- price: null,
6990
- selected: false
6991
- },
6992
6987
  label: type,
6993
6988
  price: 0,
6994
6989
  stallCapacity: 0
@@ -8343,10 +8338,6 @@ var STALL_TYPE_FIELDS_FRAGMENT = gql`
8343
8338
  label
8344
8339
  price
8345
8340
  stallCapacity
8346
- electricity {
8347
- price
8348
- selected
8349
- }
8350
8341
  }
8351
8342
  `;
8352
8343
  var RELATION_DATES_FRAGMENT = gql`
@@ -10142,17 +10133,7 @@ var stallTypesSchema = create$3({
10142
10133
  "",
10143
10134
  noLeadingZeros("Stall price", { allowDecimal: true })
10144
10135
  ),
10145
- stallCapacity: create$5().label("Stall Capacity").typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity")),
10146
- electricity: create$3({
10147
- selected: create$7().nullable().optional().label("Electricity Available"),
10148
- price: create$5().transform(
10149
- (value, originalValue) => originalValue === "" ? null : value
10150
- ).integer("Electricity price must be a whole number").test(
10151
- "no-leading-zeros",
10152
- "",
10153
- noLeadingZeros("Electricity price", { allowDecimal: true })
10154
- ).nullable().optional()
10155
- }).nullable().optional().label("Electricity Information")
10136
+ stallCapacity: create$5().label("Stall Capacity").typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
10156
10137
  });
10157
10138
  var dateTimeWithPriceSchema = dateTimeSchema.shape({
10158
10139
  stallTypes: create$2().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
@@ -10864,10 +10845,6 @@ var import_mongoose4 = __toESM(require("mongoose"));
10864
10845
  var MongooseSchema4 = import_mongoose4.default.Schema;
10865
10846
  var StallTypeSchema = new MongooseSchema4(
10866
10847
  {
10867
- electricity: {
10868
- price: { required: false, type: Number },
10869
- selected: { required: false, type: Boolean }
10870
- },
10871
10848
  label: { required: false, type: String },
10872
10849
  price: { required: false, type: Number },
10873
10850
  stallCapacity: { required: false, type: Number }
@@ -11350,7 +11327,7 @@ schema4.index({ isRead: 1, userId: 1 });
11350
11327
  schema4.index({ createdAt: -1, userId: 1 });
11351
11328
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
11352
11329
 
11353
- // node_modules/@timardex/cluemart-shared/dist/chunk-WD3UPND6.mjs
11330
+ // node_modules/@timardex/cluemart-shared/dist/chunk-USQKKCIA.mjs
11354
11331
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
11355
11332
  EnumOSPlatform22["ANDROID"] = "android";
11356
11333
  EnumOSPlatform22["IOS"] = "ios";