@timardex/cluemart-shared 1.5.762 → 1.5.765

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.
Files changed (56) hide show
  1. package/dist/{ad-CJagQnlM.d.ts → ad-12qIWwu_.d.ts} +1 -1
  2. package/dist/{ad-DvMxLm4X.d.mts → ad-Orgg8VLY.d.mts} +1 -1
  3. package/dist/{chunk-MVRRQ7CN.mjs → chunk-4IFDECGL.mjs} +2 -2
  4. package/dist/{chunk-V6XMJOAO.mjs → chunk-BD52O2F5.mjs} +2 -2
  5. package/dist/{chunk-MBU3ZY6J.mjs → chunk-TWH7MY2Y.mjs} +9 -3
  6. package/dist/chunk-TWH7MY2Y.mjs.map +1 -0
  7. package/dist/{chunk-4LVHHYB3.mjs → chunk-WN3TH5SG.mjs} +198 -163
  8. package/dist/chunk-WN3TH5SG.mjs.map +1 -0
  9. package/dist/{chunk-RGE5GVDJ.mjs → chunk-YTHDXYNK.mjs} +1 -1
  10. package/dist/chunk-YTHDXYNK.mjs.map +1 -0
  11. package/dist/{contactUs-4VZQ638B.d.ts → contactUs-CagyPoim.d.ts} +1 -1
  12. package/dist/{contactUs-D7tniSAx.d.mts → contactUs-bokiUF_R.d.mts} +1 -1
  13. package/dist/formFields/index.d.mts +1 -1
  14. package/dist/formFields/index.d.ts +1 -1
  15. package/dist/formFields/index.mjs +3 -3
  16. package/dist/{global-BpBsWczS.d.mts → global-CDs9AQha.d.mts} +4 -6
  17. package/dist/{global-BqDLgGwU.d.ts → global-zbAVHr9-.d.ts} +4 -6
  18. package/dist/graphql/index.cjs +372 -333
  19. package/dist/graphql/index.cjs.map +1 -1
  20. package/dist/graphql/index.d.mts +9 -4
  21. package/dist/graphql/index.d.ts +9 -4
  22. package/dist/graphql/index.mjs +9 -1
  23. package/dist/hooks/index.cjs +228 -196
  24. package/dist/hooks/index.cjs.map +1 -1
  25. package/dist/hooks/index.d.mts +3 -3
  26. package/dist/hooks/index.d.ts +3 -3
  27. package/dist/hooks/index.mjs +6 -5
  28. package/dist/hooks/index.mjs.map +1 -1
  29. package/dist/index.cjs +379 -333
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.mts +14 -6
  32. package/dist/index.d.ts +14 -6
  33. package/dist/index.mjs +203 -162
  34. package/dist/index.mjs.map +1 -1
  35. package/dist/map/index.d.mts +1 -1
  36. package/dist/map/index.d.ts +1 -1
  37. package/dist/{resourceActivities-C_0LA9YJ.d.mts → resourceActivities-Dbxhm_Ax.d.mts} +1 -1
  38. package/dist/{resourceActivities-D0w8LT8f.d.ts → resourceActivities-dRHhkvN2.d.ts} +1 -1
  39. package/dist/sharing/index.cjs +7 -0
  40. package/dist/sharing/index.cjs.map +1 -1
  41. package/dist/sharing/index.d.mts +7 -2
  42. package/dist/sharing/index.d.ts +7 -2
  43. package/dist/sharing/index.mjs +5 -3
  44. package/dist/types/index.cjs.map +1 -1
  45. package/dist/types/index.d.mts +5 -5
  46. package/dist/types/index.d.ts +5 -5
  47. package/dist/types/index.mjs +1 -1
  48. package/dist/utils/index.d.mts +1 -1
  49. package/dist/utils/index.d.ts +1 -1
  50. package/dist/utils/index.mjs +2 -2
  51. package/package.json +1 -1
  52. package/dist/chunk-4LVHHYB3.mjs.map +0 -1
  53. package/dist/chunk-MBU3ZY6J.mjs.map +0 -1
  54. package/dist/chunk-RGE5GVDJ.mjs.map +0 -1
  55. /package/dist/{chunk-MVRRQ7CN.mjs.map → chunk-4IFDECGL.mjs.map} +0 -0
  56. /package/dist/{chunk-V6XMJOAO.mjs.map → chunk-BD52O2F5.mjs.map} +0 -0
