@timardex/cluemart-shared 1.2.18 → 1.2.20

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,5 +1,5 @@
1
1
  import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-BEqzo5Z2.mjs';
2
- import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-BozU03cK.mjs';
2
+ import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-CMPlGS2z.mjs';
3
3
  import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-BVGs-5Vm.mjs';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.mjs';
@@ -1,5 +1,5 @@
1
1
  import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-BA84KF8J.js';
2
- import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-0fMmeab1.js';
2
+ import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-CbnwOWnz.js';
3
3
  import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-BhUIvvZ2.js';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.js';
package/dist/index.cjs CHANGED
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
+ EnumActivity: () => EnumActivity,
33
34
  EnumAdShowOn: () => EnumAdShowOn,
34
35
  EnumAdStatus: () => EnumAdStatus,
35
36
  EnumAdStyle: () => EnumAdStyle,
@@ -2257,7 +2258,7 @@ var USER_ACTIVITY_FIELDS_FRAGMENT = import_client2.gql`
2257
2258
  events
2258
2259
  vendors
2259
2260
  }
2260
- interests {
2261
+ interested {
2261
2262
  events {
2262
2263
  resourceId
2263
2264
  startDate
@@ -3157,7 +3158,7 @@ var GET_USER_ACTIVITIES = import_client16.gql`
3157
3158
  ...VendorFields
3158
3159
  }
3159
3160
  }
3160
- interests {
3161
+ interested {
3161
3162
  events {
3162
3163
  ...EventFields
3163
3164
  }
@@ -4474,8 +4475,8 @@ var useGetUserActivities = () => {
4474
4475
  going: {
4475
4476
  events: data?.userActivities.going.events
4476
4477
  },
4477
- interests: {
4478
- events: data?.userActivities.interests.events
4478
+ interested: {
4479
+ events: data?.userActivities.interested.events
4479
4480
  }
4480
4481
  };
4481
4482
  return { error, loading, refetch, userActivities };
@@ -4671,13 +4672,15 @@ var RESOURCE_ACTIVITIES_FIELDS_FRAGMENT = import_client49.gql`
4671
4672
  fragment ResourceActivitiesFields on ResourceActivitiesType {
4672
4673
  resourceId
4673
4674
  resourceType
4674
- views {
4675
+ activity {
4676
+ activityType
4675
4677
  location {
4676
4678
  type
4677
4679
  coordinates
4678
4680
  }
4681
+ startDate
4682
+ timestamp
4679
4683
  userAgent
4680
- viewedAt
4681
4684
  }
4682
4685
  }
4683
4686
  `;
@@ -6219,8 +6222,18 @@ var fonts = {
6219
6222
  fontWeight: "400"
6220
6223
  }
6221
6224
  };
6225
+
6226
+ // src/types/resourceActivities.ts
6227
+ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
6228
+ EnumActivity2["VIEW"] = "VIEW";
6229
+ EnumActivity2["GOING"] = "GOING";
6230
+ EnumActivity2["INTERESTED"] = "INTERESTED";
6231
+ EnumActivity2["FAVORITE"] = "FAVORITE";
6232
+ return EnumActivity2;
6233
+ })(EnumActivity || {});
6222
6234
  // Annotate the CommonJS export names for ESM import in node:
6223
6235
  0 && (module.exports = {
6236
+ EnumActivity,
6224
6237
  EnumAdShowOn,
6225
6238
  EnumAdStatus,
6226
6239
  EnumAdStyle,