@timardex/cluemart-shared 1.2.49 → 1.2.50

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 (45) hide show
  1. package/dist/{ad-DPP5n_ZS.d.mts → ad-BO5cMy3b.d.mts} +4 -4
  2. package/dist/{ad-BBJMdfCl.d.ts → ad-Dcmq74_b.d.ts} +4 -4
  3. package/dist/{auth-CQPRj4DB.d.mts → auth-D636FFnJ.d.mts} +1 -1
  4. package/dist/{auth-OLWCR6Zr.d.ts → auth-D6Rg-cEc.d.ts} +1 -1
  5. package/dist/{chunk-WNRV4DSZ.mjs → chunk-S6RE75SK.mjs} +3 -3
  6. package/dist/chunk-S6RE75SK.mjs.map +1 -0
  7. package/dist/{chunk-HFYQRL77.mjs → chunk-VYFOKMRP.mjs} +2 -2
  8. package/dist/enums/index.cjs +2 -2
  9. package/dist/enums/index.cjs.map +1 -1
  10. package/dist/enums/index.d.mts +2 -2
  11. package/dist/enums/index.d.ts +2 -2
  12. package/dist/enums/index.mjs +1 -1
  13. package/dist/formFields/index.cjs.map +1 -1
  14. package/dist/formFields/index.d.mts +1 -1
  15. package/dist/formFields/index.d.ts +1 -1
  16. package/dist/formFields/index.mjs +2 -2
  17. package/dist/{global-qg1lwtYo.d.mts → global-Czf4z7aN.d.mts} +3 -3
  18. package/dist/{global-Be5v6emI.d.ts → global-dQyePynY.d.ts} +3 -3
  19. package/dist/graphql/index.cjs +14 -14
  20. package/dist/graphql/index.cjs.map +1 -1
  21. package/dist/graphql/index.d.mts +2 -2
  22. package/dist/graphql/index.d.ts +2 -2
  23. package/dist/graphql/index.mjs +15 -15
  24. package/dist/graphql/index.mjs.map +1 -1
  25. package/dist/hooks/index.cjs +7 -7
  26. package/dist/hooks/index.cjs.map +1 -1
  27. package/dist/hooks/index.d.mts +3 -3
  28. package/dist/hooks/index.d.ts +3 -3
  29. package/dist/hooks/index.mjs +9 -9
  30. package/dist/hooks/index.mjs.map +1 -1
  31. package/dist/index.cjs +23 -23
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.mts +7 -7
  34. package/dist/index.d.ts +7 -7
  35. package/dist/index.mjs +23 -23
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/types/index.d.mts +3 -3
  38. package/dist/types/index.d.ts +3 -3
  39. package/dist/utils/index.cjs.map +1 -1
  40. package/dist/utils/index.d.mts +1 -1
  41. package/dist/utils/index.d.ts +1 -1
  42. package/dist/utils/index.mjs +2 -2
  43. package/package.json +1 -1
  44. package/dist/chunk-WNRV4DSZ.mjs.map +0 -1
  45. /package/dist/{chunk-HFYQRL77.mjs.map → chunk-VYFOKMRP.mjs.map} +0 -0
@@ -445,7 +445,7 @@ var globalResourceSchema = yup.object().shape({
445
445
  name: yup.string().label("Name").trim().min(3).max(40).required("Name is required"),
446
446
  region: yup.string().label("Region").required("Region is required"),
447
447
  socialMedia: yup.array().of(socialMediaSchema).nullable().optional(),
448
- partners: yup.array().of(
448
+ associates: yup.array().of(
449
449
  yup.object().shape({
450
450
  email: emailRequiredSchema,
451
451
  resourceId: yup.string().required(),
@@ -740,6 +740,7 @@ var adSchema = yup7.object().shape({
740
740
  // src/hooks/utils.ts
741
741
  var globalDefaultValues = {
742
742
  active: false,
743
+ associates: null,
743
744
  contactDetails: {
744
745
  email: null,
745
746
  landlinePhone: null,
@@ -759,7 +760,6 @@ var globalDefaultValues = {
759
760
  logo: null,
760
761
  logoUpload: null,
761
762
  name: "",
762
- partners: null,
763
763
  promoCodes: [],
764
764
  region: "",
765
765
  socialMedia: []
@@ -832,6 +832,7 @@ function mapBaseResourceTypeToFormData(data) {
832
832
  return {
833
833
  _id: data._id,
834
834
  active: data.active,
835
+ associates: data.associates,
835
836
  contactDetails: data.contactDetails,
836
837
  cover: data.cover,
837
838
  coverUpload: data.coverUpload,
@@ -842,7 +843,6 @@ function mapBaseResourceTypeToFormData(data) {
842
843
  logoUpload: data.logoUpload,
843
844
  name: data.name,
844
845
  owner: data.owner,
845
- partners: data.partners,
846
846
  promoCodes: data.promoCodes,
847
847
  region: data.region,
848
848
  socialMedia: data.socialMedia,
@@ -882,6 +882,7 @@ function useVendorForm(data) {
882
882
  const {
883
883
  _id,
884
884
  active,
885
+ associates,
885
886
  availability,
886
887
  categories,
887
888
  cover,
@@ -895,7 +896,6 @@ function useVendorForm(data) {
895
896
  multiLocation,
896
897
  name,
897
898
  owner,
898
- partners,
899
899
  products,
900
900
  promoCodes,
901
901
  region,
@@ -908,6 +908,7 @@ function useVendorForm(data) {
908
908
  fields: {
909
909
  _id,
910
910
  active,
911
+ associates,
911
912
  availability,
912
913
  categories,
913
914
  cover,
@@ -921,7 +922,6 @@ function useVendorForm(data) {
921
922
  multiLocation,
922
923
  name,
923
924
  owner,
924
- partners,
925
925
  products,
926
926
  promoCodes,
927
927
  region,
@@ -1036,6 +1036,7 @@ function useEventForm(data) {
1036
1036
  const {
1037
1037
  _id,
1038
1038
  active,
1039
+ associates,
1039
1040
  cover,
1040
1041
  coverUpload,
1041
1042
  dateTime,
@@ -1049,7 +1050,6 @@ function useEventForm(data) {
1049
1050
  name,
1050
1051
  nzbn,
1051
1052
  owner,
1052
- partners,
1053
1053
  promoCodes,
1054
1054
  provider,
1055
1055
  rainOrShine,
@@ -1063,6 +1063,7 @@ function useEventForm(data) {
1063
1063
  fields: {
1064
1064
  _id,
1065
1065
  active,
1066
+ associates,
1066
1067
  cover,
1067
1068
  coverUpload,
1068
1069
  dateTime,
@@ -1076,7 +1077,6 @@ function useEventForm(data) {
1076
1077
  name,
1077
1078
  nzbn,
1078
1079
  owner,
1079
- partners,
1080
1080
  promoCodes,
1081
1081
  provider,
1082
1082
  rainOrShine,