@timardex/cluemart-shared 1.5.572 → 1.5.573

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.
Files changed (35) hide show
  1. package/dist/{auth-CQiRtrAh.d.ts → auth-BAK6hzuj.d.ts} +1 -1
  2. package/dist/{auth-DH0WOTYB.d.mts → auth-DHeYIMl3.d.mts} +1 -1
  3. package/dist/{chunk-IGDHXFQR.mjs → chunk-UJVYNDK3.mjs} +4 -21
  4. package/dist/chunk-UJVYNDK3.mjs.map +1 -0
  5. package/dist/formFields/index.d.mts +1 -1
  6. package/dist/formFields/index.d.ts +1 -1
  7. package/dist/{global-pfQm7lSE.d.ts → global-CT4juY_c.d.ts} +6 -7
  8. package/dist/{global-BbTqWv4Y.d.mts → global-DhkJq6hP.d.mts} +6 -7
  9. package/dist/graphql/index.cjs +3 -20
  10. package/dist/graphql/index.cjs.map +1 -1
  11. package/dist/graphql/index.d.mts +3 -3
  12. package/dist/graphql/index.d.ts +3 -3
  13. package/dist/graphql/index.mjs +1 -1
  14. package/dist/hooks/index.cjs +7 -21
  15. package/dist/hooks/index.cjs.map +1 -1
  16. package/dist/hooks/index.d.mts +3 -3
  17. package/dist/hooks/index.d.ts +3 -3
  18. package/dist/hooks/index.mjs +5 -2
  19. package/dist/hooks/index.mjs.map +1 -1
  20. package/dist/index.cjs +7 -21
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.mts +6 -7
  23. package/dist/index.d.ts +6 -7
  24. package/dist/index.mjs +7 -21
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/{post-BH1gZOgP.d.mts → post-BhG_UedK.d.mts} +1 -1
  27. package/dist/{post-B2KhkTqZ.d.ts → post-F-7U_7E9.d.ts} +1 -1
  28. package/dist/{resourceActivities-BUBwaTTV.d.mts → resourceActivities-BZLCR3oX.d.mts} +1 -1
  29. package/dist/{resourceActivities-nugL4NlE.d.ts → resourceActivities-MWsOSFcU.d.ts} +1 -1
  30. package/dist/types/index.d.mts +5 -5
  31. package/dist/types/index.d.ts +5 -5
  32. package/dist/utils/index.d.mts +1 -1
  33. package/dist/utils/index.d.ts +1 -1
  34. package/package.json +1 -1
  35. package/dist/chunk-IGDHXFQR.mjs.map +0 -1
@@ -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-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-BH1gZOgP.mjs';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BZLCR3oX.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-DhkJq6hP.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-BhG_UedK.mjs';
6
6
  import 'react-hook-form';
7
7
  import '../images/index.mjs';
8
8
  import '../dailyClue-BnlktK68.mjs';
@@ -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-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-B2KhkTqZ.js';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-MWsOSFcU.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-CT4juY_c.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-F-7U_7E9.js';
6
6
  import 'react-hook-form';
7
7
  import '../images/index.js';
8
8
  import '../dailyClue-BnlktK68.js';
@@ -133,7 +133,7 @@ import {
133
133
  useUpdateVendor,
134
134
  useUpdateVendorInfo,
135
135
  useValidateVerificationToken
136
- } from "../chunk-IGDHXFQR.mjs";
136
+ } from "../chunk-UJVYNDK3.mjs";
137
137
  import "../chunk-ZR4TGWTS.mjs";
138
138
  export {
139
139
  useAddParticipantToChat,
@@ -738,7 +738,9 @@ var vendorSchema = globalResourceSchema.shape({
738
738
  });
739
739
  var unregisteredVendorSchema = yup3.object().shape({
740
740
  categoryIds: yup3.array().of(yup3.string().defined()).min(1, "Category list must contain at least one item").required("Categories are required"),
741
+ dateTime: yup3.array().of(dateTimeSchema).min(1, "DateTime list must contain at least one item").required("DateTime is required"),
741
742
  email: emailOptionalSchema,
743
+ inviterId: yup3.string().required("Inviter ID is required"),
742
744
  name: yup3.string().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required")
743
745
  });
744
746
  var vendorInfoSchema = yup3.object().shape({
@@ -2528,21 +2530,6 @@ var EVENT_LIST_ITEM = import_client2.gql`
2528
2530
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
2529
2531
  ${RELATION_DATES_FRAGMENT}
2530
2532
  `;
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
- `;
2546
2533
 
2547
2534
  // src/graphql/queries/event.ts
2548
2535
  var EVENT_INFO = import_client3.gql`
@@ -2871,12 +2858,10 @@ var VENDOR_INFO = import_client4.gql`
2871
2858
  `;
2872
2859
  var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = import_client4.gql`
2873
2860
  fragment UnregisteredVendorInvitationFields on UnregisteredVendorInvitationType {
2874
- invitations {
2875
- dateTime {
2876
- ...DateTimeFields
2877
- }
2878
- eventId
2861
+ dateTime {
2862
+ ...DateTimeFields
2879
2863
  }
2864
+ inviterId
2880
2865
  }
2881
2866
  ${DATETIME_FIELDS_FRAGMENT}
2882
2867
  `;
@@ -4892,8 +4877,9 @@ var defaultVendorFormValues = {
4892
4877
  };
4893
4878
  var defaultUnregisteredVendorFormValues = {
4894
4879
  categoryIds: [],
4880
+ dateTime: [],
4895
4881
  email: "",
4896
- invitations: [],
4882
+ inviterId: "",
4897
4883
  name: ""
4898
4884
  };
4899
4885
  var defaultVendorInfoFormValues = {