@timardex/cluemart-shared 2.2.27 → 2.2.28

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.
@@ -2,12 +2,12 @@ import "../chunk-6O6TRUOV.mjs";
2
2
  import "../chunk-VA5YN2K3.mjs";
3
3
  import "../chunk-VPANTTZI.mjs";
4
4
  import "../chunk-DWO35OY4.mjs";
5
- import "../chunk-RVTFPYR6.mjs";
5
+ import "../chunk-356ZQFAQ.mjs";
6
6
  import {
7
7
  SCHOOL_MIN_STUDENT_COUNT,
8
8
  isValidIrdNumber,
9
9
  normalizeUrl
10
- } from "../chunk-SVP23BRG.mjs";
10
+ } from "../chunk-RQPB4TAM.mjs";
11
11
  import "../chunk-RE4NZPYY.mjs";
12
12
  import {
13
13
  dateFormat,
package/dist/index.cjs CHANGED
@@ -130,6 +130,7 @@ __export(index_exports, {
130
130
  OG_DESCRIPTION_LINE_BREAK: () => OG_DESCRIPTION_LINE_BREAK,
131
131
  PERMISSIONS: () => PERMISSIONS,
132
132
  POST_SHARE_RESOURCE_TYPES: () => POST_SHARE_RESOURCE_TYPES,
133
+ PRESERVED_RELATION_DATE_STATUSES: () => PRESERVED_RELATION_DATE_STATUSES,
133
134
  PROMO_CODE_PREFIX: () => PROMO_CODE_PREFIX,
134
135
  PUBLIC_SHARE_PATH_TYPES: () => PUBLIC_SHARE_PATH_TYPES,
135
136
  PostTypeLabels: () => PostTypeLabels,
@@ -3562,6 +3563,13 @@ function getVendorEventsData({
3562
3563
  };
3563
3564
  }
3564
3565
 
3566
+ // src/utils/relations/preservedRelationDateStatuses.ts
3567
+ var PRESERVED_RELATION_DATE_STATUSES = /* @__PURE__ */ new Set([
3568
+ "Accepted" /* ACCEPTED */,
3569
+ "Completed" /* COMPLETED */,
3570
+ "Rejected" /* REJECTED */
3571
+ ]);
3572
+
3565
3573
  // src/utils/toUserFacingErrorMessage.ts
3566
3574
  var DEFAULT_USER_FACING_ERROR = "Something went wrong. Please try again.";
3567
3575
  var NETWORK_USER_FACING_ERROR = "Unable to connect. Please check your internet connection and try again.";
@@ -10379,6 +10387,7 @@ function canAccessAdminPath(roles, pathname) {
10379
10387
  OG_DESCRIPTION_LINE_BREAK,
10380
10388
  PERMISSIONS,
10381
10389
  POST_SHARE_RESOURCE_TYPES,
10390
+ PRESERVED_RELATION_DATE_STATUSES,
10382
10391
  PROMO_CODE_PREFIX,
10383
10392
  PUBLIC_SHARE_PATH_TYPES,
10384
10393
  PostTypeLabels,