@timardex/cluemart-shared 2.2.30 → 2.2.41

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 (82) hide show
  1. package/dist/{ad-C4L_-r-4.d.ts → ad-CdehhMyb.d.ts} +2 -2
  2. package/dist/{ad-XtBAH4rD.d.mts → ad-Drhn_Azy.d.mts} +2 -2
  3. package/dist/{affiliate-CxZHVZb2.d.ts → affiliate-Cd78p2Fz.d.mts} +3 -3
  4. package/dist/{affiliate-D-L_UtL8.d.mts → affiliate-CdIL0r2o.d.ts} +3 -3
  5. package/dist/auth/index.cjs +10 -1
  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 +2 -2
  10. package/dist/{chunk-J5N3IEGR.mjs → chunk-2GUAD63W.mjs} +3 -3
  11. package/dist/{chunk-IKRXLKJ3.mjs → chunk-5AAYX364.mjs} +1 -1
  12. package/dist/{chunk-IKRXLKJ3.mjs.map → chunk-5AAYX364.mjs.map} +1 -1
  13. package/dist/{chunk-LLP7OWX5.mjs → chunk-MKHXXZWF.mjs} +2 -2
  14. package/dist/{chunk-YFFCHTJS.mjs → chunk-PJY7OAQ2.mjs} +18 -23
  15. package/dist/{chunk-YFFCHTJS.mjs.map → chunk-PJY7OAQ2.mjs.map} +1 -1
  16. package/dist/{chunk-MQHX5BD6.mjs → chunk-QIF4ZGMY.mjs} +2 -2
  17. package/dist/{chunk-BR4XNXE7.mjs → chunk-TKSBCN3N.mjs} +11 -2
  18. package/dist/chunk-TKSBCN3N.mjs.map +1 -0
  19. package/dist/{chunk-NRNLARYC.mjs → chunk-VHNCSCQU.mjs} +37 -35
  20. package/dist/chunk-VHNCSCQU.mjs.map +1 -0
  21. package/dist/{chunk-U3KUTQ43.mjs → chunk-XGGFB7HY.mjs} +11 -2
  22. package/dist/{chunk-U3KUTQ43.mjs.map → chunk-XGGFB7HY.mjs.map} +1 -1
  23. package/dist/{contactUs-CwHKoGEt.d.mts → contactUs-BJPQ5nKc.d.mts} +1 -1
  24. package/dist/{contactUs-CR-nghbk.d.ts → contactUs-ITiB1XV4.d.ts} +1 -1
  25. package/dist/enums/index.cjs +10 -0
  26. package/dist/enums/index.cjs.map +1 -1
  27. package/dist/enums/index.d.mts +8 -1
  28. package/dist/enums/index.d.ts +8 -1
  29. package/dist/enums/index.mjs +3 -1
  30. package/dist/formFields/index.cjs +4 -4
  31. package/dist/formFields/index.cjs.map +1 -1
  32. package/dist/formFields/index.d.mts +1 -1
  33. package/dist/formFields/index.d.ts +1 -1
  34. package/dist/formFields/index.mjs +5 -5
  35. package/dist/{global-B4mmQo6R.d.ts → global-DlC7W4p7.d.ts} +9 -0
  36. package/dist/{global-D1r5ZuQO.d.mts → global-XUBcgjNc.d.mts} +9 -0
  37. package/dist/graphql/index.cjs +10 -1
  38. package/dist/graphql/index.cjs.map +1 -1
  39. package/dist/graphql/index.d.mts +5 -5
  40. package/dist/graphql/index.d.ts +5 -5
  41. package/dist/graphql/index.mjs +3 -3
  42. package/dist/hooks/index.cjs +14 -5
  43. package/dist/hooks/index.cjs.map +1 -1
  44. package/dist/hooks/index.d.mts +5 -5
  45. package/dist/hooks/index.d.ts +5 -5
  46. package/dist/hooks/index.mjs +8 -8
  47. package/dist/index.cjs +73 -58
  48. package/dist/index.cjs.map +1 -1
  49. package/dist/index.d.mts +65 -25
  50. package/dist/index.d.ts +65 -25
  51. package/dist/index.mjs +68 -53
  52. package/dist/index.mjs.map +1 -1
  53. package/dist/map/index.d.mts +1 -1
  54. package/dist/map/index.d.ts +1 -1
  55. package/dist/region/index.cjs.map +1 -1
  56. package/dist/region/index.d.mts +1 -1
  57. package/dist/region/index.d.ts +1 -1
  58. package/dist/region/index.mjs +1 -1
  59. package/dist/{resourceActivities-Uz9uavhK.d.ts → resourceActivities-C8eIfpKl.d.ts} +1 -1
  60. package/dist/{resourceActivities-DUReu_jD.d.mts → resourceActivities-Ci12UkJU.d.mts} +1 -1
  61. package/dist/sharing/index.cjs +4 -25
  62. package/dist/sharing/index.cjs.map +1 -1
  63. package/dist/sharing/index.d.mts +3 -22
  64. package/dist/sharing/index.d.ts +3 -22
  65. package/dist/sharing/index.mjs +3 -9
  66. package/dist/types/index.cjs.map +1 -1
  67. package/dist/types/index.d.mts +7 -7
  68. package/dist/types/index.d.ts +7 -7
  69. package/dist/types/index.mjs +2 -2
  70. package/dist/{user-BpR-FTW2.d.mts → user-BSFExFvl.d.ts} +18 -4
  71. package/dist/{user-IR0bHKFb.d.ts → user-D31zAVuz.d.mts} +18 -4
  72. package/dist/utils/index.cjs +53 -36
  73. package/dist/utils/index.cjs.map +1 -1
  74. package/dist/utils/index.d.mts +36 -7
  75. package/dist/utils/index.d.ts +36 -7
  76. package/dist/utils/index.mjs +12 -8
  77. package/package.json +1 -1
  78. package/dist/chunk-BR4XNXE7.mjs.map +0 -1
  79. package/dist/chunk-NRNLARYC.mjs.map +0 -1
  80. /package/dist/{chunk-J5N3IEGR.mjs.map → chunk-2GUAD63W.mjs.map} +0 -0
  81. /package/dist/{chunk-LLP7OWX5.mjs.map → chunk-MKHXXZWF.mjs.map} +0 -0
  82. /package/dist/{chunk-MQHX5BD6.mjs.map → chunk-QIF4ZGMY.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, c as CategoryColorType } from '../global-D1r5ZuQO.mjs';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category, c as CategoryColorType } from '../global-XUBcgjNc.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, c as CategoryColorType } from '../global-B4mmQo6R.js';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category, c as CategoryColorType } from '../global-DlC7W4p7.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -42,18 +42,18 @@ import {
42
42
  vendorStallSize,
43
43
  vendorStartDateFields,
44
44
  vendorTable
45
- } from "../chunk-J5N3IEGR.mjs";
45
+ } from "../chunk-2GUAD63W.mjs";
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-NRNLARYC.mjs";
49
+ } from "../chunk-VHNCSCQU.mjs";
50
50
  import "../chunk-RE4NZPYY.mjs";
