@timardex/cluemart-shared 1.2.95 → 1.2.97
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-eMd9XpSs.d.ts → ad-Cld9z55n.d.mts} +80 -3
- package/dist/{ad-CIgrG2xI.d.mts → ad-j0VWBCVE.d.ts} +80 -3
- package/dist/{auth-D0FKzjLe.d.ts → auth-B1G5QrD2.d.ts} +1 -1
- package/dist/{auth-zy1P_DKw.d.mts → auth-DlXdCHFm.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-BYQMdxtO.d.ts → global-B3lGLGxH.d.mts} +7 -84
- package/dist/{global-CLsysATK.d.mts → global-DabCYr5t.d.ts} +7 -84
- package/dist/graphql/index.cjs +11 -8
- 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 +11 -8
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/index.cjs +11 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +82 -82
- package/dist/index.d.ts +82 -82
- package/dist/index.mjs +11 -8
- 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
|
-
import { EnumOSPlatform, EnumResourceType, EnumPartnerType } from './enums/index.
|
|
2
|
-
import { C as Category,
|
|
1
|
+
import { EnumOSPlatform, EnumResourceType, EnumUserRole, EnumSubscriptionStatus, EnumUserLicence, EnumPartnerType } from './enums/index.mjs';
|
|
2
|
+
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, U as UserLicenceType, T as TermsAgreement, s as DateTimeType, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-B3lGLGxH.mjs';
|
|
3
3
|
|
|
4
4
|
declare enum OrganizedMarketCount {
|
|
5
5
|
ONE = "One",
|
|
@@ -87,6 +87,83 @@ interface TesterType extends TesterFormData {
|
|
|
87
87
|
updatedAt: Date | null;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
type UserFormData = {
|
|
91
|
+
_id?: string;
|
|
92
|
+
active: boolean;
|
|
93
|
+
avatar?: ResourceImageType | null;
|
|
94
|
+
avatarUpload?: ResourceImageType | null;
|
|
95
|
+
confirmPassword?: string | null;
|
|
96
|
+
email: string;
|
|
97
|
+
firstName: string;
|
|
98
|
+
isTester: boolean;
|
|
99
|
+
lastName: string;
|
|
100
|
+
password?: string | null;
|
|
101
|
+
platform?: EnumOSPlatform;
|
|
102
|
+
preferredRegion: string;
|
|
103
|
+
role: EnumUserRole;
|
|
104
|
+
termsAgreement?: TermsAgreement | null;
|
|
105
|
+
};
|
|
106
|
+
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
107
|
+
type UserActivityEvent = {
|
|
108
|
+
resourceId: string;
|
|
109
|
+
dateTime: DateTimeType;
|
|
110
|
+
};
|
|
111
|
+
type StripeSubscription = {
|
|
112
|
+
customerId?: string;
|
|
113
|
+
subscriptionId?: string;
|
|
114
|
+
status?: EnumSubscriptionStatus;
|
|
115
|
+
currentPlan?: EnumUserLicence;
|
|
116
|
+
startDate?: string;
|
|
117
|
+
endDate?: string;
|
|
118
|
+
};
|
|
119
|
+
type SubscriptionStatusData = {
|
|
120
|
+
subscriptionId: string | null;
|
|
121
|
+
status: EnumSubscriptionStatus;
|
|
122
|
+
priceId: string | null;
|
|
123
|
+
currentPlan: EnumUserLicence | null;
|
|
124
|
+
};
|
|
125
|
+
type UserActivity = {
|
|
126
|
+
favourites: {
|
|
127
|
+
events: string[];
|
|
128
|
+
vendors: string[];
|
|
129
|
+
partners: string[];
|
|
130
|
+
};
|
|
131
|
+
going: {
|
|
132
|
+
events: UserActivityEvent[];
|
|
133
|
+
};
|
|
134
|
+
interested: {
|
|
135
|
+
events: UserActivityEvent[];
|
|
136
|
+
};
|
|
137
|
+
present: {
|
|
138
|
+
events: UserActivityEvent[];
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
interface UserType {
|
|
142
|
+
_id: string;
|
|
143
|
+
active: boolean;
|
|
144
|
+
associates?: AssociateType[] | null;
|
|
145
|
+
avatar: ResourceImageType | null;
|
|
146
|
+
createdAt: Date;
|
|
147
|
+
deletedAt: Date | null;
|
|
148
|
+
email: string;
|
|
149
|
+
events: string[] | null;
|
|
150
|
+
firstName: string;
|
|
151
|
+
isTester: boolean;
|
|
152
|
+
lastName: string;
|
|
153
|
+
licences: UserLicenceType[] | null;
|
|
154
|
+
partner: string | null;
|
|
155
|
+
password: string;
|
|
156
|
+
platform: EnumOSPlatform | null;
|
|
157
|
+
preferredRegion: string;
|
|
158
|
+
refreshToken: string | null;
|
|
159
|
+
role: EnumUserRole;
|
|
160
|
+
stripe?: StripeSubscription;
|
|
161
|
+
termsAgreement?: TermsAgreement | null;
|
|
162
|
+
updatedAt: Date | null;
|
|
163
|
+
userActivity: UserActivity | null;
|
|
164
|
+
vendor: string | null;
|
|
165
|
+
}
|
|
166
|
+
|
|
90
167
|
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
91
168
|
location: LocationType;
|
|
92
169
|
nzbn: string;
|
|
@@ -147,4 +224,4 @@ interface AdType extends AdFormData {
|
|
|
147
224
|
updatedAt: Date | null;
|
|
148
225
|
}
|
|
149
226
|
|
|
150
|
-
export { type AdType as A, type
|
|
227
|
+
export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, OrganizedMarketCount as O, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, VendorSellingFrequency as V, type UserFormData as a, type PartnerFormData as b, type TesterFormData as c, type CreateTesterFormData as d, type AdFormData as e, type CreateAdFormData as f, type CreatePartnerFormData as g, OrganizerMarketFrequency as h, type TesterVendor as i, type TesterEvent as j, type UserActivityEvent as k, type StripeSubscription as l, type UserActivity as m, EnumAdShowOn as n, EnumAdType as o, EnumAdStyle as p };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EnumOSPlatform, EnumResourceType, EnumPartnerType } from './enums/index.
|
|
2
|
-
import { C as Category,
|
|
1
|
+
import { EnumOSPlatform, EnumResourceType, EnumUserRole, EnumSubscriptionStatus, EnumUserLicence, EnumPartnerType } from './enums/index.js';
|
|
2
|
+
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, U as UserLicenceType, T as TermsAgreement, s as DateTimeType, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-DabCYr5t.js';
|
|
3
3
|
|
|
4
4
|
declare enum OrganizedMarketCount {
|
|
5
5
|
ONE = "One",
|
|
@@ -87,6 +87,83 @@ interface TesterType extends TesterFormData {
|
|
|
87
87
|
updatedAt: Date | null;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
type UserFormData = {
|
|
91
|
+
_id?: string;
|
|
92
|
+
active: boolean;
|
|
93
|
+
avatar?: ResourceImageType | null;
|
|
94
|
+
avatarUpload?: ResourceImageType | null;
|
|
95
|
+
confirmPassword?: string | null;
|
|
96
|
+
email: string;
|
|
97
|
+
firstName: string;
|
|
98
|
+
isTester: boolean;
|
|
99
|
+
lastName: string;
|
|
100
|
+
password?: string | null;
|
|
101
|
+
platform?: EnumOSPlatform;
|
|
102
|
+
preferredRegion: string;
|
|
103
|
+
role: EnumUserRole;
|
|
104
|
+
termsAgreement?: TermsAgreement | null;
|
|
105
|
+
};
|
|
106
|
+
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
107
|
+
type UserActivityEvent = {
|
|
108
|
+
resourceId: string;
|
|
109
|
+
dateTime: DateTimeType;
|
|
110
|
+
};
|
|
111
|
+
type StripeSubscription = {
|
|
112
|
+
customerId?: string;
|
|
113
|
+
subscriptionId?: string;
|
|
114
|
+
status?: EnumSubscriptionStatus;
|
|
115
|
+
currentPlan?: EnumUserLicence;
|
|
116
|
+
startDate?: string;
|
|
117
|
+
endDate?: string;
|
|
118
|
+
};
|
|
119
|
+
type SubscriptionStatusData = {
|
|
120
|
+
subscriptionId: string | null;
|
|
121
|
+
status: EnumSubscriptionStatus;
|
|
122
|
+
priceId: string | null;
|
|
123
|
+
currentPlan: EnumUserLicence | null;
|
|
124
|
+
};
|
|
125
|
+
type UserActivity = {
|
|
126
|
+
favourites: {
|
|
127
|
+
events: string[];
|
|
128
|
+
vendors: string[];
|
|
129
|
+
partners: string[];
|
|
130
|
+
};
|
|
131
|
+
going: {
|
|
132
|
+
events: UserActivityEvent[];
|
|
133
|
+
};
|
|
134
|
+
interested: {
|
|
135
|
+
events: UserActivityEvent[];
|
|
136
|
+
};
|
|
137
|
+
present: {
|
|
138
|
+
events: UserActivityEvent[];
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
interface UserType {
|
|
142
|
+
_id: string;
|
|
143
|
+
active: boolean;
|
|
144
|
+
associates?: AssociateType[] | null;
|
|
145
|
+
avatar: ResourceImageType | null;
|
|
146
|
+
createdAt: Date;
|
|
147
|
+
deletedAt: Date | null;
|
|
148
|
+
email: string;
|
|
149
|
+
events: string[] | null;
|
|
150
|
+
firstName: string;
|
|
151
|
+
isTester: boolean;
|
|
152
|
+
lastName: string;
|
|
153
|
+
licences: UserLicenceType[] | null;
|
|
154
|
+
partner: string | null;
|
|
155
|
+
password: string;
|
|
156
|
+
platform: EnumOSPlatform | null;
|
|
157
|
+
preferredRegion: string;
|
|
158
|
+
refreshToken: string | null;
|
|
159
|
+
role: EnumUserRole;
|
|
160
|
+
stripe?: StripeSubscription;
|
|
161
|
+
termsAgreement?: TermsAgreement | null;
|
|
162
|
+
updatedAt: Date | null;
|
|
163
|
+
userActivity: UserActivity | null;
|
|
164
|
+
vendor: string | null;
|
|
165
|
+
}
|
|
166
|
+
|
|
90
167
|
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
91
168
|
location: LocationType;
|
|
92
169
|
nzbn: string;
|
|
@@ -147,4 +224,4 @@ interface AdType extends AdFormData {
|
|
|
147
224
|
updatedAt: Date | null;
|
|
148
225
|
}
|
|
149
226
|
|
|
150
|
-
export { type AdType as A, type
|
|
227
|
+
export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, OrganizedMarketCount as O, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, VendorSellingFrequency as V, type UserFormData as a, type PartnerFormData as b, type TesterFormData as c, type CreateTesterFormData as d, type AdFormData as e, type CreateAdFormData as f, type CreatePartnerFormData as g, OrganizerMarketFrequency as h, type TesterVendor as i, type TesterEvent as j, type UserActivityEvent as k, type StripeSubscription as l, type UserActivity 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-B3lGLGxH.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-DabCYr5t.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 { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod,
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia, EnumEventDateStatus } from './enums/index.mjs';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -89,88 +89,6 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
|
89
89
|
_id: string;
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
type UserFormData = {
|
|
93
|
-
_id?: string;
|
|
94
|
-
active: boolean;
|
|
95
|
-
avatar?: ResourceImageType | null;
|
|
96
|
-
avatarUpload?: ResourceImageType | null;
|
|
97
|
-
confirmPassword?: string | null;
|
|
98
|
-
email: string;
|
|
99
|
-
firstName: string;
|
|
100
|
-
isTester: boolean;
|
|
101
|
-
lastName: string;
|
|
102
|
-
password?: string | null;
|
|
103
|
-
platform?: EnumOSPlatform;
|
|
104
|
-
preferredRegion: string;
|
|
105
|
-
role: EnumUserRole;
|
|
106
|
-
termsAgreement?: TermsAgreement | null;
|
|
107
|
-
};
|
|
108
|
-
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
109
|
-
type UserActivityEvent = {
|
|
110
|
-
resourceId: string;
|
|
111
|
-
dateTime: DateTimeType;
|
|
112
|
-
};
|
|
113
|
-
type StripeSubscription = {
|
|
114
|
-
customerId?: string;
|
|
115
|
-
subscriptionId?: string;
|
|
116
|
-
status?: EnumSubscriptionStatus;
|
|
117
|
-
currentPlan?: EnumUserLicence;
|
|
118
|
-
startDate?: string;
|
|
119
|
-
endDate?: string;
|
|
120
|
-
};
|
|
121
|
-
type SubscriptionStatusData = {
|
|
122
|
-
subscriptionId: string | null;
|
|
123
|
-
status: EnumSubscriptionStatus;
|
|
124
|
-
priceId: string | null;
|
|
125
|
-
currentPlan: EnumUserLicence | null;
|
|
126
|
-
};
|
|
127
|
-
type UserActivity = {
|
|
128
|
-
favourites: {
|
|
129
|
-
events: string[];
|
|
130
|
-
vendors: string[];
|
|
131
|
-
partners: string[];
|
|
132
|
-
};
|
|
133
|
-
going: {
|
|
134
|
-
events: UserActivityEvent[];
|
|
135
|
-
};
|
|
136
|
-
interested: {
|
|
137
|
-
events: UserActivityEvent[];
|
|
138
|
-
};
|
|
139
|
-
present: {
|
|
140
|
-
events: UserActivityEvent[];
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
type UserLicenceType = {
|
|
144
|
-
expiryDate: Date;
|
|
145
|
-
issuedDate: Date;
|
|
146
|
-
licenceType: EnumUserLicence;
|
|
147
|
-
};
|
|
148
|
-
interface UserType {
|
|
149
|
-
_id: string;
|
|
150
|
-
active: boolean;
|
|
151
|
-
associates?: AssociateType[] | null;
|
|
152
|
-
avatar: ResourceImageType | null;
|
|
153
|
-
createdAt: Date;
|
|
154
|
-
deletedAt: Date | null;
|
|
155
|
-
email: string;
|
|
156
|
-
events: string[] | null;
|
|
157
|
-
firstName: string;
|
|
158
|
-
isTester: boolean;
|
|
159
|
-
lastName: string;
|
|
160
|
-
licences: UserLicenceType[] | null;
|
|
161
|
-
partner: string | null;
|
|
162
|
-
password: string;
|
|
163
|
-
platform: EnumOSPlatform | null;
|
|
164
|
-
preferredRegion: string;
|
|
165
|
-
refreshToken: string | null;
|
|
166
|
-
role: EnumUserRole;
|
|
167
|
-
stripe?: StripeSubscription;
|
|
168
|
-
termsAgreement?: TermsAgreement | null;
|
|
169
|
-
updatedAt: Date | null;
|
|
170
|
-
userActivity: UserActivity | null;
|
|
171
|
-
vendor: string | null;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
92
|
type VendorLocation = {
|
|
175
93
|
dateTime: Nullable<DateTimeType> | null;
|
|
176
94
|
description?: string | null;
|
|
@@ -289,6 +207,11 @@ type SocialMediaType = {
|
|
|
289
207
|
name?: EnumSocialMedia;
|
|
290
208
|
link?: string;
|
|
291
209
|
};
|
|
210
|
+
type UserLicenceType = {
|
|
211
|
+
expiryDate: Date;
|
|
212
|
+
issuedDate: Date;
|
|
213
|
+
licenceType: EnumUserLicence;
|
|
214
|
+
};
|
|
292
215
|
type AssociateType = {
|
|
293
216
|
email: string;
|
|
294
217
|
resourceId: string;
|
|
@@ -421,4 +344,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
421
344
|
watch: UseFormWatch<T>;
|
|
422
345
|
}
|
|
423
346
|
|
|
424
|
-
export type {
|
|
347
|
+
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo 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, PosterUsageType as P, Requirement as R, StallType as S, TermsAgreement as T, UserLicenceType as U, 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, BaseResourceType as r, DateTimeType as s, Region as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, DateTimeWithPriceType as x, PaymentInfoType as y, RelationDate as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod,
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia, EnumEventDateStatus } from './enums/index.js';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -89,88 +89,6 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
|
89
89
|
_id: string;
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
type UserFormData = {
|
|
93
|
-
_id?: string;
|
|
94
|
-
active: boolean;
|
|
95
|
-
avatar?: ResourceImageType | null;
|
|
96
|
-
avatarUpload?: ResourceImageType | null;
|
|
97
|
-
confirmPassword?: string | null;
|
|
98
|
-
email: string;
|
|
99
|
-
firstName: string;
|
|
100
|
-
isTester: boolean;
|
|
101
|
-
lastName: string;
|
|
102
|
-
password?: string | null;
|
|
103
|
-
platform?: EnumOSPlatform;
|
|
104
|
-
preferredRegion: string;
|
|
105
|
-
role: EnumUserRole;
|
|
106
|
-
termsAgreement?: TermsAgreement | null;
|
|
107
|
-
};
|
|
108
|
-
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
109
|
-
type UserActivityEvent = {
|
|
110
|
-
resourceId: string;
|
|
111
|
-
dateTime: DateTimeType;
|
|
112
|
-
};
|
|
113
|
-
type StripeSubscription = {
|
|
114
|
-
customerId?: string;
|
|
115
|
-
subscriptionId?: string;
|
|
116
|
-
status?: EnumSubscriptionStatus;
|
|
117
|
-
currentPlan?: EnumUserLicence;
|
|
118
|
-
startDate?: string;
|
|
119
|
-
endDate?: string;
|
|
120
|
-
};
|
|
121
|
-
type SubscriptionStatusData = {
|
|
122
|
-
subscriptionId: string | null;
|
|
123
|
-
status: EnumSubscriptionStatus;
|
|
124
|
-
priceId: string | null;
|
|
125
|
-
currentPlan: EnumUserLicence | null;
|
|
126
|
-
};
|
|
127
|
-
type UserActivity = {
|
|
128
|
-
favourites: {
|
|
129
|
-
events: string[];
|
|
130
|
-
vendors: string[];
|
|
131
|
-
partners: string[];
|
|
132
|
-
};
|
|
133
|
-
going: {
|
|
134
|
-
events: UserActivityEvent[];
|
|
135
|
-
};
|
|
136
|
-
interested: {
|
|
137
|
-
events: UserActivityEvent[];
|
|
138
|
-
};
|
|
139
|
-
present: {
|
|
140
|
-
events: UserActivityEvent[];
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
type UserLicenceType = {
|
|
144
|
-
expiryDate: Date;
|
|
145
|
-
issuedDate: Date;
|
|
146
|
-
licenceType: EnumUserLicence;
|
|
147
|
-
};
|
|
148
|
-
interface UserType {
|
|
149
|
-
_id: string;
|
|
150
|
-
active: boolean;
|
|
151
|
-
associates?: AssociateType[] | null;
|
|
152
|
-
avatar: ResourceImageType | null;
|
|
153
|
-
createdAt: Date;
|
|
154
|
-
deletedAt: Date | null;
|
|
155
|
-
email: string;
|
|
156
|
-
events: string[] | null;
|
|
157
|
-
firstName: string;
|
|
158
|
-
isTester: boolean;
|
|
159
|
-
lastName: string;
|
|
160
|
-
licences: UserLicenceType[] | null;
|
|
161
|
-
partner: string | null;
|
|
162
|
-
password: string;
|
|
163
|
-
platform: EnumOSPlatform | null;
|
|
164
|
-
preferredRegion: string;
|
|
165
|
-
refreshToken: string | null;
|
|
166
|
-
role: EnumUserRole;
|
|
167
|
-
stripe?: StripeSubscription;
|
|
168
|
-
termsAgreement?: TermsAgreement | null;
|
|
169
|
-
updatedAt: Date | null;
|
|
170
|
-
userActivity: UserActivity | null;
|
|
171
|
-
vendor: string | null;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
92
|
type VendorLocation = {
|
|
175
93
|
dateTime: Nullable<DateTimeType> | null;
|
|
176
94
|
description?: string | null;
|
|
@@ -289,6 +207,11 @@ type SocialMediaType = {
|
|
|
289
207
|
name?: EnumSocialMedia;
|
|
290
208
|
link?: string;
|
|
291
209
|
};
|
|
210
|
+
type UserLicenceType = {
|
|
211
|
+
expiryDate: Date;
|
|
212
|
+
issuedDate: Date;
|
|
213
|
+
licenceType: EnumUserLicence;
|
|
214
|
+
};
|
|
292
215
|
type AssociateType = {
|
|
293
216
|
email: string;
|
|
294
217
|
resourceId: string;
|
|
@@ -421,4 +344,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
421
344
|
watch: UseFormWatch<T>;
|
|
422
345
|
}
|
|
423
346
|
|
|
424
|
-
export type {
|
|
347
|
+
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo 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, PosterUsageType as P, Requirement as R, StallType as S, TermsAgreement as T, UserLicenceType as U, 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, BaseResourceType as r, DateTimeType as s, Region as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, DateTimeWithPriceType as x, PaymentInfoType as y, RelationDate as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -187,13 +187,23 @@ var CATEGORY_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
`;
|
|
190
|
+
var LICENCE_FIELDS_FRAGMENT = import_client2.gql`
|
|
191
|
+
fragment LicenceFields on UserLicenceType {
|
|
192
|
+
expiryDate
|
|
193
|
+
issuedDate
|
|
194
|
+
licenceType
|
|
195
|
+
}
|
|
196
|
+
`;
|
|
190
197
|
var ASSOCIATES_FIELDS_FRAGMENT = import_client2.gql`
|
|
191
198
|
fragment AssociatesFields on AssociateType {
|
|
192
199
|
email
|
|
193
200
|
resourceId
|
|
194
201
|
resourceType
|
|
195
|
-
licence
|
|
202
|
+
licence {
|
|
203
|
+
...LicenceFields
|
|
204
|
+
}
|
|
196
205
|
}
|
|
206
|
+
${LICENCE_FIELDS_FRAGMENT}
|
|
197
207
|
`;
|
|
198
208
|
var TERMS_AGREEMENT_FIELDS_FRAGMENT = import_client2.gql`
|
|
199
209
|
fragment TermsAgreementFields on TermsAgreementType {
|
|
@@ -211,13 +221,6 @@ var TERMS_AGREEMENT_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
211
221
|
timestamp
|
|
212
222
|
}
|
|
213
223
|
`;
|
|
214
|
-
var LICENCE_FIELDS_FRAGMENT = import_client2.gql`
|
|
215
|
-
fragment LicenceFields on UserLicenceType {
|
|
216
|
-
expiryDate
|
|
217
|
-
issuedDate
|
|
218
|
-
licenceType
|
|
219
|
-
}
|
|
220
|
-
`;
|
|
221
224
|
var EVENT_DATETIME_FIELDS_FRAGMENT = import_client2.gql`
|
|
222
225
|
fragment EventDateTimeFields on EventDateTimeType {
|
|
223
226
|
dateStatus
|