@timardex/cluemart-shared 1.3.55 → 1.3.56
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-BUTKJE3A.mjs → chunk-KYPVVP6O.mjs} +1 -1
- package/dist/chunk-KYPVVP6O.mjs.map +1 -0
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/hooks/index.cjs +22 -10
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +23 -11
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +22 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +22 -10
- package/dist/index.mjs.map +1 -1
- package/dist/{post-Ccnm8wXU.d.ts → post-Bwr2i2Qq.d.ts} +1 -1
- package/dist/{post-DMNuE0Ba.d.mts → post-DHDZfAmJ.d.mts} +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-BUTKJE3A.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -743,7 +743,7 @@ type TesterEvent = {
|
|
|
743
743
|
inviteStallholders: boolean;
|
|
744
744
|
manageApplicationsAndCommunication: boolean;
|
|
745
745
|
completeMarketProfileFirstWeek: boolean;
|
|
746
|
-
spaceForClueMart
|
|
746
|
+
spaceForClueMart?: boolean;
|
|
747
747
|
uploadStallList: boolean;
|
|
748
748
|
organizerExpectations?: string;
|
|
749
749
|
dailyCoordinationNeeds?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -743,7 +743,7 @@ type TesterEvent = {
|
|
|
743
743
|
inviteStallholders: boolean;
|
|
744
744
|
manageApplicationsAndCommunication: boolean;
|
|
745
745
|
completeMarketProfileFirstWeek: boolean;
|
|
746
|
-
spaceForClueMart
|
|
746
|
+
spaceForClueMart?: boolean;
|
|
747
747
|
uploadStallList: boolean;
|
|
748
748
|
organizerExpectations?: string;
|
|
749
749
|
dailyCoordinationNeeds?: string;
|
package/dist/index.mjs
CHANGED
|
@@ -5867,21 +5867,33 @@ var vendorInfoSchema = yup3.object().shape({
|
|
|
5867
5867
|
}),
|
|
5868
5868
|
requirements: yup3.object().shape({
|
|
5869
5869
|
electricity: yup3.object().shape({
|
|
5870
|
-
details: yup3.string().trim().test(
|
|
5871
|
-
|
|
5872
|
-
|
|
5870
|
+
details: yup3.string().trim().test(
|
|
5871
|
+
"details-required",
|
|
5872
|
+
"Please add electricity details",
|
|
5873
|
+
function(value) {
|
|
5874
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
5875
|
+
}
|
|
5876
|
+
).nullable(),
|
|
5873
5877
|
isRequired: yup3.boolean().required("Electricity requirement is required")
|
|
5874
5878
|
}),
|
|
5875
5879
|
gazebo: yup3.object().shape({
|
|
5876
|
-
details: yup3.string().trim().test(
|
|
5877
|
-
|
|
5878
|
-
|
|
5880
|
+
details: yup3.string().trim().test(
|
|
5881
|
+
"details-required",
|
|
5882
|
+
"Please add gazebo details",
|
|
5883
|
+
function(value) {
|
|
5884
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
5885
|
+
}
|
|
5886
|
+
).nullable(),
|
|
5879
5887
|
isRequired: yup3.boolean().required("Gazebo requirement is required")
|
|
5880
5888
|
}),
|
|
5881
5889
|
table: yup3.object().shape({
|
|
5882
|
-
details: yup3.string().trim().test(
|
|
5883
|
-
|
|
5884
|
-
|
|
5890
|
+
details: yup3.string().trim().test(
|
|
5891
|
+
"details-required",
|
|
5892
|
+
"Please add table details",
|
|
5893
|
+
function(value) {
|
|
5894
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
5895
|
+
}
|
|
5896
|
+
).nullable(),
|
|
5885
5897
|
isRequired: yup3.boolean().required("Table requirement is required")
|
|
5886
5898
|
})
|
|
5887
5899
|
}).optional(),
|
|
@@ -6023,7 +6035,7 @@ var testerEventSchema = yup6.object().shape({
|
|
|
6023
6035
|
inviteStallholders: yup6.boolean().required("This field is required").oneOf([true], "This field is required"),
|
|
6024
6036
|
manageApplicationsAndCommunication: yup6.boolean().required("This field is required").oneOf([true], "This field is required"),
|
|
6025
6037
|
organizerExpectations: yup6.string().trim().optional(),
|
|
6026
|
-
spaceForClueMart: yup6.boolean().
|
|
6038
|
+
spaceForClueMart: yup6.boolean().optional(),
|
|
6027
6039
|
uploadStallList: yup6.boolean().required("This field is required").oneOf([true], "This field is required")
|
|
6028
6040
|
}).required("Questionary is required")
|
|
6029
6041
|
});
|