51
- import "../chunk-YFFCHTJS.mjs";
52
- import "../chunk-IKRXLKJ3.mjs";
51
+ import "../chunk-PJY7OAQ2.mjs";
52
+ import "../chunk-5AAYX364.mjs";
53
53
  import "../chunk-RAYUJODN.mjs";
54
54
  import "../chunk-DQ7ZHIXW.mjs";
55
55
  import "../chunk-7DQBUZXY.mjs";
56
- import "../chunk-U3KUTQ43.mjs";
56
+ import "../chunk-XGGFB7HY.mjs";
57
57
  export {
58
58
  availableCategories,
59
59
  availableTagTypes,
@@ -301,6 +301,15 @@ type GameType = Pick<BaseGameType, "gameTitle" | "gameType" | "gameTypeId"> & {
301
301
  createdAt: Date;
302
302
  gameData: GameDataType;
303
303
  gameHistory: GameHistory[] | null;
304
+ /**
305
+ * Set by the resolver that completed this row.
306
+ * - `false`: completed but the points award has not been confirmed yet, so a
307
+ * retry may still need to credit it.
308
+ * - `true`: points confirmed credited.
309
+ * - absent: row completed before this marker existed, so its award was already
310
+ * granted through the legacy path and must never be credited again.
311
+ */
312
+ pointsCredited?: boolean | null;
304
313
  updatedAt: Date | null;
305
314
  };
306
315
  type GameDocType = {
@@ -301,6 +301,15 @@ type GameType = Pick<BaseGameType, "gameTitle" | "gameType" | "gameTypeId"> & {
301
301
  createdAt: Date;
302
302
  gameData: GameDataType;
303
303
  gameHistory: GameHistory[] | null;
304
+ /**
305
+ * Set by the resolver that completed this row.
306
+ * - `false`: completed but the points award has not been confirmed yet, so a
307
+ * retry may still need to credit it.
308
+ * - `true`: points confirmed credited.
309
+ * - absent: row completed before this marker existed, so its award was already
310
+ * granted through the legacy path and must never be credited again.
311
+ */
312
+ pointsCredited?: boolean | null;
304
313
  updatedAt: Date | null;
305
314
  };
306
315
  type GameDocType = {
@@ -403,7 +403,7 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
403
403
  ...LocationFields
404
404
  }
405
405
  partner
406
- overallPoints
406
+ totalOverallPoints
407
407
  platform
408
408
  preferredRegion
409
409
  permissions
@@ -433,6 +433,15 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
433
433
  ${REDEEMED_REWARD_FIELDS_FRAGMENT}
434
434
  ${STRIPE_FIELDS_FRAGMENT}
435
435
  `;
436
+ var USER_OVERALL_POINTS_FIELDS_FRAGMENT = import_client.gql`
437
+ fragment UserOverallPointsFields on UserType {
438
+ overallPoints {
439
+ createdAt
440
+ pointType
441
+ points
442
+ }
443
+ }
444
+ `;
436
445
  var STALL_TYPE_FIELDS_FRAGMENT = import_client.gql`
437
446
  fragment StallTypeFields on StallTypeType {
438
447
  label