@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.
- package/dist/{chunk-MX3L6DSE.mjs → chunk-GOWIY4NZ.mjs} +6 -2
- package/dist/chunk-GOWIY4NZ.mjs.map +1 -0
- package/dist/graphql/index.cjs +5 -1
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-MX3L6DSE.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -5736,7 +5736,11 @@ var useGetEvent = (_id) => {
|
|
|
5736
5736
|
};
|
|
5737
5737
|
var useGetOwnedEvent = (_id, options) => {
|
|
5738
5738
|
const { loading, error, data, refetch } = useQuery2(GET_OWNED_EVENT, {
|
|
5739
|
-
|
|
5739
|
+
// `ownedEvent(futureOnly)` is a projection-specific view of EventType.
|
|
5740
|
+
// If this writes into normalized EventType cache, other queries like
|
|
5741
|
+
// `getEvent` (which can include archived dates) can overwrite `dateTime`
|
|
5742
|
+
// for the same entity id and leak into edit screens. Keep it uncached.
|
|
5743
|
+
fetchPolicy: "no-cache",
|
|
5740
5744
|
skip: !_id,
|
|
5741
5745
|
variables: { _id, futureOnly: options?.futureOnly ?? false }
|
|
5742
5746
|
});
|