@timardex/cluemart-shared 1.5.537 → 1.5.539

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 (37) hide show
  1. package/dist/{auth-B5tprOIL.d.ts → auth-BiybdWuP.d.ts} +2 -2
  2. package/dist/{auth-DtPfNKc4.d.mts → auth-Bxz2zKuN.d.mts} +2 -2
  3. package/dist/{chunk-TL6OY4BM.mjs → chunk-HYU4YHHL.mjs} +5 -1
  4. package/dist/chunk-HYU4YHHL.mjs.map +1 -0
  5. package/dist/formFields/index.d.mts +1 -1
  6. package/dist/formFields/index.d.ts +1 -1
  7. package/dist/{game-CC5mxG64.d.mts → game-CKJKoqrR.d.mts} +1 -1
  8. package/dist/{game-DhiKOr9_.d.ts → game-DAQTH29H.d.ts} +1 -1
  9. package/dist/{global-B0WdAD-8.d.ts → global-CDqmjLH1.d.ts} +4 -2
  10. package/dist/{global-MMBYi34A.d.mts → global-ClbRuePq.d.mts} +4 -2
  11. package/dist/graphql/index.d.mts +4 -4
  12. package/dist/graphql/index.d.ts +4 -4
  13. package/dist/hooks/index.cjs +3 -2
  14. package/dist/hooks/index.cjs.map +1 -1
  15. package/dist/hooks/index.d.mts +4 -4
  16. package/dist/hooks/index.d.ts +4 -4
  17. package/dist/hooks/index.mjs +4 -3
  18. package/dist/hooks/index.mjs.map +1 -1
  19. package/dist/index.cjs +8 -2
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.mts +6 -4
  22. package/dist/index.d.ts +6 -4
  23. package/dist/index.mjs +7 -2
  24. package/dist/index.mjs.map +1 -1
  25. package/dist/{post-CISTnZDs.d.ts → post-CKcK3MWE.d.ts} +3 -3
  26. package/dist/{post-Dpg2AwRf.d.mts → post-DveQ1mlc.d.mts} +3 -3
  27. package/dist/{resourceActivities-CqrscA5x.d.mts → resourceActivities-B8dshdq5.d.mts} +1 -1
  28. package/dist/{resourceActivities-2FaGRW-i.d.ts → resourceActivities-BXsZrzFC.d.ts} +1 -1
  29. package/dist/types/index.cjs +5 -0
  30. package/dist/types/index.cjs.map +1 -1
  31. package/dist/types/index.d.mts +6 -6
  32. package/dist/types/index.d.ts +6 -6
  33. package/dist/types/index.mjs +4 -2
  34. package/dist/utils/index.d.mts +2 -2
  35. package/dist/utils/index.d.ts +2 -2
  36. package/package.json +1 -1
  37. package/dist/chunk-TL6OY4BM.mjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -65,6 +65,7 @@ __export(index_exports, {
65
65
  IMAGE_EXTENSION: () => IMAGE_EXTENSION,
66
66
  IOS_URL: () => IOS_URL,
67
67
  ImageTypeEnum: () => ImageTypeEnum,
68
+ PROMO_CODE_PREFIX: () => PROMO_CODE_PREFIX,
68
69
  SAVED_EMAIL_KEY: () => SAVED_EMAIL_KEY,
69
70
  SAVED_PASSWORD_KEY: () => SAVED_PASSWORD_KEY,
70
71
  SAVED_REFRESH_TOKEN_KEY: () => SAVED_REFRESH_TOKEN_KEY,
@@ -7906,7 +7907,7 @@ var defaultValues3 = {
7906
7907
  lastName: "",
7907
7908
  password: "",
7908
7909
  preferredRegion: "",
7909
- promoCode: "",
7910
+ promoCode: null,
7910
7911
  termsAgreement: null
7911
7912
  };
7912
7913
  function useRegisterForm() {
@@ -8419,7 +8420,8 @@ var schoolSchema = yup11.object().shape({
8419
8420
 
8420
8421
  // src/hooks/useSchoolForm.ts
8421
8422
  var defaultSchoolFormValues = {
8422
- active: false,
8423
+ // New schools are active by default
8424
+ active: true,
8423
8425
  contactDetails: null,
8424
8426
  location: defaultLocation,
8425
8427
  logo: null,
@@ -8634,6 +8636,9 @@ var EnumVerificationType = /* @__PURE__ */ ((EnumVerificationType2) => {
8634
8636
  return EnumVerificationType2;
8635
8637
  })(EnumVerificationType || {});
8636
8638
 
8639
+ // src/types/global.ts
8640
+ var PROMO_CODE_PREFIX = "CM-";
8641
+
8637
8642
  // src/types/resourceActivities.ts
8638
8643
  var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
8639
8644
  EnumActivity2["FAVORITE"] = "FAVORITE";
@@ -8680,6 +8685,7 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
8680
8685
  IMAGE_EXTENSION,
8681
8686
  IOS_URL,
8682
8687
  ImageTypeEnum,
8688
+ PROMO_CODE_PREFIX,
8683
8689
  SAVED_EMAIL_KEY,
8684
8690
  SAVED_PASSWORD_KEY,
8685
8691
  SAVED_REFRESH_TOKEN_KEY,