@timardex/cluemart-shared 1.5.572 → 1.5.574

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-DH0WOTYB.d.mts → auth-BxoeKwsu.d.mts} +1 -1
  2. package/dist/{auth-CQiRtrAh.d.ts → auth-D6ctnB9f.d.ts} +1 -1
  3. package/dist/{chunk-IGDHXFQR.mjs → chunk-URVHKVF2.mjs} +5 -21
  4. package/dist/chunk-URVHKVF2.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-BbTqWv4Y.d.mts → global-Bqort4uL.d.mts} +7 -7
  8. package/dist/{global-pfQm7lSE.d.ts → global-CeAoBwoE.d.ts} +7 -7
  9. package/dist/graphql/index.cjs +4 -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 +8 -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 +8 -21
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.mts +7 -7
  23. package/dist/index.d.ts +7 -7
  24. package/dist/index.mjs +8 -21
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/{post-BH1gZOgP.d.mts → post-BfJ4F3ne.d.mts} +1 -1
  27. package/dist/{post-B2KhkTqZ.d.ts → post-ClCKAvWh.d.ts} +1 -1
  28. package/dist/{resourceActivities-nugL4NlE.d.ts → resourceActivities-BWUIjlzs.d.ts} +1 -1
  29. package/dist/{resourceActivities-BUBwaTTV.d.mts → resourceActivities-DO4FnUVq.d.mts} +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-DO4FnUVq.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-Bqort4uL.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-BfJ4F3ne.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-BWUIjlzs.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-CeAoBwoE.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-ClCKAvWh.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-URVHKVF2.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
  `;
@@ -2884,6 +2869,7 @@ var UNREGISTERED_VENDOR = import_client4.gql`
2884
2869
  fragment UnregisteredVendorFields on UnregisteredVendorType {
2885
2870
  _id
2886
2871
  categoryIds
2872
+ claimed
2887
2873
  createdAt
2888
2874
  deletedAt
2889
2875
  email
@@ -4892,8 +4878,9 @@ var defaultVendorFormValues = {
4892
4878
  };
4893
4879
  var defaultUnregisteredVendorFormValues = {
4894
4880
  categoryIds: [],
4881
+ dateTime: [],
4895
4882
  email: "",
4896
- invitations: [],
4883
+ inviterId: "",
4897
4884
  name: ""
4898
4885
  };
4899
4886
  var defaultVendorInfoFormValues = {