@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.
@@ -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, c as SchoolReturnType } from '../ad-B4hhLfL-.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-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;
@@ -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, c as SchoolReturnType } from '../ad-BaKxf-Rj.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-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;
@@ -163,7 +163,7 @@ import {
163
163
  useUpdateUser,
164
164
  useUpdateVendor,
165
165
  useUpdateVendorInfo
166
- } from "../chunk-RNHDFZIC.mjs";
166
+ } from "../chunk-KUC252SN.mjs";
167
167
  import {
168
168
  GET_EVENT,
169
169
  GET_EVENTS,
@@ -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($region: String!, $platform: AdPlatformEnum!) {
4898
- adsByRegion(region: $region, platform: $platform) {
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
  }