@timardex/cluemart-shared 1.5.712 → 1.5.714

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,6 +1,6 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, P as PartnerType, a as ResourceByUser, b as AdType, E as EnumAdStatus, c as SubscriptionPlansResponse, d as SubscriptionStatusData, e as PostType, f as EnumPostType, g as AppSettingsType, G as GameDocType, h as GameLeaderboard, i as SchoolReturnType, j as SchoolType } from '../post-Bq1FtAVA.mjs';
3
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, P as PartnerType, a as ResourceByUser, b as AdType, E as EnumAdStatus, c as SubscriptionPlansResponse, d as SubscriptionStatusData, e as PostType, f as EnumPostType, g as AppSettingsType, G as GameDocType, h as GameLeaderboard, i as SchoolReturnType, j as SchoolType } from '../post-BEnFqDy7.mjs';
4
4
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CZqXBve8.mjs';
5
5
  import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType } from '../global-BEUzBSyY.mjs';
6
6
  import '../images/index.mjs';
@@ -1,6 +1,6 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, P as PartnerType, a as ResourceByUser, b as AdType, E as EnumAdStatus, c as SubscriptionPlansResponse, d as SubscriptionStatusData, e as PostType, f as EnumPostType, g as AppSettingsType, G as GameDocType, h as GameLeaderboard, i as SchoolReturnType, j as SchoolType } from '../post-NzdSDJAT.js';
3
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, P as PartnerType, a as ResourceByUser, b as AdType, E as EnumAdStatus, c as SubscriptionPlansResponse, d as SubscriptionStatusData, e as PostType, f as EnumPostType, g as AppSettingsType, G as GameDocType, h as GameLeaderboard, i as SchoolReturnType, j as SchoolType } from '../post-qUQ2rGL4.js';
4
4
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CjJdhVR7.js';
5
5
  import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType } from '../global-585slmSH.js';
6
6
  import '../images/index.js';
@@ -135,7 +135,7 @@ import {
135
135
  useUpdateVendor,
136
136
  useUpdateVendorInfo,
137
137
  useValidateVerificationToken
138
- } from "../chunk-H2DRSNAF.mjs";
138
+ } from "../chunk-GHTGWSA3.mjs";
139
139
  import "../chunk-JMOGW4IX.mjs";
140
140
  export {
141
141
  useAddParticipantToChat,
@@ -2377,6 +2377,26 @@ var DATETIME_FIELDS_FRAGMENT = import_client2.gql`
2377
2377
  startTime
2378
2378
  }
2379
2379
  `;
2380
+ var LOCATION_GEO_FIELDS_FRAGMENT = import_client2.gql`
2381
+ fragment LocationGeoFields on LocationGeoType {
2382
+ coordinates
2383
+ type
2384
+ }
2385
+ `;
2386
+ var LOCATION_FIELDS_FRAGMENT = import_client2.gql`
2387
+ fragment LocationFields on LocationType {
2388
+ city
2389
+ country
2390
+ fullAddress
2391
+ geo {
2392
+ ...LocationGeoFields
2393
+ }
2394
+ latitude
2395
+ longitude
2396
+ region
2397
+ }
2398
+ ${LOCATION_GEO_FIELDS_FRAGMENT}
2399
+ `;
2380
2400
  var USER_ACTIVITY_FIELDS_FRAGMENT = import_client2.gql`
2381
2401
  fragment UserActivityFields on UserActivityType {
2382
2402
  favourites {
@@ -2432,6 +2452,9 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
2432
2452
  licences {
2433
2453
  ...LicenceFields
2434
2454
  }
2455
+ location {
2456
+ ...LocationFields
2457
+ }
2435
2458
  partner
2436
2459
  overallPoints
2437
2460
  platform
@@ -2453,6 +2476,7 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
2453
2476
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
2454
2477
  ${USER_ACTIVITY_FIELDS_FRAGMENT}
2455
2478
  ${LICENCE_FIELDS_FRAGMENT}
2479
+ ${LOCATION_FIELDS_FRAGMENT}
2456
2480
  `;
2457
2481
  var STALL_TYPE_FIELDS_FRAGMENT = import_client2.gql`
2458
2482
  fragment StallTypeFields on StallTypeType {
@@ -2489,26 +2513,6 @@ var CONTACT_DETAILS_FIELDS_FRAGMENT = import_client2.gql`
2489
2513
  mobilePhone
2490
2514
  }
2491
2515
  `;
2492
- var LOCATION_GEO_FIELDS_FRAGMENT = import_client2.gql`
2493
- fragment LocationGeoFields on LocationGeoType {
2494
- coordinates
2495
- type
2496
- }
2497
- `;
2498
- var LOCATION_FIELDS_FRAGMENT = import_client2.gql`
2499
- fragment LocationFields on LocationType {
2500
- city
2501
- country
2502
- fullAddress
2503
- geo {
2504
- ...LocationGeoFields
2505
- }
2506
- latitude
2507
- longitude
2508
- region
2509
- }
2510
- ${LOCATION_GEO_FIELDS_FRAGMENT}
2511
- `;
2512
2516
  var EVENT_LIST_ITEM = import_client2.gql`
2513
2517
  fragment EventListItemFields on EventListItemType {
2514
2518
  _id
@@ -5470,6 +5474,7 @@ var defaultValues = {
5470
5474
  firstName: "",
5471
5475
  isTester: false,
5472
5476
  lastName: "",
5477
+ location: null,
5473
5478
  password: null,
5474
5479
  preferredRegion: "",
5475
5480
  role: "customer" /* CUSTOMER */
@@ -5498,6 +5503,7 @@ function useUserForm(data) {
5498
5503
  firstName: data.firstName,
5499
5504
  isTester: data.isTester,
5500
5505
  lastName: data.lastName,
5506
+ location: data.location,
5501
5507
  password: data.password,
5502
5508
  preferredRegion: data.preferredRegion,
5503
5509
  role: data.role,
@@ -5516,6 +5522,7 @@ function useUserForm(data) {
5516
5522
  firstName,
5517
5523
  isTester,
5518
5524
  lastName,
5525
+ location,
5519
5526
  password,
5520
5527
  preferredRegion,
5521
5528
  role,
@@ -5532,6 +5539,7 @@ function useUserForm(data) {
5532
5539
  firstName,
5533
5540
  isTester,
5534
5541
  lastName,
5542
+ location,
5535
5543
  password,
5536
5544
  preferredRegion,
5537
5545
  role,