@timardex/cluemart-shared 2.1.1 → 2.1.2
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/auth/index.cjs +2 -2
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/{chunk-6ZH75TAT.mjs → chunk-B22YRNRF.mjs} +2 -2
- package/dist/{chunk-Z4FML4VL.mjs → chunk-BTZIWVSF.mjs} +2 -2
- package/dist/{chunk-UHZHNJHO.mjs → chunk-HFN6KXX2.mjs} +9 -35
- package/dist/chunk-HFN6KXX2.mjs.map +1 -0
- package/dist/{chunk-YMLEIEZD.mjs → chunk-MX3L6DSE.mjs} +4 -4
- package/dist/chunk-MX3L6DSE.mjs.map +1 -0
- package/dist/{chunk-ZSSVU6GY.mjs → chunk-OSSBKFNH.mjs} +3 -3
- package/dist/chunk-OSSBKFNH.mjs.map +1 -0
- package/dist/{chunk-7XIDMA4Z.mjs → chunk-T7A7ZG55.mjs} +54 -18
- package/dist/chunk-T7A7ZG55.mjs.map +1 -0
- package/dist/formFields/index.cjs +34 -42
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.cjs +4 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -1
- package/dist/graphql/index.d.ts +3 -1
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +36 -30
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +6 -6
- package/dist/index.cjs +62 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/index.mjs +59 -44
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +28 -28
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +2 -2
- package/dist/utils/index.cjs +58 -54
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +22 -3
- package/dist/utils/index.d.ts +22 -3
- package/dist/utils/index.mjs +13 -7
- package/package.json +1 -1
- package/dist/chunk-7XIDMA4Z.mjs.map +0 -1
- package/dist/chunk-UHZHNJHO.mjs.map +0 -1
- package/dist/chunk-YMLEIEZD.mjs.map +0 -1
- package/dist/chunk-ZSSVU6GY.mjs.map +0 -1
- /package/dist/{chunk-6ZH75TAT.mjs.map → chunk-B22YRNRF.mjs.map} +0 -0
- /package/dist/{chunk-Z4FML4VL.mjs.map → chunk-BTZIWVSF.mjs.map} +0 -0
|
@@ -42,13 +42,13 @@ import {
|
|
|
42
42
|
vendorStallSize,
|
|
43
43
|
vendorStartDateFields,
|
|
44
44
|
vendorTable
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-B22YRNRF.mjs";
|
|
46
46
|
import {
|
|
47
47
|
availableCategories,
|
|
48
48
|
categoryColors
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-HFN6KXX2.mjs";
|
|
50
50
|
import "../chunk-RE4NZPYY.mjs";
|
|
51
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-T7A7ZG55.mjs";
|
|
52
52
|
import "../chunk-PIEXGXTD.mjs";
|
|
53
53
|
import "../chunk-RAYUJODN.mjs";
|
|
54
54
|
import "../chunk-DQ7ZHIXW.mjs";
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -670,8 +670,8 @@ var GET_EVENT = import_client2.gql`
|
|
|
670
670
|
${EVENT}
|
|
671
671
|
`;
|
|
672
672
|
var GET_OWNED_EVENT = import_client2.gql`
|
|
673
|
-
query getOwnedEvent($_id: ID
|
|
674
|
-
ownedEvent(_id: $_id) {
|
|
673
|
+
query getOwnedEvent($_id: ID!, $futureOnly: Boolean = false) {
|
|
674
|
+
ownedEvent(_id: $_id, futureOnly: $futureOnly) {
|
|
675
675
|
...EventFields
|
|
676
676
|
}
|
|
677
677
|
}
|
|
@@ -2394,11 +2394,11 @@ var useGetEvent = (_id) => {
|
|
|
2394
2394
|
const event = data?.event || null;
|
|
2395
2395
|
return { error, event, loading, refetch };
|
|
2396
2396
|
};
|
|
2397
|
-
var useGetOwnedEvent = (_id) => {
|
|
2397
|
+
var useGetOwnedEvent = (_id, options) => {
|
|
2398
2398
|
const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_OWNED_EVENT, {
|
|
2399
2399
|
fetchPolicy: "network-only",
|
|
2400
2400
|
skip: !_id,
|
|
2401
|
-
variables: { _id }
|
|
2401
|
+
variables: { _id, futureOnly: options?.futureOnly ?? false }
|
|
2402
2402
|
});
|
|
2403
2403
|
const event = data?.ownedEvent || null;
|
|
2404
2404
|
return { error, event, loading, refetch };
|