@timardex/cluemart-shared 1.5.760 → 1.5.761

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 (53) hide show
  1. package/dist/{ad-BG0lQxCY.d.ts → ad-CQxEEdeo.d.ts} +2 -1
  2. package/dist/{ad-C9XeExJG.d.mts → ad-DV937Sg8.d.mts} +2 -1
  3. package/dist/{chunk-SR7UIBOW.mjs → chunk-4LVHHYB3.mjs} +4 -1
  4. package/dist/chunk-4LVHHYB3.mjs.map +1 -0
  5. package/dist/{chunk-B2D5OLQT.mjs → chunk-DB7KMGVK.mjs} +2 -2
  6. package/dist/{chunk-J4ENZPQE.mjs → chunk-SNNW6U7C.mjs} +1 -1
  7. package/dist/chunk-SNNW6U7C.mjs.map +1 -0
  8. package/dist/{chunk-5RXTRSY2.mjs → chunk-W6LPCRZW.mjs} +2 -2
  9. package/dist/{chunk-YQQO66DR.mjs → chunk-YJYBYCHX.mjs} +2 -2
  10. package/dist/{contactUs-Bgn0Ixmz.d.mts → contactUs-B_3oZcDN.d.mts} +1 -1
  11. package/dist/{contactUs-DA-wkW8U.d.ts → contactUs-DRPCxars.d.ts} +1 -1
  12. package/dist/formFields/index.d.mts +1 -1
  13. package/dist/formFields/index.d.ts +1 -1
  14. package/dist/formFields/index.mjs +3 -3
  15. package/dist/{global-D7RVPZoz.d.ts → global-CYfPZjeH.d.ts} +2 -0
  16. package/dist/{global-Bqkcya3A.d.mts → global-P9qHgK58.d.mts} +2 -0
  17. package/dist/graphql/index.cjs +3 -0
  18. package/dist/graphql/index.cjs.map +1 -1
  19. package/dist/graphql/index.d.mts +3 -3
  20. package/dist/graphql/index.d.ts +3 -3
  21. package/dist/graphql/index.mjs +1 -1
  22. package/dist/hooks/index.cjs +7 -1
  23. package/dist/hooks/index.cjs.map +1 -1
  24. package/dist/hooks/index.d.mts +3 -3
  25. package/dist/hooks/index.d.ts +3 -3
  26. package/dist/hooks/index.mjs +9 -6
  27. package/dist/hooks/index.mjs.map +1 -1
  28. package/dist/index.cjs +3 -0
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.mts +3 -0
  31. package/dist/index.d.ts +3 -0
  32. package/dist/index.mjs +3 -0
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/map/index.d.mts +1 -1
  35. package/dist/map/index.d.ts +1 -1
  36. package/dist/{resourceActivities-DdlPNlJF.d.ts → resourceActivities-CV-ruNFQ.d.ts} +1 -1
  37. package/dist/{resourceActivities-DPD0AnWh.d.mts → resourceActivities-DjE6hC9y.d.mts} +1 -1
  38. package/dist/sharing/index.d.mts +1 -1
  39. package/dist/sharing/index.d.ts +1 -1
  40. package/dist/sharing/index.mjs +3 -3
  41. package/dist/types/index.cjs.map +1 -1
  42. package/dist/types/index.d.mts +5 -5
  43. package/dist/types/index.d.ts +5 -5
  44. package/dist/types/index.mjs +1 -1
  45. package/dist/utils/index.d.mts +1 -1
  46. package/dist/utils/index.d.ts +1 -1
  47. package/dist/utils/index.mjs +2 -2
  48. package/package.json +1 -1
  49. package/dist/chunk-J4ENZPQE.mjs.map +0 -1
  50. package/dist/chunk-SR7UIBOW.mjs.map +0 -1
  51. /package/dist/{chunk-B2D5OLQT.mjs.map → chunk-DB7KMGVK.mjs.map} +0 -0
  52. /package/dist/{chunk-5RXTRSY2.mjs.map → chunk-W6LPCRZW.mjs.map} +0 -0
  53. /package/dist/{chunk-YQQO66DR.mjs.map → chunk-YJYBYCHX.mjs.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-C9XeExJG.mjs';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DPD0AnWh.mjs';
6
- import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-Bqkcya3A.mjs';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-DV937Sg8.mjs';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DjE6hC9y.mjs';
6
+ import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-P9qHgK58.mjs';
7
7
  import '../images/index.mjs';
8
8
  import 'react-hook-form';
9
9
 
@@ -1,9 +1,9 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-BG0lQxCY.js';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DdlPNlJF.js';
6
- import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-D7RVPZoz.js';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-CQxEEdeo.js';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CV-ruNFQ.js';
6
+ import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-CYfPZjeH.js';
7
7
  import '../images/index.js';
8
8
  import 'react-hook-form';
9
9
 
@@ -144,7 +144,7 @@ import {
144
144
  useUpdateVendor,
145
145
  useUpdateVendorInfo,
146
146
  useValidateVerificationToken
147
- } from "../chunk-SR7UIBOW.mjs";
147
+ } from "../chunk-4LVHHYB3.mjs";
148
148
  import "../chunk-4SNW63TJ.mjs";
