@timardex/cluemart-shared 1.6.0 → 1.6.11

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.
package/dist/index.d.mts CHANGED
@@ -2029,9 +2029,9 @@ declare const useMarkNotificationRead: () => {
2029
2029
  error: _apollo_client.ApolloError | undefined;
2030
2030
  loading: boolean;
2031
2031
  markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<{
2032
- markNotificationRead: MutationResponse<NotificationType[]>;
2032
+ markNotificationRead: MutationResponse<NotificationType>;
2033
2033
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2034
- markNotificationRead: MutationResponse<NotificationType[]>;
2034
+ markNotificationRead: MutationResponse<NotificationType>;
2035
2035
  }>>;
2036
2036
  };
2037
2037
  declare const useMarkAllNotificationsRead: () => {
package/dist/index.d.ts CHANGED
@@ -2029,9 +2029,9 @@ declare const useMarkNotificationRead: () => {
2029
2029
  error: _apollo_client.ApolloError | undefined;
2030
2030
  loading: boolean;
2031
2031
  markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<{
2032
- markNotificationRead: MutationResponse<NotificationType[]>;
2032
+ markNotificationRead: MutationResponse<NotificationType>;
2033
2033
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2034
- markNotificationRead: MutationResponse<NotificationType[]>;
2034
+ markNotificationRead: MutationResponse<NotificationType>;
2035
2035
  }>>;
2036
2036
  };
2037
2037
  declare const useMarkAllNotificationsRead: () => {
package/dist/index.mjs CHANGED
@@ -1146,9 +1146,16 @@ function filterEventsByDateStatusPeriod(events, period) {
1146
1146
  // src/calendar/eventCalendar.ts
1147
1147
  import dayjs2 from "dayjs";
1148
1148
  var KNOWN_EVENT_SCHEDULE_STATUSES = /* @__PURE__ */ new Set([
1149
- "Started" /* STARTED */,
1150
1149
  "Starting_Soon" /* STARTING_SOON */,
1151
- "Ended" /* ENDED */
1150
+ "Started" /* STARTED */,
1151
+ "Today" /* TODAY */,
1152
+ "Tomorrow" /* TOMORROW */,
1153
+ "This_Week" /* THIS_WEEK */,
1154
+ "Next_Week" /* NEXT_WEEK */,
1155
+ "Upcoming" /* UPCOMING */,
1156
+ "Ended" /* ENDED */,
1157
+ "Rescheduled" /* RE_SCHEDULED */,
1158
+ "Canceled" /* CANCELED */
1152
1159
  ]);
1153
1160
  function toCalendarIsoDate(startDate) {
1154
1161
  const formatted = dayjs2(startDate, dateFormat).format("YYYY-MM-DD");