@timardex/cluemart-shared 1.7.63 → 1.7.64
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-63CHIBEP.mjs → chunk-6BK45KML.mjs} +13 -3
- package/dist/{chunk-63CHIBEP.mjs.map → chunk-6BK45KML.mjs.map} +1 -1
- package/dist/graphql/index.cjs +12 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -0
- package/dist/graphql/index.d.ts +2 -0
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +12 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1517,6 +1517,8 @@ declare const useRewardCoupon: () => {
|
|
|
1517
1517
|
type GetCouponsVariables = {
|
|
1518
1518
|
category?: string | null;
|
|
1519
1519
|
region?: string | null;
|
|
1520
|
+
resourceId?: string | null;
|
|
1521
|
+
resourceType?: EnumResourceType | null;
|
|
1520
1522
|
};
|
|
1521
1523
|
declare const useGetCoupons: (variables?: GetCouponsVariables) => {
|
|
1522
1524
|
coupons: CouponTypeList | {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1517,6 +1517,8 @@ declare const useRewardCoupon: () => {
|
|
|
1517
1517
|
type GetCouponsVariables = {
|
|
1518
1518
|
category?: string | null;
|
|
1519
1519
|
region?: string | null;
|
|
1520
|
+
resourceId?: string | null;
|
|
1521
|
+
resourceType?: EnumResourceType | null;
|
|
1520
1522
|
};
|
|
1521
1523
|
declare const useGetCoupons: (variables?: GetCouponsVariables) => {
|
|
1522
1524
|
coupons: CouponTypeList | {
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -5707,8 +5707,18 @@ var COUPON = import_client78.gql`
|
|
|
5707
5707
|
${COUPON_DATA_FIELDS_FRAGMENT}
|
|
5708
5708
|
`;
|
|
5709
5709
|
var GET_COUPONS = import_client78.gql`
|
|
5710
|
-
query getCoupons(
|
|
5711
|
-
|
|
5710
|
+
query getCoupons(
|
|
5711
|
+
$region: String
|
|
5712
|
+
$category: String
|
|
5713
|
+
$resourceId: String
|
|
5714
|
+
$resourceType: ResourceTypeEnum
|
|
5715
|
+
) {
|
|
5716
|
+
coupons(
|
|
5717
|
+
region: $region
|
|
5718
|
+
category: $category
|
|
5719
|
+
resourceId: $resourceId
|
|
5720
|
+
resourceType: $resourceType
|
|
5721
|
+
) {
|
|
5712
5722
|
active {
|
|
5713
5723
|
listName
|
|
5714
5724
|
data {
|