149
149
  export {
150
150
  GET_EVENT,
@@ -2011,7 +2011,8 @@ var adResourceSchema = yup6.object({
2011
2011
  resourceId: yup6.string().required("Resource ID is required"),
2012
2012
  resourceName: yup6.string().required("Resource name is required"),
2013
2013
  resourceRegion: yup6.string().required("Resource region is required"),
2014
- resourceType: yup6.mixed().oneOf(Object.values(EnumResourceType), "Please select Event or Vendor").required("Resource type is required")
2014
+ resourceType: yup6.mixed().oneOf(Object.values(EnumResourceType), "Please select Event or Vendor").required("Resource type is required"),
2015
+ resourceSlug: yup6.string().required("Resource slug is required")
2015
2016
  });
2016
2017
  var adSchema = yup6.object().shape({
2017
2018
  active: yup6.boolean().required("Active status is required"),
@@ -2619,6 +2620,7 @@ var EVENT_LIST_ITEM = import_client.gql`
2619
2620
  var RELATED_POST_FIELDS_FRAGMENT = import_client.gql`
2620
2621
  fragment RelatedPostFields on RelatedPostType {
2621
2622
  postId
2623
+ postSlug
2622
2624
  postType
2623
2625
  }
2624
2626
  `;
@@ -3338,6 +3340,7 @@ var POST_FIELDS_FRAGMENT = import_client7.gql`
3338
3340
  postType
3339
3341
  resource {
3340
3342
  resourceId
3343
+ resourceSlug
3341
3344
  resourceRegion
3342
3345
  resourceType
3343
3346
  }
@@ -4267,6 +4270,7 @@ var AD_FIELDS_FRAGMENT = import_client43.gql`
4267
4270
  adTitle
4268
4271
  adType
4269
4272
  resourceId
4273
+ resourceSlug
4270
4274
  resourceName
4271
4275
  resourceRegion
4272
4276
  resourceType
@@ -5044,6 +5048,7 @@ var postSchema = yup8.object().shape({
5044
5048
  resource: yup8.object({
5045
5049
  resourceId: yup8.string().required(),
5046
5050
  resourceRegion: yup8.string().required(),
5051
+ resourceSlug: yup8.string().required(),
5047
5052
  resourceType: yup8.mixed().oneOf(Object.values(EnumResourceType)).required()
5048
5053
  }).nullable().optional(),
5049
5054
  tags: yup8.array().of(yup8.string().required()).nullable().optional(),
@@ -5947,6 +5952,7 @@ var defaultValues8 = {
5947
5952
  resourceId: "",
5948
5953
  resourceName: "",
5949
5954
  resourceRegion: "",
5955
+ resourceSlug: "",
5950
5956
  resourceType: "event" /* EVENT */
5951
5957
  },
5952
5958
  showOn: ["Front_page" /* FRONT_PAGE */],