@timardex/cluemart-shared 1.2.90 → 1.2.91
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/{ad-ClzcYPuT.d.mts → ad-B89WhTMq.d.mts} +4 -4
- package/dist/{ad-CIaDLRVX.d.ts → ad-Dc3Cdtpm.d.ts} +4 -4
- package/dist/{chunk-66MS2SVX.mjs → chunk-VK2BLRBY.mjs} +1 -1
- package/dist/chunk-VK2BLRBY.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 +14 -14
- 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 +15 -15
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +14 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +14 -14
- package/dist/index.mjs.map +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-66MS2SVX.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -786,11 +786,11 @@ type TesterEvent = {
|
|
|
786
786
|
manageApplicationsAndCommunication: boolean;
|
|
787
787
|
completeFinalQuestionnaire: boolean;
|
|
788
788
|
/** Promotion Support */
|
|
789
|
-
allowMarketingAppearance
|
|
789
|
+
allowMarketingAppearance?: boolean;
|
|
790
790
|
/** Open Questions */
|
|
791
|
-
organizerExpectations
|
|
792
|
-
dailyCoordinationNeeds
|
|
793
|
-
interestedInCharityInitiative
|
|
791
|
+
organizerExpectations?: string;
|
|
792
|
+
dailyCoordinationNeeds?: string;
|
|
793
|
+
interestedInCharityInitiative?: boolean;
|
|
794
794
|
};
|
|
795
795
|
interface TesterFormData {
|
|
796
796
|
businessName: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -786,11 +786,11 @@ type TesterEvent = {
|
|
|
786
786
|
manageApplicationsAndCommunication: boolean;
|
|
787
787
|
completeFinalQuestionnaire: boolean;
|
|
788
788
|
/** Promotion Support */
|
|
789
|
-
allowMarketingAppearance
|
|
789
|
+
allowMarketingAppearance?: boolean;
|
|
790
790
|
/** Open Questions */
|
|
791
|
-
organizerExpectations
|
|
792
|
-
dailyCoordinationNeeds
|
|
793
|
-
interestedInCharityInitiative
|
|
791
|
+
organizerExpectations?: string;
|
|
792
|
+
dailyCoordinationNeeds?: string;
|
|
793
|
+
interestedInCharityInitiative?: boolean;
|
|
794
794
|
};
|
|
795
795
|
interface TesterFormData {
|
|
796
796
|
businessName: string;
|
package/dist/index.mjs
CHANGED
|
@@ -5473,7 +5473,7 @@ var OrganizerMarketFrequency = /* @__PURE__ */ ((OrganizerMarketFrequency2) => {
|
|
|
5473
5473
|
|
|
5474
5474
|
// src/yupSchema/tester.ts
|
|
5475
5475
|
var testerVendorSchema = yup6.object().shape({
|
|
5476
|
-
categories: categorySchema,
|
|
5476
|
+
categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
|
|
5477
5477
|
marketsAttended: yup6.array().of(
|
|
5478
5478
|
yup6.object().shape({
|
|
5479
5479
|
city: yup6.string().trim().required("City is required"),
|
|
@@ -5483,29 +5483,29 @@ var testerVendorSchema = yup6.object().shape({
|
|
|
5483
5483
|
productsOrServices: yup6.string().trim().required("Products or services description is required"),
|
|
5484
5484
|
questionary: yup6.object().shape({
|
|
5485
5485
|
appearInVideoIntroduction: yup6.boolean().optional(),
|
|
5486
|
-
applyToAtLeastOneMarket: yup6.boolean().required("
|
|
5487
|
-
completeFeedbackQuestionnaire: yup6.boolean().required("
|
|
5486
|
+
applyToAtLeastOneMarket: yup6.boolean().required("Required field"),
|
|
5487
|
+
completeFeedbackQuestionnaire: yup6.boolean().required("Required field"),
|
|
5488
5488
|
excitementAboutApp: yup6.string().trim().optional(),
|
|
5489
5489
|
sendPhotoForSocialMedia: yup6.boolean().optional(),
|
|
5490
5490
|
socialMediaFeatureReason: yup6.string().trim().optional(),
|
|
5491
5491
|
testingPeriodConcerns: yup6.string().trim().optional(),
|
|
5492
|
-
tryVisitorFeatures: yup6.boolean().required("
|
|
5493
|
-
uploadStallProfileFirstWeek: yup6.boolean().required("
|
|
5492
|
+
tryVisitorFeatures: yup6.boolean().required("Required field"),
|
|
5493
|
+
uploadStallProfileFirstWeek: yup6.boolean().required("Required field"),
|
|
5494
5494
|
usefulnessExpectations: yup6.string().trim().optional()
|
|
5495
5495
|
}),
|
|
5496
5496
|
sellingFrequency: yup6.mixed().oneOf(
|
|
5497
5497
|
Object.values(VendorSellingFrequency),
|
|
5498
5498
|
"Please select a valid selling frequency"
|
|
5499
|
-
).required("
|
|
5499
|
+
).required("Required field"),
|
|
5500
5500
|
yearlySellingApprox: yup6.number().label("Yearly Selling Approx").min(0, "Yearly selling approximate must be at least 0").integer("Yearly selling approximate must be a whole number").required("Yearly selling approximate is required").test("no-leading-zeros", "", noLeadingZeros("Yearly selling approximate"))
|
|
5501
5501
|
});
|
|
5502
5502
|
var testerEventSchema = yup6.object().shape({
|
|
5503
|
-
allowMarketingAppearance: yup6.boolean().
|
|
5504
|
-
completeFinalQuestionnaire: yup6.boolean().required("
|
|
5505
|
-
dailyCoordinationNeeds: yup6.string().trim().
|
|
5506
|
-
interestedInCharityInitiative: yup6.boolean().
|
|
5507
|
-
inviteAtLeastFiveStallholders: yup6.boolean().required("
|
|
5508
|
-
manageApplicationsAndCommunication: yup6.boolean().required("
|
|
5503
|
+
allowMarketingAppearance: yup6.boolean().optional(),
|
|
5504
|
+
completeFinalQuestionnaire: yup6.boolean().required("Required field"),
|
|
5505
|
+
dailyCoordinationNeeds: yup6.string().trim().optional(),
|
|
5506
|
+
interestedInCharityInitiative: yup6.boolean().optional(),
|
|
5507
|
+
inviteAtLeastFiveStallholders: yup6.boolean().required("Required field"),
|
|
5508
|
+
manageApplicationsAndCommunication: yup6.boolean().required("Required field"),
|
|
5509
5509
|
markets: yup6.array().of(
|
|
5510
5510
|
yup6.object().shape({
|
|
5511
5511
|
averageStallCount: yup6.number().label("Average Stall Count").min(1, "Average stall count must be at least 1").integer("Average stall count must be a whole number").required("Average stall count is required").test("no-leading-zeros", "", noLeadingZeros("Average stall count")),
|
|
@@ -5521,8 +5521,8 @@ var testerEventSchema = yup6.object().shape({
|
|
|
5521
5521
|
Object.values(OrganizedMarketCount),
|
|
5522
5522
|
"Please select a valid market count"
|
|
5523
5523
|
).required("Organized market count is required"),
|
|
5524
|
-
organizerExpectations: yup6.string().trim().
|
|
5525
|
-
registerMarketsFirstWeek: yup6.boolean().required("
|
|
5524
|
+
organizerExpectations: yup6.string().trim().optional(),
|
|
5525
|
+
registerMarketsFirstWeek: yup6.boolean().required("Required field")
|
|
5526
5526
|
});
|
|
5527
5527
|
var testerSchema = yup6.object().shape({
|
|
5528
5528
|
businessName: yup6.string().required("Business name is required"),
|