@timardex/cluemart-shared 2.0.16 → 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-B4Acy8eW.d.ts → ad-ZwLtQn9a.d.ts} +3 -3
- package/dist/{ad-D_5m292R.d.mts → ad-xO8ltnGA.d.mts} +3 -3
- package/dist/{affiliate-6NsbC06m.d.mts → affiliate-Bv4PXBXC.d.mts} +2 -2
- package/dist/{affiliate-CYnVduRf.d.ts → affiliate-xDFlLdJI.d.ts} +2 -2
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/{chunk-E23D3LUI.mjs → chunk-5G3MQXQX.mjs} +42 -12
- package/dist/{chunk-E23D3LUI.mjs.map → chunk-5G3MQXQX.mjs.map} +1 -1
- package/dist/{chunk-TJJ6XKJY.mjs → chunk-JESR7H4R.mjs} +1 -1
- package/dist/chunk-JESR7H4R.mjs.map +1 -0
- package/dist/{chunk-PSP5KDHQ.mjs → chunk-KUC252SN.mjs} +5 -5
- package/dist/chunk-KUC252SN.mjs.map +1 -0
- package/dist/{contactUs-DcSnfzb5.d.mts → contactUs-0IhAsiDW.d.mts} +1 -1
- package/dist/{contactUs-DYgB9q7k.d.ts → contactUs-DtKFwekV.d.ts} +1 -1
- package/dist/formFields/index.cjs +40 -10
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +2 -2
- package/dist/formFields/index.d.ts +2 -2
- package/dist/formFields/index.mjs +2 -2
- package/dist/{global-DwPcHR4_.d.mts → global-C6w0hQ5Y.d.mts} +6 -2
- package/dist/{global-s3frnbGC.d.ts → global-Coz5Jgi2.d.ts} +6 -2
- package/dist/graphql/index.cjs +4 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +6 -6
- package/dist/graphql/index.d.ts +6 -6
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +42 -12
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +44 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.mjs +44 -14
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/{resourceActivities-D9-mYXe8.d.mts → resourceActivities-DIK3bwZg.d.mts} +1 -1
- package/dist/{resourceActivities-CJ2ivv01.d.ts → resourceActivities-DScv6fiM.d.ts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.mjs +1 -1
- package/dist/{user-Ml-C8k8S.d.mts → user-BwcVKK-h.d.mts} +1 -1
- package/dist/{user-CteW0WdG.d.ts → user-DhxdbFT7.d.ts} +1 -1
- package/dist/utils/index.cjs +40 -10
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-PSP5KDHQ.mjs.map +0 -1
- package/dist/chunk-TJJ6XKJY.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category, c as CategoryColorType } from '../global-C6w0hQ5Y.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -69,7 +69,7 @@ declare const validateVerificationTokenFields: FormField[];
|
|
|
69
69
|
|
|
70
70
|
declare const profileFields: FormField[];
|
|
71
71
|
|
|
72
|
-
declare const categoryColors: Record<string,
|
|
72
|
+
declare const categoryColors: Record<string, CategoryColorType>;
|
|
73
73
|
declare const availableCategories: Category[];
|
|
74
74
|
|
|
75
75
|
declare const socialMediaFields: FormField[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category, c as CategoryColorType } from '../global-Coz5Jgi2.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -69,7 +69,7 @@ declare const validateVerificationTokenFields: FormField[];
|
|
|
69
69
|
|
|
70
70
|
declare const profileFields: FormField[];
|
|
71
71
|
|
|
72
|
-
declare const categoryColors: Record<string,
|
|
72
|
+
declare const categoryColors: Record<string, CategoryColorType>;
|
|
73
73
|
declare const availableCategories: Category[];
|
|
74
74
|
|
|
75
75
|
declare const socialMediaFields: FormField[];
|
|
@@ -46,9 +46,9 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
availableCategories,
|
|
48
48
|
categoryColors
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-5G3MQXQX.mjs";
|
|
50
50
|
import "../chunk-UH6POK3Y.mjs";
|
|
51
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-JESR7H4R.mjs";
|
|
52
52
|
import "../chunk-RAYUJODN.mjs";
|
|
53
53
|
import "../chunk-DQ7ZHIXW.mjs";
|
|
54
54
|
import "../chunk-7DQBUZXY.mjs";
|
|
@@ -797,8 +797,12 @@ interface Subcategory {
|
|
|
797
797
|
name: string;
|
|
798
798
|
items?: SubcategoryItems[] | null;
|
|
799
799
|
}
|
|
800
|
+
type CategoryColorType = {
|
|
801
|
+
primary: string;
|
|
802
|
+
secondary: string;
|
|
803
|
+
};
|
|
800
804
|
interface Category {
|
|
801
|
-
color?:
|
|
805
|
+
color?: CategoryColorType | null;
|
|
802
806
|
description?: string | null;
|
|
803
807
|
id: string;
|
|
804
808
|
name: string;
|
|
@@ -867,4 +871,4 @@ interface UseGetResourcesByRegionOptions extends PaginationOptions {
|
|
|
867
871
|
skip?: boolean;
|
|
868
872
|
}
|
|
869
873
|
|
|
870
|
-
export { type
|
|
874
|
+
export { type CouponParticipantUserType as $, type PostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CreatePostFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CouponDefaultsFormData as H, type CreateCouponFormData as I, type Region as J, type BaseGameMap as K, type LocationType as L, type MutationResponse as M, type BaseGameType as N, type OptionItem as O, type PosterUsageType as P, type BaseResourceType as Q, type RefundPolicy as R, type StallType as S, type CouponCodeType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataProductsType as W, type CouponDataType as X, type CouponMarketPassportOption as Y, type CouponMarketVisitOption as Z, type CouponOption as _, type FormDateField as a, type VendorAvailability as a$, type CouponPurchaseOption as a0, type CouponVendorProduct as a1, type CreateFormData as a2, type DailyClueBaseGame as a3, type DailyClueGameData as a4, type DateTimeType as a5, type DateTimeWithPriceType as a6, type DeviceInfo as a7, EnumCouponListType as a8, EnumCouponQualificationType as a9, type PostContentTextarea as aA, type PostContentType as aB, type PostContentVideo as aC, type PostFileInput as aD, type PostListFilter as aE, type PostResource as aF, type ProductCoupon as aG, type PromoCodeType as aH, type PuzzleAnswer as aI, type PuzzleAnsweredQuestion as aJ, type PuzzleBaseGame as aK, type PuzzleGameData as aL, type PuzzleQuestion as aM, type RelatedPostType as aN, type RelationDate as aO, type RelationInputType as aP, type ResourceContactDetailsType as aQ, type ResourceDetails as aR, type ResourceImageType as aS, type SocialMediaType as aT, type SocialShareResourceType as aU, type Subcategory as aV, type SubcategoryItems as aW, type TermsAgreement as aX, type UnregisteredVendorInvitationType as aY, type UserListFilter as aZ, type VendorAttributes as a_, EnumGameStatus as aa, EnumGameType as ab, EnumPostContentType as ac, EnumPostType as ad, type EventListFilter as ae, type EventStatusType as af, type GameDate as ag, type GameHistory as ah, type GamePlacement as ai, type GamePlacementClue as aj, type GameType as ak, type GeocodeLocation as al, type GlobalGameData as am, type ImageObjectType as an, type LocationGeoType as ao, type Nullable as ap, type OwnerType as aq, PROMO_CODE_PREFIX as ar, type PaginationOptions as as, type PartnerListFilter as at, type PaymentInfoType as au, type PostContentData as av, type PostContentFormData as aw, type PostContentGame as ax, type PostContentImage as ay, type PostContentList as az, type Requirement as b, type VendorCalendarData as b0, type VendorDowngradeSnapshot as b1, type VendorListFilter as b2, type VendorProductList as b3, gameScreenIdentifierList as b4, gameTypeToDisplayName as b5, type CategoryColorType as c, type EventListItemType as d, type EventInfoType as e, type RelationType as f, type ResourceConnectionsType as g, type UnregisteredVendorType as h, type VendorType as i, type VendorInfoType as j, type MyPendingVendorClaim as k, type UserLicenceType as l, type PostType as m, type GameLeaderboard as n, type CouponType as o, type CouponTypeList as p, type VendorFormData as q, type CreateVendorFormData as r, type VendorInfoFormData as s, type CreateVendorInfoFormData as t, type UnregisteredVendorFormData as u, type CreateUnregisteredVendorFormData as v, type EventFormData as w, type CreateEventFormData as x, type EventInfoFormData as y, type CreateEventInfoFormData as z };
|
|
@@ -797,8 +797,12 @@ interface Subcategory {
|
|
|
797
797
|
name: string;
|
|
798
798
|
items?: SubcategoryItems[] | null;
|
|
799
799
|
}
|
|
800
|
+
type CategoryColorType = {
|
|
801
|
+
primary: string;
|
|
802
|
+
secondary: string;
|
|
803
|
+
};
|
|
800
804
|
interface Category {
|
|
801
|
-
color?:
|
|
805
|
+
color?: CategoryColorType | null;
|
|
802
806
|
description?: string | null;
|
|
803
807
|
id: string;
|
|
804
808
|
name: string;
|
|
@@ -867,4 +871,4 @@ interface UseGetResourcesByRegionOptions extends PaginationOptions {
|
|
|
867
871
|
skip?: boolean;
|
|
868
872
|
}
|
|
869
873
|
|
|
870
|
-
export { type
|
|
874
|
+
export { type CouponParticipantUserType as $, type PostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CreatePostFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CouponDefaultsFormData as H, type CreateCouponFormData as I, type Region as J, type BaseGameMap as K, type LocationType as L, type MutationResponse as M, type BaseGameType as N, type OptionItem as O, type PosterUsageType as P, type BaseResourceType as Q, type RefundPolicy as R, type StallType as S, type CouponCodeType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataProductsType as W, type CouponDataType as X, type CouponMarketPassportOption as Y, type CouponMarketVisitOption as Z, type CouponOption as _, type FormDateField as a, type VendorAvailability as a$, type CouponPurchaseOption as a0, type CouponVendorProduct as a1, type CreateFormData as a2, type DailyClueBaseGame as a3, type DailyClueGameData as a4, type DateTimeType as a5, type DateTimeWithPriceType as a6, type DeviceInfo as a7, EnumCouponListType as a8, EnumCouponQualificationType as a9, type PostContentTextarea as aA, type PostContentType as aB, type PostContentVideo as aC, type PostFileInput as aD, type PostListFilter as aE, type PostResource as aF, type ProductCoupon as aG, type PromoCodeType as aH, type PuzzleAnswer as aI, type PuzzleAnsweredQuestion as aJ, type PuzzleBaseGame as aK, type PuzzleGameData as aL, type PuzzleQuestion as aM, type RelatedPostType as aN, type RelationDate as aO, type RelationInputType as aP, type ResourceContactDetailsType as aQ, type ResourceDetails as aR, type ResourceImageType as aS, type SocialMediaType as aT, type SocialShareResourceType as aU, type Subcategory as aV, type SubcategoryItems as aW, type TermsAgreement as aX, type UnregisteredVendorInvitationType as aY, type UserListFilter as aZ, type VendorAttributes as a_, EnumGameStatus as aa, EnumGameType as ab, EnumPostContentType as ac, EnumPostType as ad, type EventListFilter as ae, type EventStatusType as af, type GameDate as ag, type GameHistory as ah, type GamePlacement as ai, type GamePlacementClue as aj, type GameType as ak, type GeocodeLocation as al, type GlobalGameData as am, type ImageObjectType as an, type LocationGeoType as ao, type Nullable as ap, type OwnerType as aq, PROMO_CODE_PREFIX as ar, type PaginationOptions as as, type PartnerListFilter as at, type PaymentInfoType as au, type PostContentData as av, type PostContentFormData as aw, type PostContentGame as ax, type PostContentImage as ay, type PostContentList as az, type Requirement as b, type VendorCalendarData as b0, type VendorDowngradeSnapshot as b1, type VendorListFilter as b2, type VendorProductList as b3, gameScreenIdentifierList as b4, gameTypeToDisplayName as b5, type CategoryColorType as c, type EventListItemType as d, type EventInfoType as e, type RelationType as f, type ResourceConnectionsType as g, type UnregisteredVendorType as h, type VendorType as i, type VendorInfoType as j, type MyPendingVendorClaim as k, type UserLicenceType as l, type PostType as m, type GameLeaderboard as n, type CouponType as o, type CouponTypeList as p, type VendorFormData as q, type CreateVendorFormData as r, type VendorInfoFormData as s, type CreateVendorInfoFormData as t, type UnregisteredVendorFormData as u, type CreateUnregisteredVendorFormData as v, type EventFormData as w, type CreateEventFormData as x, type EventInfoFormData as y, type CreateEventInfoFormData as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -3585,9 +3585,9 @@ var GET_ADS_BY_REGION = import_client44.gql`
|
|
|
3585
3585
|
query getAdsByRegion(
|
|
3586
3586
|
$region: String!
|
|
3587
3587
|
$platform: AdPlatformEnum!
|
|
3588
|
-
$
|
|
3588
|
+
$showOn: AdShowOnEnum
|
|
3589
3589
|
) {
|
|
3590
|
-
adsByRegion(region: $region, platform: $platform,
|
|
3590
|
+
adsByRegion(region: $region, platform: $platform, showOn: $showOn) {
|
|
3591
3591
|
...AdFields
|
|
3592
3592
|
}
|
|
3593
3593
|
}
|
|
@@ -3690,11 +3690,11 @@ var useGetAd = (_id) => {
|
|
|
3690
3690
|
refetch
|
|
3691
3691
|
};
|
|
3692
3692
|
};
|
|
3693
|
-
var useGetAdsByRegion = (region, platform,
|
|
3693
|
+
var useGetAdsByRegion = (region, platform, showOn) => {
|
|
3694
3694
|
const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_ADS_BY_REGION, {
|
|
3695
3695
|
fetchPolicy: "no-cache",
|
|
3696
3696
|
skip: !region || region === "",
|
|
3697
|
-
variables: { platform, region,
|
|
3697
|
+
variables: { platform, region, showOn }
|
|
3698
3698
|
});
|
|
3699
3699
|
return {
|
|
3700
3700
|
adsByRegion: data?.adsByRegion || [],
|