@timardex/cluemart-shared 1.4.7 → 1.4.9
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 +20 -7
- 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 +20 -7
- 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 +41 -23
- 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 +41 -23
- 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 {
|
|
@@ -696,14 +704,16 @@ var import_client5 = require("@apollo/client");
|
|
|
696
704
|
var VENDOR_LOCATION_FIELDS_FRAGMENT = import_client5.gql`
|
|
697
705
|
fragment VendorLocationFields on VendorLocationType {
|
|
698
706
|
city
|
|
699
|
-
coordinates
|
|
700
707
|
country
|
|
701
708
|
fullAddress
|
|
709
|
+
geo {
|
|
710
|
+
...LocationGeoFields
|
|
711
|
+
}
|
|
702
712
|
latitude
|
|
703
713
|
longitude
|
|
704
714
|
region
|
|
705
|
-
type
|
|
706
715
|
}
|
|
716
|
+
${LOCATION_GEO_FIELDS_FRAGMENT}
|
|
707
717
|
`;
|
|
708
718
|
var VENDOR_DATETIME_FIELDS_FRAGMENT = import_client5.gql`
|
|
709
719
|
fragment VendorDateTimeFields on VendorDateTimeType {
|
|
@@ -1225,7 +1235,10 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client10.gql`
|
|
|
1225
1235
|
`;
|
|
1226
1236
|
var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client10.gql`
|
|
1227
1237
|
mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
|
|
1228
|
-
removeParticipantFromChat(chatId: $chatId, userId: $userId)
|
|
1238
|
+
removeParticipantFromChat(chatId: $chatId, userId: $userId) {
|
|
1239
|
+
success
|
|
1240
|
+
region
|
|
1241
|
+
}
|
|
1229
1242
|
}
|
|
1230
1243
|
`;
|
|
1231
1244
|
var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client10.gql`
|
|
@@ -3083,8 +3096,7 @@ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
|
|
|
3083
3096
|
activity {
|
|
3084
3097
|
activityType
|
|
3085
3098
|
location {
|
|
3086
|
-
|
|
3087
|
-
coordinates
|
|
3099
|
+
...LocationGeoFields
|
|
3088
3100
|
}
|
|
3089
3101
|
dateStatus
|
|
3090
3102
|
startDate
|
|
@@ -3094,6 +3106,7 @@ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
|
|
|
3094
3106
|
userId
|
|
3095
3107
|
}
|
|
3096
3108
|
}
|
|
3109
|
+
${LOCATION_GEO_FIELDS_FRAGMENT}
|
|
3097
3110
|
`;
|
|
3098
3111
|
var GET_RESOURCE_ACTIVITY = import_client50.gql`
|
|
3099
3112
|
query getResourceActivity(
|