@timardex/cluemart-shared 1.7.49 → 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/{ad-DFY6URsw.d.mts → ad-CPz_YjR3.d.mts} +2 -2
- package/dist/{ad-2AW1JD8A.d.ts → ad-DlEidDDn.d.ts} +2 -2
- package/dist/{affiliate-DqEAKmqT.d.ts → affiliate-D5O5FfUC.d.ts} +2 -2
- package/dist/{affiliate-Buu_lbqm.d.mts → affiliate-gsHokKnO.d.mts} +2 -2
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/{chunk-YVEXOCXF.mjs → chunk-7YUHKL5A.mjs} +2 -2
- package/dist/{chunk-TI7EE7CT.mjs → chunk-NCSJIE42.mjs} +7 -5
- package/dist/{chunk-TI7EE7CT.mjs.map → chunk-NCSJIE42.mjs.map} +1 -1
- package/dist/{chunk-NCMKTUWS.mjs → chunk-RIE2OS4I.mjs} +1 -1
- package/dist/{chunk-NCMKTUWS.mjs.map → chunk-RIE2OS4I.mjs.map} +1 -1
- package/dist/{contactUs-jOb2jnih.d.mts → contactUs-BJQeu7Be.d.mts} +1 -1
- package/dist/{contactUs-B-m0Wu7K.d.ts → contactUs-C39e1EfO.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/{global-Vq3BudHa.d.ts → global-CtjIrs69.d.ts} +1 -0
- package/dist/{global-BlbbSNzX.d.mts → global-CxumKna-.d.mts} +1 -0
- package/dist/graphql/index.cjs +6 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +11 -7
- package/dist/graphql/index.d.ts +11 -7
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +3 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/{resourceActivities-CoXFG4sD.d.mts → resourceActivities-B0B-uWFO.d.mts} +1 -1
- package/dist/{resourceActivities-B2TH_bYa.d.ts → resourceActivities-BR8aGYJp.d.ts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.mjs +1 -1
- package/dist/{user-DMKMDVAN.d.ts → user-CDKT3M1F.d.ts} +1 -1
- package/dist/{user-BnZtK7GF.d.mts → user-Cux67Xnr.d.mts} +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-YVEXOCXF.mjs.map → chunk-7YUHKL5A.mjs.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnumPartnerType, EnumResourceType, EnumOSPlatform } from './enums/index.mjs';
|
|
2
|
-
import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aK as ResourceContactDetailsType, aM as ResourceImageType, aN as SocialMediaType, aR as TermsAgreement, an as OwnerType, aB as PromoCodeType, M as MutationResponse } from './global-
|
|
2
|
+
import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aK as ResourceContactDetailsType, aM as ResourceImageType, aN as SocialMediaType, aR as TermsAgreement, an as OwnerType, aB as PromoCodeType, M as MutationResponse } from './global-CxumKna-.mjs';
|
|
3
3
|
import { PosterAssetId } from './images/index.mjs';
|
|
4
|
-
import { S as SafeUserType } from './user-
|
|
4
|
+
import { S as SafeUserType } from './user-Cux67Xnr.mjs';
|
|
5
5
|
|
|
6
6
|
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
7
7
|
location: LocationType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnumPartnerType, EnumResourceType, EnumOSPlatform } from './enums/index.js';
|
|
2
|
-
import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aK as ResourceContactDetailsType, aM as ResourceImageType, aN as SocialMediaType, aR as TermsAgreement, an as OwnerType, aB as PromoCodeType, M as MutationResponse } from './global-
|
|
2
|
+
import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aK as ResourceContactDetailsType, aM as ResourceImageType, aN as SocialMediaType, aR as TermsAgreement, an as OwnerType, aB as PromoCodeType, M as MutationResponse } from './global-CtjIrs69.js';
|
|
3
3
|
import { PosterAssetId } from './images/index.js';
|
|
4
|
-
import { S as SafeUserType } from './user-
|
|
4
|
+
import { S as SafeUserType } from './user-CDKT3M1F.js';
|
|
5
5
|
|
|
6
6
|
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
7
7
|
location: LocationType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EnumResourceType } from './enums/index.js';
|
|
2
|
-
import { aB as PromoCodeType, L as LocationType, aN as SocialMediaType, an as OwnerType, a1 as CreateFormData } from './global-
|
|
3
|
-
import { U as UserFormData } from './user-
|
|
2
|
+
import { aB as PromoCodeType, L as LocationType, aN as SocialMediaType, an as OwnerType, a1 as CreateFormData } from './global-CtjIrs69.js';
|
|
3
|
+
import { U as UserFormData } from './user-CDKT3M1F.js';
|
|
4
4
|
|
|
5
5
|
declare enum EnumAffiliateParticipantType {
|
|
6
6
|
INDIVIDUAL = "INDIVIDUAL",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EnumResourceType } from './enums/index.mjs';
|
|
2
|
-
import { aB as PromoCodeType, L as LocationType, aN as SocialMediaType, an as OwnerType, a1 as CreateFormData } from './global-
|
|
3
|
-
import { U as UserFormData } from './user-
|
|
2
|
+
import { aB as PromoCodeType, L as LocationType, aN as SocialMediaType, an as OwnerType, a1 as CreateFormData } from './global-CxumKna-.mjs';
|
|
3
|
+
import { U as UserFormData } from './user-Cux67Xnr.mjs';
|
|
4
4
|
|
|
5
5
|
declare enum EnumAffiliateParticipantType {
|
|
6
6
|
INDIVIDUAL = "INDIVIDUAL",
|
package/dist/auth/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EnumUserRole, EnumResourceType, EnumUserLicence } from '../enums/index.mjs';
|
|
2
|
-
import { P as Permission, S as SafeUserType } from '../user-
|
|
3
|
-
export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-
|
|
2
|
+
import { P as Permission, S as SafeUserType } from '../user-Cux67Xnr.mjs';
|
|
3
|
+
export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-Cux67Xnr.mjs';
|
|
4
4
|
import { T as Tier } from '../subscription-bmAdrnfi.mjs';
|
|
5
5
|
import React, { ReactNode } from 'react';
|
|
6
|
-
import '../global-
|
|
6
|
+
import '../global-CxumKna-.mjs';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
type AuthManager = {
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EnumUserRole, EnumResourceType, EnumUserLicence } from '../enums/index.js';
|
|
2
|
-
import { P as Permission, S as SafeUserType } from '../user-
|
|
3
|
-
export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-
|
|
2
|
+
import { P as Permission, S as SafeUserType } from '../user-CDKT3M1F.js';
|
|
3
|
+
export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-CDKT3M1F.js';
|
|
4
4
|
import { T as Tier } from '../subscription-BU8GvH2K.js';
|
|
5
5
|
import React, { ReactNode } from 'react';
|
|
6
|
-
import '../global-
|
|
6
|
+
import '../global-CtjIrs69.js';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
type AuthManager = {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
PROMO_CODE_PREFIX,
|
|
12
12
|
gameScreenIdentifierList
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RIE2OS4I.mjs";
|
|
14
14
|
import {
|
|
15
15
|
isTransientNetworkError
|
|
16
16
|
} from "./chunk-RAYUJODN.mjs";
|
|
@@ -1696,4 +1696,4 @@ export {
|
|
|
1696
1696
|
toUserFacingErrorMessage,
|
|
1697
1697
|
getErrorMessage
|
|
1698
1698
|
};
|
|
1699
|
-
//# sourceMappingURL=chunk-
|
|
1699
|
+
//# sourceMappingURL=chunk-7YUHKL5A.mjs.map
|
|
@@ -3602,6 +3602,7 @@ var COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT = gql36`
|
|
|
3602
3602
|
productsList {
|
|
3603
3603
|
...VendorProductListFields
|
|
3604
3604
|
}
|
|
3605
|
+
vendorId
|
|
3605
3606
|
vendorLogo {
|
|
3606
3607
|
...ResourceImageFields
|
|
3607
3608
|
}
|
|
@@ -3661,8 +3662,8 @@ var COUPON = gql36`
|
|
|
3661
3662
|
${COUPON_DATA_FIELDS_FRAGMENT}
|
|
3662
3663
|
`;
|
|
3663
3664
|
var GET_COUPONS = gql36`
|
|
3664
|
-
query getCoupons {
|
|
3665
|
-
coupons {
|
|
3665
|
+
query getCoupons($region: String, $category: String) {
|
|
3666
|
+
coupons(region: $region, category: $category) {
|
|
3666
3667
|
active {
|
|
3667
3668
|
listName
|
|
3668
3669
|
data {
|
|
@@ -3774,9 +3775,10 @@ var useScanCoupon = () => {
|
|
|
3774
3775
|
|
|
3775
3776
|
// src/graphql/hooks/coupon/hooksQuery.ts
|
|
3776
3777
|
import { useQuery as useQuery15 } from "@apollo/client";
|
|
3777
|
-
var useGetCoupons = () => {
|
|
3778
|
+
var useGetCoupons = (variables) => {
|
|
3778
3779
|
const { loading, error, data, refetch } = useQuery15(GET_COUPONS, {
|
|
3779
|
-
fetchPolicy: "network-only"
|
|
3780
|
+
fetchPolicy: "network-only",
|
|
3781
|
+
variables
|
|
3780
3782
|
});
|
|
3781
3783
|
const coupons = data?.coupons || {
|
|
3782
3784
|
active: null,
|
|
@@ -3944,4 +3946,4 @@ export {
|
|
|
3944
3946
|
useGetCoupons,
|
|
3945
3947
|
useGetCoupon
|
|
3946
3948
|
};
|
|
3947
|
-
//# sourceMappingURL=chunk-
|
|
3949
|
+
//# sourceMappingURL=chunk-NCSJIE42.mjs.map
|