@timardex/cluemart-shared 1.5.764 → 1.5.766

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-DvMxLm4X.d.mts → ad-DCHTDsSt.d.mts} +1 -1
  2. package/dist/{ad-CJagQnlM.d.ts → ad-Y0a_HMGC.d.ts} +1 -1
  3. package/dist/{chunk-MVRRQ7CN.mjs → chunk-3APPJPTL.mjs} +23 -2
  4. package/dist/chunk-3APPJPTL.mjs.map +1 -0
  5. package/dist/{chunk-WN3TH5SG.mjs → chunk-4YP54WNB.mjs} +11 -5
  6. package/dist/chunk-4YP54WNB.mjs.map +1 -0
  7. package/dist/{chunk-LELKI44G.mjs → chunk-RZ2KCSEA.mjs} +2 -2
  8. package/dist/{chunk-RGE5GVDJ.mjs → chunk-W5X2UU26.mjs} +1 -1
  9. package/dist/chunk-W5X2UU26.mjs.map +1 -0
  10. package/dist/{chunk-V6XMJOAO.mjs → chunk-YA7MCQF7.mjs} +2 -2
  11. package/dist/{contactUs-D7tniSAx.d.mts → contactUs-HfiiUgnp.d.mts} +1 -1
  12. package/dist/{contactUs-4VZQ638B.d.ts → contactUs-kHUGKh4g.d.ts} +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-Bw5idRO_.d.mts} +5 -7
  17. package/dist/{global-BqDLgGwU.d.ts → global-CPlgw1lx.d.ts} +5 -7
  18. package/dist/graphql/index.cjs +10 -4
  19. package/dist/graphql/index.cjs.map +1 -1
  20. package/dist/graphql/index.d.mts +3 -3
  21. package/dist/graphql/index.d.ts +3 -3
  22. package/dist/graphql/index.mjs +1 -1
  23. package/dist/hooks/index.cjs +12 -4
  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 +7 -5
  28. package/dist/hooks/index.mjs.map +1 -1
  29. package/dist/index.cjs +34 -4
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.mts +23 -7
  32. package/dist/index.d.ts +23 -7
  33. package/dist/index.mjs +31 -4
  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-BIkkzyzp.d.mts} +1 -1
  38. package/dist/{resourceActivities-D0w8LT8f.d.ts → resourceActivities-DkHxKIvs.d.ts} +1 -1
  39. package/dist/sharing/index.d.mts +1 -1
  40. package/dist/sharing/index.d.ts +1 -1
  41. package/dist/sharing/index.mjs +3 -3
  42. package/dist/types/index.cjs.map +1 -1
  43. package/dist/types/index.d.mts +5 -5
  44. package/dist/types/index.d.ts +5 -5
  45. package/dist/types/index.mjs +1 -1
  46. package/dist/utils/index.cjs +24 -0
  47. package/dist/utils/index.cjs.map +1 -1
  48. package/dist/utils/index.d.mts +20 -2
  49. package/dist/utils/index.d.ts +20 -2
  50. package/dist/utils/index.mjs +8 -2
  51. package/package.json +1 -1
  52. package/dist/chunk-MVRRQ7CN.mjs.map +0 -1
  53. package/dist/chunk-RGE5GVDJ.mjs.map +0 -1
  54. package/dist/chunk-WN3TH5SG.mjs.map +0 -1
  55. /package/dist/{chunk-LELKI44G.mjs.map → chunk-RZ2KCSEA.mjs.map} +0 -0
  56. /package/dist/{chunk-V6XMJOAO.mjs.map → chunk-YA7MCQF7.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-DvMxLm4X.mjs';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-C_0LA9YJ.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-BpBsWczS.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-DCHTDsSt.mjs';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BIkkzyzp.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-Bw5idRO_.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-CJagQnlM.js';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-D0w8LT8f.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-BqDLgGwU.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-Y0a_HMGC.js';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DkHxKIvs.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-CPlgw1lx.js';
7
7
  import '../images/index.js';
8
8
  import 'react-hook-form';
9
9
 
@@ -148,7 +148,7 @@ import {
148
148
  useUpdateVendor,
149
149
  useUpdateVendorInfo,
150
150
  useValidateVerificationToken
151
- } from "../chunk-WN3TH5SG.mjs";
151
+ } from "../chunk-4YP54WNB.mjs";
152
152
  import "../chunk-4SNW63TJ.mjs";
153
153
  export {
154
154
  GET_EVENT,
@@ -1721,6 +1721,7 @@ var socialMediaSchema = yup.object({
1721
1721
  var globalResourceSchema = yup.object().shape({
1722
1722
  active: yup.boolean().required("Active is required"),
1723
1723
  cover: yup.object({
1724
+ active: yup.boolean().default(true),
1724
1725
  source: yup.string().label("Cover").required("Cover Image is required"),
1725
1726
  title: yup.string().label("Cover Title").required("Cover Title is required")
1726
1727
  }),
@@ -3324,6 +3325,14 @@ var POST_CONTENT_FIELDS_FRAGMENT = import_client7.gql`
3324
3325
  }
3325
3326
  ${POST_CONTENT_DATA_FIELDS_FRAGMENT}
3326
3327
  `;
3328
+ var POST_RESOURCE_FIELDS_FRAGMENT = import_client7.gql`
3329
+ fragment PostResourceFields on PostResourceType {
3330
+ resourceId
3331
+ resourceSlug
3332
+ resourceRegion
3333
+ resourceType
3334
+ }
3335
+ `;
3327
3336
  var POST_FIELDS_FRAGMENT = import_client7.gql`
3328
3337
  fragment PostFields on PostType {
3329
3338
  _id
@@ -3339,10 +3348,7 @@ var POST_FIELDS_FRAGMENT = import_client7.gql`
3339
3348
  deletedAt
3340
3349
  postType
3341
3350
  resource {
3342
- resourceId
3343
- resourceSlug
3344
- resourceRegion
3345
- resourceType
3351
+ ...PostResourceFields
3346
3352
  }
3347
3353
  tags
3348
3354
  title
@@ -3351,6 +3357,7 @@ var POST_FIELDS_FRAGMENT = import_client7.gql`
3351
3357
  }
3352
3358
  ${POST_CONTENT_FIELDS_FRAGMENT}
3353
3359
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
3360
+ ${POST_RESOURCE_FIELDS_FRAGMENT}
3354
3361
  `;
3355
3362
  var GET_POSTS = import_client7.gql`
3356
3363
  query getPosts {
@@ -5079,6 +5086,7 @@ var postSchema = yup8.object().shape({
5079
5086
  resource: yup8.object({
5080
5087
  resourceId: yup8.string().required(),
5081
5088
  resourceRegion: yup8.string().required(),
5089
+ resourceSlug: yup8.string().required(),
5082
5090
  resourceType: yup8.mixed().oneOf(Object.values(EnumResourceType)).required()
5083
5091
  }).nullable().optional(),
5084
5092
  tags: yup8.array().of(yup8.string().required()).nullable().optional(),