@timardex/cluemart-shared 1.4.74 → 1.4.76

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 (34) hide show
  1. package/dist/{auth-DKNuFwhE.d.ts → auth-B5tprOIL.d.ts} +1 -1
  2. package/dist/{auth-TqKVpwo1.d.mts → auth-DtPfNKc4.d.mts} +1 -1
  3. package/dist/{chunk-W465TNSV.mjs → chunk-2YNED2NO.mjs} +2 -1
  4. package/dist/{chunk-W465TNSV.mjs.map → chunk-2YNED2NO.mjs.map} +1 -1
  5. package/dist/formFields/index.d.mts +1 -1
  6. package/dist/formFields/index.d.ts +1 -1
  7. package/dist/{global-B-g-Dv61.d.ts → global-B0WdAD-8.d.ts} +1 -1
  8. package/dist/{global-DvWluf-6.d.mts → global-MMBYi34A.d.mts} +1 -1
  9. package/dist/graphql/index.cjs +1 -0
  10. package/dist/graphql/index.cjs.map +1 -1
  11. package/dist/graphql/index.d.mts +5 -3
  12. package/dist/graphql/index.d.ts +5 -3
  13. package/dist/graphql/index.mjs +1 -1
  14. package/dist/hooks/index.cjs +1 -2
  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 +2 -3
  19. package/dist/hooks/index.mjs.map +1 -1
  20. package/dist/index.cjs +2 -2
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.mts +3 -1
  23. package/dist/index.d.ts +3 -1
  24. package/dist/index.mjs +2 -2
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/{post-5WEzHfXv.d.mts → post-DZF3nYKf.d.mts} +1 -1
  27. package/dist/{post-D_KFXmTl.d.ts → post-DdErP7-k.d.ts} +1 -1
  28. package/dist/{resourceActivities-DoJUbR_I.d.ts → resourceActivities-2FaGRW-i.d.ts} +1 -1
  29. package/dist/{resourceActivities-DFtvysCz.d.mts → resourceActivities-CqrscA5x.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
package/dist/index.d.mts CHANGED
@@ -309,7 +309,7 @@ type VendorProductList = {
309
309
  name: string;
310
310
  price: number;
311
311
  priceUnit: string;
312
- productGroups: string[];
312
+ productGroups?: string[] | null;
313
313
  };
314
314
  interface VendorFormData extends BaseResourceTypeFormData {
315
315
  availability?: {
@@ -1812,6 +1812,7 @@ declare const useGetUserActivities: () => {
1812
1812
  userActivities: {
1813
1813
  favourites: {
1814
1814
  events: EventListItemType[];
1815
+ partners: PartnerType[];
1815
1816
  vendors: VendorType[];
1816
1817
  };
1817
1818
  going: {
@@ -1828,6 +1829,7 @@ declare const useGetUserActivities: () => {
1828
1829
  userActivities: {
1829
1830
  favourites: {
1830
1831
  events: EventListItemType[];
1832
+ partners: PartnerType[];
1831
1833
  vendors: VendorType[];
1832
1834
  };
1833
1835
  going: {
package/dist/index.d.ts CHANGED
@@ -309,7 +309,7 @@ type VendorProductList = {
309
309
  name: string;
310
310
  price: number;
311
311
  priceUnit: string;
312
- productGroups: string[];
312
+ productGroups?: string[] | null;
313
313
  };
314
314
  interface VendorFormData extends BaseResourceTypeFormData {
315
315
  availability?: {
@@ -1812,6 +1812,7 @@ declare const useGetUserActivities: () => {
1812
1812
  userActivities: {
1813
1813
  favourites: {
1814
1814
  events: EventListItemType[];
1815
+ partners: PartnerType[];
1815
1816
  vendors: VendorType[];
1816
1817
  };
1817
1818
  going: {
@@ -1828,6 +1829,7 @@ declare const useGetUserActivities: () => {
1828
1829
  userActivities: {
1829
1830
  favourites: {
1830
1831
  events: EventListItemType[];
1832
+ partners: PartnerType[];
1831
1833
  vendors: VendorType[];
1832
1834
  };
1833
1835
  going: {
package/dist/index.mjs CHANGED
@@ -4921,6 +4921,7 @@ var useGetUserActivities = () => {
4921
4921
  const userActivities = {
4922
4922
  favourites: {
4923
4923
  events: data?.userActivities.favourites.events || [],
4924
+ partners: data?.userActivities.favourites.partners || [],
4924
4925
  vendors: data?.userActivities.favourites.vendors || []
4925
4926
  },
4926
4927
  going: {
@@ -6079,8 +6080,7 @@ var vendorMenuSchema = yup3.object({
6079
6080
  description: yup3.string().nullable().optional(),
6080
6081
  name: yup3.string().nullable().required("Product name is required"),
6081
6082
  price: yup3.number().transform((v, o) => o === "" ? null : v).min(1, "Product price must be greater than 0").required("Product price is required"),
6082
- priceUnit: yup3.string().required("Product unit is required"),
6083
- productGroups: yup3.array().of(yup3.string().defined()).min(1, "Product groups are required").required("Product groups are required")
6083
+ priceUnit: yup3.string().required("Product unit is required")
6084
6084
  });
6085
6085
  var vendorSchema = globalResourceSchema.shape({
6086
6086
  categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),