@timardex/cluemart-shared 1.5.571 → 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 +8 -22
  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 +6 -3
  19. package/dist/hooks/index.mjs.map +1 -1
  20. package/dist/index.cjs +8 -22
  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 +8 -22
  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
package/dist/index.cjs CHANGED
@@ -3085,21 +3085,6 @@ var EVENT_LIST_ITEM = import_client2.gql`
3085
3085
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
3086
3086
  ${RELATION_DATES_FRAGMENT}
3087
3087
  `;
3088
- var UNREGISTERED_VENDOR_LIST_ITEM_FIELDS_FRAGMENT = import_client2.gql`
3089
- fragment UnregisteredVendorListItemFields on UnregisteredVendorListItemType {
3090
- _id
3091
- categoryIds
3092
- email
3093
- invitations {
3094
- dateTime {
3095
- ...DateTimeFields
3096
- }
3097
- eventId
3098
- }
3099
- name
3100
- }
3101
- ${DATETIME_FIELDS_FRAGMENT}
3102
- `;
3103
3088
 
3104
3089
  // src/graphql/queries/event.ts
3105
3090
  var EVENT_INFO = import_client3.gql`
@@ -3428,12 +3413,10 @@ var VENDOR_INFO = import_client4.gql`
3428
3413
  `;
3429
3414
  var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = import_client4.gql`
3430
3415
  fragment UnregisteredVendorInvitationFields on UnregisteredVendorInvitationType {
3431
- invitations {
3432
- dateTime {
3433
- ...DateTimeFields
3434
- }
3435
- eventId
3416
+ dateTime {
3417
+ ...DateTimeFields
3436
3418
  }
3419
+ inviterId
3437
3420
  }
3438
3421
  ${DATETIME_FIELDS_FRAGMENT}
3439
3422
  `;
@@ -6989,7 +6972,7 @@ var stallTypesSchema = yup.object({
6989
6972
  "",
6990
6973
  noLeadingZeros("Stall price", { allowDecimal: true })
6991
6974
  ),
6992
- stallCapacity: yup.number().label("Stall Capacity").typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
6975
+ stallCapacity: yup.number().label("Stall Capacity").typeError("Stall capacity must be a number").min(0, "Stall capacity cannot be negative").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
6993
6976
  });
6994
6977
  var dateTimeWithPriceSchema = dateTimeSchema.shape({
6995
6978
  stallTypes: yup.array().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
@@ -7161,7 +7144,9 @@ var vendorSchema = globalResourceSchema.shape({
7161
7144
  });
7162
7145
  var unregisteredVendorSchema = yup3.object().shape({
7163
7146
  categoryIds: yup3.array().of(yup3.string().defined()).min(1, "Category list must contain at least one item").required("Categories are required"),
7147
+ dateTime: yup3.array().of(dateTimeSchema).min(1, "DateTime list must contain at least one item").required("DateTime is required"),
7164
7148
  email: emailOptionalSchema,
7149
+ inviterId: yup3.string().required("Inviter ID is required"),
7165
7150
  name: yup3.string().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required")
7166
7151
  });
7167
7152
  var vendorInfoSchema = yup3.object().shape({
@@ -7513,8 +7498,9 @@ var defaultVendorFormValues = {
7513
7498
  };
7514
7499
  var defaultUnregisteredVendorFormValues = {
7515
7500
  categoryIds: [],
7501
+ dateTime: [],
7516
7502
  email: "",
7517
- invitations: [],
7503
+ inviterId: "",
7518
7504
  name: ""
7519
7505
  };
7520
7506
  var defaultVendorInfoFormValues = {