@timardex/cluemart-shared 1.4.13 → 1.4.14
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-sm3mg_Sb.d.ts → auth-BNhymOFs.d.mts} +4 -3
- package/dist/{auth-4POOgdmv.d.mts → auth-CgzvvFjw.d.ts} +4 -3
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-DdNUoIKL.d.ts → global-D5dNxa5e.d.mts} +2 -7
- package/dist/{global-DhBPsOLv.d.mts → global-x5DE08tD.d.ts} +2 -7
- package/dist/graphql/index.cjs +13 -22
- 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 +13 -22
- 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 +13 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +15 -25
- package/dist/index.d.ts +15 -25
- package/dist/index.mjs +13 -22
- package/dist/index.mjs.map +1 -1
- package/dist/{post-C-0GvAvh.d.mts → post-BnXA5t_U.d.mts} +15 -20
- package/dist/{post-BdonvD0s.d.ts → post-DDDWdbHZ.d.ts} +15 -20
- package/dist/{resourceActivities-BaEic0VS.d.ts → resourceActivities-C9XUSb9n.d.ts} +1 -1
- package/dist/{resourceActivities-D2pZ8AdX.d.mts → resourceActivities-CtfWc2rd.d.mts} +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.mjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { K as CreateFormData,
|
|
1
|
+
import { K as CreateFormData, T as TermsAgreement } from './global-D5dNxa5e.mjs';
|
|
2
|
+
import { EnumOSPlatform } from './enums/index.mjs';
|
|
2
3
|
|
|
3
4
|
type ContactUsFormData = {
|
|
4
5
|
email: string;
|
|
@@ -17,7 +18,7 @@ type LoginFormData = {
|
|
|
17
18
|
email: string;
|
|
18
19
|
isAdminPage?: boolean;
|
|
19
20
|
password: string;
|
|
20
|
-
|
|
21
|
+
platform?: EnumOSPlatform;
|
|
21
22
|
};
|
|
22
23
|
type CreateLoginFormData = CreateFormData<LoginFormData>;
|
|
23
24
|
type RegisterFormData = {
|
|
@@ -25,7 +26,7 @@ type RegisterFormData = {
|
|
|
25
26
|
firstName: string;
|
|
26
27
|
lastName: string;
|
|
27
28
|
password: string;
|
|
28
|
-
|
|
29
|
+
platform?: EnumOSPlatform;
|
|
29
30
|
preferredRegion: string;
|
|
30
31
|
termsAgreement?: TermsAgreement | null;
|
|
31
32
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { K as CreateFormData,
|
|
1
|
+
import { K as CreateFormData, T as TermsAgreement } from './global-x5DE08tD.js';
|
|
2
|
+
import { EnumOSPlatform } from './enums/index.js';
|
|
2
3
|
|
|
3
4
|
type ContactUsFormData = {
|
|
4
5
|
email: string;
|
|
@@ -17,7 +18,7 @@ type LoginFormData = {
|
|
|
17
18
|
email: string;
|
|
18
19
|
isAdminPage?: boolean;
|
|
19
20
|
password: string;
|
|
20
|
-
|
|
21
|
+
platform?: EnumOSPlatform;
|
|
21
22
|
};
|
|
22
23
|
type CreateLoginFormData = CreateFormData<LoginFormData>;
|
|
23
24
|
type RegisterFormData = {
|
|
@@ -25,7 +26,7 @@ type RegisterFormData = {
|
|
|
25
26
|
firstName: string;
|
|
26
27
|
lastName: string;
|
|
27
28
|
password: string;
|
|
28
|
-
|
|
29
|
+
platform?: EnumOSPlatform;
|
|
29
30
|
preferredRegion: string;
|
|
30
31
|
termsAgreement?: TermsAgreement | null;
|
|
31
32
|
};
|
|
@@ -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-D5dNxa5e.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-x5DE08tD.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -394,10 +394,5 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
394
394
|
setValue: UseFormSetValue<T>;
|
|
395
395
|
watch: UseFormWatch<T>;
|
|
396
396
|
}
|
|
397
|
-
type AppMetaDataType = {
|
|
398
|
-
appVersion: string | null;
|
|
399
|
-
platform: EnumOSPlatform | null;
|
|
400
|
-
buildNumber: string | null;
|
|
401
|
-
};
|
|
402
397
|
|
|
403
|
-
export type {
|
|
398
|
+
export type { CreateUnregisteredVendorFormData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, SubcategoryItems as H, Subcategory as I, ImageObjectType as J, CreateFormData as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, DateTimeWithPriceType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, PaymentInfoType as W, VendorLocation as X, VendorMenuType as Y, VendorAttributes as Z, UnregisteredVendorInvitationType as _, FormDateField as a, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, LocationGeoType as x, Region as y, EventStatusType as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -394,10 +394,5 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
394
394
|
setValue: UseFormSetValue<T>;
|
|
395
395
|
watch: UseFormWatch<T>;
|
|
396
396
|
}
|
|
397
|
-
type AppMetaDataType = {
|
|
398
|
-
appVersion: string | null;
|
|
399
|
-
platform: EnumOSPlatform | null;
|
|
400
|
-
buildNumber: string | null;
|
|
401
|
-
};
|
|
402
397
|
|
|
403
|
-
export type {
|
|
398
|
+
export type { CreateUnregisteredVendorFormData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, SubcategoryItems as H, Subcategory as I, ImageObjectType as J, CreateFormData as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, DateTimeWithPriceType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, PaymentInfoType as W, VendorLocation as X, VendorMenuType as Y, VendorAttributes as Z, UnregisteredVendorInvitationType as _, FormDateField as a, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, LocationGeoType as x, Region as y, EventStatusType as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -300,44 +300,35 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
300
300
|
fragment UserFields on UserType {
|
|
301
301
|
_id
|
|
302
302
|
active
|
|
303
|
-
appMetadata {
|
|
304
|
-
appVersion
|
|
305
|
-
platform
|
|
306
|
-
buildNumber
|
|
307
|
-
}
|
|
308
303
|
associates {
|
|
309
304
|
...AssociatesFields
|
|
310
305
|
}
|
|
306
|
+
avatar {
|
|
307
|
+
...ResourceImageFields
|
|
308
|
+
}
|
|
311
309
|
createdAt
|
|
312
310
|
deletedAt
|
|
311
|
+
email
|
|
312
|
+
events
|
|
313
|
+
firstName
|
|
313
314
|
isTester
|
|
315
|
+
lastName
|
|
314
316
|
licences {
|
|
315
317
|
...LicenceFields
|
|
316
318
|
}
|
|
319
|
+
partner
|
|
320
|
+
platform
|
|
321
|
+
preferredRegion
|
|
317
322
|
refreshToken
|
|
323
|
+
role
|
|
318
324
|
termsAgreement {
|
|
319
325
|
...TermsAgreementFields
|
|
320
326
|
}
|
|
321
|
-
updatedAt
|
|
322
327
|
userActivity {
|
|
323
328
|
...UserActivityFields
|
|
324
329
|
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
...ResourceImageFields
|
|
328
|
-
}
|
|
329
|
-
email
|
|
330
|
-
firstName
|
|
331
|
-
lastName
|
|
332
|
-
password
|
|
333
|
-
preferredRegion
|
|
334
|
-
role
|
|
335
|
-
}
|
|
336
|
-
userResources {
|
|
337
|
-
events
|
|
338
|
-
partner
|
|
339
|
-
vendor
|
|
340
|
-
}
|
|
330
|
+
vendor
|
|
331
|
+
updatedAt
|
|
341
332
|
}
|
|
342
333
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
343
334
|
${ASSOCIATES_FIELDS_FRAGMENT}
|