@timardex/cluemart-shared 2.0.14 → 2.0.16

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-D9-mYXe8.mjs';
5
5
  import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-DwPcHR4_.mjs';
6
6
  import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-Ml-C8k8S.mjs';
7
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-Dm8ht5tc.mjs';
7
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdStatus, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-D_5m292R.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-6NsbC06m.mjs';
@@ -1012,7 +1012,7 @@ declare const useGetAd: (_id: string) => {
1012
1012
  ad: AdType;
1013
1013
  }>>;
1014
1014
  };
1015
- declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
1015
+ declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, status?: EnumAdStatus) => {
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-CJ2ivv01.js';
5
5
  import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-s3frnbGC.js';
6
6
  import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-CteW0WdG.js';
7
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-C6QfVk6L.js';
7
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdStatus, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-B4Acy8eW.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-CYnVduRf.js';
@@ -1012,7 +1012,7 @@ declare const useGetAd: (_id: string) => {
1012
1012
  ad: AdType;
1013
1013
  }>>;
1014
1014
  };
1015
- declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
1015
+ declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, status?: EnumAdStatus) => {
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-BO7IQ33V.mjs";
166
+ } from "../chunk-PSP5KDHQ.mjs";
167
167
  import {
168
168
  GET_EVENT,
169
169
  GET_EVENTS,
@@ -4864,8 +4864,12 @@ var GET_AD = import_client44.gql`
4864
4864
  ${AD_FIELDS_FRAGMENT}
4865
4865
  `;
4866
4866
  var GET_ADS_BY_REGION = import_client44.gql`
4867
- query getAdsByRegion($region: String!, $status: AdStatusTypeEnum) {
4868
- adsByRegion(region: $region, status: $status) {
4867
+ query getAdsByRegion(
4868
+ $region: String!
4869
+ $platform: AdPlatformEnum!
4870
+ $status: AdStatusTypeEnum
4871
+ ) {
4872
+ adsByRegion(region: $region, platform: $platform, status: $status) {
4869
4873
  ...AdFields
4870
4874
  }
4871
4875
  }