@timardex/cluemart-shared 2.1.3 → 2.1.4

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.
@@ -24,7 +24,7 @@ import {
24
24
  } from "../chunk-PIEXGXTD.mjs";
25
25
  import "../chunk-RAYUJODN.mjs";
26
26
  import "../chunk-DQ7ZHIXW.mjs";
27
- import "../chunk-MX3L6DSE.mjs";
27
+ import "../chunk-GOWIY4NZ.mjs";
28
28
  import "../chunk-OSSBKFNH.mjs";
29
29
  import "../chunk-7DQBUZXY.mjs";
30
30
  import {
package/dist/index.cjs CHANGED
@@ -6275,7 +6275,11 @@ var useGetEvent = (_id) => {
6275
6275
  };
6276
6276
  var useGetOwnedEvent = (_id, options) => {
6277
6277
  const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_OWNED_EVENT, {
6278
- fetchPolicy: "network-only",
6278
+ // `ownedEvent(futureOnly)` is a projection-specific view of EventType.
6279
+ // If this writes into normalized EventType cache, other queries like
6280
+ // `getEvent` (which can include archived dates) can overwrite `dateTime`
6281
+ // for the same entity id and leak into edit screens. Keep it uncached.
6282
+ fetchPolicy: "no-cache",
6279
6283
  skip: !_id,
6280
6284
  variables: { _id, futureOnly: options?.futureOnly ?? false }
6281
6285
  });