@timardex/cluemart-shared 1.3.71 → 1.3.73

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,4 @@
1
- import { z as CreateFormData, T as TermsAgreement } from './global-CZFlP3JK.js';
1
+ import { z as CreateFormData, T as TermsAgreement } from './global-sRP-50jD.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { z as CreateFormData, T as TermsAgreement } from './global-BAP95-Jh.mjs';
1
+ import { z as CreateFormData, T as TermsAgreement } from './global-Dcnzbzvv.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -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-BAP95-Jh.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-Dcnzbzvv.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-CZFlP3JK.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-sRP-50jD.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, EnumUserLicence, EnumSocialMedia, EnumEventDateStatus } from './enums/index.mjs';
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 & {
@@ -367,7 +367,7 @@ type ImageObjectType = {
367
367
  name: string;
368
368
  };
369
369
  interface ResourceConnectionsType {
370
- events: EventType[] | null;
370
+ events: EventListItemType[] | null;
371
371
  vendors: VendorType[] | null;
372
372
  }
373
373
  interface CreateFormData<T extends FieldValues> {
@@ -380,4 +380,4 @@ interface CreateFormData<T extends FieldValues> {
380
380
  watch: UseFormWatch<T>;
381
381
  }
382
382
 
383
- export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, EventListItemType 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, DeviceInfo as r, ResourceContactDetailsType as s, SocialMediaType as t, OwnerType as u, BaseResourceType as v, Region as w, SubcategoryItems as x, Subcategory as y, CreateFormData as z };
383
+ export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, 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, DeviceInfo as r, ResourceContactDetailsType as s, SocialMediaType as t, OwnerType as u, BaseResourceType as v, Region as w, SubcategoryItems as x, Subcategory as y, CreateFormData 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, EnumUserLicence, EnumSocialMedia, EnumEventDateStatus } from './enums/index.js';
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 & {
@@ -367,7 +367,7 @@ type ImageObjectType = {
367
367
  name: string;
368
368
  };
369
369
  interface ResourceConnectionsType {
370
- events: EventType[] | null;
370
+ events: EventListItemType[] | null;
371
371
  vendors: VendorType[] | null;
372
372
  }
373
373
  interface CreateFormData<T extends FieldValues> {
@@ -380,4 +380,4 @@ interface CreateFormData<T extends FieldValues> {
380
380
  watch: UseFormWatch<T>;
381
381
  }
382
382
 
383
- export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, EventListItemType 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, DeviceInfo as r, ResourceContactDetailsType as s, SocialMediaType as t, OwnerType as u, BaseResourceType as v, Region as w, SubcategoryItems as x, Subcategory as y, CreateFormData as z };
383
+ export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, 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, DeviceInfo as r, ResourceContactDetailsType as s, SocialMediaType as t, OwnerType as u, BaseResourceType as v, Region as w, SubcategoryItems as x, Subcategory as y, CreateFormData as z };
@@ -1570,12 +1570,9 @@ var useUpdateEventInfo = () => {
1570
1570
  // src/graphql/hooks/event/hooksQuery.ts
1571
1571
  var import_client20 = require("@apollo/client");
1572
1572
  var useGetEvents = () => {
1573
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(
1574
- GET_EVENTS,
1575
- {
1576
- fetchPolicy: "network-only"
1577
- }
1578
- );
1573
+ const { loading, error, data, refetch } = (0, import_client20.useQuery)(GET_EVENTS, {
1574
+ fetchPolicy: "network-only"
1575
+ });
1579
1576
  const events = data?.events || [];
1580
1577
  return { error, events, loading, refetch };
1581
1578
  };