@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.
- package/dist/{auth-DYuoZZVF.d.ts → auth-DM358xTT.d.ts} +1 -1
- package/dist/{auth-D80VFGbC.d.mts → auth-D_ipdv5q.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-BAP95-Jh.d.mts → global-Dcnzbzvv.d.mts} +3 -3
- package/dist/{global-CZFlP3JK.d.ts → global-sRP-50jD.d.ts} +3 -3
- package/dist/graphql/index.cjs +3 -6
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +12 -12
- package/dist/graphql/index.d.ts +12 -12
- package/dist/graphql/index.mjs +3 -6
- 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 +3 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.mjs +3 -6
- package/dist/index.mjs.map +1 -1
- package/dist/{post-8m11ia1u.d.mts → post-DktxiaUW.d.mts} +1 -1
- package/dist/{post-U8yX-D4F.d.ts → post-Dy8piocE.d.ts} +1 -1
- package/dist/types/index.d.mts +6 -6
- package/dist/types/index.d.ts +6 -6
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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-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-
|
|
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
|
|
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:
|
|
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,
|
|
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
|
|
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:
|
|
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,
|
|
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 };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -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
|
-
|
|
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
|
};
|