@timardex/cluemart-shared 1.4.72 → 1.4.74
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/{auth-CovYLFRn.d.ts → auth-DKNuFwhE.d.ts} +1 -1
- package/dist/{auth-Cdfen6gg.d.mts → auth-TqKVpwo1.d.mts} +1 -1
- package/dist/{chunk-CLYQNKSR.mjs → chunk-4LT5GOOP.mjs} +3 -7
- package/dist/{chunk-CLYQNKSR.mjs.map → chunk-4LT5GOOP.mjs.map} +1 -1
- package/dist/{chunk-KHPRUHU6.mjs → chunk-KYDS4REE.mjs} +2 -2
- package/dist/{chunk-WD3UPND6.mjs → chunk-USQKKCIA.mjs} +1 -2
- package/dist/chunk-USQKKCIA.mjs.map +1 -0
- package/dist/{chunk-7FRB62SE.mjs → chunk-W465TNSV.mjs} +1 -5
- package/dist/chunk-W465TNSV.mjs.map +1 -0
- package/dist/enums/index.cjs +0 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +1 -2
- package/dist/enums/index.d.ts +1 -2
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +0 -5
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/{global-HUZHOXHh.d.ts → global-B-g-Dv61.d.ts} +0 -4
- package/dist/{global-D_ckWQMA.d.mts → global-DvWluf-6.d.mts} +0 -4
- package/dist/graphql/index.cjs +0 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +1 -20
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +5 -15
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +1 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -6
- package/dist/index.d.ts +1 -6
- package/dist/index.mjs +1 -20
- package/dist/index.mjs.map +1 -1
- package/dist/{post-aU2ITfZh.d.mts → post-5WEzHfXv.d.mts} +1 -1
- package/dist/{post-DIylz7DM.d.ts → post-D_KFXmTl.d.ts} +1 -1
- package/dist/{resourceActivities-dxnqHVVc.d.mts → resourceActivities-DFtvysCz.d.mts} +1 -1
- package/dist/{resourceActivities-CwSss-73.d.ts → resourceActivities-DoJUbR_I.d.ts} +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.cjs +0 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-7FRB62SE.mjs.map +0 -1
- package/dist/chunk-WD3UPND6.mjs.map +0 -1
- /package/dist/{chunk-KHPRUHU6.mjs.map → chunk-KYDS4REE.mjs.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -290,7 +290,6 @@ var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus2) => {
|
|
|
290
290
|
EnumInviteStatus2["PENDING"] = "Pending";
|
|
291
291
|
EnumInviteStatus2["REJECTED"] = "Rejected";
|
|
292
292
|
EnumInviteStatus2["UNAVAILABLE"] = "Unavailable";
|
|
293
|
-
EnumInviteStatus2["WAITING"] = "Waiting";
|
|
294
293
|
return EnumInviteStatus2;
|
|
295
294
|
})(EnumInviteStatus || {});
|
|
296
295
|
var EnumChatReportReason = /* @__PURE__ */ ((EnumChatReportReason2) => {
|
|
@@ -1269,10 +1268,6 @@ var stallTypes = [
|
|
|
1269
1268
|
"Workshop/seating area"
|
|
1270
1269
|
];
|
|
1271
1270
|
var stallTypeOptions = stallTypes.map((type) => ({
|
|
1272
|
-
electricity: {
|
|
1273
|
-
price: null,
|
|
1274
|
-
selected: false
|
|
1275
|
-
},
|
|
1276
1271
|
label: type,
|
|
1277
1272
|
price: 0,
|
|
1278
1273
|
stallCapacity: 0
|
|
@@ -2762,10 +2757,6 @@ var STALL_TYPE_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2762
2757
|
label
|
|
2763
2758
|
price
|
|
2764
2759
|
stallCapacity
|
|
2765
|
-
electricity {
|
|
2766
|
-
price
|
|
2767
|
-
selected
|
|
2768
|
-
}
|
|
2769
2760
|
}
|
|
2770
2761
|
`;
|
|
2771
2762
|
var RELATION_DATES_FRAGMENT = import_client2.gql`
|
|
@@ -6212,17 +6203,7 @@ var stallTypesSchema = yup.object({
|
|
|
6212
6203
|
"",
|
|
6213
6204
|
noLeadingZeros("Stall price", { allowDecimal: true })
|
|
6214
6205
|
),
|
|
6215
|
-
stallCapacity: yup.number().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"))
|
|
6216
|
-
electricity: yup.object({
|
|
6217
|
-
selected: yup.boolean().nullable().optional().label("Electricity Available"),
|
|
6218
|
-
price: yup.number().transform(
|
|
6219
|
-
(value, originalValue) => originalValue === "" ? null : value
|
|
6220
|
-
).integer("Electricity price must be a whole number").test(
|
|
6221
|
-
"no-leading-zeros",
|
|
6222
|
-
"",
|
|
6223
|
-
noLeadingZeros("Electricity price", { allowDecimal: true })
|
|
6224
|
-
).nullable().optional()
|
|
6225
|
-
}).nullable().optional().label("Electricity Information")
|
|
6206
|
+
stallCapacity: yup.number().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"))
|
|
6226
6207
|
});
|
|
6227
6208
|
var dateTimeWithPriceSchema = dateTimeSchema.shape({
|
|
6228
6209
|
stallTypes: yup.array().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
|