@timardex/cluemart-shared 1.7.50 → 1.7.51
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-MLZKUWXF.mjs → chunk-7YUHKL5A.mjs} +2 -2
- package/dist/{chunk-DXHGP4F6.mjs → chunk-NCSJIE42.mjs} +6 -5
- package/dist/{chunk-DXHGP4F6.mjs.map → chunk-NCSJIE42.mjs.map} +1 -1
- package/dist/{chunk-FFVJ476E.mjs → chunk-RIE2OS4I.mjs} +1 -1
- package/dist/{chunk-FFVJ476E.mjs.map → chunk-RIE2OS4I.mjs.map} +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.cjs +5 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +6 -2
- package/dist/graphql/index.d.ts +6 -2
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-MLZKUWXF.mjs.map → chunk-7YUHKL5A.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
SCHOOL_MIN_STUDENT_COUNT,
|
|
8
8
|
isValidIrdNumber,
|
|
9
9
|
normalizeUrl
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-7YUHKL5A.mjs";
|
|
11
11
|
import {
|
|
12
12
|
dateFormat,
|
|
13
13
|
timeFormat
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
EnumAffiliateParticipantType,
|
|
21
21
|
EnumPostContentType,
|
|
22
22
|
EnumPostType
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-RIE2OS4I.mjs";
|
|
24
24
|
import "../chunk-RAYUJODN.mjs";
|
|
25
25
|
import "../chunk-DQ7ZHIXW.mjs";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-NCSJIE42.mjs";
|
|
27
27
|
import "../chunk-VBQ5RF7L.mjs";
|
|
28
28
|
import {
|
|
29
29
|
EnumEventDateStatus,
|
package/dist/index.cjs
CHANGED
|
@@ -8561,8 +8561,8 @@ var COUPON = import_client78.gql`
|
|
|
8561
8561
|
${COUPON_DATA_FIELDS_FRAGMENT}
|
|
8562
8562
|
`;
|
|
8563
8563
|
var GET_COUPONS = import_client78.gql`
|
|
8564
|
-
query getCoupons {
|
|
8565
|
-
coupons {
|
|
8564
|
+
query getCoupons($region: String, $category: String) {
|
|
8565
|
+
coupons(region: $region, category: $category) {
|
|
8566
8566
|
active {
|
|
8567
8567
|
listName
|
|
8568
8568
|
data {
|
|
@@ -8674,9 +8674,10 @@ var useScanCoupon = () => {
|
|
|
8674
8674
|
|
|
8675
8675
|
// src/graphql/hooks/coupon/hooksQuery.ts
|
|
8676
8676
|
var import_client81 = require("@apollo/client");
|
|
8677
|
-
var useGetCoupons = () => {
|
|
8677
|
+
var useGetCoupons = (variables) => {
|
|
8678
8678
|
const { loading, error, data, refetch } = (0, import_client81.useQuery)(GET_COUPONS, {
|
|
8679
|
-
fetchPolicy: "network-only"
|
|
8679
|
+
fetchPolicy: "network-only",
|
|
8680
|
+
variables
|
|
8680
8681
|
});
|
|
8681
8682
|
const coupons = data?.coupons || {
|
|
8682
8683
|
active: null,
|