@timardex/cluemart-shared 2.0.17 → 2.0.18
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-ZwLtQn9a.d.ts} +1 -1
- package/dist/{ad-B4hhLfL-.d.mts → ad-xO8ltnGA.d.mts} +1 -1
- package/dist/{chunk-RNHDFZIC.mjs → chunk-KUC252SN.mjs} +9 -5
- package/dist/chunk-KUC252SN.mjs.map +1 -0
- package/dist/graphql/index.cjs +8 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- 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 +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-RNHDFZIC.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { DocumentNode } from 'graphql';
|
|
|
4
4
|
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DIK3bwZg.mjs';
|
|
5
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-C6w0hQ5Y.mjs';
|
|
6
6
|
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-BwcVKK-h.mjs';
|
|
7
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as AppSettingsType, S as SchoolType,
|
|
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-xO8ltnGA.mjs';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
|
|
10
10
|
import { A as AffiliateType } from '../affiliate-Bv4PXBXC.mjs';
|
|
@@ -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
|
@@ -4,7 +4,7 @@ import { DocumentNode } from 'graphql';
|
|
|
4
4
|
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DScv6fiM.js';
|
|
5
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-Coz5Jgi2.js';
|
|
6
6
|
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-DhxdbFT7.js';
|
|
7
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as AppSettingsType, S as SchoolType,
|
|
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-ZwLtQn9a.js';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
|
|
10
10
|
import { A as AffiliateType } from '../affiliate-xDFlLdJI.js';
|
|
@@ -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
|
}
|