@timardex/cluemart-shared 1.4.8 → 1.4.11
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-BmpK70hL.d.mts → auth-BNhymOFs.d.mts} +1 -1
- package/dist/{auth-CJIGgvus.d.ts → auth-CgzvvFjw.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-D8D6TL-I.d.mts → global-D5dNxa5e.d.mts} +6 -3
- package/dist/{global-DTSeqbV9.d.ts → global-x5DE08tD.d.ts} +6 -3
- package/dist/graphql/index.cjs +14 -18
- 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 +14 -18
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +21 -16
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +21 -16
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +35 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.mjs +35 -34
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DQtHcwIe.d.mts → post-BnXA5t_U.d.mts} +1 -1
- package/dist/{post-BmHp3BkB.d.ts → post-DDDWdbHZ.d.ts} +1 -1
- package/dist/{resourceActivities-BBmklkJb.d.ts → resourceActivities-C9XUSb9n.d.ts} +3 -5
- package/dist/{resourceActivities-DRMRA617.d.mts → resourceActivities-CtfWc2rd.d.mts} +3 -5
- 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,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
|
|
|
@@ -299,15 +299,18 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
|
|
|
299
299
|
reviewCount?: number | null;
|
|
300
300
|
updatedAt: Date | null;
|
|
301
301
|
};
|
|
302
|
+
type LocationGeoType = {
|
|
303
|
+
coordinates: number[];
|
|
304
|
+
type: "Point";
|
|
305
|
+
};
|
|
302
306
|
type LocationType = {
|
|
303
307
|
city: string;
|
|
304
|
-
coordinates: number[];
|
|
305
308
|
country: string;
|
|
306
309
|
fullAddress: string;
|
|
310
|
+
geo: LocationGeoType;
|
|
307
311
|
latitude: number;
|
|
308
312
|
longitude: number;
|
|
309
313
|
region: string;
|
|
310
|
-
type: "Point";
|
|
311
314
|
};
|
|
312
315
|
type DateTimeType = {
|
|
313
316
|
dateStatus: EnumEventDateStatus;
|
|
@@ -392,4 +395,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
392
395
|
watch: UseFormWatch<T>;
|
|
393
396
|
}
|
|
394
397
|
|
|
395
|
-
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G,
|
|
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 };
|
|
@@ -299,15 +299,18 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
|
|
|
299
299
|
reviewCount?: number | null;
|
|
300
300
|
updatedAt: Date | null;
|
|
301
301
|
};
|
|
302
|
+
type LocationGeoType = {
|
|
303
|
+
coordinates: number[];
|
|
304
|
+
type: "Point";
|
|
305
|
+
};
|
|
302
306
|
type LocationType = {
|
|
303
307
|
city: string;
|
|
304
|
-
coordinates: number[];
|
|
305
308
|
country: string;
|
|
306
309
|
fullAddress: string;
|
|
310
|
+
geo: LocationGeoType;
|
|
307
311
|
latitude: number;
|
|
308
312
|
longitude: number;
|
|
309
313
|
region: string;
|
|
310
|
-
type: "Point";
|
|
311
314
|
};
|
|
312
315
|
type DateTimeType = {
|
|
313
316
|
dateStatus: EnumEventDateStatus;
|
|
@@ -392,4 +395,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
392
395
|
watch: UseFormWatch<T>;
|
|
393
396
|
}
|
|
394
397
|
|
|
395
|
-
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G,
|
|
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
|
@@ -375,17 +375,25 @@ var CONTACT_DETAILS_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
375
375
|
mobilePhone
|
|
376
376
|
}
|
|
377
377
|
`;
|
|
378
|
+
var LOCATION_GEO_FIELDS_FRAGMENT = import_client2.gql`
|
|
379
|
+
fragment LocationGeoFields on LocationGeoType {
|
|
380
|
+
coordinates
|
|
381
|
+
type
|
|
382
|
+
}
|
|
383
|
+
`;
|
|
378
384
|
var LOCATION_FIELDS_FRAGMENT = import_client2.gql`
|
|
379
385
|
fragment LocationFields on LocationType {
|
|
380
386
|
city
|
|
381
|
-
coordinates
|
|
382
387
|
country
|
|
383
388
|
fullAddress
|
|
389
|
+
geo {
|
|
390
|
+
...LocationGeoFields
|
|
391
|
+
}
|
|
384
392
|
latitude
|
|
385
393
|
longitude
|
|
386
394
|
region
|
|
387
|
-
type
|
|
388
395
|
}
|
|
396
|
+
${LOCATION_GEO_FIELDS_FRAGMENT}
|
|
389
397
|
`;
|
|
390
398
|
var EVENT_LIST_ITEM = import_client2.gql`
|
|
391
399
|
fragment EventListItemFields on EventListItemType {
|
|
@@ -693,18 +701,6 @@ var GET_TESTER = import_client4.gql`
|
|
|
693
701
|
|
|
694
702
|
// src/graphql/queries/vendor.ts
|
|
695
703
|
var import_client5 = require("@apollo/client");
|
|
696
|
-
var VENDOR_LOCATION_FIELDS_FRAGMENT = import_client5.gql`
|
|
697
|
-
fragment VendorLocationFields on VendorLocationType {
|
|
698
|
-
city
|
|
699
|
-
coordinates
|
|
700
|
-
country
|
|
701
|
-
fullAddress
|
|
702
|
-
latitude
|
|
703
|
-
longitude
|
|
704
|
-
region
|
|
705
|
-
type
|
|
706
|
-
}
|
|
707
|
-
`;
|
|
708
704
|
var VENDOR_DATETIME_FIELDS_FRAGMENT = import_client5.gql`
|
|
709
705
|
fragment VendorDateTimeFields on VendorDateTimeType {
|
|
710
706
|
dateStatus
|
|
@@ -758,7 +754,7 @@ var VENDOR = import_client5.gql`
|
|
|
758
754
|
}
|
|
759
755
|
description
|
|
760
756
|
location {
|
|
761
|
-
...
|
|
757
|
+
...LocationFields
|
|
762
758
|
}
|
|
763
759
|
}
|
|
764
760
|
logo {
|
|
@@ -796,7 +792,7 @@ var VENDOR = import_client5.gql`
|
|
|
796
792
|
}
|
|
797
793
|
${CATEGORY_FIELDS_FRAGMENT}
|
|
798
794
|
${VENDOR_DATETIME_FIELDS_FRAGMENT}
|
|
799
|
-
${
|
|
795
|
+
${LOCATION_FIELDS_FRAGMENT}
|
|
800
796
|
${OWNER_FIELDS_FRAGMENT}
|
|
801
797
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
802
798
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
@@ -3086,8 +3082,7 @@ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
|
|
|
3086
3082
|
activity {
|
|
3087
3083
|
activityType
|
|
3088
3084
|
location {
|
|
3089
|
-
|
|
3090
|
-
coordinates
|
|
3085
|
+
...LocationGeoFields
|
|
3091
3086
|
}
|
|
3092
3087
|
dateStatus
|
|
3093
3088
|
startDate
|
|
@@ -3097,6 +3092,7 @@ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
|
|
|
3097
3092
|
userId
|
|
3098
3093
|
}
|
|
3099
3094
|
}
|
|
3095
|
+
${LOCATION_GEO_FIELDS_FRAGMENT}
|
|
3100
3096
|
`;
|
|
3101
3097
|
var GET_RESOURCE_ACTIVITY = import_client50.gql`
|
|
3102
3098
|
query getResourceActivity(
|