@timardex/cluemart-shared 1.2.90 → 1.2.92
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-CIaDLRVX.d.ts → ad-Dz2H7DBc.d.ts} +13 -11
- package/dist/{ad-ClzcYPuT.d.mts → ad-lpA7ovDO.d.mts} +13 -11
- package/dist/{chunk-66MS2SVX.mjs → chunk-HDGKA6GS.mjs} +1 -1
- package/dist/chunk-HDGKA6GS.mjs.map +1 -0
- package/dist/graphql/index.cjs +10 -8
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +10 -8
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +16 -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 +17 -15
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +26 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +13 -11
- package/dist/index.d.ts +13 -11
- package/dist/index.mjs +26 -22
- 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
|
@@ -780,17 +780,19 @@ type TesterEvent = {
|
|
|
780
780
|
frequency: OrganizerMarketFrequency;
|
|
781
781
|
averageStallCount: number;
|
|
782
782
|
}[];
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
783
|
+
questionary: {
|
|
784
|
+
/** Test Period Participation */
|
|
785
|
+
registerMarketsFirstWeek: boolean;
|
|
786
|
+
inviteAtLeastFiveStallholders: boolean;
|
|
787
|
+
manageApplicationsAndCommunication: boolean;
|
|
788
|
+
completeFinalQuestionnaire: boolean;
|
|
789
|
+
/** Promotion Support */
|
|
790
|
+
allowMarketingAppearance?: boolean;
|
|
791
|
+
/** Open Questions */
|
|
792
|
+
organizerExpectations?: string;
|
|
793
|
+
dailyCoordinationNeeds?: string;
|
|
794
|
+
interestedInCharityInitiative?: boolean;
|
|
795
|
+
};
|
|
794
796
|
};
|
|
795
797
|
interface TesterFormData {
|
|
796
798
|
businessName: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -780,17 +780,19 @@ type TesterEvent = {
|
|
|
780
780
|
frequency: OrganizerMarketFrequency;
|
|
781
781
|
averageStallCount: number;
|
|
782
782
|
}[];
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
783
|
+
questionary: {
|
|
784
|
+
/** Test Period Participation */
|
|
785
|
+
registerMarketsFirstWeek: boolean;
|
|
786
|
+
inviteAtLeastFiveStallholders: boolean;
|
|
787
|
+
manageApplicationsAndCommunication: boolean;
|
|
788
|
+
completeFinalQuestionnaire: boolean;
|
|
789
|
+
/** Promotion Support */
|
|
790
|
+
allowMarketingAppearance?: boolean;
|
|
791
|
+
/** Open Questions */
|
|
792
|
+
organizerExpectations?: string;
|
|
793
|
+
dailyCoordinationNeeds?: string;
|
|
794
|
+
interestedInCharityInitiative?: boolean;
|
|
795
|
+
};
|
|
794
796
|
};
|
|
795
797
|
interface TesterFormData {
|
|
796
798
|
businessName: string;
|
package/dist/index.mjs
CHANGED
|
@@ -4154,14 +4154,16 @@ var TESTER_EVENT_FIELDS_FRAGMENT = gql21`
|
|
|
4154
4154
|
frequency
|
|
4155
4155
|
averageStallCount
|
|
4156
4156
|
}
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4157
|
+
questionary {
|
|
4158
|
+
registerMarketsFirstWeek
|
|
4159
|
+
inviteAtLeastFiveStallholders
|
|
4160
|
+
manageApplicationsAndCommunication
|
|
4161
|
+
completeFinalQuestionnaire
|
|
4162
|
+
allowMarketingAppearance
|
|
4163
|
+
organizerExpectations
|
|
4164
|
+
dailyCoordinationNeeds
|
|
4165
|
+
interestedInCharityInitiative
|
|
4166
|
+
}
|
|
4165
4167
|
}
|
|
4166
4168
|
`;
|
|
4167
4169
|
var TESTER_FIELDS_FRAGMENT = gql21`
|
|
@@ -5473,7 +5475,7 @@ var OrganizerMarketFrequency = /* @__PURE__ */ ((OrganizerMarketFrequency2) => {
|
|
|
5473
5475
|
|
|
5474
5476
|
// src/yupSchema/tester.ts
|
|
5475
5477
|
var testerVendorSchema = yup6.object().shape({
|
|
5476
|
-
categories: categorySchema,
|
|
5478
|
+
categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
|
|
5477
5479
|
marketsAttended: yup6.array().of(
|
|
5478
5480
|
yup6.object().shape({
|
|
5479
5481
|
city: yup6.string().trim().required("City is required"),
|
|
@@ -5483,29 +5485,23 @@ var testerVendorSchema = yup6.object().shape({
|
|
|
5483
5485
|
productsOrServices: yup6.string().trim().required("Products or services description is required"),
|
|
5484
5486
|
questionary: yup6.object().shape({
|
|
5485
5487
|
appearInVideoIntroduction: yup6.boolean().optional(),
|
|
5486
|
-
applyToAtLeastOneMarket: yup6.boolean().required("
|
|
5487
|
-
completeFeedbackQuestionnaire: yup6.boolean().required("
|
|
5488
|
+
applyToAtLeastOneMarket: yup6.boolean().required("Required field"),
|
|
5489
|
+
completeFeedbackQuestionnaire: yup6.boolean().required("Required field"),
|
|
5488
5490
|
excitementAboutApp: yup6.string().trim().optional(),
|
|
5489
5491
|
sendPhotoForSocialMedia: yup6.boolean().optional(),
|
|
5490
5492
|
socialMediaFeatureReason: yup6.string().trim().optional(),
|
|
5491
5493
|
testingPeriodConcerns: yup6.string().trim().optional(),
|
|
5492
|
-
tryVisitorFeatures: yup6.boolean().required("
|
|
5493
|
-
uploadStallProfileFirstWeek: yup6.boolean().required("
|
|
5494
|
+
tryVisitorFeatures: yup6.boolean().required("Required field"),
|
|
5495
|
+
uploadStallProfileFirstWeek: yup6.boolean().required("Required field"),
|
|
5494
5496
|
usefulnessExpectations: yup6.string().trim().optional()
|
|
5495
5497
|
}),
|
|
5496
5498
|
sellingFrequency: yup6.mixed().oneOf(
|
|
5497
5499
|
Object.values(VendorSellingFrequency),
|
|
5498
5500
|
"Please select a valid selling frequency"
|
|
5499
|
-
).required("
|
|
5501
|
+
).required("Required field"),
|
|
5500
5502
|
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
5503
|
});
|
|
5502
5504
|
var testerEventSchema = yup6.object().shape({
|
|
5503
|
-
allowMarketingAppearance: yup6.boolean().required("Allow marketing appearance is required"),
|
|
5504
|
-
completeFinalQuestionnaire: yup6.boolean().required("Complete final questionnaire commitment is required"),
|
|
5505
|
-
dailyCoordinationNeeds: yup6.string().trim().required("Daily coordination needs is required"),
|
|
5506
|
-
interestedInCharityInitiative: yup6.boolean().required("Interest in charity initiative is required"),
|
|
5507
|
-
inviteAtLeastFiveStallholders: yup6.boolean().required("Invite at least five stallholders commitment is required"),
|
|
5508
|
-
manageApplicationsAndCommunication: yup6.boolean().required("Manage applications and communication commitment is required"),
|
|
5509
5505
|
markets: yup6.array().of(
|
|
5510
5506
|
yup6.object().shape({
|
|
5511
5507
|
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 +5517,16 @@ var testerEventSchema = yup6.object().shape({
|
|
|
5521
5517
|
Object.values(OrganizedMarketCount),
|
|
5522
5518
|
"Please select a valid market count"
|
|
5523
5519
|
).required("Organized market count is required"),
|
|
5524
|
-
|
|
5525
|
-
|
|
5520
|
+
questionary: yup6.object().shape({
|
|
5521
|
+
allowMarketingAppearance: yup6.boolean().optional(),
|
|
5522
|
+
completeFinalQuestionnaire: yup6.boolean().required("Required field"),
|
|
5523
|
+
dailyCoordinationNeeds: yup6.string().trim().optional(),
|
|
5524
|
+
interestedInCharityInitiative: yup6.boolean().optional(),
|
|
5525
|
+
inviteAtLeastFiveStallholders: yup6.boolean().required("Required field"),
|
|
5526
|
+
manageApplicationsAndCommunication: yup6.boolean().required("Required field"),
|
|
5527
|
+
organizerExpectations: yup6.string().trim().optional(),
|
|
5528
|
+
registerMarketsFirstWeek: yup6.boolean().required("Required field")
|
|
5529
|
+
})
|
|
5526
5530
|
});
|
|
5527
5531
|
var testerSchema = yup6.object().shape({
|
|
5528
5532
|
businessName: yup6.string().required("Business name is required"),
|