@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.
@@ -6653,7 +6653,6 @@ var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus22) => {
6653
6653
  EnumInviteStatus22["PENDING"] = "Pending";
6654
6654
  EnumInviteStatus22["REJECTED"] = "Rejected";
6655
6655
  EnumInviteStatus22["UNAVAILABLE"] = "Unavailable";
6656
- EnumInviteStatus22["WAITING"] = "Waiting";
6657
6656
  return EnumInviteStatus22;
6658
6657
  })(EnumInviteStatus || {});
6659
6658
  var EnumChatReportReason = /* @__PURE__ */ ((EnumChatReportReason22) => {
@@ -6918,10 +6917,6 @@ var stallTypes = [
6918
6917
  "Workshop/seating area"
6919
6918
  ];
6920
6919
  var stallTypeOptions = stallTypes.map((type) => ({
6921
- electricity: {
6922
- price: null,
6923
- selected: false
6924
- },
6925
6920
  label: type,
6926
6921
  price: 0,
6927
6922
  stallCapacity: 0
@@ -8276,10 +8271,6 @@ var STALL_TYPE_FIELDS_FRAGMENT = gql`
8276
8271
  label
8277
8272
  price
8278
8273
  stallCapacity
8279
- electricity {
8280
- price
8281
- selected
8282
- }
8283
8274
  }
8284
8275
  `;
8285
8276
  var RELATION_DATES_FRAGMENT = gql`
@@ -10075,17 +10066,7 @@ var stallTypesSchema = create$3({
10075
10066
  "",
10076
10067
  noLeadingZeros("Stall price", { allowDecimal: true })
10077
10068
  ),
10078
- 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")),
10079
- electricity: create$3({
10080
- selected: create$7().nullable().optional().label("Electricity Available"),
10081
- price: create$5().transform(
10082
- (value, originalValue) => originalValue === "" ? null : value
10083
- ).integer("Electricity price must be a whole number").test(
10084
- "no-leading-zeros",
10085
- "",
10086
- noLeadingZeros("Electricity price", { allowDecimal: true })
10087
- ).nullable().optional()
10088
- }).nullable().optional().label("Electricity Information")
10069
+ 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"))
10089
10070
  });
10090
10071
  var dateTimeWithPriceSchema = dateTimeSchema.shape({
10091
10072
  stallTypes: create$2().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
@@ -10797,10 +10778,6 @@ import mongoose4 from "mongoose";
10797
10778
  var MongooseSchema4 = mongoose4.Schema;
10798
10779
  var StallTypeSchema = new MongooseSchema4(
10799
10780
  {
10800
- electricity: {
10801
- price: { required: false, type: Number },
10802
- selected: { required: false, type: Boolean }
10803
- },
10804
10781
  label: { required: false, type: String },
10805
10782
  price: { required: false, type: Number },
10806
10783
  stallCapacity: { required: false, type: Number }
@@ -11283,7 +11260,7 @@ schema4.index({ isRead: 1, userId: 1 });
11283
11260
  schema4.index({ createdAt: -1, userId: 1 });
11284
11261
  var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
11285
11262
 
11286
- // node_modules/@timardex/cluemart-shared/dist/chunk-WD3UPND6.mjs
11263
+ // node_modules/@timardex/cluemart-shared/dist/chunk-USQKKCIA.mjs
11287
11264
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
11288
11265
  EnumOSPlatform22["ANDROID"] = "android";
11289
11266
  EnumOSPlatform22["IOS"] = "ios";
@@ -11879,4 +11856,4 @@ react/cjs/react.development.js:
11879
11856
  * LICENSE file in the root directory of this source tree.
11880
11857
  *)
11881
11858
  */
11882
- //# sourceMappingURL=chunk-P4C6EB4V.mjs.map
11859
+ //# sourceMappingURL=chunk-VQOH37OR.mjs.map