@timardex/cluemart-server-shared 1.0.108 → 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-JIMDRWCH.mjs → chunk-VQOH37OR.mjs} +2 -24
- package/dist/chunk-VQOH37OR.mjs.map +1 -0
- package/dist/index.cjs +1 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -23
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +1 -23
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +1 -23
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-JIMDRWCH.mjs.map +0 -1
|
@@ -6917,10 +6917,6 @@ var stallTypes = [
|
|
|
6917
6917
|
"Workshop/seating area"
|
|
6918
6918
|
];
|
|
6919
6919
|
var stallTypeOptions = stallTypes.map((type) => ({
|
|
6920
|
-
electricity: {
|
|
6921
|
-
price: null,
|
|
6922
|
-
selected: false
|
|
6923
|
-
},
|
|
6924
6920
|
label: type,
|
|
6925
6921
|
price: 0,
|
|
6926
6922
|
stallCapacity: 0
|
|
@@ -8275,10 +8271,6 @@ var STALL_TYPE_FIELDS_FRAGMENT = gql`
|
|
|
8275
8271
|
label
|
|
8276
8272
|
price
|
|
8277
8273
|
stallCapacity
|
|
8278
|
-
electricity {
|
|
8279
|
-
price
|
|
8280
|
-
selected
|
|
8281
|
-
}
|
|
8282
8274
|
}
|
|
8283
8275
|
`;
|
|
8284
8276
|
var RELATION_DATES_FRAGMENT = gql`
|
|
@@ -10074,17 +10066,7 @@ var stallTypesSchema = create$3({
|
|
|
10074
10066
|
"",
|
|
10075
10067
|
noLeadingZeros("Stall price", { allowDecimal: true })
|
|
10076
10068
|
),
|
|
10077
|
-
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"))
|
|
10078
|
-
electricity: create$3({
|
|
10079
|
-
selected: create$7().nullable().optional().label("Electricity Available"),
|
|
10080
|
-
price: create$5().transform(
|
|
10081
|
-
(value, originalValue) => originalValue === "" ? null : value
|
|
10082
|
-
).integer("Electricity price must be a whole number").test(
|
|
10083
|
-
"no-leading-zeros",
|
|
10084
|
-
"",
|
|
10085
|
-
noLeadingZeros("Electricity price", { allowDecimal: true })
|
|
10086
|
-
).nullable().optional()
|
|
10087
|
-
}).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"))
|
|
10088
10070
|
});
|
|
10089
10071
|
var dateTimeWithPriceSchema = dateTimeSchema.shape({
|
|
10090
10072
|
stallTypes: create$2().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
|
|
@@ -10796,10 +10778,6 @@ import mongoose4 from "mongoose";
|
|
|
10796
10778
|
var MongooseSchema4 = mongoose4.Schema;
|
|
10797
10779
|
var StallTypeSchema = new MongooseSchema4(
|
|
10798
10780
|
{
|
|
10799
|
-
electricity: {
|
|
10800
|
-
price: { required: false, type: Number },
|
|
10801
|
-
selected: { required: false, type: Boolean }
|
|
10802
|
-
},
|
|
10803
10781
|
label: { required: false, type: String },
|
|
10804
10782
|
price: { required: false, type: Number },
|
|
10805
10783
|
stallCapacity: { required: false, type: Number }
|
|
@@ -11878,4 +11856,4 @@ react/cjs/react.development.js:
|
|
|
11878
11856
|
* LICENSE file in the root directory of this source tree.
|
|
11879
11857
|
*)
|
|
11880
11858
|
*/
|
|
11881
|
-
//# sourceMappingURL=chunk-
|
|
11859
|
+
//# sourceMappingURL=chunk-VQOH37OR.mjs.map
|