@timardex/cluemart-shared 2.0.14 → 2.0.15
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-C6QfVk6L.d.ts → ad-CpsTouG6.d.ts} +2 -1
- package/dist/{ad-Dm8ht5tc.d.mts → ad-DwFDtNp7.d.mts} +2 -1
- package/dist/{chunk-BO7IQ33V.mjs → chunk-6HI3OSCZ.mjs} +9 -5
- package/dist/chunk-6HI3OSCZ.mjs.map +1 -0
- package/dist/{chunk-XU65BXAM.mjs → chunk-KGPPKS5M.mjs} +1 -1
- package/dist/chunk-KGPPKS5M.mjs.map +1 -0
- package/dist/{chunk-VHYU2BPC.mjs → chunk-NERMP6D5.mjs} +2 -2
- package/dist/formFields/index.mjs +2 -2
- 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 +3 -3
- package/dist/index.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-BO7IQ33V.mjs.map +0 -1
- package/dist/chunk-XU65BXAM.mjs.map +0 -1
- /package/dist/{chunk-VHYU2BPC.mjs.map → chunk-NERMP6D5.mjs.map} +0 -0
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-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,
|
|
7
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, b as AdPlatform, E as EnumAdStatus, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-DwFDtNp7.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: AdPlatform, status?: EnumAdStatus) => {
|
|
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-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,
|
|
7
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, b as AdPlatform, E as EnumAdStatus, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-CpsTouG6.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: AdPlatform, status?: EnumAdStatus) => {
|
|
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
|
@@ -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(
|
|
4868
|
-
|
|
4867
|
+
query getAdsByRegion(
|
|
4868
|
+
$region: String!
|
|
4869
|
+
$platform: String!
|
|
4870
|
+
$status: AdStatusTypeEnum
|
|
4871
|
+
) {
|
|
4872
|
+
adsByRegion(region: $region, platform: $platform, status: $status) {
|
|
4869
4873
|
...AdFields
|
|
4870
4874
|
}
|
|
4871
4875
|
}
|