@timardex/cluemart-shared 2.0.17 → 2.1.0
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-BaKxf-Rj.d.ts → ad-CUckkB7I.d.ts} +3 -3
- package/dist/{ad-B4hhLfL-.d.mts → ad-sqc3JME-.d.mts} +3 -3
- package/dist/{affiliate-Bv4PXBXC.d.mts → affiliate-7SDCo04C.d.mts} +2 -2
- package/dist/{affiliate-xDFlLdJI.d.ts → affiliate-C03r7ssL.d.ts} +2 -2
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/auth/index.mjs +4 -15
- package/dist/auth/index.mjs.map +1 -1
- package/dist/{chunk-RNHDFZIC.mjs → chunk-KUC252SN.mjs} +9 -5
- package/dist/chunk-KUC252SN.mjs.map +1 -0
- package/dist/chunk-N46DFZ3R.mjs +20 -0
- package/dist/chunk-N46DFZ3R.mjs.map +1 -0
- package/dist/{chunk-JESR7H4R.mjs → chunk-PIEXGXTD.mjs} +1 -1
- package/dist/chunk-PIEXGXTD.mjs.map +1 -0
- package/dist/chunk-RE4NZPYY.mjs +43 -0
- package/dist/chunk-RE4NZPYY.mjs.map +1 -0
- package/dist/{chunk-5G3MQXQX.mjs → chunk-YPT2VOTM.mjs} +2 -2
- package/dist/{contactUs-DtKFwekV.d.ts → contactUs-BG3sJ6gc.d.ts} +1 -1
- package/dist/{contactUs-0IhAsiDW.d.mts → contactUs-CWFP59_0.d.mts} +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +3 -2
- package/dist/{global-C6w0hQ5Y.d.mts → global-BqeTWrvk.d.ts} +4 -1
- package/dist/{global-Coz5Jgi2.d.ts → global-CWo-hWKZ.d.mts} +4 -1
- package/dist/graphql/index.cjs +8 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +6 -6
- package/dist/graphql/index.d.ts +6 -6
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +6 -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 +4 -3
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +51 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.mjs +48 -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/region/index.cjs +290 -0
- package/dist/region/index.cjs.map +1 -0
- package/dist/region/index.d.mts +36 -0
- package/dist/region/index.d.ts +36 -0
- package/dist/region/index.mjs +220 -0
- package/dist/region/index.mjs.map +1 -0
- package/dist/{resourceActivities-DScv6fiM.d.ts → resourceActivities-BbhGFtZA.d.ts} +1 -1
- package/dist/{resourceActivities-DIK3bwZg.d.mts → resourceActivities-D81u7Mu0.d.mts} +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-DhxdbFT7.d.ts → user-2peJoOeK.d.ts} +1 -1
- package/dist/{user-BwcVKK-h.d.mts → user-DKcyf8gn.d.mts} +1 -1
- package/dist/utils/index.cjs +43 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +8 -4
- package/dist/utils/index.d.ts +8 -4
- package/dist/utils/index.mjs +10 -2
- package/package.json +6 -1
- package/dist/chunk-JESR7H4R.mjs.map +0 -1
- package/dist/chunk-RNHDFZIC.mjs.map +0 -1
- /package/dist/{chunk-5G3MQXQX.mjs.map → chunk-YPT2VOTM.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
|
|
3
3
|
import { DocumentNode } from 'graphql';
|
|
4
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
5
|
-
import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-
|
|
6
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-
|
|
7
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as AppSettingsType, S as SchoolType,
|
|
4
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-D81u7Mu0.mjs';
|
|
5
|
+
import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-CWo-hWKZ.mjs';
|
|
6
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-DKcyf8gn.mjs';
|
|
7
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-sqc3JME-.mjs';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
|
|
10
|
-
import { A as AffiliateType } from '../affiliate-
|
|
10
|
+
import { A as AffiliateType } from '../affiliate-7SDCo04C.mjs';
|
|
11
11
|
import 'react-hook-form';
|
|
12
12
|
import '../images/index.mjs';
|
|
13
13
|
|
|
@@ -1012,7 +1012,7 @@ declare const useGetAd: (_id: string) => {
|
|
|
1012
1012
|
ad: AdType;
|
|
1013
1013
|
}>>;
|
|
1014
1014
|
};
|
|
1015
|
-
declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform) => {
|
|
1015
|
+
declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, showOn?: EnumAdShowOn) => {
|
|
1016
1016
|
adsByRegion: AdType[];
|
|
1017
1017
|
error: _apollo_client.ApolloError | undefined;
|
|
1018
1018
|
loading: boolean;
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
|
|
3
3
|
import { DocumentNode } from 'graphql';
|
|
4
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
5
|
-
import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-
|
|
6
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-
|
|
7
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as AppSettingsType, S as SchoolType,
|
|
4
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BbhGFtZA.js';
|
|
5
|
+
import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-BqeTWrvk.js';
|
|
6
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-2peJoOeK.js';
|
|
7
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-CUckkB7I.js';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
|
|
10
|
-
import { A as AffiliateType } from '../affiliate-
|
|
10
|
+
import { A as AffiliateType } from '../affiliate-C03r7ssL.js';
|
|
11
11
|
import 'react-hook-form';
|
|
12
12
|
import '../images/index.js';
|
|
13
13
|
|
|
@@ -1012,7 +1012,7 @@ declare const useGetAd: (_id: string) => {
|
|
|
1012
1012
|
ad: AdType;
|
|
1013
1013
|
}>>;
|
|
1014
1014
|
};
|
|
1015
|
-
declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform) => {
|
|
1015
|
+
declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, showOn?: EnumAdShowOn) => {
|
|
1016
1016
|
adsByRegion: AdType[];
|
|
1017
1017
|
error: _apollo_client.ApolloError | undefined;
|
|
1018
1018
|
loading: boolean;
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -4894,8 +4894,12 @@ var GET_AD = import_client44.gql`
|
|
|
4894
4894
|
${AD_FIELDS_FRAGMENT}
|
|
4895
4895
|
`;
|
|
4896
4896
|
var GET_ADS_BY_REGION = import_client44.gql`
|
|
4897
|
-
query getAdsByRegion(
|
|
4898
|
-
|
|
4897
|
+
query getAdsByRegion(
|
|
4898
|
+
$region: String!
|
|
4899
|
+
$platform: AdPlatformEnum!
|
|
4900
|
+
$showOn: AdShowOnEnum
|
|
4901
|
+
) {
|
|
4902
|
+
adsByRegion(region: $region, platform: $platform, showOn: $showOn) {
|
|
4899
4903
|
...AdFields
|
|
4900
4904
|
}
|
|
4901
4905
|
}
|