@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.
@@ -1,4 +1,5 @@
1
- import { K as CreateFormData, Q as AppMetaDataType, T as TermsAgreement } from './global-DdNUoIKL.js';
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
- appMetadata?: AppMetaDataType | null;
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
- appMetadata?: AppMetaDataType | null;
29
+ platform?: EnumOSPlatform;
29
30
  preferredRegion: string;
30
31
  termsAgreement?: TermsAgreement | null;
31
32
  };
@@ -1,4 +1,5 @@
1
- import { K as CreateFormData, Q as AppMetaDataType, T as TermsAgreement } from './global-DhBPsOLv.mjs';
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
- appMetadata?: AppMetaDataType | null;
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
- appMetadata?: AppMetaDataType | null;
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-DhBPsOLv.mjs';
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-DdNUoIKL.js';
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, EnumOSPlatform } from './enums/index.js';
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 { UnregisteredVendorInvitationType 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, AppMetaDataType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, DateTimeWithPriceType as W, PaymentInfoType as X, VendorLocation as Y, VendorMenuType as Z, VendorAttributes as _, FormDateField as a, CreateUnregisteredVendorFormData as a0, 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 };
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, EnumOSPlatform } from './enums/index.mjs';
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 { UnregisteredVendorInvitationType 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, AppMetaDataType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, DateTimeWithPriceType as W, PaymentInfoType as X, VendorLocation as Y, VendorMenuType as Z, VendorAttributes as _, FormDateField as a, CreateUnregisteredVendorFormData as a0, 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 };
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 };
@@ -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
- userDetails {
326
- avatar {
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}