@timardex/cluemart-shared 1.5.839 → 1.5.841

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 (61) hide show
  1. package/dist/{ad-_mwYq2Z9.d.ts → ad-OyMRZ4ZE.d.ts} +3 -3
  2. package/dist/{ad-BPb9_tSM.d.mts → ad-bXnDHikm.d.mts} +3 -3
  3. package/dist/{affiliate-DrhbUvqf.d.ts → affiliate-B28f_U7r.d.ts} +2 -2
  4. package/dist/{affiliate-C_2ZuhuU.d.mts → affiliate-C56okox0.d.mts} +2 -2
  5. package/dist/auth/index.cjs +14 -0
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +3 -3
  8. package/dist/auth/index.d.ts +3 -3
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-THXLJFLL.mjs → chunk-27VEKARL.mjs} +2 -2
  11. package/dist/{chunk-2V7QKRQE.mjs → chunk-4VN5M5JO.mjs} +1 -1
  12. package/dist/chunk-4VN5M5JO.mjs.map +1 -0
  13. package/dist/{chunk-P4XULG5P.mjs → chunk-QGEZL577.mjs} +15 -1
  14. package/dist/chunk-QGEZL577.mjs.map +1 -0
  15. package/dist/{chunk-EAO3C6JU.mjs → chunk-ZDYD4VDB.mjs} +2 -2
  16. package/dist/{contactUs-09e9ThN0.d.mts → contactUs-BH5uubk6.d.mts} +1 -1
  17. package/dist/{contactUs-DI70VJ9T.d.ts → contactUs-DKhr1NAC.d.ts} +1 -1
  18. package/dist/formFields/index.cjs.map +1 -1
  19. package/dist/formFields/index.d.mts +1 -1
  20. package/dist/formFields/index.d.ts +1 -1
  21. package/dist/formFields/index.mjs +2 -2
  22. package/dist/{global--iSLy2cE.d.ts → global-B8kHBTPv.d.ts} +1 -1
  23. package/dist/{global-BHwZPjT8.d.mts → global-JPj82Tvl.d.mts} +1 -1
  24. package/dist/graphql/index.cjs +14 -0
  25. package/dist/graphql/index.cjs.map +1 -1
  26. package/dist/graphql/index.d.mts +5 -5
  27. package/dist/graphql/index.d.ts +5 -5
  28. package/dist/graphql/index.mjs +2 -2
  29. package/dist/hooks/index.cjs +14 -7
  30. package/dist/hooks/index.cjs.map +1 -1
  31. package/dist/hooks/index.d.mts +5 -5
  32. package/dist/hooks/index.d.ts +5 -5
  33. package/dist/hooks/index.mjs +4 -11
  34. package/dist/hooks/index.mjs.map +1 -1
  35. package/dist/index.cjs +14 -0
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.mts +6 -6
  38. package/dist/index.d.ts +6 -6
  39. package/dist/index.mjs +14 -0
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/map/index.d.mts +1 -1
  42. package/dist/map/index.d.ts +1 -1
  43. package/dist/{resourceActivities-BDIjVrI4.d.mts → resourceActivities-CZw8My9Z.d.mts} +1 -1
  44. package/dist/{resourceActivities-JNcJxpTh.d.ts → resourceActivities-DV23pl5i.d.ts} +1 -1
  45. package/dist/sharing/index.d.mts +1 -1
  46. package/dist/sharing/index.d.ts +1 -1
  47. package/dist/types/index.cjs.map +1 -1
  48. package/dist/types/index.d.mts +7 -7
  49. package/dist/types/index.d.ts +7 -7
  50. package/dist/types/index.mjs +1 -1
  51. package/dist/{user-Bhkd3l06.d.mts → user-B8Y1_VmG.d.mts} +6 -6
  52. package/dist/{user-C_kCo0Fm.d.ts → user-c_sh7aZ_.d.ts} +6 -6
  53. package/dist/utils/index.cjs.map +1 -1
  54. package/dist/utils/index.d.mts +3 -3
  55. package/dist/utils/index.d.ts +3 -3
  56. package/dist/utils/index.mjs +2 -2
  57. package/package.json +1 -1
  58. package/dist/chunk-2V7QKRQE.mjs.map +0 -1
  59. package/dist/chunk-P4XULG5P.mjs.map +0 -1
  60. /package/dist/{chunk-THXLJFLL.mjs.map → chunk-27VEKARL.mjs.map} +0 -0
  61. /package/dist/{chunk-EAO3C6JU.mjs.map → chunk-ZDYD4VDB.mjs.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BHwZPjT8.mjs';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-JPj82Tvl.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global--iSLy2cE.js';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-B8kHBTPv.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -46,9 +46,9 @@ import {
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-THXLJFLL.mjs";
49
+ } from "../chunk-27VEKARL.mjs";
50
50
  import "../chunk-SWWVD4J5.mjs";
51
- import "../chunk-2V7QKRQE.mjs";
51
+ import "../chunk-4VN5M5JO.mjs";
52
52
  import "../chunk-RAYUJODN.mjs";
53
53
  import "../chunk-DQ7ZHIXW.mjs";
54
54
  import "../chunk-X3OLM35T.mjs";
@@ -553,7 +553,6 @@ interface BaseResourceTypeFormData {
553
553
  logo?: ResourceImageType | null;
554
554
  logoUpload?: ResourceImageType | null;
555
555
  name: string;
556
- owner?: OwnerType | null;
557
556
  promoCodes?: PromoCodeType[] | null;
558
557
  region: string;
559
558
  socialMedia: SocialMediaType[] | null;
@@ -579,6 +578,7 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
579
578
  approvedAt?: Date | null;
580
579
  createdAt: Date;
581
580
  deletedAt: Date | null;
581
+ owner: OwnerType;
582
582
  posterUsage?: PosterUsageType | null;
583
583
  rating?: number | null;
584
584
  relatedPost?: RelatedPostType | null;
@@ -553,7 +553,6 @@ interface BaseResourceTypeFormData {
553
553
  logo?: ResourceImageType | null;
554
554
  logoUpload?: ResourceImageType | null;
555
555
  name: string;
556
- owner?: OwnerType | null;
557
556
  promoCodes?: PromoCodeType[] | null;
558
557
  region: string;
559
558
  socialMedia: SocialMediaType[] | null;
@@ -579,6 +578,7 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
579
578
  approvedAt?: Date | null;
580
579
  createdAt: Date;
581
580
  deletedAt: Date | null;
581
+ owner: OwnerType;
582
582
  posterUsage?: PosterUsageType | null;
583
583
  rating?: number | null;
584
584
  relatedPost?: RelatedPostType | null;
@@ -317,6 +317,16 @@ var REDEEMED_REWARD_FIELDS_FRAGMENT = import_client.gql`
317
317
  redeemedAt
318
318
  }
319
319
  `;
320
+ var STRIPE_FIELDS_FRAGMENT = import_client.gql`
321
+ fragment StripeSubscriptionFields on StripeSubscriptionType {
322
+ customerId
323
+ subscriptionId
324
+ status
325
+ currentPlan
326
+ startDate
327
+ endDate
328
+ }
329
+ `;
320
330
  var USER_FIELDS_FRAGMENT = import_client.gql`
321
331
  fragment UserFields on UserType {
322
332
  _id
@@ -350,6 +360,9 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
350
360
  ...RedeemedRewardFields
351
361
  }
352
362
  school
363
+ stripe {
364
+ ...StripeSubscriptionFields
365
+ }
353
366
  termsAgreement {
354
367
  ...TermsAgreementFields
355
368
  }
@@ -365,6 +378,7 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
365
378
  ${LICENCE_FIELDS_FRAGMENT}
366
379
  ${LOCATION_FIELDS_FRAGMENT}
367
380
  ${REDEEMED_REWARD_FIELDS_FRAGMENT}
381
+ ${STRIPE_FIELDS_FRAGMENT}
368
382
  `;
369
383
  var STALL_TYPE_FIELDS_FRAGMENT = import_client.gql`
370
384
  fragment StallTypeFields on StallTypeType {