@timardex/cluemart-shared 1.5.722 → 1.5.723

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.
@@ -136,7 +136,7 @@ import {
136
136
  useUpdateVendor,
137
137
  useUpdateVendorInfo,
138
138
  useValidateVerificationToken
139
- } from "../chunk-HWLNH6G2.mjs";
139
+ } from "../chunk-3AI2ROPT.mjs";
140
140
  import "../chunk-4SNW63TJ.mjs";
141
141
  export {
142
142
  useAddParticipantToChat,
@@ -463,6 +463,22 @@ var rewardNiceNames = {
463
463
  // src/utils/school.ts
464
464
  var SCHOOL_MIN_STUDENT_COUNT = 300;
465
465
 
466
+ // src/utils/eventDateStatus.ts
467
+ var EVENT_DATE_STATUS_PERIOD_MAP = {
468
+ ["Today" /* TODAY */]: [
469
+ "Started" /* STARTED */,
470
+ "Starting_Soon" /* STARTING_SOON */,
471
+ "Today" /* TODAY */
472
+ ],
473
+ ["This_Week" /* THIS_WEEK */]: [
474
+ "Started" /* STARTED */,
475
+ "Starting_Soon" /* STARTING_SOON */,
476
+ "This_Week" /* THIS_WEEK */,
477
+ "Today" /* TODAY */,
478
+ "Tomorrow" /* TOMORROW */
479
+ ]
480
+ };
481
+
466
482
  // src/yupSchema/global.ts
467
483
  var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
468
484
  var nzbnRegex = /^94\d{11}$/;
@@ -2694,7 +2710,7 @@ var EVENT = import_client3.gql`
2694
2710
  ${RELATION_DATES_FRAGMENT}
2695
2711
  `;
2696
2712
  var GET_EVENTS = import_client3.gql`
2697
- query getEvents($dateStatus: EnumEventDateStatus) {
2713
+ query getEvents($dateStatus: EventDateStatusEnumType) {
2698
2714
  events(dateStatus: $dateStatus) {
2699
2715
  ...EventListItemFields
2700
2716
  }
@@ -2721,7 +2737,7 @@ var GET_EVENTS_BY_REGION = import_client3.gql`
2721
2737
  query getEventsByRegion(
2722
2738
  $region: String!
2723
2739
  $options: ResourcesByRegionOptions
2724
- $dateStatus: EnumEventDateStatus
2740
+ $dateStatus: EventDateStatusEnumType
2725
2741
  ) {
2726
2742
  eventsByRegion(
2727
2743
  region: $region
@@ -2738,7 +2754,7 @@ var SEARCH_EVENTS = import_client3.gql`
2738
2754
  $region: String
2739
2755
  $search: String
2740
2756
  $tags: [String]
2741
- $dateStatus: EnumEventDateStatus
2757
+ $dateStatus: EventDateStatusEnumType
2742
2758
  ) {
2743
2759
  eventsSearch(
2744
2760
  region: $region
@@ -2756,7 +2772,7 @@ var GET_EVENTS_NEAR_ME = import_client3.gql`
2756
2772
  $latitude: Float!
2757
2773
  $longitude: Float!
2758
2774
  $radius: Int
2759
- $dateStatus: EnumEventDateStatus
2775
+ $dateStatus: EventDateStatusEnumType
2760
2776
  ) {
2761
2777
  eventsNearMe(
2762
2778
  latitude: $latitude