@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/hooks/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as LocationType, q as VendorFormData, r as CreateVendorFormData, s as VendorInfoFormData, t as CreateVendorInfoFormData, u as UnregisteredVendorFormData, v as CreateUnregisteredVendorFormData, w as EventFormData, x as CreateEventFormData, y as EventInfoFormData, z as CreateEventInfoFormData, B as BaseResourceTypeFormData, A as PostFormData, D as CreatePostFormData, H as CouponDefaultsFormData, I as CreateCouponFormData } from '../global-C6w0hQ5Y.mjs';
|
|
2
2
|
import { e as UserFormData, C as CreateUserFormData } from '../user-BwcVKK-h.mjs';
|
|
3
|
-
import { C as CreateLoginFormData,
|
|
3
|
+
import { C as CreateLoginFormData, e as CreateRegisterFormData, f as CreateRequestPasswordResetFormData, g as CreateValidateVerificationTokenFormData, h as CreateResetPasswordFormData, i as PartnerFormData, j as AdFormData, k as CreateAdFormState, l as CreatePartnerFormData, m as AppSettingsFormData, n as CreateAppSettingsFormData, o as SchoolFormData, p as CreateSchoolFormData } from '../ad-xO8ltnGA.mjs';
|
|
4
4
|
import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-Bv4PXBXC.mjs';
|
|
5
5
|
import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-0IhAsiDW.mjs';
|
|
6
6
|
import 'react-hook-form';
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as LocationType, q as VendorFormData, r as CreateVendorFormData, s as VendorInfoFormData, t as CreateVendorInfoFormData, u as UnregisteredVendorFormData, v as CreateUnregisteredVendorFormData, w as EventFormData, x as CreateEventFormData, y as EventInfoFormData, z as CreateEventInfoFormData, B as BaseResourceTypeFormData, A as PostFormData, D as CreatePostFormData, H as CouponDefaultsFormData, I as CreateCouponFormData } from '../global-Coz5Jgi2.js';
|
|
2
2
|
import { e as UserFormData, C as CreateUserFormData } from '../user-DhxdbFT7.js';
|
|
3
|
-
import { C as CreateLoginFormData,
|
|
3
|
+
import { C as CreateLoginFormData, e as CreateRegisterFormData, f as CreateRequestPasswordResetFormData, g as CreateValidateVerificationTokenFormData, h as CreateResetPasswordFormData, i as PartnerFormData, j as AdFormData, k as CreateAdFormState, l as CreatePartnerFormData, m as AppSettingsFormData, n as CreateAppSettingsFormData, o as SchoolFormData, p as CreateSchoolFormData } from '../ad-ZwLtQn9a.js';
|
|
4
4
|
import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-xDFlLdJI.js';
|
|
5
5
|
import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-DtKFwekV.js';
|
|
6
6
|
import 'react-hook-form';
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "../chunk-JESR7H4R.mjs";
|
|
24
24
|
import "../chunk-RAYUJODN.mjs";
|
|
25
25
|
import "../chunk-DQ7ZHIXW.mjs";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-KUC252SN.mjs";
|
|
27
27
|
import "../chunk-ZSSVU6GY.mjs";
|
|
28
28
|
import "../chunk-7DQBUZXY.mjs";
|
|
29
29
|
import {
|
package/dist/index.cjs
CHANGED
|
@@ -7407,8 +7407,12 @@ var GET_AD = import_client44.gql`
|
|
|
7407
7407
|
${AD_FIELDS_FRAGMENT}
|
|
7408
7408
|
`;
|
|
7409
7409
|
var GET_ADS_BY_REGION = import_client44.gql`
|
|
7410
|
-
query getAdsByRegion(
|
|
7411
|
-
|
|
7410
|
+
query getAdsByRegion(
|
|
7411
|
+
$region: String!
|
|
7412
|
+
$platform: AdPlatformEnum!
|
|
7413
|
+
$showOn: AdShowOnEnum
|
|
7414
|
+
) {
|
|
7415
|
+
adsByRegion(region: $region, platform: $platform, showOn: $showOn) {
|
|
7412
7416
|
...AdFields
|
|
7413
7417
|
}
|
|
7414
7418
|
}
|
|
@@ -7511,11 +7515,11 @@ var useGetAd = (_id) => {
|
|
|
7511
7515
|
refetch
|
|
7512
7516
|
};
|
|
7513
7517
|
};
|
|
7514
|
-
var useGetAdsByRegion = (region, platform) => {
|
|
7518
|
+
var useGetAdsByRegion = (region, platform, showOn) => {
|
|
7515
7519
|
const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_ADS_BY_REGION, {
|
|
7516
7520
|
fetchPolicy: "no-cache",
|
|
7517
7521
|
skip: !region || region === "",
|
|
7518
|
-
variables: { platform, region }
|
|
7522
|
+
variables: { platform, region, showOn }
|
|
7519
7523
|
});
|
|
7520
7524
|
return {
|
|
7521
7525
|
adsByRegion: data?.adsByRegion || [],
|