@timardex/cluemart-shared 1.2.6 → 1.2.8
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-AfM4Q2Zl.d.ts → auth-Cp4zKr5d.d.ts} +6 -8
- package/dist/{auth-NEJeIZp5.d.mts → auth-DNveddIQ.d.mts} +6 -8
- package/dist/{contactUs-BTRh2D7-.d.mts → contactUs-D4YMyStC.d.mts} +1 -1
- package/dist/{contactUs-OR-5Mkkg.d.ts → contactUs-gQtGXo7i.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-Clh5l5eo.d.ts → global-B42Tds9R.d.ts} +10 -11
- package/dist/{global-CNiNcYkF.d.mts → global-B87BDXpD.d.mts} +10 -11
- package/dist/graphql/index.cjs +22 -10
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/graphql/index.mjs +22 -10
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +42 -65
- 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 +42 -65
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +64 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +13 -16
- package/dist/index.d.ts +13 -16
- package/dist/index.mjs +64 -75
- 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 } from './enums/index.js';
|
|
2
|
-
import { C as Category,
|
|
2
|
+
import { C as Category, w as CreateFormData, o as ResourceImageType, P as PartnerType, p as SocialMediaType } from './global-B42Tds9R.js';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -55,10 +55,6 @@ interface UserType {
|
|
|
55
55
|
platform: EnumOSPlatform | null;
|
|
56
56
|
preferredRegion: string;
|
|
57
57
|
partners?: PartnerType[] | null;
|
|
58
|
-
refreshTokenExpiry: {
|
|
59
|
-
token: string;
|
|
60
|
-
expiresAt: string;
|
|
61
|
-
};
|
|
62
58
|
refreshToken: string | null;
|
|
63
59
|
role: EnumUserRole;
|
|
64
60
|
termsAgreement?: TermsAgreement | null;
|
|
@@ -113,7 +109,7 @@ interface AdType extends AdFormData {
|
|
|
113
109
|
updatedAt: Date;
|
|
114
110
|
}
|
|
115
111
|
|
|
116
|
-
type
|
|
112
|
+
type DeviceInfo = {
|
|
117
113
|
appBuildNumber: string;
|
|
118
114
|
appId: string;
|
|
119
115
|
appVersion: string;
|
|
@@ -124,9 +120,11 @@ type TermsAgreement = {
|
|
|
124
120
|
modelName: string;
|
|
125
121
|
osName: string;
|
|
126
122
|
osVersion: string;
|
|
127
|
-
termVersion: string;
|
|
128
123
|
timestamp: string;
|
|
129
124
|
};
|
|
125
|
+
type TermsAgreement = DeviceInfo & {
|
|
126
|
+
termVersion: string;
|
|
127
|
+
};
|
|
130
128
|
type LoginFormData = {
|
|
131
129
|
email: string;
|
|
132
130
|
isAdminPage?: boolean;
|
|
@@ -160,4 +158,4 @@ type ValidateVerificationTokenFormData = {
|
|
|
160
158
|
};
|
|
161
159
|
type CreateValidateVerificationTokenFormData = CreateFormData<ValidateVerificationTokenFormData>;
|
|
162
160
|
|
|
163
|
-
export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type LoginFormData as L, type RegisterFormData as R, type TesterType as T, type UserType as U, type ValidateVerificationTokenFormData as V, type UserFormData as a, type CreateLoginFormData as b, type CreateRegisterFormData as c, type CreateRequestPasswordResetFormData as d, type CreateValidateVerificationTokenFormData as e, type CreateResetPasswordFormData as f, type TestersFormData as g, type CreateTestersFormData as h, type AdFormData as i, type CreateAdFormData as j, type TermsAgreement as k, type RequestPasswordResetFormData as l, type ResetPasswordFormData as m, EnumAdShowOn as n, EnumAdType as o, EnumAdStyle as p };
|
|
161
|
+
export { type AdType as A, type CreateUserFormData as C, type DeviceInfo as D, EnumAdStatus as E, type LoginFormData as L, type RegisterFormData as R, type TesterType as T, type UserType as U, type ValidateVerificationTokenFormData as V, type UserFormData as a, type CreateLoginFormData as b, type CreateRegisterFormData as c, type CreateRequestPasswordResetFormData as d, type CreateValidateVerificationTokenFormData as e, type CreateResetPasswordFormData as f, type TestersFormData as g, type CreateTestersFormData as h, type AdFormData as i, type CreateAdFormData as j, type TermsAgreement as k, type RequestPasswordResetFormData as l, type ResetPasswordFormData as m, EnumAdShowOn as n, EnumAdType as o, EnumAdStyle as p };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.mjs';
|
|
2
|
-
import { C as Category,
|
|
2
|
+
import { C as Category, w as CreateFormData, o as ResourceImageType, P as PartnerType, p as SocialMediaType } from './global-B87BDXpD.mjs';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -55,10 +55,6 @@ interface UserType {
|
|
|
55
55
|
platform: EnumOSPlatform | null;
|
|
56
56
|
preferredRegion: string;
|
|
57
57
|
partners?: PartnerType[] | null;
|
|
58
|
-
refreshTokenExpiry: {
|
|
59
|
-
token: string;
|
|
60
|
-
expiresAt: string;
|
|
61
|
-
};
|
|
62
58
|
refreshToken: string | null;
|
|
63
59
|
role: EnumUserRole;
|
|
64
60
|
termsAgreement?: TermsAgreement | null;
|
|
@@ -113,7 +109,7 @@ interface AdType extends AdFormData {
|
|
|
113
109
|
updatedAt: Date;
|
|
114
110
|
}
|
|
115
111
|
|
|
116
|
-
type
|
|
112
|
+
type DeviceInfo = {
|
|
117
113
|
appBuildNumber: string;
|
|
118
114
|
appId: string;
|
|
119
115
|
appVersion: string;
|
|
@@ -124,9 +120,11 @@ type TermsAgreement = {
|
|
|
124
120
|
modelName: string;
|
|
125
121
|
osName: string;
|
|
126
122
|
osVersion: string;
|
|
127
|
-
termVersion: string;
|
|
128
123
|
timestamp: string;
|
|
129
124
|
};
|
|
125
|
+
type TermsAgreement = DeviceInfo & {
|
|
126
|
+
termVersion: string;
|
|
127
|
+
};
|
|
130
128
|
type LoginFormData = {
|
|
131
129
|
email: string;
|
|
132
130
|
isAdminPage?: boolean;
|
|
@@ -160,4 +158,4 @@ type ValidateVerificationTokenFormData = {
|
|
|
160
158
|
};
|
|
161
159
|
type CreateValidateVerificationTokenFormData = CreateFormData<ValidateVerificationTokenFormData>;
|
|
162
160
|
|
|
163
|
-
export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type LoginFormData as L, type RegisterFormData as R, type TesterType as T, type UserType as U, type ValidateVerificationTokenFormData as V, type UserFormData as a, type CreateLoginFormData as b, type CreateRegisterFormData as c, type CreateRequestPasswordResetFormData as d, type CreateValidateVerificationTokenFormData as e, type CreateResetPasswordFormData as f, type TestersFormData as g, type CreateTestersFormData as h, type AdFormData as i, type CreateAdFormData as j, type TermsAgreement as k, type RequestPasswordResetFormData as l, type ResetPasswordFormData as m, EnumAdShowOn as n, EnumAdType as o, EnumAdStyle as p };
|
|
161
|
+
export { type AdType as A, type CreateUserFormData as C, type DeviceInfo as D, EnumAdStatus as E, type LoginFormData as L, type RegisterFormData as R, type TesterType as T, type UserType as U, type ValidateVerificationTokenFormData as V, type UserFormData as a, type CreateLoginFormData as b, type CreateRegisterFormData as c, type CreateRequestPasswordResetFormData as d, type CreateValidateVerificationTokenFormData as e, type CreateResetPasswordFormData as f, type TestersFormData as g, type CreateTestersFormData as h, type AdFormData as i, type CreateAdFormData as j, type TermsAgreement as k, type RequestPasswordResetFormData as l, type ResetPasswordFormData as m, EnumAdShowOn as n, EnumAdType as o, EnumAdStyle as p };
|
|
@@ -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-B87BDXpD.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-B42Tds9R.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor,
|
|
2
|
+
import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
lastUpdateBy: {
|
|
@@ -53,7 +53,6 @@ type Requirement = {
|
|
|
53
53
|
interface EventInfoFormData {
|
|
54
54
|
_id?: string;
|
|
55
55
|
applicationDeadlineHours: number;
|
|
56
|
-
contactDetails?: ResourceContactDetailsType | null;
|
|
57
56
|
dateTime: DateTimeWithPriceType[];
|
|
58
57
|
eventId: string;
|
|
59
58
|
packInTime: number;
|
|
@@ -126,7 +125,6 @@ type VendorInfoFormData = {
|
|
|
126
125
|
liabilityInsurance: boolean;
|
|
127
126
|
foodBeverageLicense: boolean;
|
|
128
127
|
};
|
|
129
|
-
contactDetails?: ResourceContactDetailsType | null;
|
|
130
128
|
documents?: ResourceImageType[] | null;
|
|
131
129
|
documentsUpload?: ResourceImageType[] | null;
|
|
132
130
|
product: {
|
|
@@ -175,6 +173,11 @@ interface VendorWithConnectionDatesType extends VendorType {
|
|
|
175
173
|
type Nullable<T> = {
|
|
176
174
|
[K in keyof T]: T[K] | null | undefined;
|
|
177
175
|
};
|
|
176
|
+
type ResourceContactDetailsType = {
|
|
177
|
+
email?: string | null;
|
|
178
|
+
landlinePhone?: string | null;
|
|
179
|
+
mobilePhone?: string | null;
|
|
180
|
+
};
|
|
178
181
|
type ResourceImageType = {
|
|
179
182
|
source: string;
|
|
180
183
|
title: string;
|
|
@@ -196,6 +199,7 @@ type OwnerType = {
|
|
|
196
199
|
interface BaseResourceTypeFormData {
|
|
197
200
|
_id?: string;
|
|
198
201
|
active: boolean;
|
|
202
|
+
contactDetails?: ResourceContactDetailsType | null;
|
|
199
203
|
cover: ResourceImageType;
|
|
200
204
|
coverUpload?: ResourceImageType | null;
|
|
201
205
|
description: string;
|
|
@@ -204,11 +208,11 @@ interface BaseResourceTypeFormData {
|
|
|
204
208
|
logo?: ResourceImageType | null;
|
|
205
209
|
logoUpload?: ResourceImageType | null;
|
|
206
210
|
name: string;
|
|
211
|
+
owner?: OwnerType | null;
|
|
212
|
+
partners?: PartnerType[] | null;
|
|
207
213
|
promoCodes?: string[] | null;
|
|
208
214
|
region: string;
|
|
209
215
|
socialMedia?: SocialMediaType[] | null;
|
|
210
|
-
partners?: PartnerType[] | null;
|
|
211
|
-
owner?: OwnerType | null;
|
|
212
216
|
}
|
|
213
217
|
type PosterUsageType = {
|
|
214
218
|
month: string;
|
|
@@ -310,10 +314,5 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
310
314
|
setValue: UseFormSetValue<T>;
|
|
311
315
|
watch: UseFormWatch<T>;
|
|
312
316
|
}
|
|
313
|
-
type ResourceContactDetailsType = {
|
|
314
|
-
email?: string | null;
|
|
315
|
-
landlinePhone?: string | null;
|
|
316
|
-
mobilePhone?: string | null;
|
|
317
|
-
};
|
|
318
317
|
|
|
319
|
-
export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, VendorWithConnectionDatesType as Q, Requirement as R, StallType as S, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m,
|
|
318
|
+
export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, VendorWithConnectionDatesType as Q, Requirement as R, StallType as S, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, Region as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, DateTimeWithPriceType as x, PaymentInfoType as y, EventWithConnectionDatesType as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor,
|
|
2
|
+
import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
lastUpdateBy: {
|
|
@@ -53,7 +53,6 @@ type Requirement = {
|
|
|
53
53
|
interface EventInfoFormData {
|
|
54
54
|
_id?: string;
|
|
55
55
|
applicationDeadlineHours: number;
|
|
56
|
-
contactDetails?: ResourceContactDetailsType | null;
|
|
57
56
|
dateTime: DateTimeWithPriceType[];
|
|
58
57
|
eventId: string;
|
|
59
58
|
packInTime: number;
|
|
@@ -126,7 +125,6 @@ type VendorInfoFormData = {
|
|
|
126
125
|
liabilityInsurance: boolean;
|
|
127
126
|
foodBeverageLicense: boolean;
|
|
128
127
|
};
|
|
129
|
-
contactDetails?: ResourceContactDetailsType | null;
|
|
130
128
|
documents?: ResourceImageType[] | null;
|
|
131
129
|
documentsUpload?: ResourceImageType[] | null;
|
|
132
130
|
product: {
|
|
@@ -175,6 +173,11 @@ interface VendorWithConnectionDatesType extends VendorType {
|
|
|
175
173
|
type Nullable<T> = {
|
|
176
174
|
[K in keyof T]: T[K] | null | undefined;
|
|
177
175
|
};
|
|
176
|
+
type ResourceContactDetailsType = {
|
|
177
|
+
email?: string | null;
|
|
178
|
+
landlinePhone?: string | null;
|
|
179
|
+
mobilePhone?: string | null;
|
|
180
|
+
};
|
|
178
181
|
type ResourceImageType = {
|
|
179
182
|
source: string;
|
|
180
183
|
title: string;
|
|
@@ -196,6 +199,7 @@ type OwnerType = {
|
|
|
196
199
|
interface BaseResourceTypeFormData {
|
|
197
200
|
_id?: string;
|
|
198
201
|
active: boolean;
|
|
202
|
+
contactDetails?: ResourceContactDetailsType | null;
|
|
199
203
|
cover: ResourceImageType;
|
|
200
204
|
coverUpload?: ResourceImageType | null;
|
|
201
205
|
description: string;
|
|
@@ -204,11 +208,11 @@ interface BaseResourceTypeFormData {
|
|
|
204
208
|
logo?: ResourceImageType | null;
|
|
205
209
|
logoUpload?: ResourceImageType | null;
|
|
206
210
|
name: string;
|
|
211
|
+
owner?: OwnerType | null;
|
|
212
|
+
partners?: PartnerType[] | null;
|
|
207
213
|
promoCodes?: string[] | null;
|
|
208
214
|
region: string;
|
|
209
215
|
socialMedia?: SocialMediaType[] | null;
|
|
210
|
-
partners?: PartnerType[] | null;
|
|
211
|
-
owner?: OwnerType | null;
|
|
212
216
|
}
|
|
213
217
|
type PosterUsageType = {
|
|
214
218
|
month: string;
|
|
@@ -310,10 +314,5 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
310
314
|
setValue: UseFormSetValue<T>;
|
|
311
315
|
watch: UseFormWatch<T>;
|
|
312
316
|
}
|
|
313
|
-
type ResourceContactDetailsType = {
|
|
314
|
-
email?: string | null;
|
|
315
|
-
landlinePhone?: string | null;
|
|
316
|
-
mobilePhone?: string | null;
|
|
317
|
-
};
|
|
318
317
|
|
|
319
|
-
export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, VendorWithConnectionDatesType as Q, Requirement as R, StallType as S, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m,
|
|
318
|
+
export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, VendorWithConnectionDatesType as Q, Requirement as R, StallType as S, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, Region as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, DateTimeWithPriceType as x, PaymentInfoType as y, EventWithConnectionDatesType as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -226,6 +226,13 @@ var STALL_TYPE_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
`;
|
|
229
|
+
var CONTACT_DETAILS_FIELDS_FRAGMENT = import_client2.gql`
|
|
230
|
+
fragment ContactDetailsFields on ContactDetailsType {
|
|
231
|
+
email
|
|
232
|
+
landlinePhone
|
|
233
|
+
mobilePhone
|
|
234
|
+
}
|
|
235
|
+
`;
|
|
229
236
|
|
|
230
237
|
// src/graphql/queries/event.ts
|
|
231
238
|
var EVENT_DATETIME_FIELDS_FRAGMENT = import_client3.gql`
|
|
@@ -252,11 +259,6 @@ var EVENT_INFO = import_client3.gql`
|
|
|
252
259
|
fragment EventInfoFields on EventInfoType {
|
|
253
260
|
_id
|
|
254
261
|
applicationDeadlineHours
|
|
255
|
-
contactDetails {
|
|
256
|
-
email
|
|
257
|
-
landlinePhone
|
|
258
|
-
mobilePhone
|
|
259
|
-
}
|
|
260
262
|
dateTime {
|
|
261
263
|
endDate
|
|
262
264
|
endTime
|
|
@@ -292,6 +294,9 @@ var EVENT = import_client3.gql`
|
|
|
292
294
|
...ResourceImageFields
|
|
293
295
|
}
|
|
294
296
|
createdAt
|
|
297
|
+
contactDetails {
|
|
298
|
+
...ContactDetailsFields
|
|
299
|
+
}
|
|
295
300
|
dateTime {
|
|
296
301
|
...EventDateTimeFields
|
|
297
302
|
}
|
|
@@ -337,6 +342,7 @@ var EVENT = import_client3.gql`
|
|
|
337
342
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
338
343
|
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
339
344
|
${PARTNER_FIELDS_FRAGMENT}
|
|
345
|
+
${CONTACT_DETAILS_FIELDS_FRAGMENT}
|
|
340
346
|
`;
|
|
341
347
|
var GET_EVENTS = import_client3.gql`
|
|
342
348
|
query getEvents {
|
|
@@ -431,6 +437,9 @@ var VENDOR = import_client4.gql`
|
|
|
431
437
|
categories {
|
|
432
438
|
...CategoryFields
|
|
433
439
|
}
|
|
440
|
+
contactDetails {
|
|
441
|
+
...ContactDetailsFields
|
|
442
|
+
}
|
|
434
443
|
cover {
|
|
435
444
|
...ResourceImageFields
|
|
436
445
|
}
|
|
@@ -484,6 +493,7 @@ var VENDOR = import_client4.gql`
|
|
|
484
493
|
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
485
494
|
${PARTNER_FIELDS_FRAGMENT}
|
|
486
495
|
${VENDOR_MENU_FIELDS_FRAGMENT}
|
|
496
|
+
${CONTACT_DETAILS_FIELDS_FRAGMENT}
|
|
487
497
|
`;
|
|
488
498
|
var VENDOR_ATTRIBUTES_FRAGMENT = import_client4.gql`
|
|
489
499
|
fragment VendorAttributesFields on VendorAttributesType {
|
|
@@ -498,11 +508,6 @@ var VENDOR_INFO = import_client4.gql`
|
|
|
498
508
|
foodBeverageLicense
|
|
499
509
|
liabilityInsurance
|
|
500
510
|
}
|
|
501
|
-
contactDetails {
|
|
502
|
-
email
|
|
503
|
-
landlinePhone
|
|
504
|
-
mobilePhone
|
|
505
|
-
}
|
|
506
511
|
documents {
|
|
507
512
|
...ResourceImageFields
|
|
508
513
|
}
|
|
@@ -1522,6 +1527,9 @@ var GET_RESOURCE_CONNECTIONS = import_client29.gql`
|
|
|
1522
1527
|
cover {
|
|
1523
1528
|
...ResourceImageFields
|
|
1524
1529
|
}
|
|
1530
|
+
contactDetails {
|
|
1531
|
+
...ContactDetailsFields
|
|
1532
|
+
}
|
|
1525
1533
|
createdAt
|
|
1526
1534
|
dateTime {
|
|
1527
1535
|
...EventDateTimeFields
|
|
@@ -1577,6 +1585,9 @@ var GET_RESOURCE_CONNECTIONS = import_client29.gql`
|
|
|
1577
1585
|
categories {
|
|
1578
1586
|
...CategoryFields
|
|
1579
1587
|
}
|
|
1588
|
+
contactDetails {
|
|
1589
|
+
...ContactDetailsFields
|
|
1590
|
+
}
|
|
1580
1591
|
cover {
|
|
1581
1592
|
...ResourceImageFields
|
|
1582
1593
|
}
|
|
@@ -1638,6 +1649,7 @@ var GET_RESOURCE_CONNECTIONS = import_client29.gql`
|
|
|
1638
1649
|
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
1639
1650
|
${PARTNER_FIELDS_FRAGMENT}
|
|
1640
1651
|
${VENDOR_MENU_FIELDS_FRAGMENT}
|
|
1652
|
+
${CONTACT_DETAILS_FIELDS_FRAGMENT}
|
|
1641
1653
|
`;
|
|
1642
1654
|
|
|
1643
1655
|
// src/graphql/mutations/relation.ts
|