@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.
- package/dist/{auth-DKNuFwhE.d.ts → auth-B5tprOIL.d.ts} +1 -1
- package/dist/{auth-TqKVpwo1.d.mts → auth-DtPfNKc4.d.mts} +1 -1
- package/dist/{chunk-W465TNSV.mjs → chunk-2YNED2NO.mjs} +2 -1
- package/dist/{chunk-W465TNSV.mjs.map → chunk-2YNED2NO.mjs.map} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-B-g-Dv61.d.ts → global-B0WdAD-8.d.ts} +1 -1
- package/dist/{global-DvWluf-6.d.mts → global-MMBYi34A.d.mts} +1 -1
- package/dist/graphql/index.cjs +1 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +5 -3
- package/dist/graphql/index.d.ts +5 -3
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +1 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +2 -3
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{post-5WEzHfXv.d.mts → post-DZF3nYKf.d.mts} +1 -1
- package/dist/{post-D_KFXmTl.d.ts → post-DdErP7-k.d.ts} +1 -1
- package/dist/{resourceActivities-DoJUbR_I.d.ts → resourceActivities-2FaGRW-i.d.ts} +1 -1
- package/dist/{resourceActivities-DFtvysCz.d.mts → resourceActivities-CqrscA5x.d.mts} +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- 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
|
|
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
|
|
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"),
|