package/dist/index.cjs CHANGED
@@ -69,11 +69,15 @@ __export(index_exports, {
69
69
  EnumVendorType: () => EnumVendorType,
70
70
  EnumVerificationType: () => EnumVerificationType,
71
71
  GET_EVENT: () => GET_EVENT,
72
+ GET_EVENT_BY_SLUG: () => GET_EVENT_BY_SLUG,
72
73
  GET_EVENT_INFO: () => GET_EVENT_INFO,
73
74
  GET_PARTNER: () => GET_PARTNER,
75
+ GET_PARTNER_BY_SLUG: () => GET_PARTNER_BY_SLUG,
74
76
  GET_POST: () => GET_POST,
77
+ GET_POST_BY_SLUG: () => GET_POST_BY_SLUG,
75
78
  GET_RESOURCE_CONNECTIONS: () => GET_RESOURCE_CONNECTIONS,
76
79
  GET_VENDOR: () => GET_VENDOR,
80
+ GET_VENDOR_BY_SLUG: () => GET_VENDOR_BY_SLUG,
77
81
  GET_VENDOR_INFO: () => GET_VENDOR_INFO,
78
82
  IMAGE_EXTENSION: () => IMAGE_EXTENSION,
79
83
  IOS_URL: () => IOS_URL,
@@ -257,6 +261,7 @@ __export(index_exports, {
257
261
  rewardNiceNames: () => rewardNiceNames,
258
262
  seededShuffle: () => seededShuffle,
259
263
  shareMessageFooterPlacementForType: () => shareMessageFooterPlacementForType,
264
+ shareSlugResourceId: () => shareSlugResourceId,
260
265
  shouldShowEventActionsWithWeather: () => shouldShowEventActionsWithWeather,
261
266
  socialMediaFields: () => socialMediaFields,
262
267
  sortDatesChronologically: () => sortDatesChronologically,
@@ -4345,9 +4350,40 @@ var GET_POSTS_BY_TYPE = import_client7.gql`
4345
4350
  ${POST_FIELDS_FRAGMENT}
4346
4351
  `;
4347
4352
 
4348
- // src/graphql/queries/relation.ts
4353
+ // src/graphql/queries/shareSlug.ts
4349
4354
  var import_client8 = require("@apollo/client");
4350
- var RELATION_FIELDS_FRAGMENT = import_client8.gql`
4355
+ var GET_EVENT_BY_SLUG = import_client8.gql`
4356
+ query getEventBySlug($slug: String!) {
4357
+ eventBySlug(slug: $slug) {
4358
+ _id
4359
+ }
4360
+ }
4361
+ `;
4362
+ var GET_VENDOR_BY_SLUG = import_client8.gql`
4363
+ query getVendorBySlug($slug: String!) {
4364
+ vendorBySlug(slug: $slug) {
4365
+ _id
4366
+ }
4367
+ }
4368
+ `;
4369
+ var GET_PARTNER_BY_SLUG = import_client8.gql`
4370
+ query getPartnerBySlug($slug: String!) {
4371
+ partnerBySlug(slug: $slug) {
4372
+ _id
4373
+ }
4374
+ }
4375
+ `;
4376
+ var GET_POST_BY_SLUG = import_client8.gql`
4377
+ query getPostBySlug($slug: String!, $postType: PostTypeEnum!) {
4378
+ postBySlug(slug: $slug, postType: $postType) {
4379
+ _id
4380
+ }
4381
+ }
4382
+ `;
4383
+
4384
+ // src/graphql/queries/relation.ts
4385
+ var import_client9 = require("@apollo/client");
4386
+ var RELATION_FIELDS_FRAGMENT = import_client9.gql`
4351
4387
  fragment RelationFields on RelationType {
4352
4388
  _id
4353
4389
  active
@@ -4364,7 +4400,7 @@ var RELATION_FIELDS_FRAGMENT = import_client8.gql`
4364
4400
  }
4365
4401
  ${RELATION_DATES_FRAGMENT}
4366
4402
  `;
4367
- var GET_RELATION = import_client8.gql`
4403
+ var GET_RELATION = import_client9.gql`
4368
4404
  query getRelation($_id: ID!) {
4369
4405
  relation(_id: $_id) {
4370
4406
  ...RelationFields
@@ -4372,7 +4408,7 @@ var GET_RELATION = import_client8.gql`
4372
4408
  }
4373
4409
  ${RELATION_FIELDS_FRAGMENT}
4374
4410
  `;
4375
- var GET_RELATION_BY_EVENT_AND_VENDOR = import_client8.gql`
4411
+ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client9.gql`
4376
4412
  query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
4377
4413
  relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
4378
4414
  ...RelationFields
@@ -4380,7 +4416,7 @@ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client8.gql`
4380
4416
  }
4381
4417
  ${RELATION_FIELDS_FRAGMENT}
4382
4418
  `;
4383
- var GET_EVENT_RELATIONS = import_client8.gql`
4419
+ var GET_EVENT_RELATIONS = import_client9.gql`
4384
4420
  query getEventRelations($eventId: ID!) {
4385
4421
  eventRelations(eventId: $eventId) {
4386
4422
  ...RelationFields
@@ -4388,7 +4424,7 @@ var GET_EVENT_RELATIONS = import_client8.gql`
4388
4424
  }
4389
4425
  ${RELATION_FIELDS_FRAGMENT}
4390
4426
  `;
4391
- var GET_VENDOR_RELATIONS = import_client8.gql`
4427
+ var GET_VENDOR_RELATIONS = import_client9.gql`
4392
4428
  query getVendorRelations($vendorId: ID!) {
4393
4429
  vendorRelations(vendorId: $vendorId) {
4394
4430
  ...RelationFields
@@ -4396,7 +4432,7 @@ var GET_VENDOR_RELATIONS = import_client8.gql`
4396
4432
  }
4397
4433
  ${RELATION_FIELDS_FRAGMENT}
4398
4434
  `;
4399
- var GET_RESOURCE_CONNECTIONS = import_client8.gql`
4435
+ var GET_RESOURCE_CONNECTIONS = import_client9.gql`
4400
4436
  query getResourceConnections(
4401
4437
  $resourceId: ID!
4402
4438
  $resourceType: ResourceTypeEnum!
@@ -5263,11 +5299,11 @@ function toGraphqlQueryString(query) {
5263
5299
  }
5264
5300
 
5265
5301
  // src/graphql/hooks/admin/hooksMutation.ts
5266
- var import_client10 = require("@apollo/client");
5302
+ var import_client11 = require("@apollo/client");
5267
5303
 
5268
5304
  // src/graphql/mutations/admin.ts
5269
- var import_client9 = require("@apollo/client");
5270
- var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client9.gql`
5305
+ var import_client10 = require("@apollo/client");
5306
+ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client10.gql`
5271
5307
  mutation adminUpdateResourceType($input: AdminUpdateResourceInputType!) {
5272
5308
  adminUpdateResourceType(input: $input) {
5273
5309
  active
@@ -5276,12 +5312,12 @@ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client9.gql`
5276
5312
  }
5277
5313
  }
5278
5314
  `;
5279
- var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client9.gql`
5315
+ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client10.gql`
5280
5316
  mutation adminResendUserVerificationEmail($userId: ID!) {
5281
5317
  adminResendUserVerificationEmail(userId: $userId)
5282
5318
  }
5283
5319
  `;
5284
- var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client9.gql`
5320
+ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client10.gql`
5285
5321
  mutation adminPermanentlyDeleteResource(
5286
5322
  $resourceId: ID!
5287
5323
  $resourceType: ResourceTypeEnum!
@@ -5295,7 +5331,7 @@ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client9.gql`
5295
5331
 
5296
5332
  // src/graphql/hooks/admin/hooksMutation.ts
5297
5333
  var useAdminUpdateResourceType = () => {
5298
- const [adminUpdateResourceType, { loading, error }] = (0, import_client10.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
5334
+ const [adminUpdateResourceType, { loading, error }] = (0, import_client11.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
5299
5335
  awaitRefetchQueries: true,
5300
5336
  refetchQueries: (mutationResult) => {
5301
5337
  const adminUpdateResourceType2 = mutationResult?.data?.adminUpdateResourceType;
@@ -5318,7 +5354,7 @@ var useAdminUpdateResourceType = () => {
5318
5354
  };
5319
5355
  };
5320
5356
  var useAdminResendUserVerificationEmail = () => {
5321
- const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client10.useMutation)(
5357
+ const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client11.useMutation)(
5322
5358
  ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION
5323
5359
  );
5324
5360
  return {
@@ -5328,7 +5364,7 @@ var useAdminResendUserVerificationEmail = () => {
5328
5364
  };
5329
5365
  };
5330
5366
  var useAdminPermanentlyDeleteResource = () => {
5331
- const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client10.useMutation)(
5367
+ const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client11.useMutation)(
5332
5368
  ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION
5333
5369
  );
5334
5370
  return {
@@ -5339,11 +5375,11 @@ var useAdminPermanentlyDeleteResource = () => {
5339
5375
  };
5340
5376
 
5341
5377
  // src/graphql/hooks/auth.ts
5342
- var import_client12 = require("@apollo/client");
5378
+ var import_client13 = require("@apollo/client");
5343
5379
 
5344
5380
  // src/graphql/mutations/auth.ts
5345
- var import_client11 = require("@apollo/client");
5346
- var REGISTER_MUTATION = import_client11.gql`
5381
+ var import_client12 = require("@apollo/client");
5382
+ var REGISTER_MUTATION = import_client12.gql`
5347
5383
  mutation register($input: RegisterInputType!) {
5348
5384
  register(input: $input) {
5349
5385
  message
@@ -5356,7 +5392,7 @@ var REGISTER_MUTATION = import_client11.gql`
5356
5392
  }
5357
5393
  ${USER_FIELDS_FRAGMENT}
5358
5394
  `;
5359
- var LOGIN_MUTATION = import_client11.gql`
5395
+ var LOGIN_MUTATION = import_client12.gql`
5360
5396
  mutation login($input: LoginInputType!) {
5361
5397
  login(input: $input) {
5362
5398
  message
@@ -5369,14 +5405,14 @@ var LOGIN_MUTATION = import_client11.gql`
5369
5405
  }
5370
5406
  ${USER_FIELDS_FRAGMENT}
5371
5407
  `;
5372
- var LOGOUT_MUTATION = import_client11.gql`
5408
+ var LOGOUT_MUTATION = import_client12.gql`
5373
5409
  mutation logout {
5374
5410
  logout {
5375
5411
  message
5376
5412
  }
5377
5413
  }
5378
5414
  `;
5379
- var REFRESH_TOKEN_MUTATION = import_client11.gql`
5415
+ var REFRESH_TOKEN_MUTATION = import_client12.gql`
5380
5416
  mutation refreshToken($input: RefreshTokenInputType!) {
5381
5417
  refreshToken(input: $input) {
5382
5418
  refreshToken
@@ -5384,21 +5420,21 @@ var REFRESH_TOKEN_MUTATION = import_client11.gql`
5384
5420
  }
5385
5421
  }
5386
5422
  `;
5387
- var RESET_PASSWORD_MUTATION = import_client11.gql`
5423
+ var RESET_PASSWORD_MUTATION = import_client12.gql`
5388
5424
  mutation resetPassword($input: ResetPasswordInputType!) {
5389
5425
  resetPassword(input: $input) {
5390
5426
  message
5391
5427
  }
5392
5428
  }
5393
5429
  `;
5394
- var REQUEST_PASSWORD_RESET_MUTATION = import_client11.gql`
5430
+ var REQUEST_PASSWORD_RESET_MUTATION = import_client12.gql`
5395
5431
  mutation requestPasswordReset($input: RequestPasswordResetInputType!) {
5396
5432
  requestPasswordReset(input: $input) {
5397
5433
  message
5398
5434
  }
5399
5435
  }
5400
5436
  `;
5401
- var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client11.gql`
5437
+ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client12.gql`
5402
5438
  mutation validateVerificationToken(
5403
5439
  $input: ValidateVerificationTokenInputType!
5404
5440
  ) {
@@ -5410,49 +5446,49 @@ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client11.gql`
5410
5446
 
5411
5447
  // src/graphql/hooks/auth.ts
5412
5448
  var useRegister = () => {
5413
- const [register, { loading, error }] = (0, import_client12.useMutation)(REGISTER_MUTATION);
5449
+ const [register, { loading, error }] = (0, import_client13.useMutation)(REGISTER_MUTATION);
5414
5450
  return { error, loading, register };
5415
5451
  };
5416
5452
  var useLogin = () => {
5417
- const [login, { loading, error }] = (0, import_client12.useMutation)(LOGIN_MUTATION);
5453
+ const [login, { loading, error }] = (0, import_client13.useMutation)(LOGIN_MUTATION);
5418
5454
  return { error, loading, login };
5419
5455
  };
5420
5456
  var useLogout = () => {
5421
- const [logout, { loading, error }] = (0, import_client12.useMutation)(LOGOUT_MUTATION);
5457
+ const [logout, { loading, error }] = (0, import_client13.useMutation)(LOGOUT_MUTATION);
5422
5458
  return { error, loading, logout };
5423
5459
  };
5424
5460
  var useRefreshToken = () => {
5425
- const [refreshToken, { loading, error }] = (0, import_client12.useMutation)(REFRESH_TOKEN_MUTATION);
5461
+ const [refreshToken, { loading, error }] = (0, import_client13.useMutation)(REFRESH_TOKEN_MUTATION);
5426
5462
  return { error, loading, refreshToken };
5427
5463
  };
5428
5464
  var useRequestPasswordReset = () => {
5429
- const [requestPasswordReset, { loading, error }] = (0, import_client12.useMutation)(
5465
+ const [requestPasswordReset, { loading, error }] = (0, import_client13.useMutation)(
5430
5466
  REQUEST_PASSWORD_RESET_MUTATION
5431
5467
  );
5432
5468
  return { error, loading, requestPasswordReset };
5433
5469
  };
5434
5470
  var useValidateVerificationToken = () => {
5435
- const [validateVerificationToken, { loading, error }] = (0, import_client12.useMutation)(
5471
+ const [validateVerificationToken, { loading, error }] = (0, import_client13.useMutation)(
5436
5472
  VALIDATE_VERIFICATION_TOKEN_MUTATION
5437
5473
  );
5438
5474
  return { error, loading, validateVerificationToken };
5439
5475
  };
5440
5476
  var useResetPassword = () => {
5441
- const [resetPassword, { loading, error }] = (0, import_client12.useMutation)(
5477
+ const [resetPassword, { loading, error }] = (0, import_client13.useMutation)(
5442
5478
  RESET_PASSWORD_MUTATION
5443
5479
  );
5444
5480
  return { error, loading, resetPassword };
5445
5481
  };
5446
5482
 
5447
5483
  // src/graphql/hooks/chat/hooksMutation.ts
5448
- var import_client15 = require("@apollo/client");
5484
+ var import_client16 = require("@apollo/client");
5449
5485
 
5450
5486
  // src/graphql/mutations/chat.ts
5451
- var import_client14 = require("@apollo/client");
5487
+ var import_client15 = require("@apollo/client");
5452
5488
 
5453
5489
  // src/graphql/queries/chat.ts
5454
- var import_client13 = require("@apollo/client");
5455
- var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client13.gql`
5490
+ var import_client14 = require("@apollo/client");
5491
+ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client14.gql`
5456
5492
  fragment ChatMessageFields on ChatMessageType {
5457
5493
  _id
5458
5494
  content
@@ -5475,7 +5511,7 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client13.gql`
5475
5511
  updatedAt
5476
5512
  }
5477
5513
  `;
5478
- var CHAT_PARTICIPANT = import_client13.gql`
5514
+ var CHAT_PARTICIPANT = import_client14.gql`
5479
5515
  fragment ChatParticipantFields on ChatParticipantType {
5480
5516
  active
5481
5517
  isAssociate
@@ -5485,7 +5521,7 @@ var CHAT_PARTICIPANT = import_client13.gql`
5485
5521
  userName
5486
5522
  }
5487
5523
  `;
5488
- var CHAT_FIELDS_FRAGMENT = import_client13.gql`
5524
+ var CHAT_FIELDS_FRAGMENT = import_client14.gql`
5489
5525
  fragment ChatFields on ChatType {
5490
5526
  _id
5491
5527
  active
@@ -5506,7 +5542,7 @@ var CHAT_FIELDS_FRAGMENT = import_client13.gql`
5506
5542
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
5507
5543
  ${CHAT_PARTICIPANT}
5508
5544
  `;
5509
- var CHAT = import_client13.gql`
5545
+ var CHAT = import_client14.gql`
5510
5546
  query chat($_id: ID!) {
5511
5547
  chat(_id: $_id) {
5512
5548
  ...ChatFields
@@ -5514,7 +5550,7 @@ var CHAT = import_client13.gql`
5514
5550
  }
5515
5551
  ${CHAT_FIELDS_FRAGMENT}
5516
5552
  `;
5517
- var USER_CHATS = import_client13.gql`
5553
+ var USER_CHATS = import_client14.gql`
5518
5554
  query userChats {
5519
5555
  userChats {
5520
5556
  ...ChatFields
@@ -5522,7 +5558,7 @@ var USER_CHATS = import_client13.gql`
5522
5558
  }
5523
5559
  ${CHAT_FIELDS_FRAGMENT}
5524
5560
  `;
5525
- var GET_CHATS_BY_REGION = import_client13.gql`
5561
+ var GET_CHATS_BY_REGION = import_client14.gql`
5526
5562
  query getChatsByRegion($region: String!) {
5527
5563
  chatsByRegion(region: $region) {
5528
5564
  ...ChatFields
@@ -5530,7 +5566,7 @@ var GET_CHATS_BY_REGION = import_client13.gql`
5530
5566
  }
5531
5567
  ${CHAT_FIELDS_FRAGMENT}
5532
5568
  `;
5533
- var CHAT_REPORT_FIELDS_FRAGMENT = import_client13.gql`
5569
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client14.gql`
5534
5570
  fragment ChatReportFields on ReportChatUserType {
5535
5571
  _id
5536
5572
  chatId
@@ -5545,7 +5581,7 @@ var CHAT_REPORT_FIELDS_FRAGMENT = import_client13.gql`
5545
5581
  updatedAt
5546
5582
  }
5547
5583
  `;
5548
- var GET_REPORTED_CHAT_USERS = import_client13.gql`
5584
+ var GET_REPORTED_CHAT_USERS = import_client14.gql`
5549
5585
  query getReportedChatUsers {
5550
5586
  reportedChatUsers {
5551
5587
  ...ChatReportFields
@@ -5555,7 +5591,7 @@ var GET_REPORTED_CHAT_USERS = import_client13.gql`
5555
5591
  `;
5556
5592
 
5557
5593
  // src/graphql/mutations/chat.ts
5558
- var CREATE_PRIVATE_CHAT_MUTATION = import_client14.gql`
5594
+ var CREATE_PRIVATE_CHAT_MUTATION = import_client15.gql`
5559
5595
  mutation createPrivateChat($userId: ID!) {
5560
5596
  createPrivateChat(userId: $userId) {
5561
5597
  ...ChatFields
@@ -5563,7 +5599,7 @@ var CREATE_PRIVATE_CHAT_MUTATION = import_client14.gql`
5563
5599
  }
5564
5600
  ${CHAT_FIELDS_FRAGMENT}
5565
5601
  `;
5566
- var SEND_CHAT_MESSAGE_MUTATION = import_client14.gql`
5602
+ var SEND_CHAT_MESSAGE_MUTATION = import_client15.gql`
5567
5603
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
5568
5604
  sendChatMessage(_id: $_id, input: $input) {
5569
5605
  ...ChatFields
@@ -5571,12 +5607,12 @@ var SEND_CHAT_MESSAGE_MUTATION = import_client14.gql`
5571
5607
  }
5572
5608
  ${CHAT_FIELDS_FRAGMENT}
5573
5609
  `;
5574
- var DELETE_CHAT_MUTATION = import_client14.gql`
5610
+ var DELETE_CHAT_MUTATION = import_client15.gql`
5575
5611
  mutation deleteChat($_id: ID!) {
5576
5612
  deleteChat(_id: $_id)
5577
5613
  }
5578
5614
  `;
5579
- var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client14.gql`
5615
+ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client15.gql`
5580
5616
  mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
5581
5617
  addParticipantToChat(chatId: $chatId, userId: $userId) {
5582
5618
  ...ChatFields
@@ -5584,7 +5620,7 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client14.gql`
5584
5620
  }
5585
5621
  ${CHAT_FIELDS_FRAGMENT}
5586
5622
  `;
5587
- var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client14.gql`
5623
+ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client15.gql`
5588
5624
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
5589
5625
  removeParticipantFromChat(chatId: $chatId, userId: $userId) {
5590
5626
  success
@@ -5592,7 +5628,7 @@ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client14.gql`
5592
5628
  }
5593
5629
  }
5594
5630
  `;
5595
- var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client14.gql`
5631
+ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client15.gql`
5596
5632
  mutation toggleChatMessageLike($chatId: ID!, $messageId: ID!) {
5597
5633
  toggleChatMessageLike(chatId: $chatId, messageId: $messageId) {
5598
5634
  ...ChatFields
@@ -5600,7 +5636,7 @@ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client14.gql`
5600
5636
  }
5601
5637
  ${CHAT_FIELDS_FRAGMENT}
5602
5638
  `;
5603
- var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client14.gql`
5639
+ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client15.gql`
5604
5640
  mutation markChatMessagesSeen($chatId: ID!, $messageIds: [ID!]!) {
5605
5641
  markChatMessagesSeen(chatId: $chatId, messageIds: $messageIds) {
5606
5642
  ...ChatFields
@@ -5608,7 +5644,7 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client14.gql`
5608
5644
  }
5609
5645
  ${CHAT_FIELDS_FRAGMENT}
5610
5646
  `;
5611
- var REPORT_CHAT_USER_MUTATION = import_client14.gql`
5647
+ var REPORT_CHAT_USER_MUTATION = import_client15.gql`
5612
5648
  mutation reportChatUser($input: ReportChatUserInputType!) {
5613
5649
  reportChatUser(input: $input) {
5614
5650
  ...ChatReportFields
@@ -5619,14 +5655,14 @@ var REPORT_CHAT_USER_MUTATION = import_client14.gql`
5619
5655
 
5620
5656
  // src/graphql/hooks/chat/hooksMutation.ts
5621
5657
  var useCreatePrivateChat = () => {
5622
- const [createPrivateChat, { loading, error }] = (0, import_client15.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
5658
+ const [createPrivateChat, { loading, error }] = (0, import_client16.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
5623
5659
  awaitRefetchQueries: true,
5624
5660
  refetchQueries: [{ query: USER_CHATS }]
5625
5661
  });
5626
5662
  return { createPrivateChat, error, loading };
5627
5663
  };
5628
5664
  var useSendChatMessage = () => {
5629
- const [sendChatMessage, { loading, error }] = (0, import_client15.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
5665
+ const [sendChatMessage, { loading, error }] = (0, import_client16.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
5630
5666
  awaitRefetchQueries: true,
5631
5667
  refetchQueries: (mutationResult) => {
5632
5668
  const chatId = mutationResult?.data?.sendChatMessage?._id;
@@ -5641,14 +5677,14 @@ var useSendChatMessage = () => {
5641
5677
  return { error, loading, sendChatMessage };
5642
5678
  };
5643
5679
  var useDeleteChat = () => {
5644
- const [deleteChat, { loading, error }] = (0, import_client15.useMutation)(DELETE_CHAT_MUTATION, {
5680
+ const [deleteChat, { loading, error }] = (0, import_client16.useMutation)(DELETE_CHAT_MUTATION, {
5645
5681
  awaitRefetchQueries: true,
5646
5682
  refetchQueries: [{ query: USER_CHATS }]
5647
5683
  });
5648
5684
  return { deleteChat, error, loading };
5649
5685
  };
5650
5686
  var useAddParticipantToChat = () => {
5651
- const [addParticipantToChat, { loading, error }] = (0, import_client15.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
5687
+ const [addParticipantToChat, { loading, error }] = (0, import_client16.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
5652
5688
  awaitRefetchQueries: true,
5653
5689
  refetchQueries: (mutationResult) => {
5654
5690
  const chatId = mutationResult?.data?.addParticipantToChat?._id;
@@ -5666,7 +5702,7 @@ var useAddParticipantToChat = () => {
5666
5702
  return { addParticipantToChat, error, loading };
5667
5703
  };
5668
5704
  var useRemoveParticipantFromChat = () => {
5669
- const [removeParticipantFromChat, { loading, error }] = (0, import_client15.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
5705
+ const [removeParticipantFromChat, { loading, error }] = (0, import_client16.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
5670
5706
  awaitRefetchQueries: true,
5671
5707
  refetchQueries: (mutationResult) => {
5672
5708
  const region = mutationResult?.data?.removeParticipantFromChat?.region;
@@ -5683,7 +5719,7 @@ var useRemoveParticipantFromChat = () => {
5683
5719
  return { error, loading, removeParticipantFromChat };
5684
5720
  };
5685
5721
  var useToggleChatMessageLike = () => {
5686
- const [toggleChatMessageLike, { loading, error }] = (0, import_client15.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
5722
+ const [toggleChatMessageLike, { loading, error }] = (0, import_client16.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
5687
5723
  awaitRefetchQueries: true,
5688
5724
  refetchQueries: (mutationResult) => {
5689
5725
  const chatId = mutationResult?.data?.toggleChatMessageLike?._id;
@@ -5698,7 +5734,7 @@ var useToggleChatMessageLike = () => {
5698
5734
  return { error, loading, toggleChatMessageLike };
5699
5735
  };
5700
5736
  var useMarkChatMessagesSeen = () => {
5701
- const [markChatMessagesSeen, { loading, error }] = (0, import_client15.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
5737
+ const [markChatMessagesSeen, { loading, error }] = (0, import_client16.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
5702
5738
  awaitRefetchQueries: true,
5703
5739
  refetchQueries: (mutationResult) => {
5704
5740
  const chatId = mutationResult?.data?.markChatMessagesSeen?._id;
@@ -5713,18 +5749,18 @@ var useMarkChatMessagesSeen = () => {
5713
5749
  return { error, loading, markChatMessagesSeen };
5714
5750
  };
5715
5751
  var useReportChatUser = () => {
5716
- const [reportChatUser, { loading, error }] = (0, import_client15.useMutation)(
5752
+ const [reportChatUser, { loading, error }] = (0, import_client16.useMutation)(
5717
5753
  REPORT_CHAT_USER_MUTATION
5718
5754
  );
5719
5755
  return { error, loading, reportChatUser };
5720
5756
  };
5721
5757
 
5722
5758
  // src/graphql/hooks/chat/hooksQuery.ts
5723
- var import_client17 = require("@apollo/client");
5759
+ var import_client18 = require("@apollo/client");
5724
5760
 
5725
5761
  // src/graphql/subscriptions/chat.ts
5726
- var import_client16 = require("@apollo/client");
5727
- var GET_CHAT_MESSAGE = import_client16.gql`
5762
+ var import_client17 = require("@apollo/client");
5763
+ var GET_CHAT_MESSAGE = import_client17.gql`
5728
5764
  subscription {
5729
5765
  getChatMessage {
5730
5766
  ...ChatFields
@@ -5735,7 +5771,7 @@ var GET_CHAT_MESSAGE = import_client16.gql`
5735
5771
 
5736
5772
  // src/graphql/hooks/chat/hooksQuery.ts
5737
5773
  var useGetChat = (_id) => {
5738
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(CHAT, {
5774
+ const { loading, error, data, refetch } = (0, import_client18.useQuery)(CHAT, {
5739
5775
  fetchPolicy: "network-only",
5740
5776
  skip: !_id || _id === "",
5741
5777
  variables: { _id }
@@ -5744,7 +5780,7 @@ var useGetChat = (_id) => {
5744
5780
  return { chat, error, loading, refetch };
5745
5781
  };
5746
5782
  var useGetUserChats = () => {
5747
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(
5783
+ const { loading, error, data, refetch } = (0, import_client18.useQuery)(
5748
5784
  USER_CHATS,
5749
5785
  {
5750
5786
  fetchPolicy: "network-only"
@@ -5754,14 +5790,14 @@ var useGetUserChats = () => {
5754
5790
  return { error, loading, refetch, userChats };
5755
5791
  };
5756
5792
  var useGetChatSubscription = () => {
5757
- const { data, loading, error } = (0, import_client17.useSubscription)(
5793
+ const { data, loading, error } = (0, import_client18.useSubscription)(
5758
5794
  GET_CHAT_MESSAGE
5759
5795
  );
5760
5796
  const chat = data?.getChat;
5761
5797
  return { chat, error, loading };
5762
5798
  };
5763
5799
  var useGetChatsByRegion = (region) => {
5764
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(GET_CHATS_BY_REGION, {
5800
+ const { loading, error, data, refetch } = (0, import_client18.useQuery)(GET_CHATS_BY_REGION, {
5765
5801
  fetchPolicy: "network-only",
5766
5802
  skip: !region || region === "",
5767
5803
  variables: { region }
@@ -5770,7 +5806,7 @@ var useGetChatsByRegion = (region) => {
5770
5806
  return { chatsByRegion, error, loading, refetch };
5771
5807
  };
5772
5808
  var useGetReportedChatUsers = () => {
5773
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(GET_REPORTED_CHAT_USERS, {
5809
+ const { loading, error, data, refetch } = (0, import_client18.useQuery)(GET_REPORTED_CHAT_USERS, {
5774
5810
  fetchPolicy: "network-only"
5775
5811
  });
5776
5812
  const reportedChatUsers = data?.reportedChatUsers || [];
@@ -5778,11 +5814,11 @@ var useGetReportedChatUsers = () => {
5778
5814
  };
5779
5815
 
5780
5816
  // src/graphql/hooks/contactUs.ts
5781
- var import_client19 = require("@apollo/client");
5817
+ var import_client20 = require("@apollo/client");
5782
5818
 
5783
5819
  // src/graphql/mutations/contactUs.ts
5784
- var import_client18 = require("@apollo/client");
5785
- var CONTACT_US_MUTATION = import_client18.gql`
5820
+ var import_client19 = require("@apollo/client");
5821
+ var CONTACT_US_MUTATION = import_client19.gql`
5786
5822
  mutation contactUs($input: ContactUsInputType!) {
5787
5823
  contactUs(input: $input) {
5788
5824
  message
@@ -5792,16 +5828,16 @@ var CONTACT_US_MUTATION = import_client18.gql`
5792
5828
 
5793
5829
  // src/graphql/hooks/contactUs.ts
5794
5830
  var useContactUs = () => {
5795
- const [contactUs, { loading, error }] = (0, import_client19.useMutation)(CONTACT_US_MUTATION);
5831
+ const [contactUs, { loading, error }] = (0, import_client20.useMutation)(CONTACT_US_MUTATION);
5796
5832
  return { contactUs, error, loading };
5797
5833
  };
5798
5834
 
5799
5835
  // src/graphql/hooks/event/hooksMutation.ts
5800
- var import_client22 = require("@apollo/client");
5836
+ var import_client23 = require("@apollo/client");
5801
5837
 
5802
5838
  // src/graphql/mutations/event.ts
5803
- var import_client20 = require("@apollo/client");
5804
- var CREATE_EVENT_MUTATION = import_client20.gql`
5839
+ var import_client21 = require("@apollo/client");
5840
+ var CREATE_EVENT_MUTATION = import_client21.gql`
5805
5841
  mutation createEvent($input: EventInputType!) {
5806
5842
  createEvent(input: $input) {
5807
5843
  ...EventFields
@@ -5809,7 +5845,7 @@ var CREATE_EVENT_MUTATION = import_client20.gql`
5809
5845
  }
5810
5846
  ${EVENT}
5811
5847
  `;
5812
- var UPDATE_EVENT_MUTATION = import_client20.gql`
5848
+ var UPDATE_EVENT_MUTATION = import_client21.gql`
5813
5849
  mutation updateEvent($_id: ID!, $input: EventInputType!) {
5814
5850
  updateEvent(_id: $_id, input: $input) {
5815
5851
  ...EventFields
@@ -5817,12 +5853,12 @@ var UPDATE_EVENT_MUTATION = import_client20.gql`
5817
5853
  }
5818
5854
  ${EVENT}
5819
5855
  `;
5820
- var DELETE_EVENT_MUTATION = import_client20.gql`
5856
+ var DELETE_EVENT_MUTATION = import_client21.gql`
5821
5857
  mutation deleteEvent($_id: ID!) {
5822
5858
  deleteEvent(_id: $_id)
5823
5859
  }
5824
5860
  `;
5825
- var CREATE_EVENT_INFO_MUTATION = import_client20.gql`
5861
+ var CREATE_EVENT_INFO_MUTATION = import_client21.gql`
5826
5862
  mutation createEventInfo($input: EventInfoInputType!) {
5827
5863
  createEventInfo(input: $input) {
5828
5864
  ...EventInfoFields
@@ -5830,7 +5866,7 @@ var CREATE_EVENT_INFO_MUTATION = import_client20.gql`
5830
5866
  }
5831
5867
  ${EVENT_INFO}
5832
5868
  `;
5833
- var UPDATE_EVENT_INFO_MUTATION = import_client20.gql`
5869
+ var UPDATE_EVENT_INFO_MUTATION = import_client21.gql`
5834
5870
  mutation updateEventInfo($_id: ID!, $input: EventInfoInputType!) {
5835
5871
  updateEventInfo(_id: $_id, input: $input) {
5836
5872
  ...EventInfoFields
@@ -5840,8 +5876,8 @@ var UPDATE_EVENT_INFO_MUTATION = import_client20.gql`
5840
5876
  `;
5841
5877
 
5842
5878
  // src/graphql/queries/user.ts
5843
- var import_client21 = require("@apollo/client");
5844
- var GET_USERS = import_client21.gql`
5879
+ var import_client22 = require("@apollo/client");
5880
+ var GET_USERS = import_client22.gql`
5845
5881
  query getUsers {
5846
5882
  users {
5847
5883
  ...UserFields
@@ -5849,7 +5885,7 @@ var GET_USERS = import_client21.gql`
5849
5885
  }
5850
5886
  ${USER_FIELDS_FRAGMENT}
5851
5887
  `;
5852
- var GET_USER = import_client21.gql`
5888
+ var GET_USER = import_client22.gql`
5853
5889
  query getUser($_id: ID!) {
5854
5890
  user(_id: $_id) {
5855
5891
  ...UserFields
@@ -5857,7 +5893,7 @@ var GET_USER = import_client21.gql`
5857
5893
  }
5858
5894
  ${USER_FIELDS_FRAGMENT}
5859
5895
  `;
5860
- var GET_USER_EVENTS = import_client21.gql`
5896
+ var GET_USER_EVENTS = import_client22.gql`
5861
5897
  query getUserEvents {
5862
5898
  userEvents {
5863
5899
  ...EventFields
@@ -5865,7 +5901,7 @@ var GET_USER_EVENTS = import_client21.gql`
5865
5901
  }
5866
5902
  ${EVENT}
5867
5903
  `;
5868
- var GET_USER_VENDORS = import_client21.gql`
5904
+ var GET_USER_VENDORS = import_client22.gql`
5869
5905
  query getUserVendors {
5870
5906
  userVendors {
5871
5907
  ...VendorFields
@@ -5873,7 +5909,7 @@ var GET_USER_VENDORS = import_client21.gql`
5873
5909
  }
5874
5910
  ${VENDOR}
5875
5911
  `;
5876
- var GET_USER_PARTNERS = import_client21.gql`
5912
+ var GET_USER_PARTNERS = import_client22.gql`
5877
5913
  query getUserPartners {
5878
5914
  userPartners {
5879
5915
  ...PartnerFields
@@ -5881,7 +5917,7 @@ var GET_USER_PARTNERS = import_client21.gql`
5881
5917
  }
5882
5918
  ${PARTNER}
5883
5919
  `;
5884
- var GET_USER_ACTIVITIES = import_client21.gql`
5920
+ var GET_USER_ACTIVITIES = import_client22.gql`
5885
5921
  query getUserActivities {
5886
5922
  userActivities {
5887
5923
  favourites {
@@ -5916,7 +5952,7 @@ var GET_USER_ACTIVITIES = import_client21.gql`
5916
5952
  ${VENDOR}
5917
5953
  ${PARTNER}
5918
5954
  `;
5919
- var GET_USER_RESOURCES = import_client21.gql`
5955
+ var GET_USER_RESOURCES = import_client22.gql`
5920
5956
  query getUserResources($userId: ID!) {
5921
5957
  userResources(userId: $userId) {
5922
5958
  resources {
@@ -5931,14 +5967,14 @@ var GET_USER_RESOURCES = import_client21.gql`
5931
5967
 
5932
5968
  // src/graphql/hooks/event/hooksMutation.ts
5933
5969
  var useCreateEvent = () => {
5934
- const [createEvent, { loading, error }] = (0, import_client22.useMutation)(CREATE_EVENT_MUTATION, {
5970
+ const [createEvent, { loading, error }] = (0, import_client23.useMutation)(CREATE_EVENT_MUTATION, {
5935
5971
  awaitRefetchQueries: true,
5936
5972
  refetchQueries: [{ query: GET_USER_EVENTS }]
5937
5973
  });
5938
5974
  return { createEvent, error, loading };
5939
5975
  };
5940
5976
  var useUpdateEvent = () => {
5941
- const [updateEvent, { loading, error }] = (0, import_client22.useMutation)(UPDATE_EVENT_MUTATION, {
5977
+ const [updateEvent, { loading, error }] = (0, import_client23.useMutation)(UPDATE_EVENT_MUTATION, {
5942
5978
  awaitRefetchQueries: true,
5943
5979
  refetchQueries: (mutationResult) => {
5944
5980
  const eventId = mutationResult?.data?.updateEvent?._id;
@@ -5961,14 +5997,14 @@ var useUpdateEvent = () => {
5961
5997
  return { error, loading, updateEvent };
5962
5998
  };
5963
5999
  var useDeleteEvent = () => {
5964
- const [deleteEvent, { loading, error }] = (0, import_client22.useMutation)(DELETE_EVENT_MUTATION, {
6000
+ const [deleteEvent, { loading, error }] = (0, import_client23.useMutation)(DELETE_EVENT_MUTATION, {
5965
6001
  awaitRefetchQueries: true,
5966
6002
  refetchQueries: [{ query: GET_USER_EVENTS }]
5967
6003
  });
5968
6004
  return { deleteEvent, error, loading };
5969
6005
  };
5970
6006
  var useCreateEventInfo = () => {
5971
- const [createEventInfo, { loading, error }] = (0, import_client22.useMutation)(CREATE_EVENT_INFO_MUTATION, {
6007
+ const [createEventInfo, { loading, error }] = (0, import_client23.useMutation)(CREATE_EVENT_INFO_MUTATION, {
5972
6008
  awaitRefetchQueries: true,
5973
6009
  refetchQueries: (mutationResult) => {
5974
6010
  const eventId = mutationResult?.data?.createEventInfo?.eventId;
@@ -5992,7 +6028,7 @@ var useCreateEventInfo = () => {
5992
6028
  return { createEventInfo, error, loading };
5993
6029
  };
5994
6030
  var useUpdateEventInfo = () => {
5995
- const [updateEventInfo, { loading, error }] = (0, import_client22.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
6031
+ const [updateEventInfo, { loading, error }] = (0, import_client23.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
5996
6032
  awaitRefetchQueries: true,
5997
6033
  refetchQueries: (mutationResult) => {
5998
6034
  const eventId = mutationResult?.data?.updateEventInfo?.eventId;
@@ -6016,9 +6052,9 @@ var useUpdateEventInfo = () => {
6016
6052
  };
6017
6053
 
6018
6054
  // src/graphql/hooks/event/hooksQuery.ts
6019
- var import_client23 = require("@apollo/client");
6055
+ var import_client24 = require("@apollo/client");
6020
6056
  var useGetEvents = (dateStatus) => {
6021
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENTS, {
6057
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENTS, {
6022
6058
  fetchPolicy: "network-only",
6023
6059
  variables: { dateStatus }
6024
6060
  });
@@ -6026,7 +6062,7 @@ var useGetEvents = (dateStatus) => {
6026
6062
  return { error, events, loading, refetch };
6027
6063
  };
6028
6064
  var useGetEvent = (_id) => {
6029
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENT, {
6065
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT, {
6030
6066
  fetchPolicy: "network-only",
6031
6067
  skip: !_id,
6032
6068
  variables: { _id }
@@ -6035,7 +6071,7 @@ var useGetEvent = (_id) => {
6035
6071
  return { error, event, loading, refetch };
6036
6072
  };
6037
6073
  var useGetEventByPlaceId = (googlePlaceId) => {
6038
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENT_BY_PLACE_ID, {
6074
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT_BY_PLACE_ID, {
6039
6075
  fetchPolicy: "network-only",
6040
6076
  skip: !googlePlaceId,
6041
6077
  variables: { googlePlaceId }
@@ -6049,7 +6085,7 @@ var useGetEventsByRegion = (region, options, dateStatus) => {
6049
6085
  options,
6050
6086
  region
6051
6087
  };
6052
- const { loading, error, data, refetch, fetchMore } = (0, import_client23.useQuery)(GET_EVENTS_BY_REGION, {
6088
+ const { loading, error, data, refetch, fetchMore } = (0, import_client24.useQuery)(GET_EVENTS_BY_REGION, {
6053
6089
  fetchPolicy: "network-only",
6054
6090
  skip: !region || region === "",
6055
6091
  variables
@@ -6067,7 +6103,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
6067
6103
  const normalizedSearch = searchQuery?.trim() ?? "";
6068
6104
  const normalizedTags = (tags ?? []).filter(Boolean);
6069
6105
  const shouldRunQuery = Boolean(region?.trim()) && (normalizedSearch.length > 3 || normalizedTags.length > 0);
6070
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(SEARCH_EVENTS, {
6106
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(SEARCH_EVENTS, {
6071
6107
  fetchPolicy: "network-only",
6072
6108
  skip: !shouldRunQuery,
6073
6109
  variables: {
@@ -6085,7 +6121,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
6085
6121
  };
6086
6122
  };
6087
6123
  var useGetEventsNearMe = (location, dateStatus) => {
6088
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENTS_NEAR_ME, {
6124
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENTS_NEAR_ME, {
6089
6125
  fetchPolicy: "network-only",
6090
6126
  skip: !location.latitude || !location.longitude,
6091
6127
  variables: {
@@ -6100,7 +6136,7 @@ var useGetEventsNearMe = (location, dateStatus) => {
6100
6136
  return { error, eventsNearMe, loading, refetch };
6101
6137
  };
6102
6138
  var useGetEventInfo = (eventId) => {
6103
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENT_INFO, {
6139
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT_INFO, {
6104
6140
  fetchPolicy: "network-only",
6105
6141
  skip: !eventId || eventId === "",
6106
6142
  variables: { eventId }
@@ -6110,14 +6146,14 @@ var useGetEventInfo = (eventId) => {
6110
6146
  };
6111
6147
 
6112
6148
  // src/graphql/hooks/notifications/hooksMutation.ts
6113
- var import_client26 = require("@apollo/client");
6149
+ var import_client27 = require("@apollo/client");
6114
6150
 
6115
6151
  // src/graphql/mutations/notification.ts
6116
- var import_client25 = require("@apollo/client");
6152
+ var import_client26 = require("@apollo/client");
6117
6153
 
6118
6154
  // src/graphql/queries/notification.ts
6119
- var import_client24 = require("@apollo/client");
6120
- var NOTIFICATION_FRAGMENT = import_client24.gql`
6155
+ var import_client25 = require("@apollo/client");
6156
+ var NOTIFICATION_FRAGMENT = import_client25.gql`
6121
6157
  fragment NotificationFields on Notification {
6122
6158
  _id
6123
6159
  userId
@@ -6134,7 +6170,7 @@ var NOTIFICATION_FRAGMENT = import_client24.gql`
6134
6170
  updatedAt
6135
6171
  }
6136
6172
  `;
6137
- var GET_USER_NOTIFICATIONS = import_client24.gql`
6173
+ var GET_USER_NOTIFICATIONS = import_client25.gql`
6138
6174
  query getUserNotifications($limit: Int, $offset: Int) {
6139
6175
  userNotifications(limit: $limit, offset: $offset) {
6140
6176
  ...NotificationFields
@@ -6142,7 +6178,7 @@ var GET_USER_NOTIFICATIONS = import_client24.gql`
6142
6178
  }
6143
6179
  ${NOTIFICATION_FRAGMENT}
6144
6180
  `;
6145
- var GET_NOTIFICATION_COUNT = import_client24.gql`
6181
+ var GET_NOTIFICATION_COUNT = import_client25.gql`
6146
6182
  query getNotificationCount {
6147
6183
  notificationCount {
6148
6184
  total
@@ -6152,7 +6188,7 @@ var GET_NOTIFICATION_COUNT = import_client24.gql`
6152
6188
  `;
6153
6189
 
6154
6190
  // src/graphql/mutations/notification.ts
6155
- var CREATE_BULK_NOTIFICATIONS = import_client25.gql`
6191
+ var CREATE_BULK_NOTIFICATIONS = import_client26.gql`
6156
6192
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
6157
6193
  createBulkNotifications(input: $input) {
6158
6194
  ...NotificationFields
@@ -6160,7 +6196,7 @@ var CREATE_BULK_NOTIFICATIONS = import_client25.gql`
6160
6196
  }
6161
6197
  ${NOTIFICATION_FRAGMENT}
6162
6198
  `;
6163
- var MARK_NOTIFICATION_READ = import_client25.gql`
6199
+ var MARK_NOTIFICATION_READ = import_client26.gql`
6164
6200
  mutation markNotificationRead($_id: ID!) {
6165
6201
  markNotificationRead(_id: $_id) {
6166
6202
  ...NotificationFields
@@ -6168,17 +6204,17 @@ var MARK_NOTIFICATION_READ = import_client25.gql`
6168
6204
  }
6169
6205
  ${NOTIFICATION_FRAGMENT}
6170
6206
  `;
6171
- var MARK_ALL_NOTIFICATIONS_READ = import_client25.gql`
6207
+ var MARK_ALL_NOTIFICATIONS_READ = import_client26.gql`
6172
6208
  mutation markAllNotificationsRead {
6173
6209
  markAllNotificationsRead
6174
6210
  }
6175
6211
  `;
6176
- var DELETE_NOTIFICATION = import_client25.gql`
6212
+ var DELETE_NOTIFICATION = import_client26.gql`
6177
6213
  mutation deleteNotification($_id: ID!) {
6178
6214
  deleteNotification(_id: $_id)
6179
6215
  }
6180
6216
  `;
6181
- var DELETE_ALL_NOTIFICATIONS = import_client25.gql`
6217
+ var DELETE_ALL_NOTIFICATIONS = import_client26.gql`
6182
6218
  mutation deleteAllNotifications {
6183
6219
  deleteAllNotifications
6184
6220
  }
@@ -6186,13 +6222,13 @@ var DELETE_ALL_NOTIFICATIONS = import_client25.gql`
6186
6222
 
6187
6223
  // src/graphql/hooks/notifications/hooksMutation.ts
6188
6224
  var useCreateBulkNotifications = () => {
6189
- const [createBulkNotifications, { loading, error }] = (0, import_client26.useMutation)(
6225
+ const [createBulkNotifications, { loading, error }] = (0, import_client27.useMutation)(
6190
6226
  CREATE_BULK_NOTIFICATIONS
6191
6227
  );
6192
6228
  return { createBulkNotifications, error, loading };
6193
6229
  };
6194
6230
  var useMarkNotificationRead = () => {
6195
- const [markNotificationRead, { loading, error }] = (0, import_client26.useMutation)(
6231
+ const [markNotificationRead, { loading, error }] = (0, import_client27.useMutation)(
6196
6232
  MARK_NOTIFICATION_READ,
6197
6233
  {
6198
6234
  refetchQueries: [
@@ -6208,7 +6244,7 @@ var useMarkNotificationRead = () => {
6208
6244
  return { error, loading, markNotificationRead };
6209
6245
  };
6210
6246
  var useMarkAllNotificationsRead = () => {
6211
- const [markAllNotificationsRead, { loading, error }] = (0, import_client26.useMutation)(
6247
+ const [markAllNotificationsRead, { loading, error }] = (0, import_client27.useMutation)(
6212
6248
  MARK_ALL_NOTIFICATIONS_READ,
6213
6249
  {
6214
6250
  refetchQueries: [
@@ -6224,7 +6260,7 @@ var useMarkAllNotificationsRead = () => {
6224
6260
  return { error, loading, markAllNotificationsRead };
6225
6261
  };
6226
6262
  var useDeleteNotification = () => {
6227
- const [deleteNotification, { loading, error }] = (0, import_client26.useMutation)(
6263
+ const [deleteNotification, { loading, error }] = (0, import_client27.useMutation)(
6228
6264
  DELETE_NOTIFICATION,
6229
6265
  {
6230
6266
  refetchQueries: [
@@ -6240,7 +6276,7 @@ var useDeleteNotification = () => {
6240
6276
  return { deleteNotification, error, loading };
6241
6277
  };
6242
6278
  var useDeleteAllNotifications = () => {
6243
- const [deleteAllNotifications, { loading, error }] = (0, import_client26.useMutation)(
6279
+ const [deleteAllNotifications, { loading, error }] = (0, import_client27.useMutation)(
6244
6280
  DELETE_ALL_NOTIFICATIONS,
6245
6281
  {
6246
6282
  refetchQueries: [
@@ -6257,9 +6293,9 @@ var useDeleteAllNotifications = () => {
6257
6293
  };
6258
6294
 
6259
6295
  // src/graphql/hooks/notifications/hooksQuery.ts
6260
- var import_client27 = require("@apollo/client");
6296
+ var import_client28 = require("@apollo/client");
6261
6297
  var useGetUserNotifications = (limit, offset) => {
6262
- const { data, loading, error, refetch } = (0, import_client27.useQuery)(GET_USER_NOTIFICATIONS, {
6298
+ const { data, loading, error, refetch } = (0, import_client28.useQuery)(GET_USER_NOTIFICATIONS, {
6263
6299
  fetchPolicy: "no-cache",
6264
6300
  variables: { limit, offset }
6265
6301
  });
@@ -6271,7 +6307,7 @@ var useGetUserNotifications = (limit, offset) => {
6271
6307
  };
6272
6308
  };
6273
6309
  var useGetNotificationCount = () => {
6274
- const { data, loading, error, refetch } = (0, import_client27.useQuery)(GET_NOTIFICATION_COUNT, {
6310
+ const { data, loading, error, refetch } = (0, import_client28.useQuery)(GET_NOTIFICATION_COUNT, {
6275
6311
  fetchPolicy: "no-cache"
6276
6312
  });
6277
6313
  return {
@@ -6283,11 +6319,11 @@ var useGetNotificationCount = () => {
6283
6319
  };
6284
6320
 
6285
6321
  // src/graphql/hooks/notifications/hooksSubscription.ts
6286
- var import_client29 = require("@apollo/client");
6322
+ var import_client30 = require("@apollo/client");
6287
6323
 
6288
6324
  // src/graphql/subscriptions/notification.ts
6289
- var import_client28 = require("@apollo/client");
6290
- var GET_NOTIFICATIONS_SUBSCRIPTION = import_client28.gql`
6325
+ var import_client29 = require("@apollo/client");
6326
+ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client29.gql`
6291
6327
  subscription {
6292
6328
  getUserNotifications {
6293
6329
  ...NotificationFields
@@ -6295,7 +6331,7 @@ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client28.gql`
6295
6331
  }
6296
6332
  ${NOTIFICATION_FRAGMENT}
6297
6333
  `;
6298
- var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client28.gql`
6334
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client29.gql`
6299
6335
  subscription {
6300
6336
  getNotificationCount {
6301
6337
  total
@@ -6306,7 +6342,7 @@ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client28.gql`
6306
6342
 
6307
6343
  // src/graphql/hooks/notifications/hooksSubscription.ts
6308
6344
  var useGetUserNotificationsSubscription = () => {
6309
- const { data, loading, error } = (0, import_client29.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
6345
+ const { data, loading, error } = (0, import_client30.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
6310
6346
  fetchPolicy: "no-cache",
6311
6347
  shouldResubscribe: true
6312
6348
  });
@@ -6317,7 +6353,7 @@ var useGetUserNotificationsSubscription = () => {
6317
6353
  };
6318
6354
  };
6319
6355
  var useGetNotificationCountSubscription = () => {
6320
- const { data, loading, error } = (0, import_client29.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
6356
+ const { data, loading, error } = (0, import_client30.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
6321
6357
  fetchPolicy: "no-cache",
6322
6358
  shouldResubscribe: true
6323
6359
  });
@@ -6329,11 +6365,11 @@ var useGetNotificationCountSubscription = () => {
6329
6365
  };
6330
6366
 
6331
6367
  // src/graphql/hooks/poster.ts
6332
- var import_client31 = require("@apollo/client");
6368
+ var import_client32 = require("@apollo/client");
6333
6369
 
6334
6370
  // src/graphql/mutations/poster.ts
6335
- var import_client30 = require("@apollo/client");
6336
- var CREATE_POSTER_MUTATION = import_client30.gql`
6371
+ var import_client31 = require("@apollo/client");
6372
+ var CREATE_POSTER_MUTATION = import_client31.gql`
6337
6373
  mutation createPoster($input: PosterInputType!) {
6338
6374
  createPoster(input: $input) {
6339
6375
  message
@@ -6347,7 +6383,7 @@ var CREATE_POSTER_MUTATION = import_client30.gql`
6347
6383
 
6348
6384
  // src/graphql/hooks/poster.ts
6349
6385
  var useCreatePoster = () => {
6350
- const [createPoster, { loading, error }] = (0, import_client31.useMutation)(
6386
+ const [createPoster, { loading, error }] = (0, import_client32.useMutation)(
6351
6387
  CREATE_POSTER_MUTATION,
6352
6388
  {
6353
6389
  refetchQueries: [{ query: GET_USER_EVENTS }, { query: GET_USER_VENDORS }]
@@ -6357,11 +6393,11 @@ var useCreatePoster = () => {
6357
6393
  };
6358
6394
 
6359
6395
  // src/graphql/hooks/pushToken.ts
6360
- var import_client33 = require("@apollo/client");
6396
+ var import_client34 = require("@apollo/client");
6361
6397
 
6362
6398
  // src/graphql/mutations/pushToken.ts
6363
- var import_client32 = require("@apollo/client");
6364
- var CREATE_PUSH_TOKEN_MUTATION = import_client32.gql`
6399
+ var import_client33 = require("@apollo/client");
6400
+ var CREATE_PUSH_TOKEN_MUTATION = import_client33.gql`
6365
6401
  mutation createPushToken($input: PushTokenInput!) {
6366
6402
  createPushToken(input: $input) {
6367
6403
  success
@@ -6371,18 +6407,18 @@ var CREATE_PUSH_TOKEN_MUTATION = import_client32.gql`
6371
6407
 
6372
6408
  // src/graphql/hooks/pushToken.ts
6373
6409
  var useCreatePushToken = () => {
6374
- const [createPushToken, { loading, error }] = (0, import_client33.useMutation)(
6410
+ const [createPushToken, { loading, error }] = (0, import_client34.useMutation)(
6375
6411
  CREATE_PUSH_TOKEN_MUTATION
6376
6412
  );
6377
6413
  return { createPushToken, error, loading };
6378
6414
  };
6379
6415
 
6380
6416
  // src/graphql/hooks/relation/hooksMutation.ts
6381
- var import_client35 = require("@apollo/client");
6417
+ var import_client36 = require("@apollo/client");
6382
6418
 
6383
6419
  // src/graphql/mutations/relation.ts
6384
- var import_client34 = require("@apollo/client");
6385
- var CREATE_RELATION_MUTATION = import_client34.gql`
6420
+ var import_client35 = require("@apollo/client");
6421
+ var CREATE_RELATION_MUTATION = import_client35.gql`
6386
6422
  mutation createRelation($input: RelationInputType!) {
6387
6423
  createRelation(input: $input) {
6388
6424
  ...RelationFields
@@ -6390,7 +6426,7 @@ var CREATE_RELATION_MUTATION = import_client34.gql`
6390
6426
  }
6391
6427
  ${RELATION_FIELDS_FRAGMENT}
6392
6428
  `;
6393
- var UPDATE_RELATION_MUTATION = import_client34.gql`
6429
+ var UPDATE_RELATION_MUTATION = import_client35.gql`
6394
6430
  mutation updateRelation($_id: ID!, $input: RelationInputType!) {
6395
6431
  updateRelation(_id: $_id, input: $input) {
6396
6432
  ...RelationFields
@@ -6398,7 +6434,7 @@ var UPDATE_RELATION_MUTATION = import_client34.gql`
6398
6434
  }
6399
6435
  ${RELATION_FIELDS_FRAGMENT}
6400
6436
  `;
6401
- var DELETE_RELATION_MUTATION = import_client34.gql`
6437
+ var DELETE_RELATION_MUTATION = import_client35.gql`
6402
6438
  mutation deleteRelation($_id: ID!) {
6403
6439
  deleteRelation(_id: $_id) {
6404
6440
  ...RelationFields
@@ -6409,7 +6445,7 @@ var DELETE_RELATION_MUTATION = import_client34.gql`
6409
6445
 
6410
6446
  // src/graphql/hooks/relation/hooksMutation.ts
6411
6447
  var useCreateRelation = () => {
6412
- const [createRelation, { loading, error }] = (0, import_client35.useMutation)(CREATE_RELATION_MUTATION, {
6448
+ const [createRelation, { loading, error }] = (0, import_client36.useMutation)(CREATE_RELATION_MUTATION, {
6413
6449
  awaitRefetchQueries: true,
6414
6450
  refetchQueries: (mutationResult) => {
6415
6451
  const createRelation2 = mutationResult?.data?.createRelation;
@@ -6455,7 +6491,7 @@ var useCreateRelation = () => {
6455
6491
  return { createRelation, error, loading };
6456
6492
  };
6457
6493
  var useUpdateRelation = () => {
6458
- const [updateRelation, { loading, error }] = (0, import_client35.useMutation)(UPDATE_RELATION_MUTATION, {
6494
+ const [updateRelation, { loading, error }] = (0, import_client36.useMutation)(UPDATE_RELATION_MUTATION, {
6459
6495
  awaitRefetchQueries: true,
6460
6496
  refetchQueries: (mutationResult) => {
6461
6497
  const updateRelation2 = mutationResult?.data?.updateRelation;
@@ -6498,7 +6534,7 @@ var useUpdateRelation = () => {
6498
6534
  return { error, loading, updateRelation };
6499
6535
  };
6500
6536
  var useDeleteRelation = () => {
6501
- const [deleteRelation, { loading, error }] = (0, import_client35.useMutation)(DELETE_RELATION_MUTATION, {
6537
+ const [deleteRelation, { loading, error }] = (0, import_client36.useMutation)(DELETE_RELATION_MUTATION, {
6502
6538
  awaitRefetchQueries: true,
6503
6539
  refetchQueries: (mutationResult) => {
6504
6540
  const deleteRelation2 = mutationResult?.data?.deleteRelation;
@@ -6537,9 +6573,9 @@ var useDeleteRelation = () => {
6537
6573
  };
6538
6574
 
6539
6575
  // src/graphql/hooks/relation/hooksQuery.ts
6540
- var import_client36 = require("@apollo/client");
6576
+ var import_client37 = require("@apollo/client");
6541
6577
  var useGetRelation = (_id) => {
6542
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_RELATION, {
6578
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RELATION, {
6543
6579
  fetchPolicy: "network-only",
6544
6580
  skip: !_id,
6545
6581
  variables: _id ? { _id } : void 0
@@ -6548,7 +6584,7 @@ var useGetRelation = (_id) => {
6548
6584
  return { error, loading, refetch, relation };
6549
6585
  };
6550
6586
  var useGetRelationByEventAndVendor = (eventId, vendorId) => {
6551
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
6587
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
6552
6588
  fetchPolicy: "network-only",
6553
6589
  skip: !eventId || eventId === "" || !vendorId || vendorId === "",
6554
6590
  variables: { eventId, vendorId }
@@ -6557,7 +6593,7 @@ var useGetRelationByEventAndVendor = (eventId, vendorId) => {
6557
6593
  return { error, loading, refetch, relationByEventAndVendor };
6558
6594
  };
6559
6595
  var useGetEventRelations = (eventId) => {
6560
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_EVENT_RELATIONS, {
6596
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_EVENT_RELATIONS, {
6561
6597
  fetchPolicy: "network-only",
6562
6598
  skip: !eventId || eventId === "",
6563
6599
  variables: { eventId }
@@ -6566,7 +6602,7 @@ var useGetEventRelations = (eventId) => {
6566
6602
  return { error, eventRelations, loading, refetch };
6567
6603
  };
6568
6604
  var useGetVendorRelations = (vendorId) => {
6569
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_VENDOR_RELATIONS, {
6605
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_VENDOR_RELATIONS, {
6570
6606
  fetchPolicy: "network-only",
6571
6607
  skip: !vendorId || vendorId === "",
6572
6608
  variables: { vendorId }
@@ -6575,7 +6611,7 @@ var useGetVendorRelations = (vendorId) => {
6575
6611
  return { error, loading, refetch, vendorRelations };
6576
6612
  };
6577
6613
  var useGetResourceConnections = (resourceId, resourceType) => {
6578
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_RESOURCE_CONNECTIONS, {
6614
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RESOURCE_CONNECTIONS, {
6579
6615
  fetchPolicy: "network-only",
6580
6616
  skip: !resourceId || resourceId === "" || !resourceType,
6581
6617
  variables: { resourceId, resourceType }
@@ -6585,11 +6621,11 @@ var useGetResourceConnections = (resourceId, resourceType) => {
6585
6621
  };
6586
6622
 
6587
6623
  // src/graphql/hooks/vendor/hooksMutation.ts
6588
- var import_client38 = require("@apollo/client");
6624
+ var import_client39 = require("@apollo/client");
6589
6625
 
6590
6626
  // src/graphql/mutations/vendor.ts
6591
- var import_client37 = require("@apollo/client");
6592
- var CREATE_VENDOR_MUTATION = import_client37.gql`
6627
+ var import_client38 = require("@apollo/client");
6628
+ var CREATE_VENDOR_MUTATION = import_client38.gql`
6593
6629
  mutation createVendor($input: VendorInputType!) {
6594
6630
  createVendor(input: $input) {
6595
6631
  ...VendorFields
@@ -6597,7 +6633,7 @@ var CREATE_VENDOR_MUTATION = import_client37.gql`
6597
6633
  }
6598
6634
  ${VENDOR}
6599
6635
  `;
6600
- var UPDATE_VENDOR_MUTATION = import_client37.gql`
6636
+ var UPDATE_VENDOR_MUTATION = import_client38.gql`
6601
6637
  mutation updateVendor($_id: ID!, $input: VendorInputType!) {
6602
6638
  updateVendor(_id: $_id, input: $input) {
6603
6639
  ...VendorFields
@@ -6605,12 +6641,12 @@ var UPDATE_VENDOR_MUTATION = import_client37.gql`
6605
6641
  }
6606
6642
  ${VENDOR}
6607
6643
  `;
6608
- var DELETE_VENDOR_MUTATION = import_client37.gql`
6644
+ var DELETE_VENDOR_MUTATION = import_client38.gql`
6609
6645
  mutation deleteVendor($_id: ID!) {
6610
6646
  deleteVendor(_id: $_id)
6611
6647
  }
6612
6648
  `;
6613
- var CREATE_VENDOR_INFO_MUTATION = import_client37.gql`
6649
+ var CREATE_VENDOR_INFO_MUTATION = import_client38.gql`
6614
6650
  mutation createVendorInfo($input: VendorInfoInputType!) {
6615
6651
  createVendorInfo(input: $input) {
6616
6652
  ...VendorInfoFields
@@ -6618,7 +6654,7 @@ var CREATE_VENDOR_INFO_MUTATION = import_client37.gql`
6618
6654
  }
6619
6655
  ${VENDOR_INFO}
6620
6656
  `;
6621
- var UPDATE_VENDOR_INFO_MUTATION = import_client37.gql`
6657
+ var UPDATE_VENDOR_INFO_MUTATION = import_client38.gql`
6622
6658
  mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
6623
6659
  updateVendorInfo(_id: $_id, input: $input) {
6624
6660
  ...VendorInfoFields
@@ -6626,7 +6662,7 @@ var UPDATE_VENDOR_INFO_MUTATION = import_client37.gql`
6626
6662
  }
6627
6663
  ${VENDOR_INFO}
6628
6664
  `;
6629
- var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
6665
+ var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
6630
6666
  mutation createUnregisteredVendor($input: UnregisteredVendorInputType!) {
6631
6667
  createUnregisteredVendor(input: $input) {
6632
6668
  ...UnregisteredVendorFields
@@ -6634,7 +6670,7 @@ var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
6634
6670
  }
6635
6671
  ${UNREGISTERED_VENDOR}
6636
6672
  `;
6637
- var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
6673
+ var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
6638
6674
  mutation updateUnregisteredVendor(
6639
6675
  $_id: ID!
6640
6676
  $input: UnregisteredVendorInputType!
@@ -6645,12 +6681,12 @@ var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
6645
6681
  }
6646
6682
  ${UNREGISTERED_VENDOR}
6647
6683
  `;
6648
- var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
6684
+ var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
6649
6685
  mutation deleteUnregisteredVendor($_id: ID!) {
6650
6686
  deleteUnregisteredVendor(_id: $_id)
6651
6687
  }
6652
6688
  `;
6653
- var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client37.gql`
6689
+ var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client38.gql`
6654
6690
  mutation unlinkUnregisteredVendorByInviterId($_id: ID!, $inviterId: ID!) {
6655
6691
  unlinkUnregisteredVendorByInviterId(_id: $_id, inviterId: $inviterId)
6656
6692
  }
@@ -6658,7 +6694,7 @@ var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client37.gql`
6658
6694
 
6659
6695
  // src/graphql/hooks/vendor/hooksMutation.ts
6660
6696
  var useCreateVendor = () => {
6661
- const [createVendor, { loading, error }] = (0, import_client38.useMutation)(
6697
+ const [createVendor, { loading, error }] = (0, import_client39.useMutation)(
6662
6698
  CREATE_VENDOR_MUTATION,
6663
6699
  {
6664
6700
  awaitRefetchQueries: true,
@@ -6668,7 +6704,7 @@ var useCreateVendor = () => {
6668
6704
  return { createVendor, error, loading };
6669
6705
  };
6670
6706
  var useUpdateVendor = () => {
6671
- const [updateVendor, { loading, error }] = (0, import_client38.useMutation)(
6707
+ const [updateVendor, { loading, error }] = (0, import_client39.useMutation)(
6672
6708
  UPDATE_VENDOR_MUTATION,
6673
6709
  {
6674
6710
  awaitRefetchQueries: true,
@@ -6678,7 +6714,7 @@ var useUpdateVendor = () => {
6678
6714
  return { error, loading, updateVendor };
6679
6715
  };
6680
6716
  var useDeleteVendor = () => {
6681
- const [deleteVendor, { loading, error }] = (0, import_client38.useMutation)(
6717
+ const [deleteVendor, { loading, error }] = (0, import_client39.useMutation)(
6682
6718
  DELETE_VENDOR_MUTATION,
6683
6719
  {
6684
6720
  awaitRefetchQueries: true,
@@ -6688,7 +6724,7 @@ var useDeleteVendor = () => {
6688
6724
  return { deleteVendor, error, loading };
6689
6725
  };
6690
6726
  var useCreateVendorInfo = () => {
6691
- const [createVendorInfo, { loading, error }] = (0, import_client38.useMutation)(CREATE_VENDOR_INFO_MUTATION, {
6727
+ const [createVendorInfo, { loading, error }] = (0, import_client39.useMutation)(CREATE_VENDOR_INFO_MUTATION, {
6692
6728
  awaitRefetchQueries: true,
6693
6729
  refetchQueries: (mutationResult) => {
6694
6730
  const vendorId = mutationResult?.data?.createVendorInfo?.vendorId;
@@ -6712,7 +6748,7 @@ var useCreateVendorInfo = () => {
6712
6748
  return { createVendorInfo, error, loading };
6713
6749
  };
6714
6750
  var useUpdateVendorInfo = () => {
6715
- const [updateVendorInfo, { loading, error }] = (0, import_client38.useMutation)(UPDATE_VENDOR_INFO_MUTATION, {
6751
+ const [updateVendorInfo, { loading, error }] = (0, import_client39.useMutation)(UPDATE_VENDOR_INFO_MUTATION, {
6716
6752
  awaitRefetchQueries: true,
6717
6753
  refetchQueries: (mutationResult) => {
6718
6754
  const vendorId = mutationResult?.data?.updateVendorInfo?.vendorId;
@@ -6729,34 +6765,34 @@ var useUpdateVendorInfo = () => {
6729
6765
  return { error, loading, updateVendorInfo };
6730
6766
  };
6731
6767
  var useCreateUnregisteredVendor = () => {
6732
- const [createUnregisteredVendor, { loading, error }] = (0, import_client38.useMutation)(
6768
+ const [createUnregisteredVendor, { loading, error }] = (0, import_client39.useMutation)(
6733
6769
  CREATE_UNREGISTERED_VENDOR_MUTATION
6734
6770
  );
6735
6771
  return { createUnregisteredVendor, error, loading };
6736
6772
  };
6737
6773
  var useUpdateUnregisteredVendor = () => {
6738
- const [updateUnregisteredVendor, { loading, error }] = (0, import_client38.useMutation)(
6774
+ const [updateUnregisteredVendor, { loading, error }] = (0, import_client39.useMutation)(
6739
6775
  UPDATE_UNREGISTERED_VENDOR_MUTATION
6740
6776
  );
6741
6777
  return { error, loading, updateUnregisteredVendor };
6742
6778
  };
6743
6779
  var useDeleteUnregisteredVendor = () => {
6744
- const [deleteUnregisteredVendor, { loading, error }] = (0, import_client38.useMutation)(
6780
+ const [deleteUnregisteredVendor, { loading, error }] = (0, import_client39.useMutation)(
6745
6781
  DELETE_UNREGISTERED_VENDOR_MUTATION
6746
6782
  );
6747
6783
  return { deleteUnregisteredVendor, error, loading };
6748
6784
  };
6749
6785
  var useUnlinkUnregisteredVendorByInviterId = () => {
6750
- const [unlinkUnregisteredVendorByInviterId, { loading, error }] = (0, import_client38.useMutation)(
6786
+ const [unlinkUnregisteredVendorByInviterId, { loading, error }] = (0, import_client39.useMutation)(
6751
6787
  UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION
6752
6788
  );
6753
6789
  return { error, loading, unlinkUnregisteredVendorByInviterId };
6754
6790
  };
6755
6791
 
6756
6792
  // src/graphql/hooks/vendor/hooksQuery.ts
6757
- var import_client39 = require("@apollo/client");
6793
+ var import_client40 = require("@apollo/client");
6758
6794
  var useGetVendors = () => {
6759
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(
6795
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(
6760
6796
  GET_VENDORS,
6761
6797
  {
6762
6798
  fetchPolicy: "network-only"
@@ -6771,7 +6807,7 @@ var useGetVendors = () => {
6771
6807
  };
6772
6808
  };
6773
6809
  var useGetVendor = (_id) => {
6774
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(
6810
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(
6775
6811
  GET_VENDOR,
6776
6812
  {
6777
6813
  fetchPolicy: "network-only",
@@ -6787,7 +6823,7 @@ var useGetVendorsByRegion = (region, options) => {
6787
6823
  options,
6788
6824
  region
6789
6825
  };
6790
- const { loading, error, data, refetch, fetchMore } = (0, import_client39.useQuery)(GET_VENDORS_BY_REGION, {
6826
+ const { loading, error, data, refetch, fetchMore } = (0, import_client40.useQuery)(GET_VENDORS_BY_REGION, {
6791
6827
  fetchPolicy: "network-only",
6792
6828
  skip: !region || region === "",
6793
6829
  variables
@@ -6802,7 +6838,7 @@ var useGetVendorsByRegion = (region, options) => {
6802
6838
  };
6803
6839
  };
6804
6840
  var useSearchVendors = (search, region) => {
6805
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(SEARCH_VENDORS, {
6841
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(SEARCH_VENDORS, {
6806
6842
  fetchPolicy: "network-only",
6807
6843
  skip: search.length < 3 || !region || region === "",
6808
6844
  variables: { region, search }
@@ -6811,7 +6847,7 @@ var useSearchVendors = (search, region) => {
6811
6847
  return { error, loading, refetch, vendorSearch };
6812
6848
  };
6813
6849
  var useGetVendorInfo = (vendorId) => {
6814
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_VENDOR_INFO, {
6850
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(GET_VENDOR_INFO, {
6815
6851
  fetchPolicy: "network-only",
6816
6852
  skip: !vendorId || vendorId === "",
6817
6853
  variables: { vendorId }
@@ -6825,7 +6861,7 @@ var useGetVendorInfo = (vendorId) => {
6825
6861
  };
6826
6862
  };
6827
6863
  var useGetUnregisteredVendors = () => {
6828
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_UNREGISTERED_VENDORS, {
6864
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(GET_UNREGISTERED_VENDORS, {
6829
6865
  fetchPolicy: "network-only"
6830
6866
  });
6831
6867
  const unregisteredVendors = data?.unregisteredVendors || [];
@@ -6837,7 +6873,7 @@ var useGetUnregisteredVendors = () => {
6837
6873
  };
6838
6874
  };
6839
6875
  var useGetUnregisteredVendorsByInviterId = (inviterId) => {
6840
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_UNREGISTERED_VENDORS_BY_INVITER_ID, {
6876
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(GET_UNREGISTERED_VENDORS_BY_INVITER_ID, {
6841
6877
  fetchPolicy: "network-only",
6842
6878
  skip: !inviterId || inviterId === "",
6843
6879
  variables: { inviterId }
@@ -6846,7 +6882,7 @@ var useGetUnregisteredVendorsByInviterId = (inviterId) => {
6846
6882
  return { error, loading, refetch, unregisteredVendorsByInviterId };
6847
6883
  };
6848
6884
  var useGetUnregisteredVendor = (_id) => {
6849
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_UNREGISTERED_VENDOR, {
6885
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(GET_UNREGISTERED_VENDOR, {
6850
6886
  fetchPolicy: "network-only",
6851
6887
  skip: !_id || _id === "",
6852
6888
  variables: { _id }
@@ -6856,11 +6892,11 @@ var useGetUnregisteredVendor = (_id) => {
6856
6892
  };
6857
6893
 
6858
6894
  // src/graphql/hooks/user/hooksMutation.ts
6859
- var import_client41 = require("@apollo/client");
6895
+ var import_client42 = require("@apollo/client");
6860
6896
 
6861
6897
  // src/graphql/mutations/user.ts
6862
- var import_client40 = require("@apollo/client");
6863
- var CREATE_USER_MUTATION = import_client40.gql`
6898
+ var import_client41 = require("@apollo/client");
6899
+ var CREATE_USER_MUTATION = import_client41.gql`
6864
6900
  mutation createUser($input: UserInputType!) {
6865
6901
  createUser(input: $input) {
6866
6902
  ...UserFields
@@ -6868,7 +6904,7 @@ var CREATE_USER_MUTATION = import_client40.gql`
6868
6904
  }
6869
6905
  ${USER_FIELDS_FRAGMENT}
6870
6906
  `;
6871
- var UPDATE_USER_MUTATION = import_client40.gql`
6907
+ var UPDATE_USER_MUTATION = import_client41.gql`
6872
6908
  mutation updateUser($_id: ID!, $input: UserInputType!) {
6873
6909
  updateUser(_id: $_id, input: $input) {
6874
6910
  ...UserFields
@@ -6876,12 +6912,12 @@ var UPDATE_USER_MUTATION = import_client40.gql`
6876
6912
  }
6877
6913
  ${USER_FIELDS_FRAGMENT}
6878
6914
  `;
6879
- var DELETE_USER_MUTATION = import_client40.gql`
6915
+ var DELETE_USER_MUTATION = import_client41.gql`
6880
6916
  mutation deleteUser($email: String!) {
6881
6917
  deleteUser(email: $email)
6882
6918
  }
6883
6919
  `;
6884
- var REDEEM_REWARD_MUTATION = import_client40.gql`
6920
+ var REDEEM_REWARD_MUTATION = import_client41.gql`
6885
6921
  mutation redeemReward($input: RedeemRewardInputType!) {
6886
6922
  redeemReward(input: $input) {
6887
6923
  message
@@ -6889,7 +6925,7 @@ var REDEEM_REWARD_MUTATION = import_client40.gql`
6889
6925
  }
6890
6926
  }
6891
6927
  `;
6892
- var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client40.gql`
6928
+ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
6893
6929
  mutation addUserFavouriteResource(
6894
6930
  $resourceId: ID!
6895
6931
  $resourceType: ResourceTypeEnum!
@@ -6903,7 +6939,7 @@ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client40.gql`
6903
6939
  }
6904
6940
  ${USER_FIELDS_FRAGMENT}
6905
6941
  `;
6906
- var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client40.gql`
6942
+ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
6907
6943
  mutation removeUserFavouriteResource(
6908
6944
  $resourceId: ID!
6909
6945
  $resourceType: ResourceTypeEnum!
@@ -6917,7 +6953,7 @@ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client40.gql`
6917
6953
  }
6918
6954
  ${USER_FIELDS_FRAGMENT}
6919
6955
  `;
6920
- var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client40.gql`
6956
+ var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
6921
6957
  mutation addUserInterestResource($input: UserActivityInputType!) {
6922
6958
  addUserInterestResource(input: $input) {
6923
6959
  ...UserFields
@@ -6925,7 +6961,7 @@ var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client40.gql`
6925
6961
  }
6926
6962
  ${USER_FIELDS_FRAGMENT}
6927
6963
  `;
6928
- var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client40.gql`
6964
+ var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
6929
6965
  mutation removeUserInterestResource($input: UserActivityInputType!) {
6930
6966
  removeUserInterestResource(input: $input) {
6931
6967
  ...UserFields
@@ -6933,7 +6969,7 @@ var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client40.gql`
6933
6969
  }
6934
6970
  ${USER_FIELDS_FRAGMENT}
6935
6971
  `;
6936
- var ADD_USER_GOING_RESOURCE_MUTATION = import_client40.gql`
6972
+ var ADD_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
6937
6973
  mutation addUserGoingResource($input: UserActivityInputType!) {
6938
6974
  addUserGoingResource(input: $input) {
6939
6975
  ...UserFields
@@ -6941,7 +6977,7 @@ var ADD_USER_GOING_RESOURCE_MUTATION = import_client40.gql`
6941
6977
  }
6942
6978
  ${USER_FIELDS_FRAGMENT}
6943
6979
  `;
6944
- var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client40.gql`
6980
+ var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
6945
6981
  mutation removeUserGoingResource($input: UserActivityInputType!) {
6946
6982
  removeUserGoingResource(input: $input) {
6947
6983
  ...UserFields
@@ -6949,7 +6985,7 @@ var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client40.gql`
6949
6985
  }
6950
6986
  ${USER_FIELDS_FRAGMENT}
6951
6987
  `;
6952
- var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client40.gql`
6988
+ var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
6953
6989
  mutation addUserPresentResource($input: UserActivityInputType!) {
6954
6990
  addUserPresentResource(input: $input) {
6955
6991
  ...UserFields
@@ -6957,7 +6993,7 @@ var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client40.gql`
6957
6993
  }
6958
6994
  ${USER_FIELDS_FRAGMENT}
6959
6995
  `;
6960
- var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client40.gql`
6996
+ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
6961
6997
  mutation removeUserPresentResource($input: UserActivityInputType!) {
6962
6998
  removeUserPresentResource(input: $input) {
6963
6999
  ...UserFields
@@ -6965,7 +7001,7 @@ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client40.gql`
6965
7001
  }
6966
7002
  ${USER_FIELDS_FRAGMENT}
6967
7003
  `;
6968
- var SELECT_STANDARD_PACKAGE_MUTATION = import_client40.gql`
7004
+ var SELECT_STANDARD_PACKAGE_MUTATION = import_client41.gql`
6969
7005
  mutation selectStandardPackage($selectedLicence: LicencesEnumType!) {
6970
7006
  selectStandardPackage(selectedLicence: $selectedLicence) {
6971
7007
  licences {
@@ -6980,11 +7016,11 @@ var SELECT_STANDARD_PACKAGE_MUTATION = import_client40.gql`
6980
7016
 
6981
7017
  // src/graphql/hooks/user/hooksMutation.ts
6982
7018
  var useCreateUser = () => {
6983
- const [createUser, { loading, error }] = (0, import_client41.useMutation)(CREATE_USER_MUTATION);
7019
+ const [createUser, { loading, error }] = (0, import_client42.useMutation)(CREATE_USER_MUTATION);
6984
7020
  return { createUser, error, loading };
6985
7021
  };
6986
7022
  var useUpdateUser = () => {
6987
- const [updateUser, { loading, error }] = (0, import_client41.useMutation)(UPDATE_USER_MUTATION, {
7023
+ const [updateUser, { loading, error }] = (0, import_client42.useMutation)(UPDATE_USER_MUTATION, {
6988
7024
  awaitRefetchQueries: true,
6989
7025
  refetchQueries: (mutationResult) => {
6990
7026
  const userId = mutationResult?.data?.updateUser?._id;
@@ -6995,11 +7031,11 @@ var useUpdateUser = () => {
6995
7031
  return { error, loading, updateUser };
6996
7032
  };
6997
7033
  var useDeleteUser = () => {
6998
- const [deleteUser, { loading, error }] = (0, import_client41.useMutation)(DELETE_USER_MUTATION);
7034
+ const [deleteUser, { loading, error }] = (0, import_client42.useMutation)(DELETE_USER_MUTATION);
6999
7035
  return { deleteUser, error, loading };
7000
7036
  };
7001
7037
  var useRedeemReward = () => {
7002
- const [redeemReward, { loading, error }] = (0, import_client41.useMutation)(REDEEM_REWARD_MUTATION, {
7038
+ const [redeemReward, { loading, error }] = (0, import_client42.useMutation)(REDEEM_REWARD_MUTATION, {
7003
7039
  awaitRefetchQueries: true,
7004
7040
  refetchQueries: (mutationResult) => {
7005
7041
  const userId = mutationResult?.data?.redeemReward?.userId;
@@ -7016,7 +7052,7 @@ var useRedeemReward = () => {
7016
7052
  return { error, loading, redeemReward };
7017
7053
  };
7018
7054
  var useAddUserFavouriteResource = () => {
7019
- const [addUserFavouriteResource, { loading, error }] = (0, import_client41.useMutation)(
7055
+ const [addUserFavouriteResource, { loading, error }] = (0, import_client42.useMutation)(
7020
7056
  ADD_USER_FAVOURITE_RESOURCE_MUTATION,
7021
7057
  {
7022
7058
  awaitRefetchQueries: true,
@@ -7026,7 +7062,7 @@ var useAddUserFavouriteResource = () => {
7026
7062
  return { addUserFavouriteResource, error, loading };
7027
7063
  };
7028
7064
  var useRemoveUserFavouriteResource = () => {
7029
- const [removeUserFavouriteResource, { loading, error }] = (0, import_client41.useMutation)(
7065
+ const [removeUserFavouriteResource, { loading, error }] = (0, import_client42.useMutation)(
7030
7066
  REMOVE_USER_FAVOURITE_RESOURCE_MUTATION,
7031
7067
  {
7032
7068
  awaitRefetchQueries: true,
@@ -7036,7 +7072,7 @@ var useRemoveUserFavouriteResource = () => {
7036
7072
  return { error, loading, removeUserFavouriteResource };
7037
7073
  };
7038
7074
  var useAddUserInterestResource = () => {
7039
- const [addUserInterestResource, { loading, error }] = (0, import_client41.useMutation)(
7075
+ const [addUserInterestResource, { loading, error }] = (0, import_client42.useMutation)(
7040
7076
  ADD_USER_INTEREST_RESOURCE_MUTATION,
7041
7077
  {
7042
7078
  awaitRefetchQueries: true,
@@ -7046,7 +7082,7 @@ var useAddUserInterestResource = () => {
7046
7082
  return { addUserInterestResource, error, loading };
7047
7083
  };
7048
7084
  var useRemoveUserInterestResource = () => {
7049
- const [removeUserInterestResource, { loading, error }] = (0, import_client41.useMutation)(
7085
+ const [removeUserInterestResource, { loading, error }] = (0, import_client42.useMutation)(
7050
7086
  REMOVE_USER_INTEREST_RESOURCE_MUTATION,
7051
7087
  {
7052
7088
  awaitRefetchQueries: true,
@@ -7056,7 +7092,7 @@ var useRemoveUserInterestResource = () => {
7056
7092
  return { error, loading, removeUserInterestResource };
7057
7093
  };
7058
7094
  var useAddUserGoingResource = () => {
7059
- const [addUserGoingResource, { loading, error }] = (0, import_client41.useMutation)(
7095
+ const [addUserGoingResource, { loading, error }] = (0, import_client42.useMutation)(
7060
7096
  ADD_USER_GOING_RESOURCE_MUTATION,
7061
7097
  {
7062
7098
  awaitRefetchQueries: true,
@@ -7066,7 +7102,7 @@ var useAddUserGoingResource = () => {
7066
7102
  return { addUserGoingResource, error, loading };
7067
7103
  };
7068
7104
  var useRemoveUserGoingResource = () => {
7069
- const [removeUserGoingResource, { loading, error }] = (0, import_client41.useMutation)(
7105
+ const [removeUserGoingResource, { loading, error }] = (0, import_client42.useMutation)(
7070
7106
  REMOVE_USER_GOING_RESOURCE_MUTATION,
7071
7107
  {
7072
7108
  awaitRefetchQueries: true,
@@ -7076,7 +7112,7 @@ var useRemoveUserGoingResource = () => {
7076
7112
  return { error, loading, removeUserGoingResource };
7077
7113
  };
7078
7114
  var useAddUserPresentResource = () => {
7079
- const [addUserPresentResource, { loading, error }] = (0, import_client41.useMutation)(
7115
+ const [addUserPresentResource, { loading, error }] = (0, import_client42.useMutation)(
7080
7116
  ADD_USER_PRESENT_RESOURCE_MUTATION,
7081
7117
  {
7082
7118
  awaitRefetchQueries: true,
@@ -7086,7 +7122,7 @@ var useAddUserPresentResource = () => {
7086
7122
  return { addUserPresentResource, error, loading };
7087
7123
  };
7088
7124
  var useRemoveUserPresentResource = () => {
7089
- const [removeUserPresentResource, { loading, error }] = (0, import_client41.useMutation)(
7125
+ const [removeUserPresentResource, { loading, error }] = (0, import_client42.useMutation)(
7090
7126
  REMOVE_USER_PRESENT_RESOURCE_MUTATION,
7091
7127
  {
7092
7128
  awaitRefetchQueries: true,
@@ -7096,7 +7132,7 @@ var useRemoveUserPresentResource = () => {
7096
7132
  return { error, loading, removeUserPresentResource };
7097
7133
  };
7098
7134
  var useSelectStandardPackage = () => {
7099
- const [selectStandardPackage, { loading, error }] = (0, import_client41.useMutation)(SELECT_STANDARD_PACKAGE_MUTATION, {
7135
+ const [selectStandardPackage, { loading, error }] = (0, import_client42.useMutation)(SELECT_STANDARD_PACKAGE_MUTATION, {
7100
7136
  awaitRefetchQueries: true,
7101
7137
  refetchQueries: (mutationResult) => {
7102
7138
  const userId = mutationResult?.data?.selectStandardPackage?.userId;
@@ -7112,9 +7148,9 @@ var useSelectStandardPackage = () => {
7112
7148
  };
7113
7149
 
7114
7150
  // src/graphql/hooks/user/hooksQuery.ts
7115
- var import_client42 = require("@apollo/client");
7151
+ var import_client43 = require("@apollo/client");
7116
7152
  var useGetUsers = () => {
7117
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(
7153
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(
7118
7154
  GET_USERS,
7119
7155
  {
7120
7156
  fetchPolicy: "network-only"
@@ -7124,7 +7160,7 @@ var useGetUsers = () => {
7124
7160
  return { error, loading, refetch, users };
7125
7161
  };
7126
7162
  var useGetUser = (_id) => {
7127
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(
7163
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(
7128
7164
  GET_USER,
7129
7165
  {
7130
7166
  fetchPolicy: "network-only",
@@ -7136,28 +7172,28 @@ var useGetUser = (_id) => {
7136
7172
  return { error, loading, refetch, user };
7137
7173
  };
7138
7174
  var useGetUserEvents = () => {
7139
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_EVENTS, {
7175
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_EVENTS, {
7140
7176
  fetchPolicy: "network-only"
7141
7177
  });
7142
7178
  const userEvents = data?.userEvents || [];
7143
7179
  return { error, loading, refetch, userEvents };
7144
7180
  };
7145
7181
  var useGetUserVendors = () => {
7146
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_VENDORS, {
7182
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_VENDORS, {
7147
7183
  fetchPolicy: "network-only"
7148
7184
  });
7149
7185
  const userVendors = data?.userVendors || [];
7150
7186
  return { error, loading, refetch, userVendors };
7151
7187
  };
7152
7188
  var useGetUserPartners = () => {
7153
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_PARTNERS, {
7189
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_PARTNERS, {
7154
7190
  fetchPolicy: "network-only"
7155
7191
  });
7156
7192
  const userPartners = data?.userPartners || [];
7157
7193
  return { error, loading, refetch, userPartners };
7158
7194
  };
7159
7195
  var useGetUserActivities = () => {
7160
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_ACTIVITIES, {
7196
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_ACTIVITIES, {
7161
7197
  fetchPolicy: "network-only"
7162
7198
  });
7163
7199
  const userActivities = {
@@ -7179,7 +7215,7 @@ var useGetUserActivities = () => {
7179
7215
  return { error, loading, refetch, userActivities };
7180
7216
  };
7181
7217
  var useGetUserResources = (userId) => {
7182
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_RESOURCES, {
7218
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_RESOURCES, {
7183
7219
  fetchPolicy: "network-only",
7184
7220
  skip: !userId || userId === "",
7185
7221
  variables: { userId }
@@ -7189,14 +7225,14 @@ var useGetUserResources = (userId) => {
7189
7225
  };
7190
7226
 
7191
7227
  // src/graphql/hooks/ad/hooksMutation.ts
7192
- var import_client45 = require("@apollo/client");
7228
+ var import_client46 = require("@apollo/client");
7193
7229
 
7194
7230
  // src/graphql/mutations/ad.ts
7195
- var import_client44 = require("@apollo/client");
7231
+ var import_client45 = require("@apollo/client");
7196
7232
 
7197
7233
  // src/graphql/queries/ad.ts
7198
- var import_client43 = require("@apollo/client");
7199
- var AD_FIELDS_FRAGMENT = import_client43.gql`
7234
+ var import_client44 = require("@apollo/client");
7235
+ var AD_FIELDS_FRAGMENT = import_client44.gql`
7200
7236
  fragment AdFields on AdType {
7201
7237
  _id
7202
7238
  active
@@ -7223,7 +7259,7 @@ var AD_FIELDS_FRAGMENT = import_client43.gql`
7223
7259
  updatedAt
7224
7260
  }
7225
7261
  `;
7226
- var GET_ADS = import_client43.gql`
7262
+ var GET_ADS = import_client44.gql`
7227
7263
  query getAds {
7228
7264
  ads {
7229
7265
  ...AdFields
@@ -7231,7 +7267,7 @@ var GET_ADS = import_client43.gql`
7231
7267
  }
7232
7268
  ${AD_FIELDS_FRAGMENT}
7233
7269
  `;
7234
- var GET_AD = import_client43.gql`
7270
+ var GET_AD = import_client44.gql`
7235
7271
  query getAd($_id: ID!) {
7236
7272
  ad(_id: $_id) {
7237
7273
  ...AdFields
@@ -7239,7 +7275,7 @@ var GET_AD = import_client43.gql`
7239
7275
  }
7240
7276
  ${AD_FIELDS_FRAGMENT}
7241
7277
  `;
7242
- var GET_ADS_BY_REGION = import_client43.gql`
7278
+ var GET_ADS_BY_REGION = import_client44.gql`
7243
7279
  query getAdsByRegion($region: String!, $status: AdStatusTypeEnum) {
7244
7280
  adsByRegion(region: $region, status: $status) {
7245
7281
  ...AdFields
@@ -7249,7 +7285,7 @@ var GET_ADS_BY_REGION = import_client43.gql`
7249
7285
  `;
7250
7286
 
7251
7287
  // src/graphql/mutations/ad.ts
7252
- var CREATE_AD_MUTATION = import_client44.gql`
7288
+ var CREATE_AD_MUTATION = import_client45.gql`
7253
7289
  mutation createAd($input: AdInputType!) {
7254
7290
  createAd(input: $input) {
7255
7291
  ...AdFields
@@ -7257,7 +7293,7 @@ var CREATE_AD_MUTATION = import_client44.gql`
7257
7293
  }
7258
7294
  ${AD_FIELDS_FRAGMENT}
7259
7295
  `;
7260
- var UPDATE_AD_MUTATION = import_client44.gql`
7296
+ var UPDATE_AD_MUTATION = import_client45.gql`
7261
7297
  mutation updateAd($_id: ID!, $input: AdInputType!) {
7262
7298
  updateAd(_id: $_id, input: $input) {
7263
7299
  ...AdFields
@@ -7265,7 +7301,7 @@ var UPDATE_AD_MUTATION = import_client44.gql`
7265
7301
  }
7266
7302
  ${AD_FIELDS_FRAGMENT}
7267
7303
  `;
7268
- var DELETE_AD_MUTATION = import_client44.gql`
7304
+ var DELETE_AD_MUTATION = import_client45.gql`
7269
7305
  mutation deleteAd($_id: ID!) {
7270
7306
  deleteAd(_id: $_id)
7271
7307
  }
@@ -7273,7 +7309,7 @@ var DELETE_AD_MUTATION = import_client44.gql`
7273
7309
 
7274
7310
  // src/graphql/hooks/ad/hooksMutation.ts
7275
7311
  var useCreateAd = () => {
7276
- const [createAd, { loading, error }] = (0, import_client45.useMutation)(CREATE_AD_MUTATION, {
7312
+ const [createAd, { loading, error }] = (0, import_client46.useMutation)(CREATE_AD_MUTATION, {
7277
7313
  awaitRefetchQueries: true,
7278
7314
  refetchQueries: [{ query: GET_ADS }]
7279
7315
  });
@@ -7284,7 +7320,7 @@ var useCreateAd = () => {
7284
7320
  };
7285
7321
  };
7286
7322
  var useUpdateAd = () => {
7287
- const [updateAd, { loading, error }] = (0, import_client45.useMutation)(UPDATE_AD_MUTATION, {
7323
+ const [updateAd, { loading, error }] = (0, import_client46.useMutation)(UPDATE_AD_MUTATION, {
7288
7324
  awaitRefetchQueries: true,
7289
7325
  refetchQueries: [{ query: GET_ADS }]
7290
7326
  });
@@ -7295,7 +7331,7 @@ var useUpdateAd = () => {
7295
7331
  };
7296
7332
  };
7297
7333
  var useDeleteAd = () => {
7298
- const [deleteAd, { loading, error }] = (0, import_client45.useMutation)(DELETE_AD_MUTATION, {
7334
+ const [deleteAd, { loading, error }] = (0, import_client46.useMutation)(DELETE_AD_MUTATION, {
7299
7335
  awaitRefetchQueries: true,
7300
7336
  refetchQueries: [{ query: GET_ADS }]
7301
7337
  });
@@ -7307,9 +7343,9 @@ var useDeleteAd = () => {
7307
7343
  };
7308
7344
 
7309
7345
  // src/graphql/hooks/ad/hooksQuery.ts
7310
- var import_client46 = require("@apollo/client");
7346
+ var import_client47 = require("@apollo/client");
7311
7347
  var useGetAds = () => {
7312
- const { data, loading, error, refetch } = (0, import_client46.useQuery)(
7348
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(
7313
7349
  GET_ADS,
7314
7350
  {
7315
7351
  fetchPolicy: "no-cache"
@@ -7323,7 +7359,7 @@ var useGetAds = () => {
7323
7359
  };
7324
7360
  };
7325
7361
  var useGetAd = (_id) => {
7326
- const { data, loading, error, refetch } = (0, import_client46.useQuery)(GET_AD, {
7362
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_AD, {
7327
7363
  fetchPolicy: "no-cache",
7328
7364
  skip: !_id || _id === "",
7329
7365
  variables: { _id }
@@ -7336,7 +7372,7 @@ var useGetAd = (_id) => {
7336
7372
  };
7337
7373
  };
7338
7374
  var useGetAdsByRegion = (region, status) => {
7339
- const { data, loading, error, refetch } = (0, import_client46.useQuery)(GET_ADS_BY_REGION, {
7375
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_ADS_BY_REGION, {
7340
7376
  fetchPolicy: "no-cache",
7341
7377
  skip: !region || region === "",
7342
7378
  variables: { region, status }
@@ -7350,11 +7386,11 @@ var useGetAdsByRegion = (region, status) => {
7350
7386
  };
7351
7387
 
7352
7388
  // src/graphql/hooks/resourceActivities/hooksMutation.ts
7353
- var import_client48 = require("@apollo/client");
7389
+ var import_client49 = require("@apollo/client");
7354
7390
 
7355
7391
  // src/graphql/mutations/resourceActivities.ts
7356
- var import_client47 = require("@apollo/client");
7357
- var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client47.gql`
7392
+ var import_client48 = require("@apollo/client");
7393
+ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client48.gql`
7358
7394
  mutation createResourceActivity($input: ResourceActivityInputType!) {
7359
7395
  createResourceActivity(input: $input)
7360
7396
  }
@@ -7362,18 +7398,18 @@ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client47.gql`
7362
7398
 
7363
7399
  // src/graphql/hooks/resourceActivities/hooksMutation.ts
7364
7400
  var useCreateResourceActivity = () => {
7365
- const [createResourceActivity, { loading, error }] = (0, import_client48.useMutation)(
7401
+ const [createResourceActivity, { loading, error }] = (0, import_client49.useMutation)(
7366
7402
  CREATE_RESOURCE_ACTIVITY_MUTATION
7367
7403
  );
7368
7404
  return { createResourceActivity, error, loading };
7369
7405
  };
7370
7406
 
7371
7407
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
7372
- var import_client50 = require("@apollo/client");
7408
+ var import_client51 = require("@apollo/client");
7373
7409
 
7374
7410
  // src/graphql/queries/resourceActivities.ts
7375
- var import_client49 = require("@apollo/client");
7376
- var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client49.gql`
7411
+ var import_client50 = require("@apollo/client");
7412
+ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
7377
7413
  fragment ResourceActivityFields on ResourceActivityType {
7378
7414
  resourceId
7379
7415
  resourceType
@@ -7392,7 +7428,7 @@ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client49.gql`
7392
7428
  }
7393
7429
  ${LOCATION_GEO_FIELDS_FRAGMENT}
7394
7430
  `;
7395
- var GET_RESOURCE_ACTIVITY = import_client49.gql`
7431
+ var GET_RESOURCE_ACTIVITY = import_client50.gql`
7396
7432
  query getResourceActivity(
7397
7433
  $resourceType: ResourceTypeEnum!
7398
7434
  $resourceId: ID!
@@ -7406,7 +7442,7 @@ var GET_RESOURCE_ACTIVITY = import_client49.gql`
7406
7442
 
7407
7443
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
7408
7444
  var useGetResourceActivity = (resourceId, resourceType) => {
7409
- const { data, loading, error, refetch } = (0, import_client50.useQuery)(GET_RESOURCE_ACTIVITY, {
7445
+ const { data, loading, error, refetch } = (0, import_client51.useQuery)(GET_RESOURCE_ACTIVITY, {
7410
7446
  fetchPolicy: "network-only",
7411
7447
  variables: { resourceId, resourceType }
7412
7448
  });
@@ -7419,11 +7455,11 @@ var useGetResourceActivity = (resourceId, resourceType) => {
7419
7455
  };
7420
7456
 
7421
7457
  // src/graphql/hooks/stripe/hooksMutation.ts
7422
- var import_client52 = require("@apollo/client");
7458
+ var import_client53 = require("@apollo/client");
7423
7459
 
7424
7460
  // src/graphql/mutations/stripe.ts
7425
- var import_client51 = require("@apollo/client");
7426
- var CREATE_CHECKOUT_SESSION_MUTATION = import_client51.gql`
7461
+ var import_client52 = require("@apollo/client");
7462
+ var CREATE_CHECKOUT_SESSION_MUTATION = import_client52.gql`
7427
7463
  mutation createCheckoutSession(
7428
7464
  $planId: LicencesEnumType!
7429
7465
  $billingPeriod: BillingPeriodEnumType
@@ -7434,12 +7470,12 @@ var CREATE_CHECKOUT_SESSION_MUTATION = import_client51.gql`
7434
7470
  }
7435
7471
  }
7436
7472
  `;
7437
- var CANCEL_SUBSCRIPTION_MUTATION = import_client51.gql`
7473
+ var CANCEL_SUBSCRIPTION_MUTATION = import_client52.gql`
7438
7474
  mutation cancelSubscription {
7439
7475
  cancelSubscription
7440
7476
  }
7441
7477
  `;
7442
- var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client51.gql`
7478
+ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client52.gql`
7443
7479
  mutation updateSubscriptionPlan(
7444
7480
  $newPlanId: LicencesEnumType!
7445
7481
  $billingPeriod: BillingPeriodEnumType
@@ -7455,14 +7491,14 @@ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client51.gql`
7455
7491
  }
7456
7492
  }
7457
7493
  `;
7458
- var CREATE_CUSTOMER_PORTAL = import_client51.gql`
7494
+ var CREATE_CUSTOMER_PORTAL = import_client52.gql`
7459
7495
  mutation createCustomerPortal($returnUrl: String) {
7460
7496
  createCustomerPortal(returnUrl: $returnUrl) {
7461
7497
  portalUrl
7462
7498
  }
7463
7499
  }
7464
7500
  `;
7465
- var SELECT_PACKAGE_MUTATION = import_client51.gql`
7501
+ var SELECT_PACKAGE_MUTATION = import_client52.gql`
7466
7502
  mutation selectPackage(
7467
7503
  $billingPeriod: BillingPeriodEnumType
7468
7504
  $selectedLicence: LicencesEnumType!
@@ -7486,31 +7522,31 @@ var SELECT_PACKAGE_MUTATION = import_client51.gql`
7486
7522
 
7487
7523
  // src/graphql/hooks/stripe/hooksMutation.ts
7488
7524
  var useCreateCheckoutSession = () => {
7489
- const [createCheckoutSession, { loading, error }] = (0, import_client52.useMutation)(
7525
+ const [createCheckoutSession, { loading, error }] = (0, import_client53.useMutation)(
7490
7526
  CREATE_CHECKOUT_SESSION_MUTATION
7491
7527
  );
7492
7528
  return { createCheckoutSession, error, loading };
7493
7529
  };
7494
7530
  var useCancelSubscription = () => {
7495
- const [cancelSubscription, { loading, error }] = (0, import_client52.useMutation)(
7531
+ const [cancelSubscription, { loading, error }] = (0, import_client53.useMutation)(
7496
7532
  CANCEL_SUBSCRIPTION_MUTATION
7497
7533
  );
7498
7534
  return { cancelSubscription, error, loading };
7499
7535
  };
7500
7536
  var useUpdateSubscriptionPlan = () => {
7501
- const [updateSubscriptionPlan, { loading, error }] = (0, import_client52.useMutation)(
7537
+ const [updateSubscriptionPlan, { loading, error }] = (0, import_client53.useMutation)(
7502
7538
  UPDATE_SUBSCRIPTION_PLAN_MUTATION
7503
7539
  );
7504
7540
  return { error, loading, updateSubscriptionPlan };
7505
7541
  };
7506
7542
  var useCreateCustomerPortal = () => {
7507
- const [createCustomerPortal, { loading, error }] = (0, import_client52.useMutation)(
7543
+ const [createCustomerPortal, { loading, error }] = (0, import_client53.useMutation)(
7508
7544
  CREATE_CUSTOMER_PORTAL
7509
7545
  );
7510
7546
  return { createCustomerPortal, error, loading };
7511
7547
  };
7512
7548
  var useSelectPackage = () => {
7513
- const [selectPackage, { loading, error }] = (0, import_client52.useMutation)(SELECT_PACKAGE_MUTATION, {
7549
+ const [selectPackage, { loading, error }] = (0, import_client53.useMutation)(SELECT_PACKAGE_MUTATION, {
7514
7550
  awaitRefetchQueries: true,
7515
7551
  refetchQueries: (mutationResult) => {
7516
7552
  const userId = mutationResult?.data?.selectPackage?.userId;
@@ -7526,11 +7562,11 @@ var useSelectPackage = () => {
7526
7562
  };
7527
7563
 
7528
7564
  // src/graphql/hooks/stripe/hooksQuery.ts
7529
- var import_client54 = require("@apollo/client");
7565
+ var import_client55 = require("@apollo/client");
7530
7566
 
7531
7567
  // src/graphql/queries/stripe.ts
7532
- var import_client53 = require("@apollo/client");
7533
- var GET_SUBSCRIPTION_STATUS = import_client53.gql`
7568
+ var import_client54 = require("@apollo/client");
7569
+ var GET_SUBSCRIPTION_STATUS = import_client54.gql`
7534
7570
  query getSubscriptionStatus {
7535
7571
  getSubscriptionStatus {
7536
7572
  subscriptionId
@@ -7540,7 +7576,7 @@ var GET_SUBSCRIPTION_STATUS = import_client53.gql`
7540
7576
  }
7541
7577
  }
7542
7578
  `;
7543
- var GET_SUBSCRIPTION_PLANS = import_client53.gql`
7579
+ var GET_SUBSCRIPTION_PLANS = import_client54.gql`
7544
7580
  query getSubscriptionPlans {
7545
7581
  getSubscriptionPlans {
7546
7582
  plans {
@@ -7571,7 +7607,7 @@ var GET_SUBSCRIPTION_PLANS = import_client53.gql`
7571
7607
 
7572
7608
  // src/graphql/hooks/stripe/hooksQuery.ts
7573
7609
  var useGetSubscriptionStatus = () => {
7574
- const { data, loading, error, refetch } = (0, import_client54.useQuery)(GET_SUBSCRIPTION_STATUS);
7610
+ const { data, loading, error, refetch } = (0, import_client55.useQuery)(GET_SUBSCRIPTION_STATUS);
7575
7611
  return {
7576
7612
  data: data?.getSubscriptionStatus,
7577
7613
  error,
@@ -7580,7 +7616,7 @@ var useGetSubscriptionStatus = () => {
7580
7616
  };
7581
7617
  };
7582
7618
  var useGetSubscriptionPlans = () => {
7583
- const { data, loading, error, refetch } = (0, import_client54.useQuery)(GET_SUBSCRIPTION_PLANS);
7619
+ const { data, loading, error, refetch } = (0, import_client55.useQuery)(GET_SUBSCRIPTION_PLANS);
7584
7620
  return {
7585
7621
  data: data?.getSubscriptionPlans,
7586
7622
  error,
@@ -7590,11 +7626,11 @@ var useGetSubscriptionPlans = () => {
7590
7626
  };
7591
7627
 
7592
7628
  // src/graphql/hooks/partner/hooksMutation.ts
7593
- var import_client56 = require("@apollo/client");
7629
+ var import_client57 = require("@apollo/client");
7594
7630
 
7595
7631
  // src/graphql/mutations/partner.ts
7596
- var import_client55 = require("@apollo/client");
7597
- var CREATE_PARTNER_MUTATION = import_client55.gql`
7632
+ var import_client56 = require("@apollo/client");
7633
+ var CREATE_PARTNER_MUTATION = import_client56.gql`
7598
7634
  mutation createPartner($input: PartnerInputType!) {
7599
7635
  createPartner(input: $input) {
7600
7636
  ...PartnerFields
@@ -7602,7 +7638,7 @@ var CREATE_PARTNER_MUTATION = import_client55.gql`
7602
7638
  }
7603
7639
  ${PARTNER}
7604
7640
  `;
7605
- var UPDATE_PARTNER_MUTATION = import_client55.gql`
7641
+ var UPDATE_PARTNER_MUTATION = import_client56.gql`
7606
7642
  mutation updatePartner($_id: ID!, $input: PartnerInputType!) {
7607
7643
  updatePartner(_id: $_id, input: $input) {
7608
7644
  ...PartnerFields
@@ -7610,7 +7646,7 @@ var UPDATE_PARTNER_MUTATION = import_client55.gql`
7610
7646
  }
7611
7647
  ${PARTNER}
7612
7648
  `;
7613
- var DELETE_PARTNER_MUTATION = import_client55.gql`
7649
+ var DELETE_PARTNER_MUTATION = import_client56.gql`
7614
7650
  mutation deletePartner($_id: ID!) {
7615
7651
  deletePartner(_id: $_id)
7616
7652
  }
@@ -7618,7 +7654,7 @@ var DELETE_PARTNER_MUTATION = import_client55.gql`
7618
7654
 
7619
7655
  // src/graphql/hooks/partner/hooksMutation.ts
7620
7656
  var useCreatePartner = () => {
7621
- const [createPartner, { loading, error }] = (0, import_client56.useMutation)(
7657
+ const [createPartner, { loading, error }] = (0, import_client57.useMutation)(
7622
7658
  CREATE_PARTNER_MUTATION,
7623
7659
  {
7624
7660
  awaitRefetchQueries: true,
@@ -7628,7 +7664,7 @@ var useCreatePartner = () => {
7628
7664
  return { createPartner, error, loading };
7629
7665
  };
7630
7666
  var useUpdatePartner = () => {
7631
- const [updatePartner, { loading, error }] = (0, import_client56.useMutation)(
7667
+ const [updatePartner, { loading, error }] = (0, import_client57.useMutation)(
7632
7668
  UPDATE_PARTNER_MUTATION,
7633
7669
  {
7634
7670
  awaitRefetchQueries: true,
@@ -7638,7 +7674,7 @@ var useUpdatePartner = () => {
7638
7674
  return { error, loading, updatePartner };
7639
7675
  };
7640
7676
  var useDeletePartner = () => {
7641
- const [deletePartner, { loading, error }] = (0, import_client56.useMutation)(
7677
+ const [deletePartner, { loading, error }] = (0, import_client57.useMutation)(
7642
7678
  DELETE_PARTNER_MUTATION,
7643
7679
  {
7644
7680
  awaitRefetchQueries: true,
@@ -7649,9 +7685,9 @@ var useDeletePartner = () => {
7649
7685
  };
7650
7686
 
7651
7687
  // src/graphql/hooks/partner/hooksQuery.ts
7652
- var import_client57 = require("@apollo/client");
7688
+ var import_client58 = require("@apollo/client");
7653
7689
  var useGetPartners = () => {
7654
- const { loading, error, data, refetch } = (0, import_client57.useQuery)(GET_PARTNERS, {
7690
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(GET_PARTNERS, {
7655
7691
  fetchPolicy: "network-only"
7656
7692
  });
7657
7693
  const partners = data?.partners || [];
@@ -7663,7 +7699,7 @@ var useGetPartners = () => {
7663
7699
  };
7664
7700
  };
7665
7701
  var useGetPartner = (_id) => {
7666
- const { loading, error, data, refetch } = (0, import_client57.useQuery)(
7702
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(
7667
7703
  GET_PARTNER,
7668
7704
  {
7669
7705
  fetchPolicy: "network-only",
@@ -7679,7 +7715,7 @@ var useGetPartnersByRegion = (region, options) => {
7679
7715
  options,
7680
7716
  region
7681
7717
  };
7682
- const { loading, error, data, refetch, fetchMore } = (0, import_client57.useQuery)(GET_PARTNERS_BY_REGION, {
7718
+ const { loading, error, data, refetch, fetchMore } = (0, import_client58.useQuery)(GET_PARTNERS_BY_REGION, {
7683
7719
  fetchPolicy: "network-only",
7684
7720
  skip: !region || region === "",
7685
7721
  variables
@@ -7694,7 +7730,7 @@ var useGetPartnersByRegion = (region, options) => {
7694
7730
  };
7695
7731
  };
7696
7732
  var useSearchPartners = (search, region) => {
7697
- const { loading, error, data, refetch } = (0, import_client57.useQuery)(SEARCH_PARTNERS, {
7733
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(SEARCH_PARTNERS, {
7698
7734
  fetchPolicy: "network-only",
7699
7735
  skip: search.length < 3 || !region || region === "",
7700
7736
  variables: { region, search }
@@ -7704,11 +7740,11 @@ var useSearchPartners = (search, region) => {
7704
7740
  };
7705
7741
 
7706
7742
  // src/graphql/hooks/post/hooksMutation.ts
7707
- var import_client59 = require("@apollo/client");
7743
+ var import_client60 = require("@apollo/client");
7708
7744
 
7709
7745
  // src/graphql/mutations/post.ts
7710
- var import_client58 = require("@apollo/client");
7711
- var CREATE_POST_MUTATION = import_client58.gql`
7746
+ var import_client59 = require("@apollo/client");
7747
+ var CREATE_POST_MUTATION = import_client59.gql`
7712
7748
  mutation createPost($input: PostInputType!) {
7713
7749
  createPost(input: $input) {
7714
7750
  ...PostFields
@@ -7716,7 +7752,7 @@ var CREATE_POST_MUTATION = import_client58.gql`
7716
7752
  }
7717
7753
  ${POST_FIELDS_FRAGMENT}
7718
7754
  `;
7719
- var UPDATE_POST_MUTATION = import_client58.gql`
7755
+ var UPDATE_POST_MUTATION = import_client59.gql`
7720
7756
  mutation updatePost($_id: ID!, $input: PostInputType!) {
7721
7757
  updatePost(_id: $_id, input: $input) {
7722
7758
  ...PostFields
@@ -7724,7 +7760,7 @@ var UPDATE_POST_MUTATION = import_client58.gql`
7724
7760
  }
7725
7761
  ${POST_FIELDS_FRAGMENT}
7726
7762
  `;
7727
- var DELETE_POST_MUTATION = import_client58.gql`
7763
+ var DELETE_POST_MUTATION = import_client59.gql`
7728
7764
  mutation deletePost($_id: ID!) {
7729
7765
  deletePost(_id: $_id)
7730
7766
  }
@@ -7732,21 +7768,21 @@ var DELETE_POST_MUTATION = import_client58.gql`
7732
7768
 
7733
7769
  // src/graphql/hooks/post/hooksMutation.ts
7734
7770
  var useCreatePost = () => {
7735
- const [createPost, { loading, error }] = (0, import_client59.useMutation)(CREATE_POST_MUTATION, {
7771
+ const [createPost, { loading, error }] = (0, import_client60.useMutation)(CREATE_POST_MUTATION, {
7736
7772
  awaitRefetchQueries: true,
7737
7773
  refetchQueries: [{ query: GET_POSTS }]
7738
7774
  });
7739
7775
  return { createPost, error, loading };
7740
7776
  };
7741
7777
  var useUpdatePost = () => {
7742
- const [updatePost, { loading, error }] = (0, import_client59.useMutation)(UPDATE_POST_MUTATION, {
7778
+ const [updatePost, { loading, error }] = (0, import_client60.useMutation)(UPDATE_POST_MUTATION, {
7743
7779
  awaitRefetchQueries: true,
7744
7780
  refetchQueries: [{ query: GET_POSTS }]
7745
7781
  });
7746
7782
  return { error, loading, updatePost };
7747
7783
  };
7748
7784
  var useDeletePost = () => {
7749
- const [deletePost, { loading, error }] = (0, import_client59.useMutation)(DELETE_POST_MUTATION, {
7785
+ const [deletePost, { loading, error }] = (0, import_client60.useMutation)(DELETE_POST_MUTATION, {
7750
7786
  awaitRefetchQueries: true,
7751
7787
  refetchQueries: [{ query: GET_POSTS }]
7752
7788
  });
@@ -7754,15 +7790,15 @@ var useDeletePost = () => {
7754
7790
  };
7755
7791
 
7756
7792
  // src/graphql/hooks/post/hooksQuery.ts
7757
- var import_client60 = require("@apollo/client");
7793
+ var import_client61 = require("@apollo/client");
7758
7794
  var useGetPosts = () => {
7759
- const { data, loading, error, refetch } = (0, import_client60.useQuery)(GET_POSTS, {
7795
+ const { data, loading, error, refetch } = (0, import_client61.useQuery)(GET_POSTS, {
7760
7796
  fetchPolicy: "network-only"
7761
7797
  });
7762
7798
  return { error, loading, posts: data?.posts || [], refetch };
7763
7799
  };
7764
7800
  var useGetPost = (_id) => {
7765
- const { data, loading, error, refetch } = (0, import_client60.useQuery)(GET_POST, {
7801
+ const { data, loading, error, refetch } = (0, import_client61.useQuery)(GET_POST, {
7766
7802
  fetchPolicy: "network-only",
7767
7803
  skip: !_id || _id === "",
7768
7804
  variables: { _id }
@@ -7770,7 +7806,7 @@ var useGetPost = (_id) => {
7770
7806
  return { error, loading, post: data?.post, refetch };
7771
7807
  };
7772
7808
  var useGetPostsByType = (postType) => {
7773
- const { data, loading, error, refetch } = (0, import_client60.useQuery)(GET_POSTS_BY_TYPE, {
7809
+ const { data, loading, error, refetch } = (0, import_client61.useQuery)(GET_POSTS_BY_TYPE, {
7774
7810
  fetchPolicy: "network-only",
7775
7811
  skip: !postType,
7776
7812
  variables: { postType }
@@ -7779,23 +7815,23 @@ var useGetPostsByType = (postType) => {
7779
7815
  };
7780
7816
 
7781
7817
  // src/graphql/hooks/appSettings/hooksMutation.ts
7782
- var import_client63 = require("@apollo/client");
7818
+ var import_client64 = require("@apollo/client");
7783
7819
 
7784
7820
  // src/graphql/mutations/appSettings.ts
7785
- var import_client61 = require("@apollo/client");
7786
- var UPDATE_APP_SETTINGS_MUTATION = import_client61.gql`
7821
+ var import_client62 = require("@apollo/client");
7822
+ var UPDATE_APP_SETTINGS_MUTATION = import_client62.gql`
7787
7823
  mutation updateAppSettings($input: AppSettingsInputType!) {
7788
7824
  updateAppSettings(input: $input)
7789
7825
  }
7790
7826
  `;
7791
- var CRAWL_GOOGLE_MARKETS_MUTATION = import_client61.gql`
7827
+ var CRAWL_GOOGLE_MARKETS_MUTATION = import_client62.gql`
7792
7828
  mutation crawlGoogleMarkets {
7793
7829
  crawlGoogleMarkets {
7794
7830
  message
7795
7831
  }
7796
7832
  }
7797
7833
  `;
7798
- var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client61.gql`
7834
+ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client62.gql`
7799
7835
  mutation updateGoogleImportedMarkets {
7800
7836
  updateGoogleImportedMarkets {
7801
7837
  message
@@ -7804,8 +7840,8 @@ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client61.gql`
7804
7840
  `;
7805
7841
 
7806
7842
  // src/graphql/queries/appSettings.ts
7807
- var import_client62 = require("@apollo/client");
7808
- var APP_SETTINGS_FIELDS_FRAGMENT = import_client62.gql`
7843
+ var import_client63 = require("@apollo/client");
7844
+ var APP_SETTINGS_FIELDS_FRAGMENT = import_client63.gql`
7809
7845
  fragment AppSettingsFields on AppSettingsType {
7810
7846
  _id
7811
7847
  appVersion
@@ -7815,7 +7851,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client62.gql`
7815
7851
  updatedAt
7816
7852
  }
7817
7853
  `;
7818
- var GET_APP_SETTINGS = import_client62.gql`
7854
+ var GET_APP_SETTINGS = import_client63.gql`
7819
7855
  query getAppSettings {
7820
7856
  appSettings {
7821
7857
  ...AppSettingsFields
@@ -7826,7 +7862,7 @@ var GET_APP_SETTINGS = import_client62.gql`
7826
7862
 
7827
7863
  // src/graphql/hooks/appSettings/hooksMutation.ts
7828
7864
  var useUpdateAppSettings = () => {
7829
- const [updateAppSettings, { loading, error }] = (0, import_client63.useMutation)(
7865
+ const [updateAppSettings, { loading, error }] = (0, import_client64.useMutation)(
7830
7866
  UPDATE_APP_SETTINGS_MUTATION,
7831
7867
  {
7832
7868
  awaitRefetchQueries: true,
@@ -7836,18 +7872,18 @@ var useUpdateAppSettings = () => {
7836
7872
  return { error, loading, updateAppSettings };
7837
7873
  };
7838
7874
  var useCrawlGoogleMarkets = () => {
7839
- const [crawlGoogleMarkets, { loading, error }] = (0, import_client63.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
7875
+ const [crawlGoogleMarkets, { loading, error }] = (0, import_client64.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
7840
7876
  return { crawlGoogleMarkets, error, loading };
7841
7877
  };
7842
7878
  var useUpdateGoogleImportedMarkets = () => {
7843
- const [updateGoogleImportedMarkets, { loading, error }] = (0, import_client63.useMutation)(UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION);
7879
+ const [updateGoogleImportedMarkets, { loading, error }] = (0, import_client64.useMutation)(UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION);
7844
7880
  return { error, loading, updateGoogleImportedMarkets };
7845
7881
  };
7846
7882
 
7847
7883
  // src/graphql/hooks/appSettings/hooksQuery.ts
7848
- var import_client64 = require("@apollo/client");
7884
+ var import_client65 = require("@apollo/client");
7849
7885
  var useGetAppSettings = () => {
7850
- const { loading, error, data, refetch } = (0, import_client64.useQuery)(GET_APP_SETTINGS, {
7886
+ const { loading, error, data, refetch } = (0, import_client65.useQuery)(GET_APP_SETTINGS, {
7851
7887
  fetchPolicy: "network-only"
7852
7888
  });
7853
7889
  const appSettings = data?.appSettings || null;
@@ -7855,14 +7891,14 @@ var useGetAppSettings = () => {
7855
7891
  };
7856
7892
 
7857
7893
  // src/graphql/hooks/game/hooksMutation.ts
7858
- var import_client67 = require("@apollo/client");
7894
+ var import_client68 = require("@apollo/client");
7859
7895
 
7860
7896
  // src/graphql/mutations/game.ts
7861
- var import_client66 = require("@apollo/client");
7897
+ var import_client67 = require("@apollo/client");
7862
7898
 
7863
7899
  // src/graphql/queries/game/game.ts
7864
- var import_client65 = require("@apollo/client");
7865
- var GAME_HISTORY_FIELDS_FRAGMENT = import_client65.gql`
7900
+ var import_client66 = require("@apollo/client");
7901
+ var GAME_HISTORY_FIELDS_FRAGMENT = import_client66.gql`
7866
7902
  fragment GameHistoryFields on GameHistoryType {
7867
7903
  createdAt
7868
7904
  gameDate {
@@ -7877,7 +7913,7 @@ var GAME_HISTORY_FIELDS_FRAGMENT = import_client65.gql`
7877
7913
  }
7878
7914
  ${GAME_DATE_FIELDS_FRAGMENT}
7879
7915
  `;
7880
- var GAME_DATA_FIELDS_FRAGMENT = import_client65.gql`
7916
+ var GAME_DATA_FIELDS_FRAGMENT = import_client66.gql`
7881
7917
  fragment GameDataFields on GameDataType {
7882
7918
  dailyClue {
7883
7919
  ...DailyClueGameDataFields
@@ -7892,7 +7928,7 @@ var GAME_DATA_FIELDS_FRAGMENT = import_client65.gql`
7892
7928
  ${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
7893
7929
  ${PUZZLE_GAME_DATA_FIELDS_FRAGMENT}
7894
7930
  `;
7895
- var GAME_FIELDS_FRAGMENT = import_client65.gql`
7931
+ var GAME_FIELDS_FRAGMENT = import_client66.gql`
7896
7932
  fragment GameFields on GameType {
7897
7933
  _id
7898
7934
  active
@@ -7911,7 +7947,7 @@ var GAME_FIELDS_FRAGMENT = import_client65.gql`
7911
7947
  ${GAME_DATA_FIELDS_FRAGMENT}
7912
7948
  ${GAME_HISTORY_FIELDS_FRAGMENT}
7913
7949
  `;
7914
- var GAME_DOC_FIELDS_FRAGMENT = import_client65.gql`
7950
+ var GAME_DOC_FIELDS_FRAGMENT = import_client66.gql`
7915
7951
  fragment GameDocFields on GameDocType {
7916
7952
  _id
7917
7953
  active
@@ -7929,7 +7965,7 @@ var GAME_DOC_FIELDS_FRAGMENT = import_client65.gql`
7929
7965
  ${OWNER_FIELDS_FRAGMENT}
7930
7966
  ${GAME_FIELDS_FRAGMENT}
7931
7967
  `;
7932
- var GET_GAMES = import_client65.gql`
7968
+ var GET_GAMES = import_client66.gql`
7933
7969
  query getGames {
7934
7970
  games {
7935
7971
  ...GameDocFields
@@ -7937,7 +7973,7 @@ var GET_GAMES = import_client65.gql`
7937
7973
  }
7938
7974
  ${GAME_DOC_FIELDS_FRAGMENT}
7939
7975
  `;
7940
- var GET_GAME = import_client65.gql`
7976
+ var GET_GAME = import_client66.gql`
7941
7977
  query getGame($_id: ID) {
7942
7978
  game(_id: $_id) {
7943
7979
  ...GameDocFields
@@ -7945,7 +7981,7 @@ var GET_GAME = import_client65.gql`
7945
7981
  }
7946
7982
  ${GAME_DOC_FIELDS_FRAGMENT}
7947
7983
  `;
7948
- var GET_GAME_LEADERBOARD = import_client65.gql`
7984
+ var GET_GAME_LEADERBOARD = import_client66.gql`
7949
7985
  query getGameLeaderboard {
7950
7986
  gameLeaderboard {
7951
7987
  gameHistory {
@@ -7962,7 +7998,7 @@ var GET_GAME_LEADERBOARD = import_client65.gql`
7962
7998
  `;
7963
7999
 
7964
8000
  // src/graphql/mutations/game.ts
7965
- var START_GAME_MUTATION = import_client66.gql`
8001
+ var START_GAME_MUTATION = import_client67.gql`
7966
8002
  mutation startGame($input: BaseGameInputType!) {
7967
8003
  startGame(input: $input) {
7968
8004
  ...GameDocFields
@@ -7970,7 +8006,7 @@ var START_GAME_MUTATION = import_client66.gql`
7970
8006
  }
7971
8007
  ${GAME_DOC_FIELDS_FRAGMENT}
7972
8008
  `;
7973
- var LEAVE_GAME_MUTATION = import_client66.gql`
8009
+ var LEAVE_GAME_MUTATION = import_client67.gql`
7974
8010
  mutation leaveGame(
7975
8011
  $_id: ID!
7976
8012
  $gameType: GameTypeEnumType!
@@ -7979,7 +8015,7 @@ var LEAVE_GAME_MUTATION = import_client66.gql`
7979
8015
  leaveGame(_id: $_id, gameType: $gameType, gameTypeId: $gameTypeId)
7980
8016
  }
7981
8017
  `;
7982
- var UPDATE_DAILY_CLUE_MUTATION = import_client66.gql`
8018
+ var UPDATE_DAILY_CLUE_MUTATION = import_client67.gql`
7983
8019
  mutation updateDailyClueGame(
7984
8020
  $_id: ID!
7985
8021
  $foundLetter: String!
@@ -7997,7 +8033,7 @@ var UPDATE_DAILY_CLUE_MUTATION = import_client66.gql`
7997
8033
  }
7998
8034
  ${GAME_DOC_FIELDS_FRAGMENT}
7999
8035
  `;
8000
- var UPDATE_PUZZLE_GAME_MUTATION = import_client66.gql`
8036
+ var UPDATE_PUZZLE_GAME_MUTATION = import_client67.gql`
8001
8037
  mutation updatePuzzleGame(
8002
8038
  $_id: ID!
8003
8039
  $answeredQuestions: [PuzzleAnsweredQuestionInputType!]!
@@ -8018,7 +8054,7 @@ var UPDATE_PUZZLE_GAME_MUTATION = import_client66.gql`
8018
8054
 
8019
8055
  // src/graphql/hooks/game/hooksMutation.ts
8020
8056
  var useStartGame = () => {
8021
- const [startGame, { loading, error }] = (0, import_client67.useMutation)(START_GAME_MUTATION, {
8057
+ const [startGame, { loading, error }] = (0, import_client68.useMutation)(START_GAME_MUTATION, {
8022
8058
  awaitRefetchQueries: true,
8023
8059
  refetchQueries: (mutationResult) => {
8024
8060
  const gameId = mutationResult?.data?.startGame?._id;
@@ -8041,7 +8077,7 @@ var useStartGame = () => {
8041
8077
  return { error, loading, startGame };
8042
8078
  };
8043
8079
  var useLeaveGame = () => {
8044
- const [leaveGame, { loading, error }] = (0, import_client67.useMutation)(LEAVE_GAME_MUTATION, {
8080
+ const [leaveGame, { loading, error }] = (0, import_client68.useMutation)(LEAVE_GAME_MUTATION, {
8045
8081
  awaitRefetchQueries: true,
8046
8082
  refetchQueries: [
8047
8083
  {
@@ -8052,7 +8088,7 @@ var useLeaveGame = () => {
8052
8088
  return { error, leaveGame, loading };
8053
8089
  };
8054
8090
  var useUpdateDailyClueGame = () => {
8055
- const [updateDailyClueGame, { loading, error }] = (0, import_client67.useMutation)(UPDATE_DAILY_CLUE_MUTATION, {
8091
+ const [updateDailyClueGame, { loading, error }] = (0, import_client68.useMutation)(UPDATE_DAILY_CLUE_MUTATION, {
8056
8092
  awaitRefetchQueries: true,
8057
8093
  refetchQueries: (mutationResult) => {
8058
8094
  const gameId = mutationResult?.data?.updateDailyClueGame?._id;
@@ -8069,7 +8105,7 @@ var useUpdateDailyClueGame = () => {
8069
8105
  return { error, loading, updateDailyClueGame };
8070
8106
  };
8071
8107
  var useUpdatePuzzleGame = () => {
8072
- const [updatePuzzleGame, { loading, error }] = (0, import_client67.useMutation)(UPDATE_PUZZLE_GAME_MUTATION, {
8108
+ const [updatePuzzleGame, { loading, error }] = (0, import_client68.useMutation)(UPDATE_PUZZLE_GAME_MUTATION, {
8073
8109
  awaitRefetchQueries: true,
8074
8110
  refetchQueries: (mutationResult) => {
8075
8111
  const gameId = mutationResult?.data?.updatePuzzleGame?._id;
@@ -8087,16 +8123,16 @@ var useUpdatePuzzleGame = () => {
8087
8123
  };
8088
8124
 
8089
8125
  // src/graphql/hooks/game/hooksQuery.ts
8090
- var import_client68 = require("@apollo/client");
8126
+ var import_client69 = require("@apollo/client");
8091
8127
  var useGetGames = () => {
8092
- const { loading, error, data, refetch } = (0, import_client68.useQuery)(GET_GAMES, {
8128
+ const { loading, error, data, refetch } = (0, import_client69.useQuery)(GET_GAMES, {
8093
8129
  fetchPolicy: "network-only"
8094
8130
  });
8095
8131
  const games = data?.games || [];
8096
8132
  return { error, games, loading, refetch };
8097
8133
  };
8098
8134
  var useGetGame = (_id) => {
8099
- const { loading, error, data, refetch } = (0, import_client68.useQuery)(GET_GAME, {
8135
+ const { loading, error, data, refetch } = (0, import_client69.useQuery)(GET_GAME, {
8100
8136
  fetchPolicy: "network-only",
8101
8137
  skip: !_id,
8102
8138
  variables: _id ? { _id } : void 0
@@ -8105,7 +8141,7 @@ var useGetGame = (_id) => {
8105
8141
  return { error, game, loading, refetch };
8106
8142
  };
8107
8143
  var useGetGameLeaderboard = () => {
8108
- const { loading, error, data, refetch } = (0, import_client68.useQuery)(GET_GAME_LEADERBOARD, {
8144
+ const { loading, error, data, refetch } = (0, import_client69.useQuery)(GET_GAME_LEADERBOARD, {
8109
8145
  fetchPolicy: "network-only"
8110
8146
  });
8111
8147
  const gameLeaderboard = data?.gameLeaderboard || [];
@@ -8113,14 +8149,14 @@ var useGetGameLeaderboard = () => {
8113
8149
  };
8114
8150
 
8115
8151
  // src/graphql/hooks/school/hooksMutation.ts
8116
- var import_client71 = require("@apollo/client");
8152
+ var import_client72 = require("@apollo/client");
8117
8153
 
8118
8154
  // src/graphql/mutations/school.ts
8119
- var import_client70 = require("@apollo/client");
8155
+ var import_client71 = require("@apollo/client");
8120
8156
 
8121
8157
  // src/graphql/queries/school.ts
8122
- var import_client69 = require("@apollo/client");
8123
- var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client69.gql`
8158
+ var import_client70 = require("@apollo/client");
8159
+ var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client70.gql`
8124
8160
  fragment SchoolRegisteredUsersFields on SchoolRegisteredUserType {
8125
8161
  _id
8126
8162
  active
@@ -8133,14 +8169,14 @@ var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client69.gql`
8133
8169
  }
8134
8170
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
8135
8171
  `;
8136
- var SCHOOL_CAMPAIGN_FIELDS_FRAGMENT = import_client69.gql`
8172
+ var SCHOOL_CAMPAIGN_FIELDS_FRAGMENT = import_client70.gql`
8137
8173
  fragment SchoolCampaignFields on SchoolCampaignType {
8138
8174
  endDate
8139
8175
  name
8140
8176
  startDate
8141
8177
  }
8142
8178
  `;
8143
- var SCHOOL = import_client69.gql`
8179
+ var SCHOOL = import_client70.gql`
8144
8180
  fragment SchoolFields on SchoolType {
8145
8181
  _id
8146
8182
  active
@@ -8183,7 +8219,7 @@ var SCHOOL = import_client69.gql`
8183
8219
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
8184
8220
  ${SCHOOL_CAMPAIGN_FIELDS_FRAGMENT}
8185
8221
  `;
8186
- var GET_SCHOOL = import_client69.gql`
8222
+ var GET_SCHOOL = import_client70.gql`
8187
8223
  query getSchool($_id: ID!) {
8188
8224
  school(_id: $_id) {
8189
8225
  school {
@@ -8197,7 +8233,7 @@ var GET_SCHOOL = import_client69.gql`
8197
8233
  ${SCHOOL}
8198
8234
  ${SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT}
8199
8235
  `;
8200
- var GET_SCHOOLS = import_client69.gql`
8236
+ var GET_SCHOOLS = import_client70.gql`
8201
8237
  query getSchools {
8202
8238
  schools {
8203
8239
  ...SchoolFields
@@ -8207,7 +8243,7 @@ var GET_SCHOOLS = import_client69.gql`
8207
8243
  `;
8208
8244
 
8209
8245
  // src/graphql/mutations/school.ts
8210
- var CREATE_SCHOOL_MUTATION = import_client70.gql`
8246
+ var CREATE_SCHOOL_MUTATION = import_client71.gql`
8211
8247
  mutation createSchool($input: SchoolInputType!) {
8212
8248
  createSchool(input: $input) {
8213
8249
  ...SchoolFields
@@ -8215,7 +8251,7 @@ var CREATE_SCHOOL_MUTATION = import_client70.gql`
8215
8251
  }
8216
8252
  ${SCHOOL}
8217
8253
  `;
8218
- var UPDATE_SCHOOL_MUTATION = import_client70.gql`
8254
+ var UPDATE_SCHOOL_MUTATION = import_client71.gql`
8219
8255
  mutation updateSchool($_id: ID!, $input: SchoolInputType!) {
8220
8256
  updateSchool(_id: $_id, input: $input) {
8221
8257
  ...SchoolFields
@@ -8223,12 +8259,12 @@ var UPDATE_SCHOOL_MUTATION = import_client70.gql`
8223
8259
  }
8224
8260
  ${SCHOOL}
8225
8261
  `;
8226
- var DELETE_SCHOOL_MUTATION = import_client70.gql`
8262
+ var DELETE_SCHOOL_MUTATION = import_client71.gql`
8227
8263
  mutation deleteSchool($_id: ID!) {
8228
8264
  deleteSchool(_id: $_id)
8229
8265
  }
8230
8266
  `;
8231
- var REQUEST_MARKETING_MATERIAL_MUTATION = import_client70.gql`
8267
+ var REQUEST_MARKETING_MATERIAL_MUTATION = import_client71.gql`
8232
8268
  mutation requestMarketingMaterial(
8233
8269
  $input: MarketingMaterialRequestInputType!
8234
8270
  ) {
@@ -8240,7 +8276,7 @@ var REQUEST_MARKETING_MATERIAL_MUTATION = import_client70.gql`
8240
8276
 
8241
8277
  // src/graphql/hooks/school/hooksMutation.ts
8242
8278
  var useCreateSchool = () => {
8243
- const [createSchool, { loading, error }] = (0, import_client71.useMutation)(
8279
+ const [createSchool, { loading, error }] = (0, import_client72.useMutation)(
8244
8280
  CREATE_SCHOOL_MUTATION,
8245
8281
  {
8246
8282
  awaitRefetchQueries: true,
@@ -8250,7 +8286,7 @@ var useCreateSchool = () => {
8250
8286
  return { createSchool, error, loading };
8251
8287
  };
8252
8288
  var useUpdateSchool = () => {
8253
- const [updateSchool, { loading, error }] = (0, import_client71.useMutation)(
8289
+ const [updateSchool, { loading, error }] = (0, import_client72.useMutation)(
8254
8290
  UPDATE_SCHOOL_MUTATION,
8255
8291
  {
8256
8292
  awaitRefetchQueries: true,
@@ -8260,7 +8296,7 @@ var useUpdateSchool = () => {
8260
8296
  return { error, loading, updateSchool };
8261
8297
  };
8262
8298
  var useDeleteSchool = () => {
8263
- const [deleteSchool, { loading, error }] = (0, import_client71.useMutation)(
8299
+ const [deleteSchool, { loading, error }] = (0, import_client72.useMutation)(
8264
8300
  DELETE_SCHOOL_MUTATION,
8265
8301
  {
8266
8302
  awaitRefetchQueries: true,
@@ -8270,16 +8306,16 @@ var useDeleteSchool = () => {
8270
8306
  return { deleteSchool, error, loading };
8271
8307
  };
8272
8308
  var useRequestMarketingMaterial = () => {
8273
- const [requestMarketingMaterial, { loading, error }] = (0, import_client71.useMutation)(
8309
+ const [requestMarketingMaterial, { loading, error }] = (0, import_client72.useMutation)(
8274
8310
  REQUEST_MARKETING_MATERIAL_MUTATION
8275
8311
  );
8276
8312
  return { error, loading, requestMarketingMaterial };
8277
8313
  };
8278
8314
 
8279
8315
  // src/graphql/hooks/school/hooksQuery.ts
8280
- var import_client72 = require("@apollo/client");
8316
+ var import_client73 = require("@apollo/client");
8281
8317
  var useGetSchools = () => {
8282
- const { data, loading, error, refetch } = (0, import_client72.useQuery)(
8318
+ const { data, loading, error, refetch } = (0, import_client73.useQuery)(
8283
8319
  GET_SCHOOLS,
8284
8320
  {
8285
8321
  fetchPolicy: "network-only"
@@ -8293,7 +8329,7 @@ var useGetSchools = () => {
8293
8329
  };
8294
8330
  };
8295
8331
  var useGetSchool = (_id) => {
8296
- const { data, loading, error, refetch } = (0, import_client72.useQuery)(GET_SCHOOL, {
8332
+ const { data, loading, error, refetch } = (0, import_client73.useQuery)(GET_SCHOOL, {
8297
8333
  fetchPolicy: "network-only",
8298
8334
  skip: !_id,
8299
8335
  variables: { _id }
@@ -8680,6 +8716,11 @@ function buildSharePagePath(resourceType, slug) {
8680
8716
  return `/${resourceType}/${encodeURIComponent(normalizeShareRouteId(slug))}`;
8681
8717
  }
8682
8718
 
8719
+ // src/sharing/shareSlugResource.ts
8720
+ function shareSlugResourceId(resource) {
8721
+ return resource?._id ?? null;
8722
+ }
8723
+
8683
8724
  // src/storage/index.ts
8684
8725
  var SAVED_PASSWORD_KEY = "savedPassword";
8685
8726
  var SAVED_EMAIL_KEY = "savedEmail";
@@ -8769,11 +8810,15 @@ var fonts = {
8769
8810
  EnumVendorType,
8770
8811
  EnumVerificationType,
8771
8812
  GET_EVENT,
8813
+ GET_EVENT_BY_SLUG,
8772
8814
  GET_EVENT_INFO,
8773
8815
  GET_PARTNER,
8816
+ GET_PARTNER_BY_SLUG,
8774
8817
  GET_POST,
8818
+ GET_POST_BY_SLUG,
8775
8819
  GET_RESOURCE_CONNECTIONS,
8776
8820
  GET_VENDOR,
8821
+ GET_VENDOR_BY_SLUG,
8777
8822
  GET_VENDOR_INFO,
8778
8823
  IMAGE_EXTENSION,
8779
8824
  IOS_URL,
@@ -8957,6 +9002,7 @@ var fonts = {
8957
9002
  rewardNiceNames,
8958
9003
  seededShuffle,
8959
9004
  shareMessageFooterPlacementForType,
9005
+ shareSlugResourceId,
8960
9006
  shouldShowEventActionsWithWeather,
8961
9007
  socialMediaFields,
8962
9008
  sortDatesChronologically,