@timardex/cluemart-shared 1.5.569 → 1.5.570
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-BDvPkMFk.d.ts → auth-CQiRtrAh.d.ts} +1 -1
- package/dist/{auth-DBhUhOg-.d.mts → auth-DH0WOTYB.d.mts} +1 -1
- package/dist/{chunk-LNHT4D45.mjs → chunk-IGDHXFQR.mjs} +35 -14
- package/dist/chunk-IGDHXFQR.mjs.map +1 -0
- package/dist/{chunk-J7JHBSR7.mjs → chunk-VA5YN2K3.mjs} +13 -13
- package/dist/chunk-VA5YN2K3.mjs.map +1 -0
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-3liXCxkc.d.mts → global-BbTqWv4Y.d.mts} +9 -10
- package/dist/{global-BebbAtVP.d.ts → global-pfQm7lSE.d.ts} +9 -10
- package/dist/graphql/index.cjs +34 -13
- 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 +1 -1
- package/dist/hooks/index.cjs +40 -28
- 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 +8 -17
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +52 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +15 -10
- package/dist/index.d.ts +15 -10
- package/dist/index.mjs +52 -40
- package/dist/index.mjs.map +1 -1
- package/dist/{post-CSzn0CyV.d.mts → post-CQ4g94F3.d.mts} +8 -2
- package/dist/{post-HPDnvpBB.d.ts → post-CTbj6AEb.d.ts} +8 -2
- package/dist/{resourceActivities-Bmt-2ItD.d.mts → resourceActivities-BUBwaTTV.d.mts} +1 -1
- package/dist/{resourceActivities-2dcCvRIM.d.ts → resourceActivities-nugL4NlE.d.ts} +1 -1
- package/dist/theme/index.cjs +12 -12
- package/dist/theme/index.cjs.map +1 -1
- package/dist/theme/index.mjs +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-J7JHBSR7.mjs.map +0 -1
- package/dist/chunk-LNHT4D45.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
3
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BUBwaTTV.mjs';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-BbTqWv4Y.mjs';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-CQ4g94F3.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import '../images/index.mjs';
|
|
8
8
|
import '../dailyClue-BnlktK68.mjs';
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.js';
|
|
3
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-nugL4NlE.js';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-pfQm7lSE.js';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-CTbj6AEb.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import '../images/index.js';
|
|
8
8
|
import '../dailyClue-BnlktK68.js';
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -737,17 +737,9 @@ var vendorSchema = globalResourceSchema.shape({
|
|
|
737
737
|
vendorType: yup3.mixed().oneOf(Object.values(EnumVendorType)).required("Please select a Vendor type")
|
|
738
738
|
});
|
|
739
739
|
var unregisteredVendorSchema = yup3.object().shape({
|
|
740
|
-
|
|
741
|
-
email:
|
|
742
|
-
|
|
743
|
-
yup3.object({
|
|
744
|
-
dateTime: yup3.array().of(dateTimeSchema).required("DateTime is required"),
|
|
745
|
-
eventId: yup3.string().required("Event ID is required"),
|
|
746
|
-
location: locationSchema
|
|
747
|
-
})
|
|
748
|
-
).nullable().default(null),
|
|
749
|
-
name: yup3.string().label("Name").trim().min(3).max(40).required("Name is required"),
|
|
750
|
-
region: yup3.string().label("Region").required("Region is required")
|
|
740
|
+
categoryIds: yup3.array().of(yup3.string().defined()).min(1, "Category list must contain at least one item").required("Categories are required"),
|
|
741
|
+
email: emailOptionalSchema,
|
|
742
|
+
name: yup3.string().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required")
|
|
751
743
|
});
|
|
752
744
|
var vendorInfoSchema = yup3.object().shape({
|
|
753
745
|
product: yup3.object().shape({
|
|
@@ -2536,6 +2528,21 @@ var EVENT_LIST_ITEM = import_client2.gql`
|
|
|
2536
2528
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
2537
2529
|
${RELATION_DATES_FRAGMENT}
|
|
2538
2530
|
`;
|
|
2531
|
+
var UNREGISTERED_VENDOR_LIST_ITEM_FIELDS_FRAGMENT = import_client2.gql`
|
|
2532
|
+
fragment UnregisteredVendorListItemFields on UnregisteredVendorListItemType {
|
|
2533
|
+
_id
|
|
2534
|
+
categoryIds
|
|
2535
|
+
email
|
|
2536
|
+
invitations {
|
|
2537
|
+
dateTime {
|
|
2538
|
+
...DateTimeFields
|
|
2539
|
+
}
|
|
2540
|
+
eventId
|
|
2541
|
+
}
|
|
2542
|
+
name
|
|
2543
|
+
}
|
|
2544
|
+
${DATETIME_FIELDS_FRAGMENT}
|
|
2545
|
+
`;
|
|
2539
2546
|
|
|
2540
2547
|
// src/graphql/queries/event.ts
|
|
2541
2548
|
var EVENT_INFO = import_client3.gql`
|
|
@@ -2626,10 +2633,11 @@ var EVENT = import_client3.gql`
|
|
|
2626
2633
|
}
|
|
2627
2634
|
rating
|
|
2628
2635
|
reviewCount
|
|
2636
|
+
rainOrShine
|
|
2637
|
+
unregisteredVendorIds
|
|
2629
2638
|
socialMedia {
|
|
2630
2639
|
...SocialMediaFields
|
|
2631
2640
|
}
|
|
2632
|
-
rainOrShine
|
|
2633
2641
|
tags
|
|
2634
2642
|
termsAgreement {
|
|
2635
2643
|
...TermsAgreementFields
|
|
@@ -2863,23 +2871,19 @@ var VENDOR_INFO = import_client4.gql`
|
|
|
2863
2871
|
`;
|
|
2864
2872
|
var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = import_client4.gql`
|
|
2865
2873
|
fragment UnregisteredVendorInvitationFields on UnregisteredVendorInvitationType {
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
...LocationFields
|
|
2874
|
+
invitations {
|
|
2875
|
+
dateTime {
|
|
2876
|
+
...DateTimeFields
|
|
2877
|
+
}
|
|
2878
|
+
eventId
|
|
2872
2879
|
}
|
|
2873
2880
|
}
|
|
2874
2881
|
${DATETIME_FIELDS_FRAGMENT}
|
|
2875
|
-
${LOCATION_FIELDS_FRAGMENT}
|
|
2876
2882
|
`;
|
|
2877
2883
|
var UNREGISTERED_VENDOR = import_client4.gql`
|
|
2878
2884
|
fragment UnregisteredVendorFields on UnregisteredVendorType {
|
|
2879
2885
|
_id
|
|
2880
|
-
|
|
2881
|
-
...CategoryFields
|
|
2882
|
-
}
|
|
2886
|
+
categoryIds
|
|
2883
2887
|
createdAt
|
|
2884
2888
|
deletedAt
|
|
2885
2889
|
email
|
|
@@ -2887,10 +2891,8 @@ var UNREGISTERED_VENDOR = import_client4.gql`
|
|
|
2887
2891
|
...UnregisteredVendorInvitationFields
|
|
2888
2892
|
}
|
|
2889
2893
|
name
|
|
2890
|
-
region
|
|
2891
2894
|
updatedAt
|
|
2892
2895
|
}
|
|
2893
|
-
${CATEGORY_FIELDS_FRAGMENT}
|
|
2894
2896
|
${UNREGISTERED_VENDOR_INVITATION_FRAGMENT}
|
|
2895
2897
|
`;
|
|
2896
2898
|
var GET_VENDORS = import_client4.gql`
|
|
@@ -4562,10 +4564,20 @@ var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client67.gql`
|
|
|
4562
4564
|
}
|
|
4563
4565
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
4564
4566
|
`;
|
|
4567
|
+
var SCHOOL_CAMPAIGN_FIELDS_FRAGMENT = import_client67.gql`
|
|
4568
|
+
fragment SchoolCampaignFields on SchoolCampaignType {
|
|
4569
|
+
endDate
|
|
4570
|
+
name
|
|
4571
|
+
startDate
|
|
4572
|
+
}
|
|
4573
|
+
`;
|
|
4565
4574
|
var SCHOOL = import_client67.gql`
|
|
4566
4575
|
fragment SchoolFields on SchoolType {
|
|
4567
4576
|
_id
|
|
4568
4577
|
active
|
|
4578
|
+
campaigns {
|
|
4579
|
+
...SchoolCampaignFields
|
|
4580
|
+
}
|
|
4569
4581
|
contactDetails {
|
|
4570
4582
|
...ContactDetailsFields
|
|
4571
4583
|
}
|
|
@@ -4600,6 +4612,7 @@ var SCHOOL = import_client67.gql`
|
|
|
4600
4612
|
${CONTACT_DETAILS_FIELDS_FRAGMENT}
|
|
4601
4613
|
${TERMS_AGREEMENT_FIELDS_FRAGMENT}
|
|
4602
4614
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
4615
|
+
${SCHOOL_CAMPAIGN_FIELDS_FRAGMENT}
|
|
4603
4616
|
`;
|
|
4604
4617
|
var GET_SCHOOL = import_client67.gql`
|
|
4605
4618
|
query getSchool($_id: ID!) {
|
|
@@ -4878,11 +4891,10 @@ var defaultVendorFormValues = {
|
|
|
4878
4891
|
vendorType: "Stallholder" /* STALLHOLDER */
|
|
4879
4892
|
};
|
|
4880
4893
|
var defaultUnregisteredVendorFormValues = {
|
|
4881
|
-
|
|
4894
|
+
categoryIds: [],
|
|
4882
4895
|
email: "",
|
|
4883
|
-
invitations:
|
|
4884
|
-
name: ""
|
|
4885
|
-
region: ""
|
|
4896
|
+
invitations: [],
|
|
4897
|
+
name: ""
|
|
4886
4898
|
};
|
|
4887
4899
|
var defaultVendorInfoFormValues = {
|
|
4888
4900
|
compliance: { foodBeverageLicense: false, liabilityInsurance: false },
|