@timardex/cluemart-shared 1.3.37 → 1.3.38
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-DkJ0i7X5.d.ts → auth-CTIC98LE.d.ts} +1 -1
- package/dist/{auth-BGOx1McZ.d.mts → auth-duNF_25U.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-CfCbqhR0.d.mts → global-OV8Kw7GZ.d.mts} +14 -1
- package/dist/{global-ZjNLEVhq.d.ts → global-jmCVxHjD.d.ts} +14 -1
- package/dist/graphql/index.cjs +30 -3
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/graphql/index.mjs +30 -3
- 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 +30 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.mjs +30 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{post-BplAZZcD.d.ts → post-B1pzBnlo.d.ts} +1 -1
- package/dist/{post-CK04kNRr.d.mts → post-DI7LRKGd.d.mts} +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- 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-OV8Kw7GZ.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-jmCVxHjD.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -88,6 +88,19 @@ interface EventType extends BaseResourceType {
|
|
|
88
88
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
89
89
|
_id: string;
|
|
90
90
|
};
|
|
91
|
+
type UserActivityEventType = {
|
|
92
|
+
_id: string;
|
|
93
|
+
active: boolean;
|
|
94
|
+
cover: ResourceImageType;
|
|
95
|
+
dateTime: DateTimeType;
|
|
96
|
+
eventType: EnumEventType;
|
|
97
|
+
location: LocationType;
|
|
98
|
+
logo?: ResourceImageType;
|
|
99
|
+
name: string;
|
|
100
|
+
rainOrShine: boolean;
|
|
101
|
+
region: string;
|
|
102
|
+
socialMedia?: SocialMediaType[];
|
|
103
|
+
};
|
|
91
104
|
|
|
92
105
|
type VendorLocation = {
|
|
93
106
|
dateTime: Nullable<DateTimeType> | null;
|
|
@@ -340,4 +353,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
340
353
|
watch: UseFormWatch<T>;
|
|
341
354
|
}
|
|
342
355
|
|
|
343
|
-
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G,
|
|
356
|
+
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, RelationDate as H, ImageObjectType as I, VendorLocation as J, VendorMenuType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorAttributes as Q, Requirement as R, StallType as S, TermsAgreement as T, UserLicenceType as U, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, BaseResourceType as r, DateTimeType as s, Region as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, DateTimeWithPriceType as x, PaymentInfoType as y, UserActivityEventType as z };
|
|
@@ -88,6 +88,19 @@ interface EventType extends BaseResourceType {
|
|
|
88
88
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
89
89
|
_id: string;
|
|
90
90
|
};
|
|
91
|
+
type UserActivityEventType = {
|
|
92
|
+
_id: string;
|
|
93
|
+
active: boolean;
|
|
94
|
+
cover: ResourceImageType;
|
|
95
|
+
dateTime: DateTimeType;
|
|
96
|
+
eventType: EnumEventType;
|
|
97
|
+
location: LocationType;
|
|
98
|
+
logo?: ResourceImageType;
|
|
99
|
+
name: string;
|
|
100
|
+
rainOrShine: boolean;
|
|
101
|
+
region: string;
|
|
102
|
+
socialMedia?: SocialMediaType[];
|
|
103
|
+
};
|
|
91
104
|
|
|
92
105
|
type VendorLocation = {
|
|
93
106
|
dateTime: Nullable<DateTimeType> | null;
|
|
@@ -340,4 +353,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
340
353
|
watch: UseFormWatch<T>;
|
|
341
354
|
}
|
|
342
355
|
|
|
343
|
-
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G,
|
|
356
|
+
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, RelationDate as H, ImageObjectType as I, VendorLocation as J, VendorMenuType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorAttributes as Q, Requirement as R, StallType as S, TermsAgreement as T, UserLicenceType as U, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, BaseResourceType as r, DateTimeType as s, Region as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, DateTimeWithPriceType as x, PaymentInfoType as y, UserActivityEventType as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -1317,6 +1317,32 @@ var SEARCH_PARTNERS = import_client17.gql`
|
|
|
1317
1317
|
`;
|
|
1318
1318
|
|
|
1319
1319
|
// src/graphql/queries/user.ts
|
|
1320
|
+
var USER_ACTIVITY_EVENT_FRAGMENT = import_client18.gql`
|
|
1321
|
+
fragment UserActivityEventFields on UserActivityEventType {
|
|
1322
|
+
_id
|
|
1323
|
+
active
|
|
1324
|
+
cover {
|
|
1325
|
+
...ResourceImageFields
|
|
1326
|
+
}
|
|
1327
|
+
dateTime
|
|
1328
|
+
eventType
|
|
1329
|
+
location {
|
|
1330
|
+
...LocationFields
|
|
1331
|
+
}
|
|
1332
|
+
logo {
|
|
1333
|
+
...ResourceImageFields
|
|
1334
|
+
}
|
|
1335
|
+
name
|
|
1336
|
+
rainOrShine
|
|
1337
|
+
region
|
|
1338
|
+
socialMedia {
|
|
1339
|
+
...SocialMediaFields
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
1343
|
+
${LOCATION_FIELDS_FRAGMENT}
|
|
1344
|
+
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
1345
|
+
`;
|
|
1320
1346
|
var GET_USERS = import_client18.gql`
|
|
1321
1347
|
query getUsers {
|
|
1322
1348
|
users {
|
|
@@ -1370,23 +1396,24 @@ var GET_USER_ACTIVITIES = import_client18.gql`
|
|
|
1370
1396
|
}
|
|
1371
1397
|
going {
|
|
1372
1398
|
events {
|
|
1373
|
-
...
|
|
1399
|
+
...UserActivityEventFields
|
|
1374
1400
|
}
|
|
1375
1401
|
}
|
|
1376
1402
|
interested {
|
|
1377
1403
|
events {
|
|
1378
|
-
...
|
|
1404
|
+
...UserActivityEventFields
|
|
1379
1405
|
}
|
|
1380
1406
|
}
|
|
1381
1407
|
present {
|
|
1382
1408
|
events {
|
|
1383
|
-
...
|
|
1409
|
+
...UserActivityEventFields
|
|
1384
1410
|
}
|
|
1385
1411
|
}
|
|
1386
1412
|
}
|
|
1387
1413
|
}
|
|
1388
1414
|
${EVENT}
|
|
1389
1415
|
${VENDOR}
|
|
1416
|
+
${USER_ACTIVITY_EVENT_FRAGMENT}
|
|
1390
1417
|
`;
|
|
1391
1418
|
|
|
1392
1419
|
// src/graphql/hooks/event/hooksMutation.ts
|