@timardex/cluemart-shared 2.0.16 → 2.0.17
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-D_5m292R.d.mts → ad-B4hhLfL-.d.mts} +3 -3
- package/dist/{ad-B4Acy8eW.d.ts → ad-BaKxf-Rj.d.ts} +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-RNHDFZIC.mjs} +5 -9
- package/dist/chunk-RNHDFZIC.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 -8
- 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 -16
- 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 -18
- 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 -18
- 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
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
|
|
3
3
|
import { DocumentNode } from 'graphql';
|
|
4
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
5
|
-
import { M as MutationResponse, E as EventType,
|
|
6
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-
|
|
7
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as
|
|
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
|
+
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
|
+
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';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
|
|
10
|
-
import { A as AffiliateType } from '../affiliate-
|
|
10
|
+
import { A as AffiliateType } from '../affiliate-Bv4PXBXC.mjs';
|
|
11
11
|
import 'react-hook-form';
|
|
12
12
|
import '../images/index.mjs';
|
|
13
13
|
|
|
@@ -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) => {
|
|
1016
1016
|
adsByRegion: AdType[];
|
|
1017
1017
|
error: _apollo_client.ApolloError | undefined;
|
|
1018
1018
|
loading: boolean;
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
|
|
3
3
|
import { DocumentNode } from 'graphql';
|
|
4
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
5
|
-
import { M as MutationResponse, E as EventType,
|
|
6
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-
|
|
7
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as
|
|
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
|
+
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
|
+
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';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
|
|
10
|
-
import { A as AffiliateType } from '../affiliate-
|
|
10
|
+
import { A as AffiliateType } from '../affiliate-xDFlLdJI.js';
|
|
11
11
|
import 'react-hook-form';
|
|
12
12
|
import '../images/index.js';
|
|
13
13
|
|
|
@@ -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) => {
|
|
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
|
@@ -1588,16 +1588,46 @@ var vintageAndAntique = [
|
|
|
1588
1588
|
|
|
1589
1589
|
// src/formFields/categories/index.ts
|
|
1590
1590
|
var categoryColors = {
|
|
1591
|
-
"clothing-fashion":
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
"
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
"
|
|
1600
|
-
|
|
1591
|
+
"clothing-fashion": {
|
|
1592
|
+
primary: "#9D4EDD",
|
|
1593
|
+
secondary: "#fff"
|
|
1594
|
+
},
|
|
1595
|
+
"electronics-technology": {
|
|
1596
|
+
primary: "#3AF3FF",
|
|
1597
|
+
secondary: "#000"
|
|
1598
|
+
},
|
|
1599
|
+
"food-beverages": {
|
|
1600
|
+
primary: "#FF0D1F",
|
|
1601
|
+
secondary: "#fff"
|
|
1602
|
+
},
|
|
1603
|
+
"handmade-local-products": {
|
|
1604
|
+
primary: "#EE7E54",
|
|
1605
|
+
secondary: "#fff"
|
|
1606
|
+
},
|
|
1607
|
+
"health-wellness": {
|
|
1608
|
+
primary: "#E23794",
|
|
1609
|
+
secondary: "#fff"
|
|
1610
|
+
},
|
|
1611
|
+
"home-garden-household-goods": {
|
|
1612
|
+
primary: "#067325",
|
|
1613
|
+
secondary: "#fff"
|
|
1614
|
+
},
|
|
1615
|
+
"pet-products-animal-goods": {
|
|
1616
|
+
primary: "#68E788",
|
|
1617
|
+
secondary: "#000"
|
|
1618
|
+
},
|
|
1619
|
+
"services-experiences": {
|
|
1620
|
+
primary: "#2E16A5",
|
|
1621
|
+
secondary: "#fff"
|
|
1622
|
+
},
|
|
1623
|
+
"toys-childrens-items": {
|
|
1624
|
+
primary: "#FFF966",
|
|
1625
|
+
secondary: "#000"
|
|
1626
|
+
},
|
|
1627
|
+
"vintage-antique": {
|
|
1628
|
+
primary: "#8D6748",
|
|
1629
|
+
secondary: "#fff"
|
|
1630
|
+
}
|
|
1601
1631
|
};
|
|
1602
1632
|
var assignColorToCategories = (categories) => {
|
|
1603
1633
|
const result = categories.map((category) => ({
|
|
@@ -4864,12 +4894,8 @@ var GET_AD = import_client44.gql`
|
|
|
4864
4894
|
${AD_FIELDS_FRAGMENT}
|
|
4865
4895
|
`;
|
|
4866
4896
|
var GET_ADS_BY_REGION = import_client44.gql`
|
|
4867
|
-
query getAdsByRegion(
|
|
4868
|
-
$region:
|
|
4869
|
-
$platform: AdPlatformEnum!
|
|
4870
|
-
$status: AdStatusTypeEnum
|
|
4871
|
-
) {
|
|
4872
|
-
adsByRegion(region: $region, platform: $platform, status: $status) {
|
|
4897
|
+
query getAdsByRegion($region: String!, $platform: AdPlatformEnum!) {
|
|
4898
|
+
adsByRegion(region: $region, platform: $platform) {
|
|
4873
4899
|
...AdFields
|
|
4874
4900
|
}
|
|
4875
4901
|
}
|