@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.
- package/dist/{chunk-P4C6EB4V.mjs → chunk-VQOH37OR.mjs} +3 -26
- package/dist/chunk-VQOH37OR.mjs.map +1 -0
- package/dist/index.cjs +2 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -25
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +2 -25
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +2 -25
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-P4C6EB4V.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -6674,7 +6674,6 @@ var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus22) => {
|
|
|
6674
6674
|
EnumInviteStatus22["PENDING"] = "Pending";
|
|
6675
6675
|
EnumInviteStatus22["REJECTED"] = "Rejected";
|
|
6676
6676
|
EnumInviteStatus22["UNAVAILABLE"] = "Unavailable";
|
|
6677
|
-
EnumInviteStatus22["WAITING"] = "Waiting";
|
|
6678
6677
|
return EnumInviteStatus22;
|
|
6679
6678
|
})(EnumInviteStatus || {});
|
|
6680
6679
|
var EnumChatReportReason = /* @__PURE__ */ ((EnumChatReportReason22) => {
|
|
@@ -6939,10 +6938,6 @@ var stallTypes = [
|
|
|
6939
6938
|
"Workshop/seating area"
|
|
6940
6939
|
];
|
|
6941
6940
|
var stallTypeOptions = stallTypes.map((type) => ({
|
|
6942
|
-
electricity: {
|
|
6943
|
-
price: null,
|
|
6944
|
-
selected: false
|
|
6945
|
-
},
|
|
6946
6941
|
label: type,
|
|
6947
6942
|
price: 0,
|
|
6948
6943
|
stallCapacity: 0
|
|
@@ -8297,10 +8292,6 @@ var STALL_TYPE_FIELDS_FRAGMENT = gql`
|
|
|
8297
8292
|
label
|
|
8298
8293
|
price
|
|
8299
8294
|
stallCapacity
|
|
8300
|
-
electricity {
|
|
8301
|
-
price
|
|
8302
|
-
selected
|
|
8303
|
-
}
|
|
8304
8295
|
}
|
|
8305
8296
|
`;
|
|
8306
8297
|
var RELATION_DATES_FRAGMENT = gql`
|
|
@@ -10096,17 +10087,7 @@ var stallTypesSchema = create$3({
|
|
|
10096
10087
|
"",
|
|
10097
10088
|
noLeadingZeros("Stall price", { allowDecimal: true })
|
|
10098
10089
|
),
|
|
10099
|
-
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"))
|
|
10100
|
-
electricity: create$3({
|
|
10101
|
-
selected: create$7().nullable().optional().label("Electricity Available"),
|
|
10102
|
-
price: create$5().transform(
|
|
10103
|
-
(value, originalValue) => originalValue === "" ? null : value
|
|
10104
|
-
).integer("Electricity price must be a whole number").test(
|
|
10105
|
-
"no-leading-zeros",
|
|
10106
|
-
"",
|
|
10107
|
-
noLeadingZeros("Electricity price", { allowDecimal: true })
|
|
10108
|
-
).nullable().optional()
|
|
10109
|
-
}).nullable().optional().label("Electricity Information")
|
|
10090
|
+
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"))
|
|
10110
10091
|
});
|
|
10111
10092
|
var dateTimeWithPriceSchema = dateTimeSchema.shape({
|
|
10112
10093
|
stallTypes: create$2().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
|
|
@@ -10818,10 +10799,6 @@ import mongoose4 from "mongoose";
|
|
|
10818
10799
|
var MongooseSchema4 = mongoose4.Schema;
|
|
10819
10800
|
var StallTypeSchema = new MongooseSchema4(
|
|
10820
10801
|
{
|
|
10821
|
-
electricity: {
|
|
10822
|
-
price: { required: false, type: Number },
|
|
10823
|
-
selected: { required: false, type: Boolean }
|
|
10824
|
-
},
|
|
10825
10802
|
label: { required: false, type: String },
|
|
10826
10803
|
price: { required: false, type: Number },
|
|
10827
10804
|
stallCapacity: { required: false, type: Number }
|
|
@@ -11304,7 +11281,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
11304
11281
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
11305
11282
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
11306
11283
|
|
|
11307
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11284
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-USQKKCIA.mjs
|
|
11308
11285
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11309
11286
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11310
11287
|
EnumOSPlatform22["IOS"] = "ios";
|