@timardex/cluemart-shared 1.2.59 → 1.2.61
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/{ad-DSADn76s.d.mts → ad-5KC7r-i4.d.mts} +1 -1
- package/dist/{ad-CZPQz-Bx.d.ts → ad-DDPQcDOS.d.ts} +1 -1
- package/dist/{auth-CvLyedZM.d.ts → auth-BwtjPUgO.d.ts} +1 -1
- package/dist/{auth-Cea2ytrt.d.mts → auth-DaiySFU6.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-Fgweq_ct.d.ts → global-BY8seqWN.d.ts} +4 -0
- package/dist/{global-RAEmLq2G.d.mts → global-CKf55A-q.d.mts} +4 -0
- package/dist/graphql/index.cjs +3 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +3 -2
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +5 -0
- 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 +5 -0
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole, EnumSubscriptionStatus, EnumEventDateStatus, EnumPartnerType } from './enums/index.mjs';
|
|
2
|
-
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-CKf55A-q.mjs';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole, EnumSubscriptionStatus, EnumEventDateStatus, EnumPartnerType } from './enums/index.js';
|
|
2
|
-
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-BY8seqWN.js';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-CKf55A-q.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-BY8seqWN.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -95,6 +95,7 @@ type VendorLocation = {
|
|
|
95
95
|
resourceId?: MapMultiLocation["resourceId"];
|
|
96
96
|
resourceName?: MapMultiLocation["resourceName"];
|
|
97
97
|
resourceType?: MapMultiLocation["resourceType"];
|
|
98
|
+
resourceLogo?: MapMultiLocation["resourceLogo"];
|
|
98
99
|
};
|
|
99
100
|
type VendorMenuType = {
|
|
100
101
|
description?: string | null;
|
|
@@ -109,6 +110,7 @@ interface VendorFormData extends BaseResourceTypeFormData {
|
|
|
109
110
|
corporate: boolean;
|
|
110
111
|
};
|
|
111
112
|
categories: Category[];
|
|
113
|
+
foodTruck: boolean;
|
|
112
114
|
locations?: VendorLocation[] | null;
|
|
113
115
|
multiLocation: boolean;
|
|
114
116
|
products?: VendorMenuType[] | null;
|
|
@@ -157,6 +159,7 @@ interface VendorType extends BaseResourceType {
|
|
|
157
159
|
corporate: boolean;
|
|
158
160
|
};
|
|
159
161
|
categories: VendorFormData["categories"];
|
|
162
|
+
foodTruck: boolean;
|
|
160
163
|
locations: VendorLocation[] | null;
|
|
161
164
|
multiLocation: boolean;
|
|
162
165
|
products: VendorMenuType[] | null;
|
|
@@ -276,6 +279,7 @@ type MapMultiLocation = {
|
|
|
276
279
|
resourceId?: string;
|
|
277
280
|
resourceName?: string;
|
|
278
281
|
resourceType?: EnumResourceType;
|
|
282
|
+
resourceLogo?: ResourceImageType | null;
|
|
279
283
|
};
|
|
280
284
|
interface FormField {
|
|
281
285
|
disabled?: boolean;
|
|
@@ -95,6 +95,7 @@ type VendorLocation = {
|
|
|
95
95
|
resourceId?: MapMultiLocation["resourceId"];
|
|
96
96
|
resourceName?: MapMultiLocation["resourceName"];
|
|
97
97
|
resourceType?: MapMultiLocation["resourceType"];
|
|
98
|
+
resourceLogo?: MapMultiLocation["resourceLogo"];
|
|
98
99
|
};
|
|
99
100
|
type VendorMenuType = {
|
|
100
101
|
description?: string | null;
|
|
@@ -109,6 +110,7 @@ interface VendorFormData extends BaseResourceTypeFormData {
|
|
|
109
110
|
corporate: boolean;
|
|
110
111
|
};
|
|
111
112
|
categories: Category[];
|
|
113
|
+
foodTruck: boolean;
|
|
112
114
|
locations?: VendorLocation[] | null;
|
|
113
115
|
multiLocation: boolean;
|
|
114
116
|
products?: VendorMenuType[] | null;
|
|
@@ -157,6 +159,7 @@ interface VendorType extends BaseResourceType {
|
|
|
157
159
|
corporate: boolean;
|
|
158
160
|
};
|
|
159
161
|
categories: VendorFormData["categories"];
|
|
162
|
+
foodTruck: boolean;
|
|
160
163
|
locations: VendorLocation[] | null;
|
|
161
164
|
multiLocation: boolean;
|
|
162
165
|
products: VendorMenuType[] | null;
|
|
@@ -276,6 +279,7 @@ type MapMultiLocation = {
|
|
|
276
279
|
resourceId?: string;
|
|
277
280
|
resourceName?: string;
|
|
278
281
|
resourceType?: EnumResourceType;
|
|
282
|
+
resourceLogo?: ResourceImageType | null;
|
|
279
283
|
};
|
|
280
284
|
interface FormField {
|
|
281
285
|
disabled?: boolean;
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -540,6 +540,7 @@ var VENDOR = import_client4.gql`
|
|
|
540
540
|
createdAt
|
|
541
541
|
description
|
|
542
542
|
deletedAt
|
|
543
|
+
foodTruck
|
|
543
544
|
images {
|
|
544
545
|
...ResourceImageFields
|
|
545
546
|
}
|
|
@@ -2931,8 +2932,8 @@ var useSearchPartners = (search, region) => {
|
|
|
2931
2932
|
skip: search.length < 3,
|
|
2932
2933
|
variables: { region, search }
|
|
2933
2934
|
});
|
|
2934
|
-
const
|
|
2935
|
-
return { error, loading,
|
|
2935
|
+
const partnersSearch = data?.partnersSearch;
|
|
2936
|
+
return { error, loading, partnersSearch, refetch };
|
|
2936
2937
|
};
|
|
2937
2938
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2938
2939
|
0 && (module.exports = {
|